|
|
#1 |
|
Big Clucker
![]() ![]() Join Date: Jan 2011
Posts: 102
Reputation: 0
|
Galera Min Ajuda nisso aqui:
Quando um ADM fala o id dele fica verde e um player fala o id fica normal mas eu fiz tudo certinho (eu axo xD) e quando o adm ou player digita algo sai 2 vezes o texto, uma com o id da cor certa e outra sem o id! Code:
if(PlayerInfo[playerid][pAdmin] == 0)
{
new string[128];
format(string, sizeof(string), "{88AA88}[ID:%d]:{FFFFFF} %s", playerid, text);
SendPlayerMessageToAll(playerid,string);
}
if(PlayerInfo[playerid][pAdmin] >= 1)
{
new string[128];
format(string, sizeof(string), "{14FF08}[ID:%d]:{FFFFFF} %s", playerid, text);
SendPlayerMessageToAll(playerid,string);
}
|
|
|
|
|
|
#2 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Feb 2012
Posts: 752
Reputation: 76
|
Você deve retornar false no OnPlayerText.
|
|
|
|
|
|
#3 |
|
Big Clucker
![]() ![]() Join Date: Jan 2011
Posts: 102
Reputation: 0
|
porra menn vlw!!!!!!!!!! eu tinha esquecido de como eu fiz da outra vez, vlw mermo!!
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [AJUDA]Aparecer oque o player digita no chat encima dele | [STR]Matrix | Português/Portuguese | 3 | 31/03/2012 09:45 PM |
| [Ajuda] Quando o player morre | felipe360 | Português/Portuguese | 4 | 25/10/2011 02:56 AM |
| [ajuda]FS quando o player sai e quando o player entra ou quando sai por bug | LuizGustavo | Português/Portuguese | 5 | 10/10/2011 03:36 PM |
| [Ajuda] quando digita /daradmin meu FS desliga | MatriXBorn | Português/Portuguese | 4 | 08/10/2011 07:57 PM |
| [Ajuda] quando player morre | [GET]Vidaloka | Português/Portuguese | 0 | 22/07/2010 03:39 AM |