24.09.2013, 12:57
i was making a weapon hack checker
but it gives error
error 035: argument type mismatch (argument 3)
help please
give a correct code if possible
Код:
if(!strcmp(cmdtext,"/checkwep",true)) { if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "You are not an admin!"); if(GetPlayerWeaponData(playerid, 7, 36, ammo)) ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 0, 1); return 1;
error 035: argument type mismatch (argument 3)
help please
give a correct code if possible