21.10.2014, 04:16
I have a problem, I wan't to be able to detain a player in a vehicle, so that they can't get out. There are ways to do this that I know of, but they are not complete solutions, for example, I could use TogglePlayerControllable, but then they wouldn't be able to look around. I could use OnPlayerChangeState, or OnPlayerExitVehicle, but I have tried both of these, and in the game, the player will exit the vehicle, before being put back in it.
What I wan't to do is make it such that the player can't even open the door, when the press the exit key, nothing should happen.
If someone could show me a way to prevent the exitvehicle animations from being shown at all (ie nothing happens) it would be much appreciated, thanks in advance.
What I wan't to do is make it such that the player can't even open the door, when the press the exit key, nothing should happen.
If someone could show me a way to prevent the exitvehicle animations from being shown at all (ie nothing happens) it would be much appreciated, thanks in advance.