Weapon Scripting Help - 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: Weapon Scripting Help (
/showthread.php?tid=472671)
Weapon Scripting Help -
CountryTrooper441 - 30.10.2013
(Sorry if this is the Wrong Section)
How do you get a Weapon to go from Unlimited Ammo to Limited Ammo?
Re: Weapon Scripting Help -
xF4Life - 30.10.2013
maybe you'll have:-
Код:
// Unlimited Ammo
GivePlayerWeapon(playerid, 24 ,10000);
//Limited Ammo
GivePlayerWeapon(playerid, 24 ,-9000);
it will leave you with 1000 ammo.
Calculate it... do the math, it's easy.
Re: Weapon Scripting Help -
CountryTrooper441 - 30.10.2013
Now how do set it so they can buy Ammo?