RemovePlayerFromVehicle bug
#1

If person A press 'F' to enter in a vehicle, and while entering, person B (if is near a person A and vehicle) press 'F', function RemovePlayerFromVehicle will not be called.

Today players from my server are reported this bug because every player can to drive locked vehicles (locked - ejecting player with removeplayerfromvehicle).

Sorry for my bad English
Reply
#2

you using OnPlayerEnterVehicle then RemovePlayerFromVehicle?
use OnPlayerStateChange https://sampwiki.blast.hk/wiki/OnPlayerStateChange
Reply
#3

I'm already using OnPlayerStateChange...
Reply
#4

Try using SetPlayerPos to remove them from a vehicle,
or use SetVehicleParamsEx to lock the doors.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)