how to make the player's weapon with Unlimited 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)
+--- Thread: how to make the player's weapon with Unlimited ammo (
/showthread.php?tid=453693)
how to make the player's weapon with Unlimited ammo -
Chrisli520 - 25.07.2013
i wanna make player's weapon with Unlimited ammo, and i had try to set the ammo to 49999 or more, but after a few time, the weapon can't take out any more, and the ammo is like change into Negative number, plz help
Re: how to make the player's weapon with Unlimited ammo -
Vanter - 26.07.2013
GivePlayerWeapon(playerid, ID, 99999);
Re: how to make the player's weapon with Unlimited ammo -
Celebesgamer - 26.07.2013
GivePlayerWeapon(playerid, weaponid, 999999)
Try it.
Re: how to make the player's weapon with Unlimited ammo -
Vanter - 26.07.2013
Quote:
Originally Posted by Celebesgamer
GivePlayerWeapon(playerid, weaponid, 999999)
Try it.
|
Hold on while I try to figure out the difference..