Posts: 33
Threads: 14
Joined: Nov 2011
Reputation:
0
Can someone tell me what is the ID of some sound that is near to KICK or DECLINE or DENY (I dont know how to explain it) The idea is if he enters a car and rejecet a player message to kick him out with sound. And my other question is how can i kick him out with animation directly to stand next to the car not to animate how he is getting out of it ?
Posts: 3,133
Threads: 71
Joined: Dec 2013
Reputation:
0
You can use RemovePlayerFromVehicle to show the animation of a player exiting a vehicle. 1138 is a good sound for a notification, however I believe there are better sounds for a denial.
Posts: 33
Threads: 14
Joined: Nov 2011
Reputation:
0
I dont want to show the animation of player getting out. I want to kick him directly next to the driver's door.
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
Use OnPlayerStateChange. That is called when a player has entered the vehicle, while OnPlayerEnterVehicle is called when a player STARTS to enter a vehicle.