Posts: 1,840
Threads: 399
Joined: Oct 2010
Reputation:
0
Heey all,
How to make a /park command to save u vehicle at a location and when u restart server your vehicle is there?
So players can park them vehicle in the server.
I tried to make a system but the system dont load the vehicles only saves it.
Please help me with this.
Admigo
Posts: 1,018
Threads: 129
Joined: Apr 2011
Reputation:
0
Well, my vehicle system saves vehicle files as %d.ini(1.ini,2.ini), the number showing actually the number of the BHOUGHT vehicles in the server.Also every of the bhought vehicles has a variable VehicleCounter, wich saves the respective number(the next number of the car that is about to be bhought, if, in total, your players bhought 15 vehicles, the index for the current vehicle would be 16, therefor the VehicleCounter[vehicleid] variable would be also 16, and the car's file, 16.ini).And then just open the file, using the VehCounter variable(wich is obviusly different for every bhought vehicle.In this case[16] open with ini the file %d.ini[16.ini]).
Posts: 1,840
Threads: 399
Joined: Oct 2010
Reputation:
0
Its really strange the vehicles are not loading. The vehicles needs to be owned by players.