SA-MP Forums Archive
AttachObjectToVehicle or ? - 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)
+--- Thread: AttachObjectToVehicle or ? (/showthread.php?tid=468294)



AttachObjectToVehicle or ? - Jackston - 07.10.2013

guys, i was wondering, how to script this thing? Can anyone help?


This custom text, and a thing on the bonet.....how can i script this? Can anyone help


Re: AttachObjectToVehicle or ? - Pottus - 07.10.2013

CreateObject()
SetObjectMaterialText()
AttachObjectToVehicle()


Re: AttachObjectToVehicle or ? - Jankingston - 07.10.2013

can anyone write a script ffor this


Re: AttachObjectToVehicle or ? - PrivatioBoni - 07.10.2013

What object would be used, Pottus?


Re: AttachObjectToVehicle or ? - RajatPawar - 07.10.2013

http://gta-sa-mp.de/object/?categoryID=0
I think alpha channels, ID 4524, and such objects?


Re: AttachObjectToVehicle or ? - xxRichixx - 07.10.2013

pawn Код:
new objectname = CreateObject(19353, 0, 0, 10, 0.0, 0.0, 90.0); //it can be any...Im just giving an example
Setobjectmaterialtext(objectname, "Blah Blah Blah here", 0, OBJECT_MATERIAL_SIZE_256x128,\
"Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);

AttachObjectToVehicle(objectid, vehicleid, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0);



Re: AttachObjectToVehicle or ? - Pottus - 07.10.2013

Quote:
Originally Posted by PrivatioBoni
Посмотреть сообщение
What object would be used, Pottus?
Usually just a plane.

[ame]http://www.youtube.com/watch?v=AJflkhwrX_g[/ame]