SA-MP Forums Archive
possible? - 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: possible? (/showthread.php?tid=183075)



possible? - nicoud - 13.10.2010

is it possible to attach an object to a vehicle.


Re: possible? - Simon - 14.10.2010

Not natively. An idea you could try to achieve such an effect could be:

Код:
When 'Vehicle' has 'No Driver':
    Use "SetObjectPos" where Position = 'Vehicle Position + Offset'
When 'Vehicle' has 'Driver':
    Use "AttachObjectToPlayer" where Player = Driver



Re: possible? - nicoud - 14.10.2010

oh ya i get what your saying. so like create object. then when player enters vehicle attach object to player. then when leave detache object from player. good idea ty


Re: possible? - Hal - 14.10.2010

im curious, what would you use this for? like what kind of object would you attach?


Re: possible? - Steven82 - 14.10.2010

Quote:
Originally Posted by Hal
Посмотреть сообщение
im curious, what would you use this for? like what kind of object would you attach?
Does it really matter?


No...........didn't think so