Dylanaw
Godly Member
- Joined
- Feb 18, 2009
- Messages
- 473
- Reaction score
- 10
Heeya, I just added vip system.
And i got a error in the console.
Here is the daysremover.lua
Anyone can fix this?
Rep+
Thanks in Advance.
And i got a error in the console.
Code:
[27/1/2013 20:25:9] [Warning - Event::loadScript] Event onTime not found (data/globalevents/scripts/daysremover.lua)
Here is the daysremover.lua
LUA:
--- Script by Kekox
function onTimer()
db.executeQuery("UPDATE accounts SET vipdays = vipdays - 1 WHERE vipdays > 0;")
return true
end
Anyone can fix this?
Rep+
Thanks in Advance.
Last edited: