12.02.2011, 14:57
pawn Код:
if(strcmp(cmd, "/say", true) == 0)
{
if(!strlen(cmdtext)) return SendClientMessage(playerid, COLOR_RED, "Usage: /asay [Text] ");
new PlayerName[MAX_PLAYER_NAME], string[128];
GetPlayerName(playerid, PlayerName, MAX_PLAYER_NAME);
format(string, sizeof(string), "**Admin [%s](id:%d): %s", PlayerName, playerid, cmdtext[0]);
SendClientMessageToAll(COLOR_RED,string);
return 1;
}