Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds
Watch MODSonair

Members Online

»
0 Active | 102 Guests
Online:

LATEST FORUM THREADS

»
run artillery on maps
CoD+UO Map + Mod Releases
Call of DutyŽ: WWII
CoD WW2 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Nades only For a specific Guid
Nooob
General Member
Since: Jan 6, 2016
Posts: 8
Last: Feb 19, 2016
[view latest posts]
Level 0
Category: CoD2 Scripting
Posted: Sunday, Jan. 10, 2016 01:31 pm
Hi all i wanna know how to give nades only for specific Guid or ip ? :)
Share |
DrBiggzz
General Member
Since: Apr 8, 2007
Posts: 87
Last: Jan 4, 2019
[view latest posts]
Level 3
Forum Moderator
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Monday, Jan. 11, 2016 08:54 pm
Code:
/*=============Added By C()D3R=============*/
//	Gives The Server Owners/Admins A Special Weapon That Other Players Can Not Use Or PickUp
	if(self.GUID=="GUIDHERE")
	{
		self takeweapon("luger_mp");
		self takeweapon("webley_mp");
		self takeweapon("tt33_mp");
		self takeweapon("colt_mp");
		wait 0.1;
		self giveweapon("usp_mp");
	}
	else
	{
		self takeweapon("luger_mp");
		self takeweapon("webley_mp");
		self takeweapon("tt33_mp");
		self takeweapon("colt_mp");
	}
/*=============Added By C()D3R=============*/



This is from my cod uo mod but im sure its close to the same add that in callback player spawn and change the values to what you want.
Share |
Nooob
General Member
Since: Jan 6, 2016
Posts: 8
Last: Feb 19, 2016
[view latest posts]
Level 0
Category: CoD2 Scripting
Posted: Tuesday, Jan. 12, 2016 05:09 am
Thank you very much ... but how add many guids and what is grenades Value

edited on Jan. 12, 2016 05:23 am by Foux
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»