• Whitelist
    3 replies, posted
Has anybody made a whitelist mod, or can somebody make it? I know you can just put a password on the server, but it would be nice to have a whitelist. Thanks in advance.
[LUA] function whitelistCheck( ply ) whitelist = { "STEAMIDHERE", } steamid = ply:SteamID() whitelistmsg = "Sorry, this server is whitelisted" if not table.hasValue( whitelist, steamid) then ply:Kick(whitelistmessage) end hook.Add( "PlayerConnect", "WhitelistScript", "whitelistCheck" ) [/LUA] I'm not great with GM13, so that should work.
Use GateKeeper, To stop them downloading the files.
Why? If you have "WHITELISTED" in your name, then it's their problem.
Sorry, you need to Log In to post a reply to this thread.