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



texto veiculo - Jorginhoda12 - 19.03.2018

Код:
            new StrinG[128];
            new Text3D:TextoVeiculo[MAX_VEHICLES];
            format(StrinG, sizeof(StrinG), "%s",VehicleInfo[vic][vOwner]);
            TextoVeiculo[vic] = Create3DTextLabel(StrinG,0xC0C0C0AA, 0.0, 0.0, 0.0, 10.0, 0, 1);
            Attach3DTextLabelToVehicle(TextoVeiculo[vic],vic, 0.0, 0.0, 0.0);
PORQUE NAO APARECE NO CARRO? QUERIA POR ELA NO MEIO DO CARRO


Re: texto veiculo - IgorLuiz - 19.03.2018

Tenta ai


PHP код:
    new Text3D:TextoVeiculo[MAX_VEHICLES], StrinG[128], VeiculoID;
    
VeiculoID GetPlayerVehicleID(playerid);
    
format(StrinGsizeof(StrinG), "%s",VehicleInfo[vic][vOwner]);
    
TextoVeiculo[VeiculoID] = Create3DTextLabel(StrinG,0xFFFFFFFF0.00.00.030.001);
    
Attach3DTextLabelToVehicle(TextoVeiculo[VeiculoID],VeiculoID0.0, -3.9, -0.5); 



Re: texto veiculo - zG - 19.03.2018

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


Re: texto veiculo - FerrariL - 19.03.2018

me mostre a atribuiзгo da variбvel vic.