Put The Funtian Above If Server
Example
NowCATEGORY_NAME = "BDG Commands"
if SERVER then
util.AddNetworkString("cl_openserverhoppermenu") -- long name to prevent conflicts
end
if CLIENT then
net.Receive("cl_openserverhoppermenu",
function (ply)
RunConsoleCommand("serverhopping")
end)
end
function ulx.hopper(calling_ply)
net.Start("cl_openserverhoppermenu")
net.Send(calling_ply)
end
Correct
function ulx.hopper(calling_ply)
net.Start("cl_openserverhoppermenu")
net.Send(calling_ply)
end
if SERVER then
util.AddNetworkString("cl_openserverhoppermenu") -- long name to prevent conflicts
end
if CLIENT then
net.Receive("cl_openserverhoppermenu",
function (ply)
RunConsoleCommand("serverhopping")
end)
end
Thats What It Would Be I Think