save current vehicle - 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: save current vehicle (
/showthread.php?tid=172633)
save current vehicle -
Yourfatness - 30.08.2010
How do i save the current vehicle after someone gets out? if the player gets out, GetPlayerVehicleID changes to 0, effectively disabling my script as soon as they leave the car. is there a way to save ids like this after the player leaves?
Re: save current vehicle -
Mike Garber - 30.08.2010
Use "OnPlayerExitVehicle" callback...
https://sampwiki.blast.hk/wiki/OnPlayerExitVehicle
Re: save current vehicle -
Yourfatness - 01.09.2010
thanks man