SA-MP Forums Archive
How to solve this problem ? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to solve this problem ? (/showthread.php?tid=86597)



How to solve this problem ? - Dreftas - 15.07.2009

If player sitting in passenger place in vehicle, and he press ESC, and then i do SetVehicleToRespawn to that vehicle, when player go back in game(press ESC again) vehicle is not respawned, it go back there, where player was pressed ESC.

How to solve this ?


Re: How to solve this problem ? - Donny_k - 15.07.2009

Don't press ESC


Re: How to solve this problem ? - Dreftas - 15.07.2009

Can someone else give some suggests? >.>


Re: How to solve this problem ? - MenaceX^ - 15.07.2009

What Donny said is the only available suloation I guess..


Re: How to solve this problem ? - Vince - 15.07.2009

Check if there are still people in the vehicle. If so, throw them out and then respawn vehicle.
Although I have no clue what would happen in you did RemovePlayerFromVehicle on someone who is "esc-aped".