Hello, I use the addon darkrpmoddification for my jobs and im getting this error when i try to switch jobs. This error is "Unable to superadmin".
Here is my text for the jobs:
/*---------------------------------------------------------------------------
DarkRP custom jobs
---------------------------------------------------------------------------
This file contains your custom jobs.
This file should also contain jobs from DarkRP that you edited.
Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
Once you've done that, copy and paste the job to this file and edit it.
The default jobs can be found here:
https://github.com/FPtje/DarkRP/blob/ma ... elated.lua
For examples and explanation please visit this wiki page:
http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
Add jobs under the following line:
---------------------------------------------------------------------------*/
TEAM_DRUGDEALER = DarkRP.createJob("Drug Dealer", {
color = Color(255, 208, 0),
model = {"models/player/soldier_stripped.mdl"},
description = [[You are a drug dealer, You sell drugs to the public, but dont get caught!]],
weapons = {},
command = "",
max = 2,
salary = 50,
admin = 0,
vote = false,
hasLicense = false,
-- Insert customCheck here if you have one and want one.
})
TEAM_HITMAN = DarkRP.createJob("Hit Man", {
color = Color(255, 34, 0),
model = {"models/player/agent_47.mdl"},
description = [[You're a hitman, you take jobs and kill people. ]],
weapons = {weapon_m9k_deagle},
command = "",
max = 3,
salary = 60,
admin = 0,
vote = false,
hasLicense = false,
-- Insert customCheck here if you have one and want one.
})
TEAM_PET = DarkRP.createJob("Pet", {
color = Color(255, 208, 0),
model = {"models/player/pbear/pbear.mdl"},
description = [[You are a pet...]],
weapons = {},
command = "",
max = 5,
salary = 40,
admin = 0,
vote = false,
hasLicense = false,
-- Insert customCheck here if you have one and want one.
})
TEAM_ADMINONDUTY = DarkRP.createJob("Admin on Duty", {
color = Color(138, 243, 255),
model = {"models/player/group01/male_01.mdl"},
description = [[Admin on Duty, You patrol the server. ]],
weapons = {},
command = "",
max = 5,
salary = 100,
admin = 1,
vote = false,
hasLicense = true,
-- Insert customCheck here if you have one and want one.
})
TEAM_SUPERADMINONDUTY = DarkRP.createJob("Super Admin", {
color = Color(255, 0, 149),
model = {"models/koz/lotr/gandalf/gandalf.mdl"},
description = [[You are a SuperAdmin, you patrol the server with your staff!]],
weapons = {},
command = "",
max = 3,
salary = 200,
admin = 2,
vote = false,
hasLicense = true,
-- Insert customCheck here if you have one and want one.
})
/*---------------------------------------------------------------------------
Define which team joining players spawn into and what team you change to if demoted
---------------------------------------------------------------------------*/
GAMEMODE.DefaultTeam = TEAM_CITIZEN
/*---------------------------------------------------------------------------
Define which teams belong to civil protection
Civil protection can set warrants, make people wanted and do some other police related things
------------------------------------------------------------
Hopefully someone can help me! Thanks.
Jobs error "Unable to superadmin"
-
- New to forums
- Posts: 6
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Tue Dec 30, 2014 12:26 pm
Re: Jobs error "Unable to superadmin"
Hi Devin.