[Question] Attach3DTextLabelToVehicle - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Question] Attach3DTextLabelToVehicle (
/showthread.php?tid=193275)
[Question] Attach3DTextLabelToVehicle -
[Comrade] - 25.11.2010
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?
Re: [Question] Attach3DTextLabelToVehicle -
The_Moddler - 25.11.2010
You can, just use it like any other car.
Re: [Question] Attach3DTextLabelToVehicle -
[Comrade] - 25.11.2010
how is that?
Re: [Question] Attach3DTextLabelToVehicle -
Zh3r0 - 25.11.2010
Quote:
Originally Posted by [Comrade]
how is that?
|
Use OnPlayerEnterVehicle.
Re: [Question] Attach3DTextLabelToVehicle -
Auxxx - 25.11.2010
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...
Re: [Question] Attach3DTextLabelToVehicle -
Zh3r0 - 25.11.2010
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)
Re: [Question] Attach3DTextLabelToVehicle -
[Comrade] - 25.11.2010
Thanks everyone