Vehicle value returns 0
#1

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]);
Reply
#2

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]);
Reply
#3

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


Forum Jump:


Users browsing this thread: 1 Guest(s)