15.07.2013, 11:27
Hey guys, I am wondering, is there such thing that adds ammo to certain weapons? Like once the dialog pops up and someone can choose ammo for lets say mp5 only how can I add ammo to that certain weapon?
SetPlayerAmmo(playerid, WEAPON_SHOTGUN, 100);
new Ammo = GetPlayerAmmo(playerid);
SetPlayerAmmo(playerid, YOURWEAPONIDHERE, Ammo+ 100);