SA-MP Forums Archive
Attachto works same like in MT*? - 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: Attachto works same like in MT*? (/showthread.php?tid=122870)



Attachto works same like in MT*? - Roleplaya - 23.01.2010

I was wondering if u can do the Attachto thingy in pawno [SA-MP] like this:



Re: Attachto works same like in MT*? - Mr L - 23.01.2010

i think you need AttackObjectToVehicle


Re: Attachto works same like in MT*? - Streetplaya - 23.01.2010

Quote:
Originally Posted by Kinto
i think you need AttachObjectToVehicle
So, put in short, no you can't.


Re: Attachto works same like in MT*? - Roleplaya - 23.01.2010

Quote:
Originally Posted by MaVe;
Quote:
Originally Posted by Kinto
i think you need AttachObjectToVehicle
So, put in short, no you can't.
I think kye should make it go xD cus its working in mta :[
And of course i know the objects will fly when too high speed


Re: Attachto works same like in MT*? - Streetplaya - 23.01.2010

Hmm, this idea is worth a try:

* Firstly, create the object ontop of the vehicle.
* When some player entered the vehicle, attach the object to him (AttachObjectToPlayer)
* When he's about to leave it, calculate the offset and set it back onto the vehicle


Re: Attachto works same like in MT*? - Roleplaya - 24.01.2010

im not so advanced in scripting pawno, xD