Probleme level

  • Initiateur de la discussion
S

Starxx_

Geek
Messages
51
Score réaction
1
Points
60
Bonjour j'ai un problème, quand je me set level, je restart le serv et je ne peux plus avoir les metiers qui demandent des levels inférieurs (ex: je suis lvl 20 il fut etre 15) ça me met : "You're not the right level.."

J'utilise leveling system darkrp de vrondakis
 
Dernière édition:
  • Initiateur de la discussion
S

Starxx_

Geek
Messages
51
Score réaction
1
Points
60
?
 
ZarosOVH

ZarosOVH

Modérateur
Membre du Staff
Messages
6 527
Score réaction
5 488
Points
1 295
  • Initiateur de la discussion
S

Starxx_

Geek
Messages
51
Score réaction
1
Points
60
salut voici l'addon https://www.google.com/url?sa=t&sou...id=270216963&usg=AOvVaw1nq_a1LJKrsDGt5K3PobF1
 
FrenchNeo

FrenchNeo

Psychopathe
Messages
971
Score réaction
204
Points
260
Envoi ton jobs.lua
 
  • J'aime
Réactions: Starxx_
  • Initiateur de la discussion
S

Starxx_

Geek
Messages
51
Score réaction
1
Points
60
--[[---------------------------------------------------------------------------
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/master/gamemode/config/jobrelated.lua

For examples and explanation please visit this wiki page:
http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields

Add your custom jobs under the following line:
---------------------------------------------------------------------------]]

TEAM_GARDIENCOURS = DarkRP.createJob("Gardien de la cours LVL10", {
color = Color(24, 105, 224, 255),
model = {
"models/player/police_agent/male_01_agent.mdl",
"models/player/police_agent/male_02_agent.mdl",
"models/player/police_agent/male_03_agent.mdl",
"models/player/police_agent/male_05_agent.mdl",
"models/player/police_agent/male_06_agent.mdl",
"models/player/police_agent/male_07_agent.mdl",
"models/player/police_agent/male_09_agent.mdl"
},
description = [[Chargé de surveiller la cours de la prison;]],
weapons = {"stungun", "m9k_m92beretta", "weapon_fists"},
command = "gardiencours",
max = 3,
salary = 250,
admin = 0,
vote = false,
hasLicense = true,
level = 10,
candemote = true,
category = "Sécurité",
PlayerSpawn = function(ply)
ply:SetMaxHealth(120)
ply:SetHealth(120)
end
})

TEAM_GARDIENINT = DarkRP.createJob("Gardien de l'intérieur LVL10", {
color = Color(24, 105, 224, 255),
model = {
"models/player/police_agent/male_01_agent.mdl",
"models/player/police_agent/male_02_agent.mdl",
"models/player/police_agent/male_03_agent.mdl",
"models/player/police_agent/male_05_agent.mdl",
"models/player/police_agent/male_06_agent.mdl",
"models/player/police_agent/male_07_agent.mdl",
"models/player/police_agent/male_09_agent.mdl"
},
description = [[Chargé de surveiller l'intérieur' de la prison;]],
weapons = {"stungun", "m9k_m92beretta", "weapon_fists"},
command = "gardienint",
max = 3,
salary = 250,
admin = 0,
vote = false,
hasLicense = true,
level = 10,
candemote = true,
category = "Sécurité",
PlayerSpawn = function(ply)
ply:SetMaxHealth(120)
ply:SetHealth(120)
end
})

TEAM_GARDIENEXT = DarkRP.createJob("Gardien de l'éxterieur LVL10", {
color = Color(24, 105, 224, 255),
model = {
"models/player/guard_pack/guard_01.mdl",
"models/player/guard_pack/guard_02.mdl",
"models/player/guard_pack/guard_03.mdl",
"models/player/guard_pack/guard_04.mdl",
"models/player/guard_pack/guard_05.mdl",
"models/player/guard_pack/guard_06.mdl",
"models/player/guard_pack/guard_07.mdl",
"models/player/guard_pack/guard_08.mdl",
"models/player/guard_pack/guard_09.mdl"
},
description = [[Chargé de surveiller l'éxterieur de la prison;]],
weapons = {"stungun", "m9k_m92beretta", "weapon_fists"},
command = "gardienext",
max = 3,
salary = 250,
admin = 0,
vote = false,
hasLicense = true,
level = 10,
candemote = true,
category = "Sécurité",
PlayerSpawn = function(ply)
ply:SetMaxHealth(120)
ply:SetHealth(120)
end
})

TEAM_GARDIENPOLYVALENT = DarkRP.createJob("Gardien Polyvalent LVL20", {
color = Color(255, 149, 0, 255),
model = {
"models/player/clannypolice/male_01.mdl",
"models/player/clannypolice/male_02.mdl",
"models/player/clannypolice/male_03.mdl",
"models/player/clannypolice/male_04.mdl",
"models/player/clannypolice/male_05.mdl",
"models/player/clannypolice/male_06.mdl",
"models/player/clannypolice/male_07.mdl"
},
description = [[Gardien Polyvalent]],
weapons = {"stungun", "m9k_m92beretta", "weapon_fists"},
command = "gardienpolyvalent",
max = 4,
salary = 300,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
level = 20,
category = "Sécurité",
PlayerSpawn = function(ply)
ply:SetMaxHealth(130)
ply:SetHealth(130)
end
})

TEAM_MIRA = DarkRP.createJob("Mirador LVL15", {
color = Color(255, 149, 0, 255),
model = {
"models/codmw2/codmw2m.mdl"
},
description = [[Mirador]],
weapons = {"stungun", "m9k_m98b", "weapon_fists"},
command = "mirador",
max = 4,
salary = 1500,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
category = "Sécurité",
level = 15
})

TEAM_PRISONIER = DarkRP.createJob("Prisonnier", {
color = Color(255, 149, 0, 255),
model = {
"models/jbarnes/player/prisoners/jumpsuitm1.mdl",
"models/jbarnes/player/prisoners/jumpsuitm2.mdl",
"models/jbarnes/player/prisoners/jumpsuitm3.mdl",
"models/jbarnes/player/prisoners/jumpsuitm4.mdl",
"models/jbarnes/player/prisoners/jumpsuitm5.mdl",
"models/jbarnes/player/prisoners/jumpsuitm6.mdl",
"models/jbarnes/player/prisoners/jumpsuitm7.mdl",
"models/jbarnes/player/prisoners/jumpsuitm8.mdl",
"models/jbarnes/player/prisoners/jumpsuitm9.mdl"
},
description = [[Prisonnier]],
weapons = {"dab", "surrender", "middlefinger"},
command = "prisonnier",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
category = "Prisonniers",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_PRISONIERNAIN = DarkRP.createJob("Prisonnier Nain", {
color = Color(255, 149, 0, 255),
model = {
"models/jbarnes/player/prisoners/jumpsuitm1.mdl",
"models/jbarnes/player/prisoners/jumpsuitm2.mdl",
"models/jbarnes/player/prisoners/jumpsuitm3.mdl",
"models/jbarnes/player/prisoners/jumpsuitm4.mdl",
"models/jbarnes/player/prisoners/jumpsuitm5.mdl",
"models/jbarnes/player/prisoners/jumpsuitm6.mdl",
"models/jbarnes/player/prisoners/jumpsuitm7.mdl",
"models/jbarnes/player/prisoners/jumpsuitm8.mdl",
"models/jbarnes/player/prisoners/jumpsuitm9.mdl"
},
description = [[Prisonnier]],
weapons = {"dab", "surrender", "middlefinger"},
command = "prisonniernain",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
modelScale = 0.75,
category = "Prisonniers",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_PRISONIERNAIN = DarkRP.createJob("Prisonnier métamorph", {
color = Color(255, 149, 0, 255),
model = {
"models/jbarnes/player/prisoners/jumpsuitm1.mdl",
"models/jbarnes/player/prisoners/jumpsuitm2.mdl",
"models/jbarnes/player/prisoners/jumpsuitm3.mdl",
"models/jbarnes/player/prisoners/jumpsuitm4.mdl",
"models/jbarnes/player/prisoners/jumpsuitm5.mdl",
"models/jbarnes/player/prisoners/jumpsuitm6.mdl",
"models/jbarnes/player/prisoners/jumpsuitm7.mdl",
"models/jbarnes/player/prisoners/jumpsuitm8.mdl",
"models/jbarnes/player/prisoners/jumpsuitm9.mdl"
},
description = [[Prisonnier]],
weapons = {"dab", "surrender", "middlefinger", "weapon_agent"},
command = "prisonniermeta",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
modelScale = 0.75,
category = "Prisonniers",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})
TEAM_PRISONIERE = DarkRP.createJob("Prisonniere", {
color = Color(255, 149, 0, 255),
model = {
"models/kuma96/a2/a2lh_pm.mdl"
},
description = [[Prisonnier]],
weapons = {"dab", "surrender", "middlefinger", "weapon_fists"},
command = "prisonniere",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
category = "Prisonniers",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_PRISONIERGANGSTER = DarkRP.createJob("Prisonnier Gangster LVL5", {
color = Color(255, 149, 0, 255),
model = {
"models/jbarnes/player/prisoners/jumpsuitm1.mdl",
"models/jbarnes/player/prisoners/jumpsuitm2.mdl",
"models/jbarnes/player/prisoners/jumpsuitm3.mdl",
"models/jbarnes/player/prisoners/jumpsuitm4.mdl",
"models/jbarnes/player/prisoners/jumpsuitm5.mdl",
"models/jbarnes/player/prisoners/jumpsuitm6.mdl",
"models/jbarnes/player/prisoners/jumpsuitm7.mdl",
"models/jbarnes/player/prisoners/jumpsuitm8.mdl",
"models/jbarnes/player/prisoners/jumpsuitm9.mdl"
},
description = [[Prisonnier]],
weapons = {"dab", "surrender", "middlefinger", "weapon_fists"},
command = "prisonniergangster",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
category = "Prisonniers",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_PRISONIERVOLEUR = DarkRP.createJob("Prisonnier Voleur LVL10", {
color = Color(255, 149, 0, 255),
model = {
"models/jbarnes/player/prisoners/jumpsuitm1.mdl",
"models/jbarnes/player/prisoners/jumpsuitm2.mdl",
"models/jbarnes/player/prisoners/jumpsuitm3.mdl",
"models/jbarnes/player/prisoners/jumpsuitm4.mdl",
"models/jbarnes/player/prisoners/jumpsuitm5.mdl",
"models/jbarnes/player/prisoners/jumpsuitm6.mdl",
"models/jbarnes/player/prisoners/jumpsuitm7.mdl",
"models/jbarnes/player/prisoners/jumpsuitm8.mdl",
"models/jbarnes/player/prisoners/jumpsuitm9.mdl"
},
description = [[Prisonnier voleur]],
weapons = {"dab", "surrender", "middlefinger", "weapon_fists", "lockpick"},
command = "prisonniervoleur",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
category = "Prisonniers",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_PRISONIERMAFIA = DarkRP.createJob("Prisonnier Mafia LVL15", {
color = Color(255, 149, 0, 255),
model = {
"models/jbarnes/player/prisoners/jumpsuitm1.mdl",
"models/jbarnes/player/prisoners/jumpsuitm2.mdl",
"models/jbarnes/player/prisoners/jumpsuitm3.mdl",
"models/jbarnes/player/prisoners/jumpsuitm4.mdl",
"models/jbarnes/player/prisoners/jumpsuitm5.mdl",
"models/jbarnes/player/prisoners/jumpsuitm6.mdl",
"models/jbarnes/player/prisoners/jumpsuitm7.mdl",
"models/jbarnes/player/prisoners/jumpsuitm8.mdl",
"models/jbarnes/player/prisoners/jumpsuitm9.mdl"
},
description = [[Prisonnier Mafia]],
weapons = {"dab", "surrender", "middlefinger", "weapon_fists"},
command = "prisonniermafia",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
level = 15,
candemote = true,
category = "Prisonniers",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_PRISONIERPSY = DarkRP.createJob("Prisonnier Psychopathe LVL20", {
color = Color(255, 149, 0, 255),
model = {
"models/jbarnes/player/prisoners/jumpsuitm1.mdl",
"models/jbarnes/player/prisoners/jumpsuitm2.mdl",
"models/jbarnes/player/prisoners/jumpsuitm3.mdl",
"models/jbarnes/player/prisoners/jumpsuitm4.mdl",
"models/jbarnes/player/prisoners/jumpsuitm5.mdl",
"models/jbarnes/player/prisoners/jumpsuitm6.mdl",
"models/jbarnes/player/prisoners/jumpsuitm7.mdl",
"models/jbarnes/player/prisoners/jumpsuitm8.mdl",
"models/jbarnes/player/prisoners/jumpsuitm9.mdl"
},
description = [[Prisonnier Psychopathe]],
weapons = {"dab", "surrender", "middlefinger", "weapon_fists"},
command = "prisonnierpsy",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
level = 20,
candemote = true,
category = "Prisonniers",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_PRISONIERVA = DarkRP.createJob("Prisonnier vendeur d'armes", {
color = Color(255, 149, 0, 255),
model = {
"models/jbarnes/player/prisoners/jumpsuitm1.mdl",
"models/jbarnes/player/prisoners/jumpsuitm2.mdl",
"models/jbarnes/player/prisoners/jumpsuitm3.mdl",
"models/jbarnes/player/prisoners/jumpsuitm4.mdl",
"models/jbarnes/player/prisoners/jumpsuitm5.mdl",
"models/jbarnes/player/prisoners/jumpsuitm6.mdl",
"models/jbarnes/player/prisoners/jumpsuitm7.mdl",
"models/jbarnes/player/prisoners/jumpsuitm8.mdl",
"models/jbarnes/player/prisoners/jumpsuitm9.mdl"
},
description = [[Prisonnier]],
weapons = {"dab", "surrender", "middlefinger"},
command = "prisonnierva",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
category = "Prisonniers",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_TRINITY = DarkRP.createJob("Trinity", {
color = Color(255, 149, 0, 255),
model = {
"models/katazuro/defalt_playermodel.mdl"
},
description = [[HACK3R PRO]],
weapons = {"weapon_drr_radar", "weapon_drr_repairtool", "weapon_drr_remote", "weapon_fists", "weapon_drr_jammer"},
command = "trinity",
max = 1,
salary = 1000,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
category = "Jobs Personnalisés",
})

TEAM_ANDI = DarkRP.createJob("Agent N.D.I", {
color = Color(255, 149, 0, 255),
model = {
"models/kuma96/stealtharmor/stealtharmor_pm.mdl"
},
description = [[Agent]],
weapons = {"m9k_val", "m9k_m1918bar", "m9k_model3russian", "weapon_fists", "m9k_ithacam37", "m9k_intervention"},
command = "andi",
max = 1,
salary = 1000,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
category = "Jobs Personnalisés",
})

TEAM_DJ = DarkRP.createJob("DJ [VIP]", {
color = Color(255, 149, 0, 255),
model = {
"models/player/daftpunk/daft_gold.mdl",
"models/player/daftpunk/daft_silver.mdl"
},
description = [[DJ]],
weapons = {"weapon_fists"},
command = "djvip",
max = 2,
salary = 1000,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
category = "Autres",
customCheck = function(ply)
table.HasValue({"vip", "superadmin", "admin", "moderator"}, ply:GetNWString("usergroup"))
end,
})
--[[---------------------------------------------------------------------------
Define which team joining players spawn into and what team you change to if demoted
---------------------------------------------------------------------------]]
GAMEMODE.DefaultTeam = TEAM_PRISONIER
--[[---------------------------------------------------------------------------
Define which teams belong to civil protection
Civil protection can set warrants, make people wanted and do some other police related things
---------------------------------------------------------------------------]]
GAMEMODE.CivilProtection = {
[TEAM_POLICE] = true,
[TEAM_CHIEF] = true,
[TEAM_MAYOR] = true,
}
--[[---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_MOB)
 
  • Initiateur de la discussion
S

Starxx_

Geek
Messages
51
Score réaction
1
Points
60
OneSidious

OneSidious

Geek suprême
Messages
145
Score réaction
24
Points
140
J'ai le même problème tu as résolu ?
 
OneSidious

OneSidious

Geek suprême
Messages
145
Score réaction
24
Points
140
L'addon à du être bug pour tout le monde
 
  • Initiateur de la discussion
S

Starxx_

Geek
Messages
51
Score réaction
1
Points
60
  • Initiateur de la discussion
S

Starxx_

Geek
Messages
51
Score réaction
1
Points
60
OneSidious à dit:
L'addon à du être bug pour tout le monde
résolu, j'ai pris une version antérieure
 
OneSidious

OneSidious

Geek suprême
Messages
145
Score réaction
24
Points
140
comment ?
 
VareK

VareK

Nouveau né
Messages
22
Score réaction
2
Points
20
Je serais interéssé aussi car je rencontre le meme soucie
 
Discord d'entraide
Rejoignz-nous sur Discord