24.07.2018, 14:03
OMG please put your code between, [code] tags next time.
Isnt it more readable? ^^
Put it under OnPlayerUpdate or under a function using which you can remove the weapon.
Код:
for(new i=0;i<9;i++) { if(PlayerInfo[playerid][pAmmo][i] == 0) PlayerInfo[playerid][pGun][i] = 0; SetPlayerWeaponEx(playerid); }
Put it under OnPlayerUpdate or under a function using which you can remove the weapon.