How to make weapons have limited amount of ammo?
#1

How? Right now all weapons have unlimited ammo, and I want to make my server strict RP.
Reply
#2

just set the ammo on your gun when spawning it?
Reply
#3

https://sampwiki.blast.hk/wiki/Function:GivePlayerWeapon

For Example

pawn Код:
GivePlayerWeapon(playerid, 33, 100);
player now has weapon 33 (Rifle) and 100 ammo
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)