29.07.2012, 12:52
pawn Код:
public OnPlayerText(playerid, text[])
{
if(YourAdminVariable[playerid] >= 1)
{
new szMsg[128];
GetPlayerName(playerid, szMsg, MAX_PLAYER_NAME);
format(szMsg, sizeof(szMsg), "Administrator %s %s", szMsg, text);
SendClientMessageToAll(0xFF66FFAA, text);
}
return 1;
}