SA-MP Forums Archive
[Help] Ammo System - 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: [Help] Ammo System (/showthread.php?tid=354553)



[Help] Ammo System - julian12it - 27.06.2012

I have a SA-MP Script that has Infinite Ammo. I've tried searching for everything but I don't know where to change the ammo amount. I'm in need of help please.


Re: [Help] Ammo System - Kindred - 27.06.2012

You've obviously not searched enough.

Example:

pawn Код:
GivePlayerWeapon(playerid, 26, 500);
Third variable is ammo. If you don't want infinite ammo, change this variable to something else.

That's basically all that you need to fix if you don't want infinite ammo (if not incorrect).