1. Sign up for news, events and more!

    You're currently visiting the official DarkRP Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

Release Justice System DarkRp

Discussion in 'DarkRP Addon & Plugin Releases' started by NoOriginality, Sep 1, 2017.

  1. NoOriginality

    NoOriginality Member

    This is an addon for DarkRp. It's called the Justice System.

    I don't plan on updating it at all in the future (unless some major bugs pop up).

    Use it, don't, I don't give a shit. I pretty much remade the whole system from Arma 3 Altis life for DarkRp.

    DOWNLOAD: Click Here Fool
    Put the bugs on the github

    VIDEO:
    [VIDEO]
     
    Last edited: Sep 10, 2017
  2. Sir Klutch

    Sir Klutch Active Member

    Very nice. Although, I did a quick skim and a little something I noticed;

    Code (Lua):

    net.Receive("JSTicketSV4", function(len, ply)

           local cop = net.ReadEntity()
            local numcheck = net.ReadInt(32)
            ply:SetNWBool("JSTicketPay", false)

            if numcheck == 1 then
                local amount = PolSys.crimeFine(ply)
                local camount = amount - (amount * 2)
                local compfcop = ((amount/100) * PoliceSystem.CopPercentage)
                local compfcop = math.floor(compfcop)

                if ply:canAfford(camount) then
                    ply:addMoney(camount)
                    cop:addMoney(compfcop)
                    net.Start("JSTicketCL2")
                        net.WriteBool(true)
                        net.WriteInt(1, 32)
                    net.Send(cop)
                else
                    net.Start("JSDenyMsgCL")
                        net.WriteBool(true)
                        net.WriteInt(4, 32)
                    net.Send(cop)
                end

            elseif numcheck == 2 then

                net.Start("JSTicketCL2")
                    net.WriteBool(true)
                    net.WriteInt(2, 32)
                net.Send(cop)
            end
        end)
    I'd add some more checks. From the looks of it, 'cop' can be read as any entity, robber, cop, citizen, mobboss, etc... etc...
     
    NoOriginality likes this.
  3. NoOriginality

    NoOriginality Member

    Thanks, will update.

    *Updated. Now has more checks. Though people shouldn't be able to be using scripts client side anyways.
    --- Double Post Merged, Sep 1, 2017 ---
    Lol, banned off of Facepunch yet again for the reason "Gimmick". They don't realize how much they just prove my point.
     
    Last edited: Sep 1, 2017
    Sir Klutch likes this.
  4. Deepofficer71

    Deepofficer71 New Member

    Can you make a Wanted Menu ? /wanted NAME
     
  5. NoOriginality

    NoOriginality Member

    No, I'm not adding anything to it. I would only update it for bugs. That's it. I've already uninstalled gmod.
     
  6. #Black4President

    #Black4President New Member

    doesnt work, does it?
    It wont work if i put it in the addons folder or in the modules.
    I put the jobs right in.
    Please help
     
  7. NoOriginality

    NoOriginality Member

    It was broken, redownloaded the updated verison.
     
  8. #Black4President

    #Black4President New Member

    so its still broken and u update it now? thanks for the help its an awesome idea :)
     
  9. Sir Klutch

    Sir Klutch Active Member

    I mean, that is what he said?
     
  10. NoOriginality

    NoOriginality Member

    Listen here little cunt, I forgot to uncomment the hook that loads the config after the gamemode loads. Don't complain about free shit. It's free.
     
  11. #Black4President

    #Black4President New Member

    i didnt want to make you angry i love this work. I just bad at english sry m8 :(
     
  12. Sir Klutch

    Sir Klutch Active Member

    You should always try something before questioning it. Unless of course, you know it'd be stupid to try. For example; Jumping off a 10 story building and expecting to not have any broken bones.
     
  13. NoOriginality

    NoOriginality Member

    I smelled sarcasm.... Doesn't matter. Just post bugs here and I'll fix them.
     
  14. #Black4President

    #Black4President New Member

    it´s still not working :/ did u reupload?
     
  15. NoOriginality

    NoOriginality Member

    Mhmm
    --- Double Post Merged, Sep 12, 2017 ---
    If there is a problem with it not working, it's a you problem. It works for everyone else. You probs have addons conflicting, or you didn't set it up right. Either way, not me problem, you problem.
     
    Last edited: Sep 12, 2017

Share This Page