01.05.2016, 20:07
What do you mean by "class"? A certain skin? A certain team? A certain group of players?
You can use the callback OnPlayerEnterVehicle which is called as soon as the player starts to get into the animation of entering a vehicle, so when pressing F/Enter. Just ask for which vehicle is being entered by whom and close the vehicle using SetVehicleParamsForPlayer.
You can use the callback OnPlayerEnterVehicle which is called as soon as the player starts to get into the animation of entering a vehicle, so when pressing F/Enter. Just ask for which vehicle is being entered by whom and close the vehicle using SetVehicleParamsForPlayer.