Garry's Mod Wiki
Description
Called when a non local player connects to allow the Lua system to check the password.
The default behaviour in the base gamemodes emulates what would normally happen. If sv_password is set and its value matches the password passed in by the client (via password concommand) - then they are allowed to join. If sv_password isn't set it lets them in too.
Arguments
STEAM_0: one.Returns
Example
A user access whitelist to the server.
A list of pre-defined messages can be found in ../sourceengine/resource/gameui_english.txt, modifications here and historically combined (pre oct 2024) here.
Suggested messages are #GameUI_ConnectionFailed and #GameUI_ServerRejectLANRestrict.
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...