Allesn
Member
- Joined
- May 4, 2011
- Messages
- 204
- Solutions
- 1
- Reaction score
- 24
I wish that every time the server had a record online, all online players to gain 10k as a reward for being online.
Script to edit:
Script to edit:
Code:
function onRecord(current, old, cid)
db.executeQuery("INSERT INTO `server_record` (`record`, `world_id`, `timestamp`) VALUES (" .. current .. ", " .. getConfigValue('worldId') .. ", " .. os.time() .. ");")
addEvent(doBroadcastMessage, 150, "New record: " .. current .. " players are logged in.", MESSAGE_STATUS_DEFAULT)
end