SA-MP Forums Archive
Attach a PlayerObject to a vehicle? - 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: Attach a PlayerObject to a vehicle? (/showthread.php?tid=235771)



Attach a PlayerObject to a vehicle? - Sascha - 06.03.2011

hi, I'm working on a GPS System and was wondering whether it is possible to add a "PlayerObject" to a vehicle..
Like "AttachObjectToVehicle" for normal objects....


Re: Attach a PlayerObject to a vehicle? - dice7 - 06.03.2011

You could use AttachPlayerObjectToPlayer with the correct offset to look nice on a vehicle


Re: Attach a PlayerObject to a vehicle? - Sascha - 06.03.2011

I got that in the console:
"AttachPlayerObjectToPlayer : removed in 0.3. I can only attach global object." -.-