[Ajuda] TextDraw
#1

PHP код:
        format(STR100"~l~~y~score: ~l~~w~%d  ~l~~r~K: ~l~~w~%d  ~b~D: ~l~~w~%d",GetPlayerScore(playerid),PlayerInfo[playerid][Kills],PlayerInfo[playerid][Deaths]);
        
TextDrawSetString(Stats,STR); 
O score do ID(0) й mostrado tambem para o ID(1) , por que ?
Reply
#2

Porque estб usando TextDraw global. Use PlayerTextDraw para ser ъnica para cada player
Reply
#3

Use uma PlayerTextDraw
Reply
#4

Poderia por favor me explicar melhor , no caso teria que mudar apenas "TextDrawSetString" ?
Reply
#5

Nгo, vocк teria que mudar o cуdigo todo.

https://sampwiki.blast.hk/wiki/CreatePlayerTextDraw
Reply
#6

No caso seria vocк trocar, e criar uma PlayerTextDraw

Todas as funзхes relacionadas a este TD..

https://sampwiki.blast.hk/wiki/TextDraws
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)