RemovePlayerFromVehicle bug - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP (
https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (
https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: RemovePlayerFromVehicle bug (
/showthread.php?tid=228332)
RemovePlayerFromVehicle bug -
Pooh7 - 19.02.2011
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
Re: RemovePlayerFromVehicle bug -
Ponchik - 19.02.2011
you using OnPlayerEnterVehicle then RemovePlayerFromVehicle?
use OnPlayerStateChange
https://sampwiki.blast.hk/wiki/OnPlayerStateChange
Re: RemovePlayerFromVehicle bug -
Pooh7 - 19.02.2011
I'm already using OnPlayerStateChange...
Re: RemovePlayerFromVehicle bug -
leong124 - 20.02.2011
Try using SetPlayerPos to remove them from a vehicle,
or use SetVehicleParamsEx to lock the doors.