[HELP]YINI+*.ini file question[HELP]!!!
#1

Hello.I am currently scripting my Vehicle Dealership system using Y_INI.It works almost perfectly,and this is the way it works: A player buys a car and a file is automatically created inside a folder.The file is called %d.ini(the current number of the vehicle being bhought,e.g: a players buys 5 car,and another one comes to buy a car also,the file created is 6.ini).It perfectly saves the params of the vehicle,but I am encountering problems with the park command.It modifies the params for the last car bhought(e.g : there are 15 cars bhought,a player enters his car(his car,at the time it was bhought,let's say it was number 7,therefore its corresponding file is 7.ini),tunes it,and he uses the park command).The vehicle params are saved for 15.ini not for 7.ini,the care corresponding file.So,I am using Y_INI.Does anyone how to solve it?Basically I want to know with what FILE I have to work when a player modifies his car.Please HELP ASAP.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)