[Ajuda] OnPlayerText
#1

pawn Код:
new string[144], name[MAX_PLAYER_NAME];
 GetPlayerName(playerid, name, sizeof(name));
 format(string, sizeof(string), "[%d] %s: %s", playerid, name, text);
 SendClientMessageToAll(playerid, string);
 return 0;
Olб o cуdigo acima e de quando o player fala no chat, pois bem ele estб do jeito que quero..

Ex: [ID] Nick: texto

Com um porйm, o texto estб todo preto '-'
Do inicio ao fim da linha tudo preto.. alguйm sabe o motivo?

Gostaria dessa forma, porйm nгo com o texto preto, a cor do ID e nick seria uma, e a do texto branca.

Help.
Reply


Messages In This Thread
OnPlayerText - by Ts3 - 27.06.2014, 03:54
Re: OnPlayerText - by 4G4M3N0M - 27.06.2014, 04:05
Re: OnPlayerText - by Ts3 - 27.06.2014, 04:50
Re: OnPlayerText - by darkxdll - 27.06.2014, 05:14
Re: OnPlayerText - by n0minal - 27.06.2014, 05:21
Re: OnPlayerText - by UPsamp - 27.06.2014, 12:05

Forum Jump:


Users browsing this thread: 1 Guest(s)