14.10.2011, 15:54
pawn Код:
Nome(playerid)
{
new PNome[MAX_PLAYER_NAME];
GetPlayerName(playerid, PNome, sizeof(PNome));
return PNome;
}
pawn Код:
public OnPlayerText(playerid, text[])
{
new String[256];
format(String, sizeof(String), "%s Diz: %s",Nome(playerid), text);
SendClientMessageToAll(BRANCO, String);
return 0;
}