[Ajuda] PROCURADO
#6

Quote:
Originally Posted by igor97m
Посмотреть сообщение
PHP код:
format(othersizeof(other) ," {E84F33}[P:%d]"GetPlayerWantedLevel(i)); 
mano isso nao й string й other
vc que me passo esse codigo kkkk

string seria:
PHP код:
format(stringsizeof(string) ," {E84F33}[P:%d]"GetPlayerWantedLevel(i)); 
Mais ja consegui arrumar ja! Vlww
Que? Cara vocк estб trocando as bolas por completo!!

Se vocк ver, abaixo da condiзгo de GetPlayerWantedLevel, ele jб usa SetPlayerChatBubble, com o valor final de string, e nesta condiзгo, й inserido other na string cara, que tem a funзгo de colocar o level de procurado do player, ou seja, desta forma que estб fazendo, estб errada, na verdade nгo tem muita reaзгo, mas pode bugar em vista que estas a inserir a text acima do player, e logo abaixo, usar novamente a funзгo, sendo que a de baixo jб esta correta, a de cima nгo, pois a string nгo foi 100% formatada, ou seja, nгo tem o level de procurado do lado...o certo seria:
pawn Код:
format(other, sizeof(other) ," [P:%d]", GetPlayerWantedLevel(i));
if(GetPlayerWantedLevel(i) > 0) strcat(string, other);

SetPlayerChatBubble(i, string, COR_VAGOS, 20.0, 10000);
Ah e a cor vai sim na string Other pois a mesma й responsбvel pelo complemento do level de procurado...
Reply


Messages In This Thread
PROCURADO - by igor97m - 30.12.2014, 06:52
Re: PROCURADO - by ipsLuan - 30.12.2014, 11:59
Re: PROCURADO - by igor97m - 30.12.2014, 14:41
Re: PROCURADO - by Bruno13 - 30.12.2014, 15:51
Re: PROCURADO - by igor97m - 30.12.2014, 16:21
Re: PROCURADO - by Bruno13 - 30.12.2014, 16:32
Re: PROCURADO - by Artista - 30.12.2014, 17:29
Re: PROCURADO - by igor97m - 30.12.2014, 20:12

Forum Jump:


Users browsing this thread: 1 Guest(s)