darkfall211 Posted December 3, 2013 Report Share Posted December 3, 2013 Is this possible? i need to wipe my entire map of vehichles then respawn them organically. Anyone have a method for this? Link to comment Share on other sites More sharing options...
0 cen Posted December 3, 2013 Report Share Posted December 3, 2013 DELETE FROM `object_data` WHERE `CharacterID` > 0 AND `Classname` NOT IN ('VaultStorage','LockboxStorage','VaultStorageLocked','LockboxStorageLocked','WoodShack_DZ','StorageShed_DZ','TentStorageDomed','TentStorageDomed2','TentStorage') AND `Inventory` <> '[]' AND `Inventory` IS NOT NULL; That should work. Link to comment Share on other sites More sharing options...
0 ekroemer Posted December 3, 2013 Report Share Posted December 3, 2013 cen, as i read your code, it would delete owned vehicles, only (because CharacterID=0 for spawned vehicles) . I guess, skipping the "`CharacterID` > 0 AND" wouldn't hurt. Link to comment Share on other sites More sharing options...
0 cen Posted December 3, 2013 Report Share Posted December 3, 2013 Ahh that's true. Just remove that part. DELETE FROM `object_data` WHERE `Classname` NOT IN ('VaultStorage','LockboxStorage','VaultStorageLocked','LockboxStorageLocked','WoodShack_DZ','StorageShed_DZ','TentStorageDomed','TentStorageDomed2','TentStorage') AND `Inventory` <> '[]' AND `Inventory` IS NOT NULL; Link to comment Share on other sites More sharing options...
Question
darkfall211
Is this possible? i need to wipe my entire map of vehichles then respawn them organically. Anyone have a method for this?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now