With such little information I don’t expect any exact examples but is there a way to disable normal concommands during events like
local event = false function SWEP:PrimaryFire() event = true timer.Simple( 5, function() event = false end ) end function SWEP:Think() if event == true then con.Command:Disable( "kill" ) --Probably wouldn't work, I just made this up for example end if self.Owner:runConCommand( "kill" ) then --Again, made up garbage print( "YOU CAN'T DIE!!" ) end end
I’m not sure if there is a function like that, that can disable a console command temporarily. Thanks.