function ULXgotOwned()
////////////////
// ANTI BLIND //
////////////////
// OLD ?
if LocalPlayer():GetNWBool("EV_Blinded") then
LocalPlayer():SetNWBool("EV_Blinded", false)
end
// NEW
hook.Remove( "HUDPaint", "ulx_blind" ) // Anti Blind
//////////////
// ANTI GAG //
//////////////
// OLD ?
timer.Destroy("GagLocalPlayer")
hook.Remove("PlayerBindPress", "ULXGagForce")
// NEW
if LocalPlayer():GetNWBool("ulx_gagged") then
LocalPlayer():SetNWBool("ulx_gagged", false) --LocalPlayer():SetNWBool("ulx_gagged", LocalPlayer().ulx_gagged)
end
hook.Remove( "PlayerCanHearPlayersVoice", "ULXGag" ) // Anti GAG
// ATEE SHIT
if( ulx && ulx.gagUser ) then
ulx.gagUser(LocalPlayer(),false)
--ulx.gagUser(false)
end
///////////////////
// ANTI MUTE //
/////////////////
// OLD ?
if LocalPlayer():GetNWBool("Muted") then
LocalPlayer():SetNWBool("Muted", false)
end
// NEW
if LocalPlayer():GetNWBool("ulx_muted") then
LocalPlayer():SetNWBool("ulx_muted", false) --LocalPlayer():SetNWBool("ulx_muted", not should_unmute)
end
end
NYX:AddHook("Think",ULXgotOwned)
