30.12.2014, 16:32
Quote:
|
PHP код:
vc que me passo esse codigo kkkk string seria: PHP код:
|
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);


