SA-MP Forums Archive
Object as 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)
+--- Thread: Object as a vehicle? (/showthread.php?tid=402100)



Object as a vehicle? - NicholasA - 25.12.2012

Hey guys i was wondering is there a way to make an object a vehicle?
Like this, We have a cow object and we make it so that you can use it as a bike?
Maybe by putting the bike inside of it?


Re: Object as a vehicle? - DaRk_RaiN - 25.12.2012

You can be creative using MoveObject.


Re: Object as a vehicle? - NicholasA - 25.12.2012

Quote:
Originally Posted by DaRk_RaiN
Посмотреть сообщение
You can be creative using MoveObject.
Will a player stay on the object if it moved?


Re: Object as a vehicle? - DaRk_RaiN - 25.12.2012

Quote:
Originally Posted by phantomcraft
Посмотреть сообщение
Will a player stay on the object if it moved?
You can make him stay in the object using TogglePlayerControlable(playerid,0); which freezes the player