Вопрос Проблема с работами и не только

  • 19
  • 0
Контакты для связи отсутствуют.
у меня знаки вопроса, вместо названий работ, как исправить?
[ERROR] A runtime error has occurred in "your jobs" on line -1.
The best help I can give you is this:

The category of "?????????" ("???????? ??????") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your jobs ещё вот это спамит в консоли
1681512472803.png
 
  • 442
  • 8
  • 118
не знаю причину ошибки
Ты вообще тютю сам же её написа
[ERROR] A runtime error has occurred in "your jobs" on line -1.
The best help I can give you is this:

The category of "?????????" ("???????? ??????") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
 
  • 19
  • 0
Контакты для связи отсутствуют.
вот код
--[[---------------------------------------------------------------------------
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:

For examples and explanation please visit this wiki page:


Lua:
Add jobs under the following line:
---------------------------------------------------------------------------]]
-- ?????????
TEAM_CITIZEN = DarkRP.createJob("?????????", {
color = Color(0, 201, 8, 255),
model = {
"models/player/Group02/male_02.mdl",
"models/player/Group01/male_01.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/male_09.mdl",
"models/player/Group01/male_07.mdl",
"models/player/Group01/male_08.mdl",
"models/player/Group01/female_01.mdl",
"models/player/Group01/female_02.mdl"
},
description = [[????????? - ??????? ???????????? ????, ??????? ?? ?????? ???????????????? ?????. ? ??? ??? ???????????????? ???? ? ????? ??????. ?? ?????? ????????? ???? ???? ??????????? ????????? ? ?????????? ????? ?????.]],
weapons = {"weapon_fists"},
command = "citizen",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = true,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = "???????? ??????",
})
-- ?????????
TEAM_HOBO = DarkRP.createJob("?????????", {
color = Color(94, 50, 0, 255),
model = {"models/player/corpse1.mdl"},
description = [[????????? ????????? ? ????? ???? ????????????? ????. ??? ??? ??? ???????. ? ??? ??? ????. ?? ????????? ??????? ??? ? ??????. ????????? ??? ?? ??????? ? ?????????? ??????, ????? ??????? ?? ??????. ?? ?????? ????????? ????? ? ???????? ?? ??? ???????, ??? ?? ??? ?????? ?????. ???????? ????????, ???????? ???????? ?????????????,?????? ?????. ????? ??????? ?? ?????? ???????? ?????? ?????.]],
weapons = {"weapon_bugbait", "weapon_fists"},
command = "Hobo",
max = 0,
salary = 0,
admin = 0,
vote = false,
hasLicense = false,
candemote = true,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = true,
cook = false,
category = "???????? ??????",
})
-- ?????
TEAM_MEDIC = DarkRP.createJob("?????", {
color = Color(0, 255, 224, 255),
model = {"models/player/Group03m/male_01.mdl", "models/player/Group03m/male_04.mdl", "models/player/Group03m/male_03.mdl", "models/player/Group03m/male_02.mdl", "models/player/Group03m/female_01.mdl", "models/player/Group03m/female_02.mdl", "models/player/Group03m/female_06.mdl"},
description = [[]],
weapons = {"med_kit", "weapon_fists"},
command = "medic",
max = 0,
salary = 40,
admin = 0,
vote = true,
hasLicense = false,
candemote = false,
-- CustomCheck
medic = true,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = "???????? ??????",
})
-- ???????? ??????
TEAM_GUN = DarkRP.createJob("???????? ??????", {
color = Color(255, 140, 0, 255),
model = "models/player/monk.mdl",
description = [[]],
weapons = {"m9k_fists"},
command = "gundealer",
max = 0,
salary = 25,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "??????",
})
-- ????????
TEAM_STORE = DarkRP.createJob("????????", {
color = Color(234, 255, 0, 255),
model = {"models/player/mossman.mdl"},
description = [[]],
weapons = {"m9k_fists"},
command = "store",
max = 0,
salary = 35,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = "??????",
})
-- ?????
if not DarkRP.disabledDefaults["modules"]["hungermod"] then
TEAM_COOK = DarkRP.createJob("?????", {
color = Color(238, 99, 99, 255),
model = {"models/player/mossman.mdl"},
description = [[???? ?????? ????????? ????? ???, ???? ??? ?? ?????? ?? ??????.]],
weapons = {},
command = "cook",
max = 2,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
cook = true,
category = "??????",
})
end
-- ??????
TEAM_SEC = DarkRP.createJob("??????", {
color = Color(0, 193, 255, 255),
model = {"models/player/magnusson.mdl"},
description = [[??????????? ? ?????? ????????, ?????, ??????????? ??? ?? ??????????????.
?? ????? ???????? ????????? ?? ????????? ? ?????? ?????. ??? ??????? ???????? ????????? ???????. ?? ????????? ??? ?????? "???????". ??? ??? ?? ???????? ?????, ?????????? ?????????.]],
weapons = {"stunstick", "weapon_fists"},
command = "sec",
max = 0,
salary = 20,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = "???????? ??????",
})
-- ???????????
TEAM_POLICE = DarkRP.createJob("???????????", {
color = Color(0, 56, 255, 255),
model = {"models/player/police_fem.mdl","models/player/police.mdl"},
description = [[??????????? ???????? ?????????? ??????? ??????????, ??????? ????? ? ??????. ? ??? ???? ??????, ?? ?????? ?????????? ???????????? ? ???????? ???????? ?????. ????? ?? "???????" ???? ??????????? ?????????? ???.]],
weapons = {"arrest_stick", "weapon_fists", "m9k_m92beretta", "stunstick", "weaponchecker",},
command = "cop",
max = 6,
salary = 55,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
-- CustomCheck
medic = false,
chief = true,
mayor = false,
hobo = false,
cook = false,
category = "?????????????",
})
-- ????????? ???????
TEAM_CHIEF = DarkRP.createJob("????????? ???????", {
color = Color(0, 56, 255, 255),
model = {"models/DPFilms/Metropolice/Playermodels/pm_rtb_police.mdl"},
description = [[]],
weapons = {"arrest_stick", "unarrest_stick", "m9k_colt1911", "m9k_ak74u", "weapon_fists", "stunstick", "weaponchecker", "door_ram"},
command = "chief",
max = 1,
salary = 75,
admin = 0,
vote = true,
hasLicense = true,
candemote = false,
-- CustomCheck
medic = false,
chief = true,
mayor = false,
hobo = false,
cook = false,
category = "?????????????",
})
-- ???????
TEAM_OMON = DarkRP.createJob("???????", {
color = Color(0, 56, 255, 255),
model = {"models/player/combine_soldier_prisonguard.mdl"},
description = [[]],
weapons = {"m9k_m4a1", "m9k_usp", "arrest_stick", "stunstick", "weaponchecker", "weapon_fists", "unarrest_stick", "door_ram", "weapon_shield"},
command = "omon",
max = 6,
salary = 85,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
-- CustomCheck
medic = false,
chief = true,
mayor = false,
hobo = false,
cook = false,
category = "?????????????",
})
-- ??????? ?????
TEAM_SPECMED = DarkRP.createJob("??????? ?????????", {
color = Color(0, 56, 255, 255),
model = {"models/player/combine_soldier_prisonguard.mdl"},
description = [[]],
weapons = {"m9k_fnc", "m9k_sig_p229r", "arrest_stick", "stunstick", "weaponchecker", "weapon_fists", "unarrest_stick", "door_ram", "weapon_shield"},
command = "omonmed",
max = 6,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
-- CustomCheck
medic = false,
chief = true,
mayor = false,
hobo = false,
cook = false,
category = "?????????????",
})
-- ??????? ???????
TEAM_SPECSNIPER = DarkRP.createJob("??????? ???????", {
color = Color(0, 56, 255, 255),
model = {"models/player/combine_soldier_prisonguard.mdl"},
description = [[]],
weapons = {"m9k_remington7615p", "m9k_bren_ten", "arrest_stick", "stunstick", "weaponchecker", "unarrest_stick", "door_ram", "weapon_fists"},
command = "specsniper",
max = 6,
salary = 120,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
-- CustomCheck
medic = false,
chief = true,
mayor = false,
hobo = false,
cook = false,
category = "?????????????",
})
-- ???
TEAM_MAYOR = DarkRP.createJob("???", {
color = Color(255, 0, 0, 255),
model = {"models/player/breen.mdl"},
description = [[]],
weapons = {},
command = "mayor",
max = 1,
salary = 100,
admin = 0,
vote = true,
hasLicense = true,
candemote = true,
-- CustomCheck
medic = false,
chief = false,
mayor = true,
hobo = false,
cook = false,
category = "?????????????",
})
-- ??????
TEAM_GANG = DarkRP.createJob("??????", {
color = Color(107, 107, 107, 255),
model = {"models/player/Group03/male_01.mdl", "models/player/Group03/male_02.mdl", "models/player/Group03/male_03.mdl","models/player/Group03/male_08.mdl", "models/player/Group03/male_09.mdl", "models/player/Group03/male_05.mdl", "models/player/Group03/female_01.mdl", "models/player/Group03/female_02.mdl", "models/player/Group03/female_05.mdl",},
description = [[?????? ????? ? ???????????? ????. ?????? ?????? ???????? ?? ????? ?????, ??????? ?????????? ????? ??????. ???????, ???????? ?? ????? ? ???????? ?????? ?? ?????, ??? ??, ????????, ?????? ????????.]],
weapons = {"m9k_fists", "pickpocket"},
command = "gangster",
max = 0,
salary = 20,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = "????????",
})
-- ????? ????????
TEAM_MOB = DarkRP.createJob("????? ????????", {
color = Color(107, 107, 107, 255),
model = {"models/player/gman_high.mdl"},
description = [[????? ????? ???????? ????? ??????? ???????????? ? ??????. ?? ???? ??????? ????? ??????????? ???????? ? ????????? ??????????? ?????????? ??????????. ?? ???????? ???????????? ?????????? ???????? ? ????????? ?? ????? ?????.]],
weapons = {"m9k_fists"},
command = "mobboss",
max = 3,
salary = 25,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = "????????",
})
-- ???????
TEAM_HIT = DarkRP.createJob("???????", {
color = Color(84, 0, 0, 255),
model = {"models/player/leet.mdl"},
description = [[]],
weapons = {"m9k_knife"},
command = "killer",
max = 2,
salary = 25,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = "????????",
})


-- ????????? ??? ?????? ?? ??????.
GAMEMODE.DefaultTeam = TEAM_CITIZEN


-- ???????? TEAM ???. ???????????.
GAMEMODE.CivilProtection = {
[TEAM_POLICE] = true,
[TEAM_CHIEF] = true,
[TEAM_MAYOR] = true,
[TEAM_OMON] = true,
[TEAM_SPECSNIPER] = true,
[TEAM_SPECMED] = true,
}
-- ?????? ????
DarkRP.addHitmanTeam(TEAM_HIT) -- ? ???? ????? ?????????? ????????.
 
Сверху Снизу