[RELEASE] mx_aduty - admin aduty system

Without Armor
With Armor

Description


I decided to make a new aduty system because I saw that the old one ( ds_adminaduty ) is pretty old code and not performance friendly

Resmon


  • Idle // 0.00ms
  • In Aduty // 0.12ms ( due to Godmode loop )
  • while Noclip // 0.35ms ( due to godmode + noclip loop )

Features


  • Online Playerblips works with OneSync
  • Vanish command ( /v or /vanish )
  • Hotkey Aduty activation ( Key changeable in keymapping )
  • Hotkey Noclip activation ( Key changeable in keymapping )
  • Low Resmon
  • Godmode configurable in config
  • Permissions configurable + clothing

Download


my Work


Code is accessible Yes
Subscription-based No
Lines (approximately) ~390
Requirements ESX
Support Yes
1 Like

Is there any way to get this as standalone?

not atm no

oh okay too bad

are you using no clip while in Aduty? and / or maybe the command gets overwritten

Nice Script, can you make a qb core one? :grinning:

will look after it. Haven’t worked with QB yet

How I Can Create More Clothing For More Groups When I Make A Group Name Supporter I Have Errors Help

copy the table witht the clothing put a comma at the end

['admin'] = {
-- clothing settings
},
['supporter'] = {
-- clothing settings
},

should look like this

config.lua (3.0 KB)

So I Edited But Is Dont Working

because you have a missing symbol

use this

Config.AdutyClothing = {
    ['admin'] = {
        ['male'] = {
            ['tshirt_1'] = 15,  ['tshirt_2'] = 0,
            ['torso_1'] = 287,   ['torso_2'] = 2,
            ['decals_1'] = 0,   ['decals_2'] = 0,
            ['arms'] = 3,
            ['pants_1'] = 114,   ['pants_2'] = 2,
            ['shoes_1'] = 78,   ['shoes_2'] = 2,
            ['helmet_1'] = -1,  ['helmet_2'] = 0,
            ['mask_1'] = 135,  ['mask_2'] = 2,
            ['chain_1'] = 0,    ['chain_2'] = 0,
            ['ears_1'] = 0,     ['ears_2'] = 0,
            ['bags_1'] = 0,     ['bags_2'] = 0,
            ['hair_1'] = 0,     ['hair_2'] = 0,
            ['bproof_1'] = 0,  ['bproof_2'] = 0
        },
        ['female'] = {
            ['tshirt_1'] = 15,  ['tshirt_2'] = 0,
            ['torso_1'] = 300,   ['torso_2'] = 2,
            ['decals_1'] = 0,   ['decals_2'] = 0,
            ['arms'] = 8,
            ['pants_1'] = 121,   ['pants_2'] = 2,
            ['shoes_1'] = 82,   ['shoes_2'] = 2,
            ['helmet_1'] = -1,  ['helmet_2'] = 0,
            ['mask_1'] = 153,  ['mask_2'] = 2,
            ['chain_1'] = 0,    ['chain_2'] = 0,
            ['ears_1'] = 0,     ['ears_2'] = 0,
            ['bags_1'] = 0,     ['bags_2'] = 0,
            ['hair_1'] = 0,     ['hair_2'] = 0,
            ['bproof_1'] = 0,  ['bproof_2'] = 0
    },
    ['t-sup'] = {
        ['male'] = {
            ['tshirt_1'] = 15,  ['tshirt_2'] = 0,
            ['torso_1'] = 287,   ['torso_2'] = 2,
            ['decals_1'] = 0,   ['decals_2'] = 0,
            ['arms'] = 3,
            ['pants_1'] = 114,   ['pants_2'] = 2,
            ['shoes_1'] = 78,   ['shoes_2'] = 2,
            ['helmet_1'] = -1,  ['helmet_2'] = 0,
            ['mask_1'] = 135,  ['mask_2'] = 2,
            ['chain_1'] = 0,    ['chain_2'] = 0,
            ['ears_1'] = 0,     ['ears_2'] = 0,
            ['bags_1'] = 0,     ['bags_2'] = 0,
            ['hair_1'] = 0,     ['hair_2'] = 0,
            ['bproof_1'] = 0,  ['bproof_2'] = 0
        },
        ['female'] = {
            ['tshirt_1'] = 15,  ['tshirt_2'] = 0,
            ['torso_1'] = 300,   ['torso_2'] = 2,
            ['decals_1'] = 0,   ['decals_2'] = 0,
            ['arms'] = 8,
            ['pants_1'] = 121,   ['pants_2'] = 2,
            ['shoes_1'] = 82,   ['shoes_2'] = 2,
            ['helmet_1'] = -1,  ['helmet_2'] = 0,
            ['mask_1'] = 153,  ['mask_2'] = 2,
            ['chain_1'] = 0,    ['chain_2'] = 0,
            ['ears_1'] = 0,     ['ears_2'] = 0,
            ['bags_1'] = 0,     ['bags_2'] = 0,
            ['hair_1'] = 0,     ['hair_2'] = 0,
            ['bproof_1'] = 0,  ['bproof_2'] = 0
    },
}

Screenshot_125

Not Working
[ c-scripting-core] Creating script environments for vanity_aduty
[ script:vanity_aduty] Error parsing script @vanity_aduty/config.lua in resource vanity_aduty: @vanity_aduty/config.lua:83: ‘}’ expected (to close ‘{’ at line 21) near
config.lua (3.0 KB)

1 Like

config (1).lua (3.0 KB)

1 Like

Good script but could you insert HP bars instead of numbers?

then it would not be different from ds_aduty

but ds_adminduty doesn’t work with esx 1.1 or doesn’t work at all for me if i just install it

Hey TrymTube I think you don’t have time but do you know how I can switch the numbers to HP bars ?

no I do not sorry


Can someone help me please?

getting these errors when i try to execute the command