Posts: 1,219
Threads: 51
Joined: Jul 2012
Hope i am not confusing something here, but:
I'd suggest using OnPlayerStateChange instead, because you can check if the player actually entered a vehicle.
Look at
OnPlayerEnterVehicle - "This callback is called when a player starts to enter a vehicle, meaning the player is not in vehicle yet at the time this callback is called."
I am probably am confusing something, sorry in advance.
Posts: 1,219
Threads: 51
Joined: Jul 2012
Quote:
Originally Posted by saffierr
You're not confusing it, your suggest is optional though, depends on what he wants.
|
Well, i was confused , because he used TogglePalyerControllable(playerid, true);, so maybe he wants to prevent the player from entering specific vehicles (can't rellay judge cause i dont speak his language and he didnt provide further info)