[Question] Attach3DTextLabelToVehicle
#1

Hey guys, i was wondering if you are able to attach Label to a multiple vehicles, like the function is

Код:
Attach3DTextLabelToVehicle( vehicle3Dtext, vehicle_id, 0.0, 0.0, 2.0);
Is it possible to attach same Label to a multiple vehicles in a same line, instead of re-creating that line and replacing ID's, and if yes how?
Reply
#2

You can, just use it like any other car.
Reply
#3

how is that?
Reply
#4

Quote:
Originally Posted by [Comrade]
Посмотреть сообщение
how is that?
Use OnPlayerEnterVehicle.
Reply
#5

Yes it is possible.

Quote:
Originally Posted by Zh3r0
Посмотреть сообщение
Use OnPlayerEnterVehicle.
He did NOT say, that he wants use it on player entering vehicle.

OnVehicleSpawn should do it... At least for the idea, but I'm not sure...
Reply
#6

Quote:
Originally Posted by Auxxx
Посмотреть сообщение
Yes it is possible.



He did NOT say, that he wants use it on player entering vehicle.

OnVehicleSpawn should do it... At least for the idea, but I'm not sure...
I gave him a suggestion, instead of you just agreeing.


edit, i see you felt like giving some tips.


This can also be done with foreach, itter the vehicles then add them the label.
Using a loop of course.(foreach)
Reply
#7

Thanks everyone
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)