SA-MP Forums Archive
Message doesn't show with SendClientMessage - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Message doesn't show with SendClientMessage (/showthread.php?tid=135561)



Message doesn't show with SendClientMessage - [BEP]AcerPilot - 21.03.2010

I have the command /profissao. When you have the job Car Dealer and type /profissao would appear this:
Код:
else if(Profissao[playerid] == VENDEDOR_DE_CARROS) {
			SendClientMessage(playerid, COLOR_GREEN, "Vendedor de Skins/Carros - Comandos");
			SendClientMessage(playerid, COLOR_YELLOW, "/pt [texto] : Manda uma mensagem para todas as pessoas que tкm a mesma profissгo que vocк");
			SendClientMessage(playerid, COLOR_YELLOW, "/skin [id-da-pessoa] [id-do-skin] : Vende um skin para alguma pessoa.");
			SendClientMessage(playerid, COLOR_YELLOW, "/setcar [id-do-carro] [rotaзгo] [nick-lugar] [nъmero da cor1] [nъmero da cor2] : Vende um carro (esteja com ele na posiзгo de spawn).");
But the last message doesn't show! Any suggestions?


Re: Message doesn't show with SendClientMessage - [BEP]AcerPilot - 21.03.2010

BUMP


Re: Message doesn't show with SendClientMessage - Fabio11 - 21.03.2010

Too large? Try to cut it and make 1 more line.


Re: Message doesn't show with SendClientMessage - dice7 - 21.03.2010

Obviously this is your fault
pawn Код:
else if(Profissao[playerid] == VENDEDOR_DE_CARROS) {



Re: Message doesn't show with SendClientMessage - [BEP]AcerPilot - 21.03.2010

Quote:
Originally Posted by dice7
Obviously this is your fault
pawn Код:
else if(Profissao[playerid] == VENDEDOR_DE_CARROS) {
I put it in the begin of the code.

Quote:
Originally Posted by Fabio11
Too large? Try to cut it and make 1 more line.
I will try.


Re: Message doesn't show with SendClientMessage - Fabio11 - 21.03.2010

Quote:
Originally Posted by dice7
Obviously this is your fault
pawn Код:
else if(Profissao[playerid] == VENDEDOR_DE_CARROS) {
Is the fault were there, the other mesages would not appear too.


Re: Message doesn't show with SendClientMessage - [BEP]AcerPilot - 21.03.2010

Thanks Fabio11! Worked!


Re: Message doesn't show with SendClientMessage - Fabio11 - 21.03.2010

Quote:
Originally Posted by [BEP
GeoPilot ]
Thanks Fabio11! Worked!
Not problem