- Initiateur de la discussion
anthonybersee
Geek
- Messages
- 34
- Score réaction
- 1
- Points
- 95
Corrupt team: Citoyen!
The admin value must be a number and it must be greater than or equal to zero and smaller than three.
Hints:
- No hints, sorry.
The responsibility for the error above lies with (the authors of) one (or more) of these files:
1. addons/darkrpmodification-master/lua/darkrp_customthings/jobs.lua on line 18
2. function 'xpcall'
3. gamemodes/darkrp/gamemode/libraries/simplerr.lua on line 477
4. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
5. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
6. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 137
7. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 148
8. gamemodes/darkrp/gamemode/init.lua on line 111
Mon job.lua est :
TEAM_CITOYEN = DarkRP.createJob("Citoyen", {
color = Color(115, 117, 122, 255),
model = {
"models/Humans/Group01/male_02.mdl",
"models/Humans/Group01/Male_01.mdl",
"models/Humans/Group01/Male_03.mdl",
"models/Humans/Group01/Male_04.mdl",
"models/Humans/Group01/Male_05.mdl",
"models/Humans/Group01/Male_06.mdl",
"models/Humans/Group01/Male_07.mdl",
"models/Humans/Group01/Male_08.mdl",
"models/Humans/Group01/Male_09.mdl",
"models/Humans/Group01/Female_01.mdl",
"models/Humans/Group01/Female_02.mdl",
"models/Humans/Group01/Female_03.mdl",
"models/Humans/Group01/Female_04.mdl",
"models/Humans/Group01/Female_05.mdl",
"models/Humans/Group01/Female_06.mdl",
"models/Humans/Group01/Female_07.mdl",
"models/fearless/02.mdl",
"models/fearless/bsuit01.mdl",
"models/fearless/dgsuit12.mdl",
"models/fearless/suit07.mdl",
"models/fearless/mayor2.mdl"
},
description = [[En citoyen vous avez le droit ,de braquer ,de printers ,ect ...(Ceci est un des caractéristiques du serveur !)]],
weapons = {"weapon_fists","keys","weapon_physcannon","gmod_tool"},
command = "citoyen",
max = 32,
salary = 0,
vote = false,
hasLicense = false,
category = "Civil",
candemote = false,
PlayerLoadout = function(ply) ply:SetArmor( 0 ) end,
customCheck = function(ply) return CLIENT or
table.HasValue({"VIP","user","moderator","admin","superadmin"}, ply:GetNWString("usergroup"))
end,
})
The admin value must be a number and it must be greater than or equal to zero and smaller than three.
Hints:
- No hints, sorry.
The responsibility for the error above lies with (the authors of) one (or more) of these files:
1. addons/darkrpmodification-master/lua/darkrp_customthings/jobs.lua on line 18
2. function 'xpcall'
3. gamemodes/darkrp/gamemode/libraries/simplerr.lua on line 477
4. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
5. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
6. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 137
7. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 148
8. gamemodes/darkrp/gamemode/init.lua on line 111
Mon job.lua est :
TEAM_CITOYEN = DarkRP.createJob("Citoyen", {
color = Color(115, 117, 122, 255),
model = {
"models/Humans/Group01/male_02.mdl",
"models/Humans/Group01/Male_01.mdl",
"models/Humans/Group01/Male_03.mdl",
"models/Humans/Group01/Male_04.mdl",
"models/Humans/Group01/Male_05.mdl",
"models/Humans/Group01/Male_06.mdl",
"models/Humans/Group01/Male_07.mdl",
"models/Humans/Group01/Male_08.mdl",
"models/Humans/Group01/Male_09.mdl",
"models/Humans/Group01/Female_01.mdl",
"models/Humans/Group01/Female_02.mdl",
"models/Humans/Group01/Female_03.mdl",
"models/Humans/Group01/Female_04.mdl",
"models/Humans/Group01/Female_05.mdl",
"models/Humans/Group01/Female_06.mdl",
"models/Humans/Group01/Female_07.mdl",
"models/fearless/02.mdl",
"models/fearless/bsuit01.mdl",
"models/fearless/dgsuit12.mdl",
"models/fearless/suit07.mdl",
"models/fearless/mayor2.mdl"
},
description = [[En citoyen vous avez le droit ,de braquer ,de printers ,ect ...(Ceci est un des caractéristiques du serveur !)]],
weapons = {"weapon_fists","keys","weapon_physcannon","gmod_tool"},
command = "citoyen",
max = 32,
salary = 0,
vote = false,
hasLicense = false,
category = "Civil",
candemote = false,
PlayerLoadout = function(ply) ply:SetArmor( 0 ) end,
customCheck = function(ply) return CLIENT or
table.HasValue({"VIP","user","moderator","admin","superadmin"}, ply:GetNWString("usergroup"))
end,
})