26.02.2013, 06:10
UPDATED!!!
added 2 new commands:
- DIVM_DeactivateVehicle(vehicleid) - This will unspawn a vehicle without removing it from the game - vehicle will remain in storage untill it is reactivated or the server resets. The function returns the storage slot id so you can use the next command safely.
- DIVM_ActivateVehicle(storageid) - This command will return the stored vehicle from the specified slot to the active spawn list. This process will return the vehicleid of the created vehicle in case you need to use it.
IN ADDITION: i have updated the vehicle limit to 2000 and made a few small efficiency changes and fixed a couple of unnoticed blips in the system - nothing big enough to make note of, mostly just code tidying. I also changed the code to DIVM base instead of XVM as it's not really the same system at all lol.
ALSO: just to mess with ya I've simplified down the scriptfiles directory and structure as the folders were just too bulky and starting to piss me off lol. all files are now stored as standard under the scriptfiles root directory and are .txt extension for easy viewing although you should NEVER EVER EVER modify them manually - it'd just be a mess :S
added 2 new commands:
- DIVM_DeactivateVehicle(vehicleid) - This will unspawn a vehicle without removing it from the game - vehicle will remain in storage untill it is reactivated or the server resets. The function returns the storage slot id so you can use the next command safely.
- DIVM_ActivateVehicle(storageid) - This command will return the stored vehicle from the specified slot to the active spawn list. This process will return the vehicleid of the created vehicle in case you need to use it.
IN ADDITION: i have updated the vehicle limit to 2000 and made a few small efficiency changes and fixed a couple of unnoticed blips in the system - nothing big enough to make note of, mostly just code tidying. I also changed the code to DIVM base instead of XVM as it's not really the same system at all lol.
ALSO: just to mess with ya I've simplified down the scriptfiles directory and structure as the folders were just too bulky and starting to piss me off lol. all files are now stored as standard under the scriptfiles root directory and are .txt extension for easy viewing although you should NEVER EVER EVER modify them manually - it'd just be a mess :S