kozmo
Member
- Joined
- Jan 30, 2009
- Messages
- 444
- Solutions
- 2
- Reaction score
- 23
So i finally got VIP added into the server the only issue now is that the script i have seems to not work, It looks like this.
function onTime()
db.query("UPDATE accounts SET vipdays = vipdays - 1 WHERE vipdays > 0;")
return true
end
And for the XML Part looks like this.
<globalevent name="VipDaysRemover" interval="86395"" event="script" value="daysremover.lua"/>
If someone could help me solve this problem it would be much appreciated thanks.
function onTime()
db.query("UPDATE accounts SET vipdays = vipdays - 1 WHERE vipdays > 0;")
return true
end
And for the XML Part looks like this.
<globalevent name="VipDaysRemover" interval="86395"" event="script" value="daysremover.lua"/>
If someone could help me solve this problem it would be much appreciated thanks.