Posts: 36
Threads: 5
Joined: Jul 2009
Reputation:
0
I need the command /givegun for my server, where u give only the ammo of the gun, unless they dont have that spacefic gun, so if they have the gun u jus tgive them ammo, if they dont, u give them the gun itself.
I usually do not have other people do the work for me, but i am completely stuck here. thanks!
Posts: 36
Threads: 5
Joined: Jul 2009
Reputation:
0
sorry for DP, but its not supposed to be admin command either, its for all players to give guns to their buddies
Posts: 872
Threads: 32
Joined: Mar 2008
Reputation:
0
you can edit you're posts and there is one already just search
Posts: 36
Threads: 5
Joined: Jul 2009
Reputation:
0
i already looked all over dude, there is no .givegun command that works, i cannot find it, if u do please send me the link.
Posts: 389
Threads: 18
Joined: May 2009
Reputation:
0
Isn't this easyer,it will give you gun and ammo, if you have one already and if you don't have.(same with ammo thing)
This will give you a gun with ammo:
if(strcmp("/givegun",cmd,true)==0){
GivePlayerWeapon(playerid, weaponid, ammo);
return 1;
}
Ecko