04.06.2016, 17:08
First You need to know only some weapon who shot are called at OnPlayerWeaponShot
Like 22,23,24,25,26,27,28,29,30,31,32,33,34,38;
You're decreasing ammo of weapons under OnPlayerWeaponShot
well some weapons shot lot of amo at time like shotgun uzi swan
mp5 you will get kicked !
UnderOnPlayerWeaponShot
i think that is better
Like 22,23,24,25,26,27,28,29,30,31,32,33,34,38;
You're decreasing ammo of weapons under OnPlayerWeaponShot
well some weapons shot lot of amo at time like shotgun uzi swan
mp5 you will get kicked !
UnderOnPlayerWeaponShot
i think that is better
Код:
Minigun[playerid] = GetPlayerAmmo(playerid);