Ammo!?!? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Ammo!?!? (
/showthread.php?tid=145736)
Ammo!?!? -
aircombat - 03.05.2010
does anyone know how to create a function to give a player certain ammo like : SetPlayerAmmo (its bugged) , cause what i am trying to do is a /buyammo but if i used giveplayerweapon it will give him the weapon if he doesn't have it , i just want it to give him Ammo
Re: Ammo!?!? -
Thrarod - 03.05.2010
Check if the player has that weapon?
Re: Ammo!?!? -
Jefff - 03.05.2010
RemovePlayerWeapon + GivePlayerWeapon
Re: Ammo!?!? -
0ne - 03.05.2010
nevermind