23.10.2011, 18:39
pawn Код:
CMD:say(playerid, params[])
{
new nome[MAX_PLAYER_NAME], str[128], Texto[128];
if(sscanf(params, "s[128]", Texto)) return SendClientMessage(playerid, -1, "/Say [Texto]");
GetPlayerName(playerid, nome, sizeof(nome));
format(str, sizeof(str), "* Admin %s: %s", nome, Texto);
SendClientMessageToAll(0x2587CEAA, str);
return 1;
}