Hey! Anybody has a script that damages objects as wall,doors after some time?
Like this:
UPDATE `Object_DATA`
SET `Damage`=`Damage`+ 0.1
WHERE `ObjectUID` <> 0
AND `CharacterID` <> 0
AND `LastUpdated` < DATE_SUB(NOW() , INTERVAL 3 DAY)
AND ( (`Inventory` IS NULL) OR (`Inventory` = '[]') );
But the script does not work well , because once destroys all the buildings.
Question
BigCrazyCat
Hey! Anybody has a script that damages objects as wall,doors after some time?
Like this:
But the script does not work well , because once destroys all the buildings.
Need Your HELP!
Link to comment
Share on other sites
2 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