SA-MP Forums Archive
do not unload cars - 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: do not unload cars (/showthread.php?tid=519093)



do not unload cars - iBots - 12.06.2014

hey,well,i have made a system before for player cars,i have made it like when player connects,his cars load and spawn,and when he disconnects his cars disappear,i have made a function for loading/unloading,and i want to change to that even if i log out it wont destroy my cars,how could i make it like after gmxes and....it loads players cars automaticly,all of them?i am using Dini for saving,i will give +2 rep for helper


Re: do not unload cars - Rufio - 12.06.2014

And are we meant to guess the code ?


Re: do not unload cars - Johnson_Brooks - 12.06.2014

^^ And are we meant to guess your code ? - ******

Since You made it you should know how YOUR system works.
Anyways by guessing your code , i would suggest that you delete the part where it destroys the vehicle .
It might be under OnPlayerDisconnect or you might have a stock function .
Show us your code