04.12.2013, 00:35
Quote:
Code:
public OnPlayerText(playerid, text[]) { new textv2[128], name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof (name)); format(textv2, sizeof (textv2), "%d >> %s: %s", playerid, name, text); SendPlayerMessageToAll(playerid, textv2); return 0; // ignore the default text and send the custom one } |
%d Nъmeros
%i Inteiros.