Garry's Mod

Disable the props menu gmod darkrp

Submitted by 0pie, , Thread ID: 134766

Thread Closed
23-06-2019, 05:23 PM
#1
Hello

Today i gonna teach u how to disable the Q menu on gmod darkrp


1) go in your ftp>garrysmod>lua>autorun>client
2) create a new lua file (name it how you want)
3) copy and paste this code :
Code:
local function DisallowSpawnMenu( )
if not LocalPlayer():IsAdmin() then
return false
end
end
hook.Add( "SpawnMenuOpen", "DisallowSpawnMenu", DisallowSpawnMenu)
4) restart and enjoy

Bye

Users browsing this thread: 1 Guest(s)