SA-MP Forums Archive
Issue with RemovePlayerFromVehicle - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Issue with RemovePlayerFromVehicle (/showthread.php?tid=637137)



Issue with RemovePlayerFromVehicle - Omirrow - 09.07.2017

Hey there,

RemovePlayerFromVehicle does an animation, is there any other way to kick a player out of the car without using this function? A faster and more smooth one? Because this SA:MP function sometimes blocks me from using other functions (NOT TALKING ABOUT OnPlayerEnterVehicle), I need to apply some other animations after that but it basically blocks me, then I have to use timers to apply my own functions.

What I want to do is, remove a player from the vehicle without using SAMP's default function.


Re: Issue with RemovePlayerFromVehicle - Toroi - 09.07.2017

Teleport the player Z+1.0 from their position.


Re: Issue with RemovePlayerFromVehicle - Omirrow - 09.07.2017

Quote:
Originally Posted by Toroi
Посмотреть сообщение
Teleport the player Z+1.0 from their position.
Well, I thought teleporting the player to their position does the same but it didn't work, I'll give this a try.


Re: Issue with RemovePlayerFromVehicle - Omirrow - 09.07.2017

It works, thanks.