SA-MP Forums Archive
Actor in 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: Actor in a vehicle? (/showthread.php?tid=610150)



Actor in a vehicle? - Sjn - 20.06.2016

Hey guys!

Is it possible to put an actor inside a player's vehicle? Like we can use PutPlayerInVehicle(); function for players. I need this for a taxi job system in which the passenger is an actor. It's not like I need something realistic like the actor walking and getting inside the taxi, but isn't it somehow possible to directly put them inside?


Re: Actor in a vehicle? - Abagail - 20.06.2016

It's not possible to actually put an actor into a vehicle. You can however position them to a vehicle seat and apply an animation to imitate the actor actually being inside of the vehicle.


Re: Actor in a vehicle? - Sjn - 20.06.2016

Alright, but I don't think the actor would actually get attached to the vehicle, the position of the actor would remain at the same spot when a player start driving, right?

Additional; how about attaching a 3D text label to em or an arrow pointing down on top of their head like the objective param of a vehicle?

Sorry for these lame questions, I just started working with the actor features so, kinda curious to know if all of these are possible.

Edit: I just noticed the thread in your signature lol. Nevermind.