Garry's Mod

Garry's Mod

Server Hopper, !servers
Cptn.Sheep 27. dec. 2018 kl. 0:52
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 )