05.02.2011, 08:18
pawn Код:
CMD:asay( playerid, params[ ] )
{
new string[128], pname[MAX_PLAYER_NAME];
if(pInfo[playerid][Level] < 2) return SendClientMessage(playerid,RED,">> You Must Be Level 2+ To Use This Command!");
if(isnull(params)) return SendClientMessage(playerid, RED, "USAGE: /asay [msg]");
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), ">> Admin %s Says: %s", pname, params);
SendClientMessageToAll(COLOR_LIGHTGREEN,string);
return 1;
}