Sign in to follow this  
maximumdrive

warpPedIntoVehicle() 'animated analogue' (make player enter the vehicle)

Recommended Posts

Hi all,

there is a well-known function warpPedIntoVehicle() which warps player into the car looking it like it was occupying that for ages. But is there a function which makes ped entering the vehicle in a kind of 'animated' way, as it is when onClientVehicleStartEnter is triggered? Easier to explain: is it possible to force the player/ped to enter a nearby staying vehicle in a normal, non-warping way? 

 

Edited by maximumdrive

Share this post


Link to post

I did a pull request a while ago that adds this specific feature to MTA. It only works on client-side peds with client-side vehicles for now though. You can check it out here.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.