18.01.2011, 08:49
You're using the wrong brace (should be parenthesis). Also forgot a return.
pawn Код:
COMMAND:makemeadmin(playerid, params[])
{
if(IsPlayerAdmin(playerid))
{
PlayerInfo[playerid][pAdminLevel] = 6;
SendClientMessage(playerid, COLOR_WHITE, "You are now level 6 admin!");
}
else SendClientaMessage(playerid, COLOR_WHITE, "You can't do this!");
return 1;
}