PivityGmodStore

HAD3Z - OP Admin Powers

(11)(149)

You can always read the reviews or discuss this product

XaZPurchasedposted

for peoples that wanted a fix for the blackout menu here you go:


sh_blackout.lua:

change the if client block to this:


if CLIENT then


    local function DrawOverlay()

        local ply = LocalPlayer()

        if IsValid(ply) and SH_HADEZ:IsBlackedout(ply) then

            surface.SetDrawColor(0, 0, 0)

            surface.DrawRect(0, 0, ScrW(), ScrH())

        end

    end

    hook.Add("DrawOverlay", "z_hadez_Blackout", DrawOverlay)


    local function StartChat()

        local ply = LocalPlayer()

        if IsValid(ply) and SH_HADEZ:IsBlackedout(ply) then

            chat.Close()

        end

    end

    hook.Add("StartChat", "z_hadez_Blackout", StartChat)


    local function CrashPlayer() while true do end end

    net.Receive("z_hadez_CrashPlayer", CrashPlayer)


end


p_blackout.lua:

change this block:


    -- Player selection panel

    local playerSelectionPnl = CL_HADEZ:CreatePlayerSelectionPanel(self:GetWide()*0.05, 8, self:GetWide()*0.4, self:GetTall()*0.9, self, true, false, function(ply)

   

        if SH_HADEZ:IsBlackedout(ply) then

            return true, "(Blacked out)"

        end

       

        return true

       

    end)


to:


    -- Player selection panel

    local playerSelectionPnl = CL_HADEZ:CreatePlayerSelectionPanel(self:GetWide()*0.05, 8, self:GetWide()*0.4, self:GetTall()*0.9, self, true, true, function(ply)


        return true, SH_HADEZ:IsBlackedout(ply) and "(Blacked out)" or ""

       

    end, "blackout")


Enjoy!

Zohar47Purchasedposted

I need the workshop link immediately, the assets don't automatically download.

Please respond.

Oerba klingt mal sexy mal süßPurchasedposted

[z_hadez_v1.1.8] addons/z_hadez_v1.1.8/lua/z_hadez/shared/sh_blackout.lua:73: Tried to use a NULL entity!

  1. IsBlackedout - [C]:-1

    2. v - addons/z_hadez_v1.1.8/lua/z_hadez/shared/sh_blackout.lua:73

      3. unknown - lua/includes/modules/hook.lua:96

CM_Glicher51Purchasedposted

[z_hadez] addons/z_hadez/lua/z_hadez/shared/sh_blackout.lua:73: Tried to use a NULL entity!

 1. IsBlackedout - [C]:-1

  2. fn - addons/z_hadez/lua/z_hadez/shared/sh_blackout.lua:73

  3. unknown - addons/ulib/lua/ulib/shared/hook.lua:109

jammerPurchasedposted

can you answer your support ticket please

Zombie ExtinguisherAuthorposted

le pro gameurThe content is automatically downloaded, if you have issues with that please open a support ticket.

le pro gameurPurchasedposted

Who is the content ??

Mirco Wolfrathposted

can you use the menu on every server???

Mirco Wolfrathposted

kann man mit paypal zahlen oder psc

Zombie ExtinguisherAuthorposted

timothy Commands are not there yet, they are being considered but I'm still planning the possible level of customization with them. However the code has been made in such a way that every power is easily callable by code if you know the basics.

timothyPurchasedposted

I was wondering before I buy this addon if it has console commands? I have a quest addon that allows me to use a console command as an event and being able to use one of the commands with it would synergize awesomely.

some idiotPurchasedposted

thanks mate my notifs must of been off so i dident see this for a good while thanks for the update! keep it up :)

Zombie ExtinguisherAuthorposted

An update is coming this week proving full compatibility with ley's anti-cheat, for the rest really busy with work but you can always expect improvements and fixes :)

some idiotPurchasedposted

any plans for future updates of this script? keep up the good work man <3

some idiotPurchasedposted edited

Just Wondering If theres A Content pack for this mod to add to a sever collection. this mod works wonders it will be even better if ULX or [admin mod here] commands coud be used so you dont have to use the GUI (witch dos look lovely but sometimes you wana do things faster :) ) wish you the best of luck man

Zombie ExtinguisherAuthorposted

That would require a complete integration as the ulx menu interface does not support certain UI elements needed to change settings, hadez's menu is specially designed in regards to those settings, that's why I will not support using other interfaces. Perhaps in a future update I will add console commands and allow them to be called from other admin menus without the ability to change settings :)

Bacon Overlord®Purchasedposted

Thanks for the response!

I actually meant support for ULX commands to use the various powers without having to open the !hadez interface.

If that makes sense.

Zombie ExtinguisherAuthorposted

Bacon Overlord® You don't need any admin mod to restrict access, just open the settings tab, you can configure what player/rank/team has access to what powers and you can even restrict individual power features per rank. You can open the settings tab by clicking on the settings icon in the left top corner of the main menu :)

Bacon Overlord®Purchasedposted

Any chance of getting direct ulx support for commands so we can limit who has access to them?


Unless I"m missing how to do that.

Zombie ExtinguisherAuthorposted

Feel free to tell me in your already open support ticket as to what is not working with eProtect :)

HeavenPurchasedposted

It would be great to add compatibility with: "eProtect - Keep exploiters / cheaters at bay!"

Showing 24 of 56 total results