24.05.2013, 22:39
pawn Код:
dcmd_a(playerid,params[])
{
static Nome[MAX_PLAYER_NAME], _var[150];
GetPlayerName(playerid, Nome, sizeof(Nome));
if(PlayerInfo[playerid][pAdmin] != 1) return 1;
if(sscanf(params,"s", Frase))return SendClientMessage(playerid, -1 ,"/a frase");
format(_var,sizeof(_var),"%s:%s", Nome, Frase);
SendClientMessageToAll(-1,_var);
return 1;
}