Jump to content
  • 0

intrebare despre 3dtext la masini


Viper

Question

salut :D am gasit pe sa-mp.com/forum cum pot sa fac ca atuncea cand cineva are o masina personala sa ii apara, numele ca si 3dtext pe masina, insa am o intrebare.. unde trebe sa adaug acele linii daca imi poate spune cineva.. raman recunoscator :D

new name[MAX_PLAYER_NAME],string[128];
new Float:vehx, Float:vehy, Float:vehz;
new Text3D:vehowner;
GetPlayerName(playerid,name,sizeof(name));
GetVehiclePos(veh, vehx, vehy, vehz);
format(string, sizeof(string), "%s (%d)'s vehicle.", name, playerid);
vehowner = Create3DTextLabel( string, COLOR, vehx, vehy, vehz, 40.0, 0, 0 );
Attach3DTextLabelToVehicle( vehowner, YOURVEHICLE, 0.0, 0.0, 1.0);

si ar mai trebuit sa pun un Update3DTextLabel? sau ala e doar in caz daca pun la /setplate?

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.