28.09.2012, 15:13
Quote:
Код:
public OnPlayerText(playerid, text[]) { if(PInfo[playerid][Level] < 1 && text[0] == '.') { new msg[128], pName[MAX_PLAYER_NAME]; GetPlayerName(playerid, pName, MAX_PLAYER_NAME); format(msg, sizeof(msg), "[ADMIN CHAT] %s (ID %d): %s", pName, playerid, text[1]); SendMessageToAdmins(msg); return 0; } } |