Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local users = { "unnamed/pass", "name/pass" }
- local function(cn, hash)
- for i, v in ipairs(server.clients()) do
- if hash == server.hashpassword(cn, v) then
- server.player_msg(cn, "logged in.")
- end
- end
- end
- server.event_handler("setmaster", function(cn, hash, set)
- if hash ~= then
- setmaster(cn, hash)
- end
- end)
- server.event_handler("connecting", function(cn, host, name, hash, reserved_slot)
- if hash ~= "" then
- setmaster(cn, hash)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement