SA-MP Forums Archive
saving just car colors - 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: saving just car colors (/showthread.php?tid=527292)



Need Help Please saving just car colors +rep - Lukka_Vercetti - 21.07.2014

is there anyway someone could explain how to get just the colors to save into a cfg or a link to a simple color saver fs
either or +rep will be given

EDIT: i've been using this https://www.sendspace.com/file/6lyam1
because its brilliant but id rather not have the commands like /scar and /lcar i'd like it only to save the color atomatic if thats possible. can anyone edit this to just save colors for me pretty please


Re: saving just car colors - AIped - 22.07.2014

carcolors cannot be saved because there is no getvehiclecolour from sa-mp
However there is an include called GetVehicleColor or carcolor i think. maybe that will help.
Otherwise you have to make your own colorvariables somehow to make it give a carcolour automaticly


Re: saving just car colors - Lukka_Vercetti - 22.07.2014

hmm, so theres no filterscript lol mate that could be a pain

im not bad with pawno but making a carclolor system is well beyond what im able to do lol

oh well looks like they will just have to spawn a different color each time


Re: saving just car colors - SKAzini - 22.07.2014

GetVehicleColor: https://sampforum.blast.hk/showthread.php?tid=235398
fwrite: https://sampwiki.blast.hk/wiki/Fwrite


Re: saving just car colors - AIped - 22.07.2014

Quote:
Originally Posted by SKAzini
Посмотреть сообщение
Yes thats the GetVehicleColor include i wrote about. You should try it out.