17.05.2015, 11:52
Hey guys.
In a previous post I managed to make my vehicle system's saving part work properly (thanks to user Konstantinos).
Now I have some difficulties loading the previously bought and saved vehicle(s).
In the folder scriptfiles/Jбrművek (in english: vehicles) there is the car saved as "0.ini".
Since SaveAllVehicles(); is under OnGameModeExit, I restarted the server with the rcon command "/rcon gmx" to see if the vehicle loads properly.
The gamemode doesn't want to load now if that "0.ini" file is in the scriptfiles/Jбrművek (in english: vehicles) folder. On the other hand, if I remove "0.ini", the gamemode loads and the server works fine.
Please help.
In a previous post I managed to make my vehicle system's saving part work properly (thanks to user Konstantinos).
Now I have some difficulties loading the previously bought and saved vehicle(s).
In the folder scriptfiles/Jбrművek (in english: vehicles) there is the car saved as "0.ini".
Since SaveAllVehicles(); is under OnGameModeExit, I restarted the server with the rcon command "/rcon gmx" to see if the vehicle loads properly.
The gamemode doesn't want to load now if that "0.ini" file is in the scriptfiles/Jбrművek (in english: vehicles) folder. On the other hand, if I remove "0.ini", the gamemode loads and the server works fine.
Please help.