04.09.2015, 10:52
Код:
C:\Users\ii\Documents\America's Army 3\roleplay.pwn(1167) : warning 202: number of arguments does not match definition
Код:
stock RemovePlayerWeapon(playerid, weaponid) { SetPlayerArmedWeapon(playerid, weaponid); if (GetPlayerWeapon(playerid) != 0) GivePlayerWeapon(playerid, -(GetPlayerAmmo(playerid))); return 1; }
Код:
if (GetPlayerWeapon(playerid) != 0) GivePlayerWeapon(playerid, -(GetPlayerAmmo(playerid)));