Update cl_init.lua

This commit is contained in:
[TW]Rain_Bob 2023-10-26 17:06:00 +08:00 committed by GitHub
parent 3209947310
commit 76a5bb1ee9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,15 +13,24 @@ for _, file in pairs(file.Find("flood/gamemode/client/vgui/*.lua", "LUA")) do
MsgN("-> "..file)
include("flood/gamemode/client/vgui/"..file)
end
function GM:SpawnMenuOpen(ply)
local no=function()
return false
end
function GM:ContextMenuOpen(ply)
return false
end
--function GM:SpawnMenuOpen(ply)
-- return false
--end
--function GM:ContextMenuOpen(ply)
-- return false
--end
GM.SpawnMenuOpen=no
GM.ContextMenuOpen=no
hook.Add("Think","No you dumbass",function()
if(GM.SpawnMenuOpen~=no)then
GM.SpawnMenuOpen=no
elseif(GM.ContextMenuOpen~=no)then
GM.ContextMenuOpen=no
end
end)
function GM:CanProperty(ply, property, ent)
return false
end
end