Skillionaire
New Member
- Joined
- Aug 10, 2013
- Messages
- 20
- Reaction score
- 0
Hello, can some 1 edit me this script to broadcast in RED the new record of players?
Thanks!
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
Thanks!