SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 25/04/2012, 02:10 AM   #1
L.S.T
Big Clucker
 
L.S.T's Avatar
 
Join Date: Jan 2011
Posts: 112
Reputation: 1
Default [AJUDA] Quando o Player Digita

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);
		}
L.S.T is offline   Reply With Quote
Old 25/04/2012, 02:17 AM   #2
zbt
Gangsta
 
zbt's Avatar
 
Join Date: Feb 2012
Posts: 752
Reputation: 76
Default Re: [AJUDA] Quando o Player Digita

Você deve retornar false no OnPlayerText.
zbt is offline   Reply With Quote
Old 25/04/2012, 02:24 AM   #3
L.S.T
Big Clucker
 
L.S.T's Avatar
 
Join Date: Jan 2011
Posts: 112
Reputation: 1
Default Re: [AJUDA] Quando o Player Digita

porra menn vlw!!!!!!!!!! eu tinha esquecido de como eu fiz da outra vez, vlw mermo!!
L.S.T is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


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


All times are GMT. The time now is 03:00 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.