SA-MP Forums Archive
[Ajuda] TextDraw - 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] TextDraw (/showthread.php?tid=578312)



TextDraw - ModaLOKO - 18.06.2015

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 ?


Re: TextDraw - SkullFire - 18.06.2015

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


Re: TextDraw - Dayvison_ - 18.06.2015

Use uma PlayerTextDraw


Re: TextDraw - ModaLOKO - 18.06.2015

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


Re: TextDraw - ipsLuan - 18.06.2015

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

https://sampwiki.blast.hk/wiki/CreatePlayerTextDraw



Re: TextDraw - Dayvison_ - 18.06.2015

No caso seria vocк trocar, e criar uma PlayerTextDraw

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

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