DuncanMac Posted May 30, 2021 Share Posted May 30, 2021 The use of LastVehicle can greatly simplify your coding and avoid having to hardcode multiple car models as an example. In this video I use LastVehicle to change the colour of any car the player enters. It can also be used to have a ped follow you based on the last vehicle you were in. In other words, spawn the car (trainer or script) you want the ped to drive, then exit the car, and run your vehicle follow task script using LastVehicle. The ped will enter and drive any vehicle you were last in. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now