Garry's Mod

Garry's Mod

Server Hopper, !servers
Cptn.Sheep 27 Dec, 2018 @ 12:52am
command opens the panel for everyone on the server
change the hook at the end of the cl_init.lua file to:

hook.Add( "OnPlayerChat", "HelloCommand", function( ply, strText, bTeam, bDead ) strText = string.lower( strText ) if ply == LocalPlayer() then if ( strText == "!servers" ) then OpemMenuFrame() // Opens the panel end end end )