SA-MP Forums Archive
[AJUDA] Text3DLabel - 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] Text3DLabel (/showthread.php?tid=349317)



[AJUDA] Text3DLabel - .FuneraL. - 08.06.2012

Pessoal, criei uma text 3D ao player, pois estou criando um sistema de recompensa, observem:

pawn Code:
new Text3D:R5000 = Create3DTextLabel("Recompensa R$5.000", 0xFF0000FF, 30.0, 0.0, 50.0, 50.0, 0);
        Attach3DTextLabelToPlayer(R5000, killerid, 0.0, 0.0, 0.7);
Qual funзгo exatamente devo usa-la para deletar a mesma , quando cria a proxima que no caso seria esta:

pawn Code:
new Text3D:R10000 = Create3DTextLabel("Recompensa R$10.000", 0xFF0000FF, 30.0, 0.0, 50.0, 50.0, 0);
        Attach3DTextLabelToPlayer(R10000, killerid, 0.0, 0.0, 0.7);



Re: [AJUDA] Text3DLabel - DrTHE - 08.06.2012

as duas sao a mesma cordenada certo?
apenas atualiza elas.

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


Re: [AJUDA] Text3DLabel - .FuneraL. - 08.06.2012

Quote:
Originally Posted by THE_FALLEN
View Post
as duas sao a mesma cordenada certo?
apenas atualiza elas.

https://sampwiki.blast.hk/wiki/Update3DTextLabelText
No caso eu teria de fazer assim entгo:

Primeira :

pawn Code:
new Text3D:R5000 = Create3DTextLabel("Recompensa R$5.000", 0xFF0000FF, 30.0, 0.0, 50.0, 50.0, 0);
        Attach3DTextLabelToPlayer(R5000, killerid, 0.0, 0.0, 0.7);

// Na Proxima Apenas:

Update3DTextLabelText(R5000, 0xFF0000FF, "Recompensa R$10.000");
Correto?


Re: [AJUDA] Text3DLabel - DrTHE - 08.06.2012

acho que й isso mesmo, testa ai dps posta se deu certo.


Re: [AJUDA] Text3DLabel - .FuneraL. - 08.06.2012

Quote:
Originally Posted by THE_FALLEN
View Post
acho que й isso mesmo, testa ai dps posta se deu certo.
Funcionou corretamente. Vlw ^^


Re: [AJUDA] Text3DLabel - DrTHE - 08.06.2012

de nada, pokerface