Lukedbx Posted July 29, 2014 Report Share Posted July 29, 2014 So I've had an issue with safes deleting the contents when people access them. I placed a few items in a safe to test, restarted my server and checked the database to see if the items were in the safe, and they were. I then logged in and accessed the safe and it cleared the inventory on the database. There are no RPT errors, does anyone have any ideas? Link to comment Share on other sites More sharing options...
kat Posted July 29, 2014 Report Share Posted July 29, 2014 Are you using any custom scripts? Link to comment Share on other sites More sharing options...
DeliciousAce Posted July 29, 2014 Report Share Posted July 29, 2014 Hey mate this will help you out: Search in your Server_Monitor.sqf this Part: if (count _intentory > 0) then { if (_type in DZE_LockedStorage) then { // Fill variables with loot _object setVariable ["WeaponCargo", (_intentory select 0),true]; _object setVariable ["MagazineCargo", (_intentory select 1),true]; _object setVariable ["BackpackCargo", (_intentory select 2),true]; Look that you have also the true behind! Link to comment Share on other sites More sharing options...
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