SA-MP Forums Archive
Vehicle Profiles - 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: Vehicle Profiles (/showthread.php?tid=330418)



Vehicle Profiles - SpotS - 01.04.2012

Guys i am wondering
can we make a vehicle profile?

like a player profile that has its information

in vehicle profile it saves the health
color painjob
and location and also fuel

and when server turns off it saves the entire information
and when turns on again same as usual

and its file name is its vehicle id from server like vehicle 1 vehicle 0
then inside is its model

is it possible to do that?


Re: Vehicle Profiles - antonio112 - 01.04.2012

Yes, it's possible.


Re: Vehicle Profiles - SpotS - 02.04.2012

well can you teach me how to do it?


Re: Vehicle Profiles - ReneG - 02.04.2012

Go read a tutorial.
Something of this nature cannot really be spoonfed.


Re: Vehicle Profiles - SpotS - 02.04.2012

no tutorial available


Re: Vehicle Profiles - TzAkS. - 02.04.2012

https://sampwiki.blast.hk/wiki/GetVehicleHealth
https://sampwiki.blast.hk/wiki/Function:GetVehiclePos
https://sampwiki.blast.hk/wiki/Saving_car_mods

and search for one tutorial to save data like this
https://sampforum.blast.hk/showthread.php?tid=270787

Good luck