02.10.2014, 09:04
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success) return SendClientMessage(playerid, 0xFF0000AA, "Invalid Command! See The Avaliable Commands Here: /cmds.");
if(Info[playerid][Muted] == 1) return SendClientMessage(playerid, 0xFF0000AA, "You Are Muted, You Cannot Type Any Command!");
if(Spawnprotection[playerid] == 1) return SendClientMessage(playerid, 0xFF0000AA, "You Cannot Type Any Command While In Spawn Protection!");
return 1;
}