SA-MP Forums Archive
[Ajuda] CreateDynamic3DTextLabel nгo estб funcionando? - 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] CreateDynamic3DTextLabel nгo estб funcionando? (/showthread.php?tid=633844)



CreateDynamic3DTextLabel nгo estб funcionando? - Maxwilson01 - 08.05.2017

Olб, estou com problema nгo consigo resolver.
O que acontece, quando player vai mudar nome do set nгo aparece na carro. Alguйm sabe o que й? :/

PHP код:
Textcarro[car] = CreateDynamic3DTextLabel(strings, -10.0, -2.50.550.0INVALID_PLAYER_IDSet[car], 0); 



Re: CreateDynamic3DTextLabel nгo estб funcionando? - ViniBorn - 08.05.2017

Tб usando UpdateDynamic3DTextLabelText?

PHP код:
UpdateDynamic3DTextLabelText(idcolor, const text[]); 



Re: CreateDynamic3DTextLabel nгo estб funcionando? - Maxwilson01 - 08.05.2017

Quando ele muda nome, ele deleta Dynamic3DTextLabelText e cria novamente.
Quando set carrega no servidor ele nгo mostra nome tambйm.


Re: CreateDynamic3DTextLabel nгo estб funcionando? - RodrigoMSR - 08.05.2017

Porque estб criando em posiзгo constante? Mande uma parte maior do cуdigo.


Re: CreateDynamic3DTextLabel nгo estб funcionando? - Chainksain - 08.05.2017

Vocк estб tentando usar Attach3dTextLabel com Dynamic 3d text label? se for oc aso, й por isso que nгo estб funfando.


Re: CreateDynamic3DTextLabel nгo estб funcionando? - Maxwilson01 - 09.05.2017

Quote:

Vocк estб tentando usar Attach3dTextLabel com Dynamic 3d text label? se for oc aso, й por isso que nгo estб funfando.

Nгo.

PHP код:
                        DestroyDynamic3DTextLabel(Textcarro[car]);
                        
Delete3DTextLabel(Textcarro[car]);
                        
DestroyVehicle(Set[car]);
                        
Set[car] = AddStaticVehicleEx(DOF2_GetInt(string,"Modelo"), XYZA
                   
DOF2_GetInt(string,"Cor1"),DOF2_GetInt(string,"Cor2"), -1);
                        
Textcarro[car] = CreateDynamic3DTextLabel(strings, -10.0, -2.50.550.0
                    
INVALID_PLAYER_IDSet[car], 0);