Help with cmd
#1

error 010: invalid function or declaration


Код:
cmd:newbme(playerid, params[])
if(PlayerInfo[playerid][pAdmin] >= 4 || PlayerInfo[playerid][pUnderCover] >= 1) {
	    if(AdminDuty[playerid] != 1 && PlayerInfo[playerid][pAdmin] < 6)
	        return SendClientMessage(playerid,COLOR_WHITE, "You're not on-duty as admin. To access your admin commands you must be on-duty. Type /aduty to go on-duty.");
new string[128],hp,armor;
SetPlayerSkin(playerid, 299);
SetPlayerHealth(playerid, 29);
SetPlayerArmourEx(playerid, 0);
SetPlayerScore(playerid,1);
ResetPlayerWeaponsEx(playerid);
}
return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)