HadesGTA Posted June 4, 2013 Share Posted June 4, 2013 I searched the coding forums and didn't find this anywhere. I am trying to code a function that will allow a player to save their vehicles. I am almost finished but I cannot for the life of me figure out how to make the car only drivable by you. If you have used Simple Native Trainer 6.5, you can select a "Save Car" function that saves your current car and doesn't allow it to be driven by anyone else. Can anyone point me in the right direction? Link to comment Share on other sites More sharing options...
nixolas1 Posted June 6, 2013 Share Posted June 6, 2013 the right direction: int netid=0; GetNetworkIdFromVehicle(veh, &netid); //loop RequestControlOfNetworkId(netid); SetNetworkIdCanMigrate(netid, 0); (now can you resist the urge to abuse this?) 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