[Ajuda] GameTextForPlayer - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] GameTextForPlayer (
/showthread.php?tid=476666)
GameTextForPlayer -
MacacuVuador - 19.11.2013
No meu server quando eu digito algum teleporte apareceu uma palavra na tela escrito o nome do teleporte, mais no final da palavra tem um risco, isso acontece no /cnn e no /ann, Nao sei explicar bem, Ta aki as prints
Quote:
GameTextForPlayer(playerid, "~w~Prefeitura~G~", 5000, 5);
|
Alguem sabe como tirar esse risco?
--
Atenciosamente
Macacu Vuador
Skype: luis.paulo.2
Respuesta: GameTextForPlayer -
ViniKuliveguisky - 19.11.2013
tira esse:
e testa
Re: GameTextForPlayer -
N3XTMapper - 19.11.2013
й um bug do samp mesmo, ja aconteceu varias vezes comigo, nao so em gametext mais tbm em textdraws nao sei o que causa isto mais й apenas um bug , nao й prejudicial ao seu gta ou sei la o que vc usa vlw
Re: Respuesta: GameTextForPlayer -
MacacuVuador - 19.11.2013
Quote:
Originally Posted by ViniKuliveguisky
|
Sem o ~g~ a mensagem nгo apareceu, mais vlw por tentar ajudar, acho q vou deixar assim msm
Respuesta: Re: Respuesta: GameTextForPlayer -
ViniKuliveguisky - 19.11.2013
Quote:
Originally Posted by MacacuVuador
Sem o ~g~ a mensagem nгo apareceu, mais vlw por tentar ajudar, acho q vou deixar assim msm
|
'-'
como nгo apareceu '-', nada ve, esse ~g~ sу tem para dar cor '-'.
Re: Respuesta: GameTextForPlayer -
PT - 19.11.2013
Quote:
Originally Posted by MacacuVuador
Sem o ~g~ a mensagem nгo apareceu, mais vlw por tentar ajudar, acho q vou deixar assim msm
|
mostra mais code disso ae.
Re: GameTextForPlayer -
MacacuVuador - 19.11.2013
Ae PT , Aki ta o cmd inteiro da /pref
Quote:
if(strcmp("/pref", cmd, true) == 0)
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 1481.3818, -1768.0518, 18.795 ;
GameTextForPlayer(playerid, "~w~Prefeitura~G~", 5000, 5);
format(string, sizeof(string), "{FF0000}[TELEPORTE] {FFFFFF}O(A) jogador(a) {FF0000}%s {FFFFFF}foi para a Prefeitura {FF0000}(/pref)", GetPlayerNameEx(playerid));
SendClientMessageToAll(0xFF6600AA, string);
return 1;
}
|
--
Atenciosamente
Macacu Vuador
Skype: luis.paulo.2
Re: GameTextForPlayer -
PT - 19.11.2013
pawn Код:
if(strcmp("/pref", cmd, true) == 0)
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 1481.3818, -1768.0518, 18.795);
GameTextForPlayer(playerid, "~w~Prefeitura", 5000, 5);
format(string, sizeof(string), "{FF0000}[TELEPORTE] {FFFFFF}O(A) jogador(a) {FF0000}%s {FFFFFF}foi para a Prefeitura {FF0000}(/pref)", GetPlayerNameEx(playerid));
SendClientMessageToAll(0xFF6600AA, string);
return 1;
}
assim nao da?
Re: GameTextForPlayer -
MacacuVuador - 19.11.2013
Nao, Ce for assim a mensagem nao aparece.
Re: GameTextForPlayer -
DannielCooper - 19.11.2013
tб estranho essa parada de sem o ~g~ a mensagem nгo aparecer em...
#topic:
jб aconteceu um bug parecido com isso e eu fiz assim :
pawn Код:
if(strcmp("/pref", cmd, true) == 0)
{
new string[128];
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 1481.3818, -1768.0518, 18.795);
format(string, sizeof(string), "~w~Prefeitura");
GameTextForPlayer( /* COR */, 5000, string);
format(string, sizeof(string), "{FF0000}[TELEPORTE] {FFFFFF}O(A) jogador(a) {FF0000}%s {FFFFFF}foi para a Prefeitura {FF0000}(/pref)", GetPlayerNameEx(playerid));
SendClientMessageToAll(0xFF6600AA, string);
return 1;
}