SA-MP Forums Archive
Vehicle value returns 0 - 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 value returns 0 (/showthread.php?tid=512475)



Vehicle value returns 0 - DarkLored - 10.05.2014

Hello so i made a saving system for my server and this problem only happens to the vehicles
when i load them when i load a vehicle it returns 0 like no vehicle was assigned what is the problem ?

here is my loading system.
pawn Код:
INI_Int("Vehicle Slot 1",pInfo[playerid][pCar1]);



AW: Vehicle value returns 0 - Macronix - 11.05.2014

Can this file system load from lines with spaces between words ? (i mean the spaces in "Vehicle Slot 1")
Try to load it like this and change "Vehicle Slot 1" to "Vehicle_Slot_1" :
pawn Код:
INI_Int("Vehicle_Slot_1",pInfo[playerid][pCar1]);



Re: Vehicle value returns 0 - DarkLored - 11.05.2014

it still returns 0.
I don't know whats wrong really i use the same loading system i do every day