[Ajuda] Pequena ajuda sobre o chat global
#4

Quote:
Originally Posted by arakuta
Посмотреть сообщение
Usa a callback OnPlayerText.

pawn Код:
new msg[128], player[24];
GetPlayerName(playerid,player,24);
format(msg,sizeof msg,"%s[%i]: {FFFFFF}%s",player,playerid,text);
SendClientMessageToAll(GetPlayerColor(playerid),msg);
// e no final da callbCK
return 0; // coloca return 0 pra msg nao sai duplicada
Obrigado.
Reply


Messages In This Thread
Pequena ajuda sobre o chat global - by Biilo - 22.01.2013, 13:06
Re: Pequena ajuda sobre o chat global - by arakuta - 22.01.2013, 13:12
Re: Pequena ajuda sobre o chat global - by Copom_policia - 22.01.2013, 13:13
Re: Pequena ajuda sobre o chat global - by Biilo - 22.01.2013, 13:16

Forum Jump:


Users browsing this thread: 1 Guest(s)