Pivity

Help with overriding DarkRP_ArrestedHUD

Last read Never
#1

For some reason I cannot override DarkRP_ArrestedHUD.


local function hideDefaultDarkRP(name)
    local elements = {
        ["DarkRP_ArrestedHUD"] = true
    }
    if elements[name] then return false end
end
hook.Add("HUDShouldDraw", "HideDefaultDarkRP", hideDefaultDarkRP)


Can anyone help, I've been at this for 2 days now.

#2

I'm trying to override:


ply:PrintMessage(HUD_PRINTCENTER, DarkRP.getPhrase("youre_arrested", time))


Does anyone have any suggestions?

#3

so where it says ur arrested do you want it to count down

Friendly x 1
#4

I actually figured it out yesterday! Turned out I needed to create a server side file to load the module and modify it. Thanks anyway!

Users viewing this thread
Nobody