06.01.2010, 18:04
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/acp", cmdtext, true, 4) == 0) // Don't use 10 when the command text is 4 in total with "/".
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "You need to be admin for this command");
else
ShowMenuForPlayer(AdminMenu,playerid);
return 1;
}
/*=======================================================================================================================================*/
}
return 0;
}
