[INI] /park command?
#1

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
Reply
#2

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

Its really strange the vehicles are not loading. The vehicles needs to be owned by players.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)