12.06.2013, 23:29
Код:
public OnPlayerText(playerid, text[]) { new perstring[128], PlayerNM[MAX_PLAYER_NAME]; GetPlayerName(playerid, PlayerNM, sizeof(PlayerNM)); for(new percentsign; percentsign < 256; percentsign++) { if(text[percentsign] == '%') text[percentsign] = '%%'; } format(perstring, sizeof(perstring), "%s: %s", PlayerNM, text); return 1; }