[Ajuda] GameTextForPlayer
#1

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
Reply
#2

tira esse:
pawn Код:
~G~
e testa
Reply
#3

й 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
Reply
#4

Quote:
Originally Posted by ViniKuliveguisky
Посмотреть сообщение
tira esse:
pawn Код:
~G~
e testa
Sem o ~g~ a mensagem nгo apareceu, mais vlw por tentar ajudar, acho q vou deixar assim msm
Reply
#5

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 '-'.
Reply
#6

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.
Reply
#7

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
Reply
#8

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?
Reply
#9

Nao, Ce for assim a mensagem nao aparece.
Reply
#10

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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)