ReturnPlayerControl()


Module: Vehicles
SP Only

Summary:

After controlling a vehicle from script using something like setvehgoalpos(), if the vehicle is being driven by a player, you call this function to return control of the vehicle to the player.



Call this on:

a vehicle



Example:

cobra ReturnPlayerControl();