Probléme de Job

  • Initiateur de la discussion
Xorif

Xorif

Bambi
Messages
7
Score réaction
0
Points
40
Bonjour, j'ai une Lua Error avec mes jobs et je ne le trouve pas voici mes 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/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_CITIZEN = DarkRP.createJob("Citoyen", {
color = Color(0, 0, 0, 0),
model = {"models/church/swtor/selonian/cpt_selonian.mdl"},
description = [[Vous êtes un Citoyens]],
weapons = {"keys", "pocket"},
command = "cime",
max = 0,
salary = 150,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
category = "Neutre",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(100)
end
})


TEAM_ESCLAVE = DarkRP.createJob("Esclave sith", {
color = Color(255, 0, 0, 255),
model = {"models/player/valley/aric.mdl"},
description = [[Vous êtes un Esclave sith]],
weapons = {"keys", "pocket"},
command = "/Esclave sith",
max = 0,
salary = 150,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(100)
end
})

TEAM_ACOLYTE = DarkRP.createJob("Acolyte Sith", {
color = Color(255, 0, 0, 255),
model = {"models/nate159/req/swtfu/sith_acolyte.mdl"},
description = [[Vous êtes un Acolyte Sith]],
weapons = {"weapon_lightsaber", "keys", "pocket"},
command = "acolyteme",
max = 0,
salary = 250,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(650)
ply:SetHealth(650)
end
})

TEAM_APPRENTIE = DarkRP.createJob("Apprenti Sith", {
color = Color(255, 0, 0, 255),
model = {"models/grealms/characters/sithtrainee/sithtrainee_01.mdl",
"models/grealms/characters/sithtrainee/sithtrainee_02.mdl",
"models/grealms/characters/sithtrainee/sithtrainee_03.mdl",
"models/grealms/characters/sithtrainee/sithtrainee_04.mdl",
"models/grealms/characters/sithtrainee/sithtrainee_05.mdl",
"models/grealms/characters/sithtrainee/sithtrainee_06.mdl",
"models/grealms/characters/sithtrainee/sithtrainee_07.mdl",
"models/grealms/characters/sithtrainee/sithtrainee_08.mdl",
"models/grealms/characters/sithtrainee/sithtrainee_09.mdl",
},
description = [[Vous êtes un Apprenti Sith]],
weapons = {"pocket", "keys"},
command = "apprentime",
max = 0,
salary = 250,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(350)
ply:SetHealth(350)
end
})

TEAM_GUERRIER = DarkRP.createJob("Guerrier Sith", {
color = Color(255, 0, 0, 255),
model = {"models/player/sw/revan/revan.mdl"},
description = [[Vous êtes un Guerrier Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "guerime",
max = 0,
salary = 250,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(900)
ply:SetHealth(900)
end
})

TEAM_INQUISITEUR = DarkRP.createJob("Inquisiteur Sith", {
color = Color(255, 0, 0, 255),
model = {
"models/grealms/characters/inquisitor/inquisitor_01.mdl",
"models/grealms/characters/inquisitor/inquisitor_02.mdl",
"models/grealms/characters/inquisitor/inquisitor_03.mdl",
"models/grealms/characters/inquisitor/inquisitor_04.mdl",
"models/grealms/characters/inquisitor/inquisitor_05.mdl",
"models/grealms/characters/inquisitor/inquisitor_06.mdl",
"models/grealms/characters/inquisitor/inquisitor_07.mdl",
"models/grealms/characters/inquisitor/inquisitor_08.mdl",
"models/grealms/characters/inquisitor/inquisitor_09.mdl",
},
description = [[Vous êtes un Inquisiteur Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "inquime",
max = 0,
salary = 250,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(750)
ply:SetHealth(750)
end
})

TEAM_ASSASSIN = DarkRP.createJob("Assassin Sith", {
color = Color(255, 0, 0, 255),
model = {"models/syntheticgaming/characters/sithassassin/sithassassin.mdl"},
description = [[Vous êtes un Assassin Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys", "weapon_camo"},
command = "assame",
max = 0,
salary = 250,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(550)
ply:SetHealth(550)
end
})

TEAM_GRDASSASSIN = DarkRP.createJob("Grand Assassin Sith", {
color = Color(255, 0, 0, 255),
model = {"models/syntheticgaming/characters/sithassassin/sithassassin.mdl"},
description = [[Vous êtes un Grand Assassin Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys", "weapon_camo"},
command = "Grand Assassin Sith",
max = 0,
salary = 250,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "gassasime",
PlayerSpawn = function(ply)
ply:SetMaxHealth(650)
ply:SetHealth(650)
end
})

TEAM_MASSASSIN = DarkRP.createJob("Maître Assassin Sith", {
color = Color(255, 0, 0, 255),
model = {"models/syntheticgaming/characters/sithassassin/sithassassin.mdl"},
description = [[Vous êtes un Maître Assassin Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys", "weapon_camo"},
command = "masime",
max = 0,
salary = 250,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(750)
ply:SetHealth(750)
end
})

TEAM_SORCIER = DarkRP.createJob("Sorcier Sith", {
color = Color(255, 0, 0, 255),
model = {"models/morganicism/swtor/morganis/morganis.mdl"},
description = [[Vous êtes un Sorcier Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "sorcime",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(1000)
end
})

TEAM_GRDSORCIER = DarkRP.createJob("Grand Sorcier Sith", {
color = Color(255, 0, 0, 255),
model = {"models/morganicism/swtor/morganis/morganis.mdl"},
description = [[Vous êtes un Grand Sorcier Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "gsorcime",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1200)
ply:SetHealth(1200)
end
})

TEAM_MMMSORCIER = DarkRP.createJob("Maître Sorcier Sith", {
color = Color(255, 0, 0, 255),
model = {"models/morganicism/swtor/morganis/morganis.mdl"},
description = [[Vous êtes un Maître Sorcier Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "msorcime",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1400)
ply:SetHealth(1400)
end
})

TEAM_MARAUDER = DarkRP.createJob("Maraudeur Sith", {
color = Color(255, 0, 0, 255),
model = {"models/player/swtor/arsenic/viatic/viatic2.mdll"},
description = [[Vous êtes un Marauder Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "maraume",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(900)
ply:SetHealth(900)
end
})

TEAM_GRDMARAUDER = DarkRP.createJob("Grand Maraudeur Sith", {
color = Color(255, 0, 0, 255),
model = {"models/player/swtor/arsenic/viatic/viatic2.mdll"},
description = [[Vous êtes un Grand Marauder Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "gmaraume",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1000)
ply:SetHealth(1000)
end
})

TEAM_MTRMARAUDER = DarkRP.createJob("Maître Maraudeur Sith", {
color = Color(255, 0, 0, 255),
model = {"models/player/swtor/arsenic/viatic/viatic2.mdl"},
description = [[Vous êtes un Maître Marauder Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "mmaraume",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1100)
ply:SetHealth(1100)
end
})

TEAM_RAVAGEUR = DarkRP.createJob("Ravageur Sith", {
color = Color(255, 0, 0, 255),
model = {"models/grealms/characters/darthsion/sion.mdl"},
description = [[Vous êtes un Ravageur Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "ravame",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1000)
ply:SetHealth(1000)
end
})

TEAM_GRDRAVAGEUR = DarkRP.createJob("Grand Ravageur Sith", {
color = Color(255, 0, 0, 255),
model = {"models/grealms/characters/darthsion/sion.mdl"},
description = [[Vous êtes un Grand Ravageur Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "gravame",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1200)
ply:SetHealth(1200)
end
})

TEAM_MTRRAVAGEUR = DarkRP.createJob("Maître Ravageur Sith", {
color = Color(255, 0, 0, 255),
model = {"models/grealms/characters/darthsion/sion.mdl"},
description = [[Vous êtes un Maître Ravageur Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "mravame",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1350)
ply:SetHealth(1350)
end
})

TEAM_SEIGNEUR = DarkRP.createJob("Seigneur Sith", {
color = Color(255, 0, 0, 255),
model = {"models/grealms/characters/darthmarr/darthmarr.mdl"},
description = [[Vous êtes un Seigneur Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "seigme",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(2000)
ply:SetHealth(2000)
end
})

TEAM_DARTH = DarkRP.createJob("Seigneur Noir", {
color = Color(255, 0, 0, 255),
model = {models/characters/darthmarr/darthmarrblack.mdl},
description = [[Vous êtes un Seigneur Noir, vous pouvez maintenant avoir Darth dans votre nom]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "seigmen",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(2400)
ply:SetHealth(2400)
end
})

TEAM_NM = DarkRP.createJob("Membre du Conseil Noir", {
color = Color(255, 0, 0, 255),
model = {"models/player/swtor/arsenic/viatic/viatic3.mdl",
"models/player/swtor/arsenic/fearless/caladium.mdl",
"models/player/swtor/arsenic/drakzor/croc.mdl"},
description = [[Vous êtes un Membre du Conseil Noir ]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "mdcs",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(2800)
ply:SetHealth(2800)
end
})

TEAM_EMPEREUR = DarkRP.createJob("Empereur", {
color = Color(255, 0, 0, 255),
model = {models/grealms/characters/revan_real/revan.mdl},
description = [[Vous êtes l'Empereur]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "empme",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(3500)
ply:SetHealth(3500)
end
})

TEAM_FURIE = DarkRP.createJob("Furie de l'Empereur", {
color = Color(255, 0, 0, 255),
model = {"models/revan/revan.mdl"},
description = [[Vous êtes la Furie de l'Empereur]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "fume",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(3000)
ply:SetHealth(3000)
end
})

TEAM_BANDIT = DarkRP.createJob("bandit", {
color = Color(6, 255, 0, 255),
model = {"models/gonzo/narshaddaabarstaff/barmanager/barmanager.mdl"},
description = [[vous êtes un bandit]],
weapons = {"weapon_752_de10", "pocket", "keys"},
command = "banditme",
max = 3,
salary = 100,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Neutre",
PlayerSpawn = function(ply)
ply:SetMaxHealth(150)
ply:SetHealth(150)
end
})

TEAM_WOOKIE = DarkRP.createJob("wookie", {
color = Color(6, 255, 0, 255),
model = {"models/player/valley/bowdaar.mdl"},
description = [[vous êtes un wookie]],
weapons = {"weapon_752_bowcaster", "pocket", "keys"},
command = "woome",
max = 4,
salary = 100,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Neutre",
PlayerSpawn = function(ply)
ply:SetMaxHealth(200)
ply:SetHealth(200)
end
})

TEAM_APPRENTIEJEDI = DarkRP.createJob("Apprenti Jedi", {
color = Color(0, 87, 255, 255),
model = {
"models/jazzmcfly/jka/younglings/jka_young_male.mdl",
"models/jazzmcfly/jka/younglings/jka_young_female.mdl",
"models/jazzmcfly/jka/younglings/jka_young_shak.mdl"
},
description = [[Vous êtes Apprenti Jedi]],
weapons = {, "pocket", "keys"},
command = "appme",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_INITIEJEDI = DarkRP.createJob("Initié Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/player/valley/swfa_ezra.mdl"},
description = [[Vous êtes un Initié Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "ime",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(350)
ply:SetHealth(350)
end
})

TEAM_PADAWAN = DarkRP.createJob("Padawan Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/player/padawan/padawan.mdl"},
description = [[Vous êtes un Padawan Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "padame",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(650)
ply:SetHealth(650)
end
})

TEAM_CHEVALIERJEDI = DarkRP.createJob("Chevalier Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/gonzo/battlelordsskins/blue/bluebattlelord1.mdl",
"models/gonzo/battlelordsskins/blue/bluebattlelord2.mdl",
"models/gonzo/battlelordsskins/blue/bluebattlelord3.mdl",
"models/gonzo/battlelordsskins/purple/purplebattlelord1.mdl",
"models/gonzo/battlelordsskins/purple/purplebattlelord2.mdl",
"models/gonzo/battlelordsskins/purple/purplebattlelord3.mdl",
"models/gonzo/battlelordsskins/white/whitebattlelord1.mdl",
"models/gonzo/battlelordsskins/white/whitebattlelord2.mdl",
"models/gonzo/battlelordsskins/white/whitebattlelord3.mdl"
},
description = [[Vous êtes un Chevalier Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "chevame",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(900)
ply:SetHealth(900)
end
})

TEAM_CONSULAIREJEDI = DarkRP.createJob("Consulaire Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/gonzo/battlelordsskins/green/greenbattlelord1.mdl",
"models/gonzo/battlelordsskins/green/greenbattlelord2.mdl",
"models/gonzo/battlelordsskins/green/greenbattlelord3.mdl"
},
description = [[Vous êtes un Consulaire Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "conme",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(750)
ply:SetHealth(750)
end
})

TEAM_OMBRE = DarkRP.createJob("Ombre Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/grealms/characters/experimentaljedi/experimentaljedi.mdl"},
description = [[Vous êtes un Ombre Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys", "weapon_camo"},
command = "ombme",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi"
PlayerSpawn = function(ply)
ply:SetMaxHealth(550)
ply:SetHealth(550)
end
})

TEAM_GRDOMBRE = DarkRP.createJob("Grand Ombre Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/grealms/characters/experimentaljedi/experimentaljedi.mdl"},
description = [[Vous êtes un Grand Ombre Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys", "weapon_camo"},
command = "gombme",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(650)
ply:SetHealth(650)
end
})

TEAM_MAITREOMBRE = DarkRP.createJob("Maître Ombre Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/grealms/characters/experimentaljedi/experimentaljedi.mdl"},
description = [[Vous êtes un Maître Ombre Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys", "weapon_camo"},
command = "maitreombrme",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(750)
ply:SetHealth(750)
end
})

TEAM_ERUDI = DarkRP.createJob("Érudit Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/player/suno/p_tiplar.mdl"
"models/gonzo/narshaddaabarstaff/twilekdancer/twilekdancer.mdl"
},
description = [[Vous êtes un Érudit Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "erudime",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1000)
ply:SetHealth(1000)
end
})

TEAM_GRDERUDI = DarkRP.createJob("Grand Érudit Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/player/suno/p_tiplar.mdl"
"models/gonzo/narshaddaabarstaff/twilekdancer/twilekdancer.mdl"
},
description = [[Vous êtes un Grand Érudit Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "granderume",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1200)
ply:SetHealth(1200)
end
})

TEAM_GRDERUDI = DarkRP.createJob("Maître Érudit Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/player/suno/p_tiplar.mdl"
"models/gonzo/narshaddaabarstaff/twilekdancer/twilekdancer.mdl"
},
description = [[Vous êtes un Maître Érudit Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "maitrerume",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1400)
ply:SetHealth(1400)
end
})

TEAM_SENTINELLE = DarkRP.createJob("Sentinelle Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/player/jka_cultist.mdl"},
description = [[Vous êtes un Sentinelle Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "sentime",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(900)
ply:SetHealth(900)
end
})

TEAM_GRDSENTINELLE = DarkRP.createJob("Grand Sentinelle Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/player/jka_cultist.mdl"},
description = [[Vous êtes un Grand Sentinelle Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "gsentime",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1000)
ply:SetHealth(1000)
end
})

TEAM_MTRSENTINELLE = DarkRP.createJob("Maître Sentinelle Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/player/jka_cultist.mdl"},
description = [[Vous êtes un Maître Sentinelle Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "maitresentime",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1100)
ply:SetHealth(1100)
end
})

TEAM_GARDIEN = DarkRP.createJob("Gardien Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/grealms/characters/carthonasi/carthonasi.mdl"},
description = [[Vous êtes un Gardien Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "gardime",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1000)
ply:SetHealth(1000)
end
})

TEAM_GGARDIEN = DarkRP.createJob("Grand Gardien Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/grealms/characters/carthonasi/carthonasi.mdl"},
description = [[Vous êtes un Grand Gardien Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "ggme",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1300)
ply:SetHealth(1300)
end
})

TEAM_MTRGARDIEN = DarkRP.createJob("Maître Gardien Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/grealms/characters/carthonasi/carthonasi.mdl"},
description = [[Vous êtes un Maître Gardien Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "mgme",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1350)
ply:SetHealth(1350)
end
})

TEAM_MAITRE = DarkRP.createJob("Maître Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/player/swtor/arsenic/exiled/exiled.mdl"},
description = [[Vous êtes un Maître Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "maitreme",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(2000)
ply:SetHealth(2000)
end
})

TEAM_GRDMAITRE = DarkRP.createJob("Grand Maître Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/player/swtor/arsenic/exiled/exiled.mdl"},
description = [[Vous êtes un Grand Maître Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "gmaitremi",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(2400)
ply:SetHealth(2400)
end
})

TEAM_MEMBREJEDI = DarkRP.createJob("Membre du Conseil Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/player/grady/starwars/bf2_keller.mdl",
"models/player/swtor/arsenic/kreia/kreia.mdl",
"models/player/swtor/arsenic/ashteel/ashteel.mdl",
"models/player/swtor/arsenic/jokal/jokal.mdl"
},
description = [[Vous êtes un Membre du Conseil Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "membrejedime",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(2800)
ply:SetHealth(2800)
end
})

TEAM_CHEFJEDI = DarkRP.createJob("Chef du Conseil Jedi ", {
color = Color(0, 87, 255, 255),
model = {"models/player/swtor/arsenic/scion/scion.mdl"},
description = [[Vous êtes un Chef du Conseil Jedi ]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "chefduconme",
max = 2,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(4500)
ply:SetHealth(4500)
end
})

TEAM_SK = DarkRP.createJob("Galen Marek/StarKiller", {
color = Color(0, 87, 255, 255),
model = {"models/nate159/req/swtfu/tie_flightsuit.mdl"
"models/nate159/req/swtfu/malecdeathstar.mdl"
},
description = [[Job Perso de : Paltay/Volz ]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "skme",
max = 2,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "jobs personalisées",
PlayerSpawn = function(ply)
ply:SetMaxHealth(2800)
ply:SetHealth(2800)
end
})

TEAM_FOG = DarkRP.createJob("Fog", {
color = Color(255, 0, 0, 255),
model = {"models/player/supreme_leader_snoke.mdla"},
description = [[Job Perso de : OuisL, Fog est un utilisateur de la force obscur, il peut aider les jedi ou les sith mais peut aussi rester neutre]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "fogme",
max = 2,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "jobs personalisées",
PlayerSpawn = function(ply)
ply:SetMaxHealth(2800)
ply:SetHealth(2800)
end
})

--[[---------------------------------------------------------------------------
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
---------------------------------------------------------------------------]]
GAMEMODE.CivilProtection = {
[TEAM_POLICE] = true,
[TEAM_CHIEF] = true,
[TEAM_MAYOR] = true,
}
--[[---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_MOB)
 
thepsyca

thepsyca

Psychopathe
Messages
2 164
Score réaction
648
Points
365
Xorif à dit:
Bonjour, j'ai une Lua Error avec mes jobs et je ne le trouve pas voici mes 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/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_CITIZEN = DarkRP.createJob("Citoyen", {
color = Color(0, 0, 0, 0),
model = {"models/church/swtor/selonian/cpt_selonian.mdl"},
description = [[Vous êtes un Citoyens]],
weapons = {"keys", "pocket"},
command = "cime",
max = 0,
salary = 150,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
category = "Neutre",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(100)
end
})


TEAM_ESCLAVE = DarkRP.createJob("Esclave sith", {
color = Color(255, 0, 0, 255),
model = {"models/player/valley/aric.mdl"},
description = [[Vous êtes un Esclave sith]],
weapons = {"keys", "pocket"},
command = "/Esclave sith",
max = 0,
salary = 150,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(100)
end
})

TEAM_ACOLYTE = DarkRP.createJob("Acolyte Sith", {
color = Color(255, 0, 0, 255),
model = {"models/nate159/req/swtfu/sith_acolyte.mdl"},
description = [[Vous êtes un Acolyte Sith]],
weapons = {"weapon_lightsaber", "keys", "pocket"},
command = "acolyteme",
max = 0,
salary = 250,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(650)
ply:SetHealth(650)
end
})

TEAM_APPRENTIE = DarkRP.createJob("Apprenti Sith", {
color = Color(255, 0, 0, 255),
model = {"models/grealms/characters/sithtrainee/sithtrainee_01.mdl",
"models/grealms/characters/sithtrainee/sithtrainee_02.mdl",
"models/grealms/characters/sithtrainee/sithtrainee_03.mdl",
"models/grealms/characters/sithtrainee/sithtrainee_04.mdl",
"models/grealms/characters/sithtrainee/sithtrainee_05.mdl",
"models/grealms/characters/sithtrainee/sithtrainee_06.mdl",
"models/grealms/characters/sithtrainee/sithtrainee_07.mdl",
"models/grealms/characters/sithtrainee/sithtrainee_08.mdl",
"models/grealms/characters/sithtrainee/sithtrainee_09.mdl",
},
description = [[Vous êtes un Apprenti Sith]],
weapons = {"pocket", "keys"},
command = "apprentime",
max = 0,
salary = 250,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(350)
ply:SetHealth(350)
end
})

TEAM_GUERRIER = DarkRP.createJob("Guerrier Sith", {
color = Color(255, 0, 0, 255),
model = {"models/player/sw/revan/revan.mdl"},
description = [[Vous êtes un Guerrier Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "guerime",
max = 0,
salary = 250,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(900)
ply:SetHealth(900)
end
})

TEAM_INQUISITEUR = DarkRP.createJob("Inquisiteur Sith", {
color = Color(255, 0, 0, 255),
model = {
"models/grealms/characters/inquisitor/inquisitor_01.mdl",
"models/grealms/characters/inquisitor/inquisitor_02.mdl",
"models/grealms/characters/inquisitor/inquisitor_03.mdl",
"models/grealms/characters/inquisitor/inquisitor_04.mdl",
"models/grealms/characters/inquisitor/inquisitor_05.mdl",
"models/grealms/characters/inquisitor/inquisitor_06.mdl",
"models/grealms/characters/inquisitor/inquisitor_07.mdl",
"models/grealms/characters/inquisitor/inquisitor_08.mdl",
"models/grealms/characters/inquisitor/inquisitor_09.mdl",
},
description = [[Vous êtes un Inquisiteur Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "inquime",
max = 0,
salary = 250,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(750)
ply:SetHealth(750)
end
})

TEAM_ASSASSIN = DarkRP.createJob("Assassin Sith", {
color = Color(255, 0, 0, 255),
model = {"models/syntheticgaming/characters/sithassassin/sithassassin.mdl"},
description = [[Vous êtes un Assassin Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys", "weapon_camo"},
command = "assame",
max = 0,
salary = 250,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(550)
ply:SetHealth(550)
end
})

TEAM_GRDASSASSIN = DarkRP.createJob("Grand Assassin Sith", {
color = Color(255, 0, 0, 255),
model = {"models/syntheticgaming/characters/sithassassin/sithassassin.mdl"},
description = [[Vous êtes un Grand Assassin Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys", "weapon_camo"},
command = "Grand Assassin Sith",
max = 0,
salary = 250,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "gassasime",
PlayerSpawn = function(ply)
ply:SetMaxHealth(650)
ply:SetHealth(650)
end
})

TEAM_MASSASSIN = DarkRP.createJob("Maître Assassin Sith", {
color = Color(255, 0, 0, 255),
model = {"models/syntheticgaming/characters/sithassassin/sithassassin.mdl"},
description = [[Vous êtes un Maître Assassin Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys", "weapon_camo"},
command = "masime",
max = 0,
salary = 250,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(750)
ply:SetHealth(750)
end
})

TEAM_SORCIER = DarkRP.createJob("Sorcier Sith", {
color = Color(255, 0, 0, 255),
model = {"models/morganicism/swtor/morganis/morganis.mdl"},
description = [[Vous êtes un Sorcier Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "sorcime",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(1000)
end
})

TEAM_GRDSORCIER = DarkRP.createJob("Grand Sorcier Sith", {
color = Color(255, 0, 0, 255),
model = {"models/morganicism/swtor/morganis/morganis.mdl"},
description = [[Vous êtes un Grand Sorcier Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "gsorcime",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1200)
ply:SetHealth(1200)
end
})

TEAM_MMMSORCIER = DarkRP.createJob("Maître Sorcier Sith", {
color = Color(255, 0, 0, 255),
model = {"models/morganicism/swtor/morganis/morganis.mdl"},
description = [[Vous êtes un Maître Sorcier Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "msorcime",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1400)
ply:SetHealth(1400)
end
})

TEAM_MARAUDER = DarkRP.createJob("Maraudeur Sith", {
color = Color(255, 0, 0, 255),
model = {"models/player/swtor/arsenic/viatic/viatic2.mdll"},
description = [[Vous êtes un Marauder Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "maraume",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(900)
ply:SetHealth(900)
end
})

TEAM_GRDMARAUDER = DarkRP.createJob("Grand Maraudeur Sith", {
color = Color(255, 0, 0, 255),
model = {"models/player/swtor/arsenic/viatic/viatic2.mdll"},
description = [[Vous êtes un Grand Marauder Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "gmaraume",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1000)
ply:SetHealth(1000)
end
})

TEAM_MTRMARAUDER = DarkRP.createJob("Maître Maraudeur Sith", {
color = Color(255, 0, 0, 255),
model = {"models/player/swtor/arsenic/viatic/viatic2.mdl"},
description = [[Vous êtes un Maître Marauder Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "mmaraume",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1100)
ply:SetHealth(1100)
end
})

TEAM_RAVAGEUR = DarkRP.createJob("Ravageur Sith", {
color = Color(255, 0, 0, 255),
model = {"models/grealms/characters/darthsion/sion.mdl"},
description = [[Vous êtes un Ravageur Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "ravame",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1000)
ply:SetHealth(1000)
end
})

TEAM_GRDRAVAGEUR = DarkRP.createJob("Grand Ravageur Sith", {
color = Color(255, 0, 0, 255),
model = {"models/grealms/characters/darthsion/sion.mdl"},
description = [[Vous êtes un Grand Ravageur Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "gravame",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1200)
ply:SetHealth(1200)
end
})

TEAM_MTRRAVAGEUR = DarkRP.createJob("Maître Ravageur Sith", {
color = Color(255, 0, 0, 255),
model = {"models/grealms/characters/darthsion/sion.mdl"},
description = [[Vous êtes un Maître Ravageur Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "mravame",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1350)
ply:SetHealth(1350)
end
})

TEAM_SEIGNEUR = DarkRP.createJob("Seigneur Sith", {
color = Color(255, 0, 0, 255),
model = {"models/grealms/characters/darthmarr/darthmarr.mdl"},
description = [[Vous êtes un Seigneur Sith]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "seigme",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(2000)
ply:SetHealth(2000)
end
})

TEAM_DARTH = DarkRP.createJob("Seigneur Noir", {
color = Color(255, 0, 0, 255),
model = {models/characters/darthmarr/darthmarrblack.mdl},
description = [[Vous êtes un Seigneur Noir, vous pouvez maintenant avoir Darth dans votre nom]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "seigmen",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(2400)
ply:SetHealth(2400)
end
})

TEAM_NM = DarkRP.createJob("Membre du Conseil Noir", {
color = Color(255, 0, 0, 255),
model = {"models/player/swtor/arsenic/viatic/viatic3.mdl",
"models/player/swtor/arsenic/fearless/caladium.mdl",
"models/player/swtor/arsenic/drakzor/croc.mdl"},
description = [[Vous êtes un Membre du Conseil Noir ]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "mdcs",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(2800)
ply:SetHealth(2800)
end
})

TEAM_EMPEREUR = DarkRP.createJob("Empereur", {
color = Color(255, 0, 0, 255),
model = {models/grealms/characters/revan_real/revan.mdl},
description = [[Vous êtes l'Empereur]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "empme",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(3500)
ply:SetHealth(3500)
end
})

TEAM_FURIE = DarkRP.createJob("Furie de l'Empereur", {
color = Color(255, 0, 0, 255),
model = {"models/revan/revan.mdl"},
description = [[Vous êtes la Furie de l'Empereur]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "fume",
max = 0,
salary = 200,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(3000)
ply:SetHealth(3000)
end
})

TEAM_BANDIT = DarkRP.createJob("bandit", {
color = Color(6, 255, 0, 255),
model = {"models/gonzo/narshaddaabarstaff/barmanager/barmanager.mdl"},
description = [[vous êtes un bandit]],
weapons = {"weapon_752_de10", "pocket", "keys"},
command = "banditme",
max = 3,
salary = 100,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Neutre",
PlayerSpawn = function(ply)
ply:SetMaxHealth(150)
ply:SetHealth(150)
end
})

TEAM_WOOKIE = DarkRP.createJob("wookie", {
color = Color(6, 255, 0, 255),
model = {"models/player/valley/bowdaar.mdl"},
description = [[vous êtes un wookie]],
weapons = {"weapon_752_bowcaster", "pocket", "keys"},
command = "woome",
max = 4,
salary = 100,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Neutre",
PlayerSpawn = function(ply)
ply:SetMaxHealth(200)
ply:SetHealth(200)
end
})

TEAM_APPRENTIEJEDI = DarkRP.createJob("Apprenti Jedi", {
color = Color(0, 87, 255, 255),
model = {
"models/jazzmcfly/jka/younglings/jka_young_male.mdl",
"models/jazzmcfly/jka/younglings/jka_young_female.mdl",
"models/jazzmcfly/jka/younglings/jka_young_shak.mdl"
},
description = [[Vous êtes Apprenti Jedi]],
weapons = {, "pocket", "keys"},
command = "appme",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_INITIEJEDI = DarkRP.createJob("Initié Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/player/valley/swfa_ezra.mdl"},
description = [[Vous êtes un Initié Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "ime",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(350)
ply:SetHealth(350)
end
})

TEAM_PADAWAN = DarkRP.createJob("Padawan Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/player/padawan/padawan.mdl"},
description = [[Vous êtes un Padawan Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "padame",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(650)
ply:SetHealth(650)
end
})

TEAM_CHEVALIERJEDI = DarkRP.createJob("Chevalier Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/gonzo/battlelordsskins/blue/bluebattlelord1.mdl",
"models/gonzo/battlelordsskins/blue/bluebattlelord2.mdl",
"models/gonzo/battlelordsskins/blue/bluebattlelord3.mdl",
"models/gonzo/battlelordsskins/purple/purplebattlelord1.mdl",
"models/gonzo/battlelordsskins/purple/purplebattlelord2.mdl",
"models/gonzo/battlelordsskins/purple/purplebattlelord3.mdl",
"models/gonzo/battlelordsskins/white/whitebattlelord1.mdl",
"models/gonzo/battlelordsskins/white/whitebattlelord2.mdl",
"models/gonzo/battlelordsskins/white/whitebattlelord3.mdl"
},
description = [[Vous êtes un Chevalier Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "chevame",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(900)
ply:SetHealth(900)
end
})

TEAM_CONSULAIREJEDI = DarkRP.createJob("Consulaire Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/gonzo/battlelordsskins/green/greenbattlelord1.mdl",
"models/gonzo/battlelordsskins/green/greenbattlelord2.mdl",
"models/gonzo/battlelordsskins/green/greenbattlelord3.mdl"
},
description = [[Vous êtes un Consulaire Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "conme",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(750)
ply:SetHealth(750)
end
})

TEAM_OMBRE = DarkRP.createJob("Ombre Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/grealms/characters/experimentaljedi/experimentaljedi.mdl"},
description = [[Vous êtes un Ombre Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys", "weapon_camo"},
command = "ombme",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi"
PlayerSpawn = function(ply)
ply:SetMaxHealth(550)
ply:SetHealth(550)
end
})

TEAM_GRDOMBRE = DarkRP.createJob("Grand Ombre Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/grealms/characters/experimentaljedi/experimentaljedi.mdl"},
description = [[Vous êtes un Grand Ombre Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys", "weapon_camo"},
command = "gombme",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(650)
ply:SetHealth(650)
end
})

TEAM_MAITREOMBRE = DarkRP.createJob("Maître Ombre Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/grealms/characters/experimentaljedi/experimentaljedi.mdl"},
description = [[Vous êtes un Maître Ombre Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys", "weapon_camo"},
command = "maitreombrme",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(750)
ply:SetHealth(750)
end
})

TEAM_ERUDI = DarkRP.createJob("Érudit Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/player/suno/p_tiplar.mdl"
"models/gonzo/narshaddaabarstaff/twilekdancer/twilekdancer.mdl"
},
description = [[Vous êtes un Érudit Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "erudime",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1000)
ply:SetHealth(1000)
end
})

TEAM_GRDERUDI = DarkRP.createJob("Grand Érudit Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/player/suno/p_tiplar.mdl"
"models/gonzo/narshaddaabarstaff/twilekdancer/twilekdancer.mdl"
},
description = [[Vous êtes un Grand Érudit Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "granderume",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1200)
ply:SetHealth(1200)
end
})

TEAM_GRDERUDI = DarkRP.createJob("Maître Érudit Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/player/suno/p_tiplar.mdl"
"models/gonzo/narshaddaabarstaff/twilekdancer/twilekdancer.mdl"
},
description = [[Vous êtes un Maître Érudit Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "maitrerume",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1400)
ply:SetHealth(1400)
end
})

TEAM_SENTINELLE = DarkRP.createJob("Sentinelle Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/player/jka_cultist.mdl"},
description = [[Vous êtes un Sentinelle Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "sentime",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(900)
ply:SetHealth(900)
end
})

TEAM_GRDSENTINELLE = DarkRP.createJob("Grand Sentinelle Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/player/jka_cultist.mdl"},
description = [[Vous êtes un Grand Sentinelle Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "gsentime",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1000)
ply:SetHealth(1000)
end
})

TEAM_MTRSENTINELLE = DarkRP.createJob("Maître Sentinelle Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/player/jka_cultist.mdl"},
description = [[Vous êtes un Maître Sentinelle Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "maitresentime",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1100)
ply:SetHealth(1100)
end
})

TEAM_GARDIEN = DarkRP.createJob("Gardien Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/grealms/characters/carthonasi/carthonasi.mdl"},
description = [[Vous êtes un Gardien Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "gardime",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1000)
ply:SetHealth(1000)
end
})

TEAM_GGARDIEN = DarkRP.createJob("Grand Gardien Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/grealms/characters/carthonasi/carthonasi.mdl"},
description = [[Vous êtes un Grand Gardien Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "ggme",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1300)
ply:SetHealth(1300)
end
})

TEAM_MTRGARDIEN = DarkRP.createJob("Maître Gardien Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/grealms/characters/carthonasi/carthonasi.mdl"},
description = [[Vous êtes un Maître Gardien Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "mgme",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1350)
ply:SetHealth(1350)
end
})

TEAM_MAITRE = DarkRP.createJob("Maître Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/player/swtor/arsenic/exiled/exiled.mdl"},
description = [[Vous êtes un Maître Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "maitreme",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(2000)
ply:SetHealth(2000)
end
})

TEAM_GRDMAITRE = DarkRP.createJob("Grand Maître Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/player/swtor/arsenic/exiled/exiled.mdl"},
description = [[Vous êtes un Grand Maître Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "gmaitremi",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(2400)
ply:SetHealth(2400)
end
})

TEAM_MEMBREJEDI = DarkRP.createJob("Membre du Conseil Jedi", {
color = Color(0, 87, 255, 255),
model = {"models/player/grady/starwars/bf2_keller.mdl",
"models/player/swtor/arsenic/kreia/kreia.mdl",
"models/player/swtor/arsenic/ashteel/ashteel.mdl",
"models/player/swtor/arsenic/jokal/jokal.mdl"
},
description = [[Vous êtes un Membre du Conseil Jedi]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "membrejedime",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(2800)
ply:SetHealth(2800)
end
})

TEAM_CHEFJEDI = DarkRP.createJob("Chef du Conseil Jedi ", {
color = Color(0, 87, 255, 255),
model = {"models/player/swtor/arsenic/scion/scion.mdl"},
description = [[Vous êtes un Chef du Conseil Jedi ]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "chefduconme",
max = 2,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(4500)
ply:SetHealth(4500)
end
})

TEAM_SK = DarkRP.createJob("Galen Marek/StarKiller", {
color = Color(0, 87, 255, 255),
model = {"models/nate159/req/swtfu/tie_flightsuit.mdl"
"models/nate159/req/swtfu/malecdeathstar.mdl"
},
description = [[Job Perso de : Paltay/Volz ]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "skme",
max = 2,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "jobs personalisées",
PlayerSpawn = function(ply)
ply:SetMaxHealth(2800)
ply:SetHealth(2800)
end
})

TEAM_FOG = DarkRP.createJob("Fog", {
color = Color(255, 0, 0, 255),
model = {"models/player/supreme_leader_snoke.mdla"},
description = [[Job Perso de : OuisL, Fog est un utilisateur de la force obscur, il peut aider les jedi ou les sith mais peut aussi rester neutre]],
weapons = {"weapon_lightsaber", "pocket", "keys"},
command = "fogme",
max = 2,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "jobs personalisées",
PlayerSpawn = function(ply)
ply:SetMaxHealth(2800)
ply:SetHealth(2800)
end
})

--[[---------------------------------------------------------------------------
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
---------------------------------------------------------------------------]]
GAMEMODE.CivilProtection = {
[TEAM_POLICE] = true,
[TEAM_CHIEF] = true,
[TEAM_MAYOR] = true,
}
--[[---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_MOB)
Envoie l'erreur lua aussi
 
  • Initiateur de la discussion
Xorif

Xorif

Bambi
Messages
7
Score réaction
0
Points
40
: Lua Error
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 525.
The best help I can give you is this:
Right before the ',', Lua encountered something it could not make sense of.
Hints:
- Did you forget something here? (Perhaps a closing bracket)
- Is it a typo?
------- End of Simplerr error -------
1. error - [C]:-1
2. doInclude - gamemodes/starwarsrp/gamemode/libraries/simplerr.lua:530
3. loadCustomDarkRPItems - gamemodes/starwarsrp/gamemode/libraries/modificationloader.lua:137
4. Call - gamemodes/starwarsrp/gamemode/libraries/modificationloader.lua:148
5. unknown - gamemodes/starwarsrp/gamemode/init.lua:111
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 525.
The best help I can give you is this:
Right before the ',', Lua encountered something it could not make sense of.
Hints:
- Did you forget something here? (Perhaps a closing bracket)
- Is it a typo?
------- End of Simplerr error -------
1. error - [C]:-1
2. doInclude - gamemodes/starwarsrp/gamemode/libraries/simplerr.lua:530
3. loadCustomDarkRPItems - gamemodes/starwarsrp/gamemode/libraries/modificationloader.lua:137
4. Call - gamemodes/starwarsrp/gamemode/libraries/modificationloader.lua:148
5. unknown - gamemodes/starwarsrp/gamemode/init.lua:111
 
thepsyca

thepsyca

Psychopathe
Messages
2 164
Score réaction
648
Points
365
Xorif à dit:
: Lua Error
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 525.
The best help I can give you is this:
Right before the ',', Lua encountered something it could not make sense of.
Hints:
- Did you forget something here? (Perhaps a closing bracket)
- Is it a typo?
------- End of Simplerr error -------
1. error - [C]:-1
2. doInclude - gamemodes/starwarsrp/gamemode/libraries/simplerr.lua:530
3. loadCustomDarkRPItems - gamemodes/starwarsrp/gamemode/libraries/modificationloader.lua:137
4. Call - gamemodes/starwarsrp/gamemode/libraries/modificationloader.lua:148
5. unknown - gamemodes/starwarsrp/gamemode/init.lua:111
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 525.
The best help I can give you is this:
Right before the ',', Lua encountered something it could not make sense of.
Hints:
- Did you forget something here? (Perhaps a closing bracket)
- Is it a typo?
------- End of Simplerr error -------
1. error - [C]:-1
2. doInclude - gamemodes/starwarsrp/gamemode/libraries/simplerr.lua:530
3. loadCustomDarkRPItems - gamemodes/starwarsrp/gamemode/libraries/modificationloader.lua:137
4. Call - gamemodes/starwarsrp/gamemode/libraries/modificationloader.lua:148
5. unknown - gamemodes/starwarsrp/gamemode/init.lua:111

Code:
TEAM_APPRENTIEJEDI = DarkRP.createJob("Apprenti Jedi", {
color = Color(0, 87, 255, 255),
model = {
"models/jazzmcfly/jka/younglings/jka_young_male.mdl",
"models/jazzmcfly/jka/younglings/jka_young_female.mdl",
"models/jazzmcfly/jka/younglings/jka_young_shak.mdl"
},
description = [[Vous êtes Apprenti Jedi]],
weapons = {, "pocket", "keys"},
Une virgule en trop à weapons
 
  • Initiateur de la discussion
Xorif

Xorif

Bambi
Messages
7
Score réaction
0
Points
40
Daccord je règle sa et je vois si ses bon
 
  • Initiateur de la discussion
Xorif

Xorif

Bambi
Messages
7
Score réaction
0
Points
40
nouvelle lua error : Lua Error
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 641.
The best help I can give you is this:
There is an opening '{' bracket at line 628, but this bracket is never closed or not closed in time. It was expected to be closed before the 'PlayerSpawn' at line 641.
Hints:
- Did you forget a comma?
- All open brackets ({, (, [) must have a matching closing bracket. Are you sure it's there?
- Brackets must be opened and closed in the right order. This will work: ({}), but this won't: ({)}.
------- End of Simplerr error -------
1. error - [C]:-1
2. doInclude - gamemodes/starwarsrp/gamemode/libraries/simplerr.lua:530
3. loadCustomDarkRPItems - gamemodes/starwarsrp/gamemode/libraries/modificationloader.lua:137
4. Call - gamemodes/starwarsrp/gamemode/libraries/modificationloader.lua:148
5. unknown - gamemodes/starwarsrp/gamemode/init.lua:111
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 641.
The best help I can give you is this:
There is an opening '{' bracket at line 628, but this bracket is never closed or not closed in time. It was expected to be closed before the 'PlayerSpawn' at line 641.
Hints:
- Did you forget a comma?
- All open brackets ({, (, [) must have a matching closing bracket. Are you sure it's there?
- Brackets must be opened and closed in the right order. This will work: ({}), but this won't: ({)}.
------- End of Simplerr error -------
1. error - [C]:-1
2. doInclude - gamemodes/starwarsrp/gamemode/libraries/simplerr.lua:530
3. loadCustomDarkRPItems - gamemodes/starwarsrp/gamemode/libraries/modificationloader.lua:137
4. Call - gamemodes/starwarsrp/gamemode/libraries/modificationloader.lua:148
5. unknown - gamemodes/starwarsrp/gamemode/init.lua:111
 
BCZ Gaming

BCZ Gaming

Psychopathe
Messages
1 301
Score réaction
129
Points
275
Xorif à dit:
nouvelle lua error : Lua Error
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 641.
The best help I can give you is this:
There is an opening '{' bracket at line 628, but this bracket is never closed or not closed in time. It was expected to be closed before the 'PlayerSpawn' at line 641.
Hints:
- Did you forget a comma?
- All open brackets ({, (, [) must have a matching closing bracket. Are you sure it's there?
- Brackets must be opened and closed in the right order. This will work: ({}), but this won't: ({)}.
------- End of Simplerr error -------
1. error - [C]:-1
2. doInclude - gamemodes/starwarsrp/gamemode/libraries/simplerr.lua:530
3. loadCustomDarkRPItems - gamemodes/starwarsrp/gamemode/libraries/modificationloader.lua:137
4. Call - gamemodes/starwarsrp/gamemode/libraries/modificationloader.lua:148
5. unknown - gamemodes/starwarsrp/gamemode/init.lua:111
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 641.
The best help I can give you is this:
There is an opening '{' bracket at line 628, but this bracket is never closed or not closed in time. It was expected to be closed before the 'PlayerSpawn' at line 641.
Hints:
- Did you forget a comma?
- All open brackets ({, (, [) must have a matching closing bracket. Are you sure it's there?
- Brackets must be opened and closed in the right order. This will work: ({}), but this won't: ({)}.
------- End of Simplerr error -------
1. error - [C]:-1
2. doInclude - gamemodes/starwarsrp/gamemode/libraries/simplerr.lua:530
3. loadCustomDarkRPItems - gamemodes/starwarsrp/gamemode/libraries/modificationloader.lua:137
4. Call - gamemodes/starwarsrp/gamemode/libraries/modificationloader.lua:148
5. unknown - gamemodes/starwarsrp/gamemode/init.lua:111
Mais sa en balise
Code:
 tu marque [ CODE] (attaché) et pareil de l'autre côté mais avec un / avant code.
 
ZarosOVH

ZarosOVH

Modérateur
Membre du Staff
Messages
6 527
Score réaction
5 488
Points
1 295
Zappy#ORIGINAL à dit:
Mais sa en balise
Code:
 tu marque [ CODE] (attaché) et pareil de l'autre côté mais avec un / avant code.
Plutôt un lien hastebin.com pour des trucs aussi long ;)
 
BCZ Gaming

BCZ Gaming

Psychopathe
Messages
1 301
Score réaction
129
Points
275
  • Initiateur de la discussion
Xorif

Xorif

Bambi
Messages
7
Score réaction
0
Points
40
Merci tout pour votre aide mes j'ai pus enfin réussir à coder tout mes jobs, je suis désolée de ne pas avoir mis se post dans résolu avant que vous vous embêtez
 
BCZ Gaming

BCZ Gaming

Psychopathe
Messages
1 301
Score réaction
129
Points
275
Xorif à dit:
Merci tout pour votre aide mes j'ai pus enfin réussir à coder tout mes jobs, je suis désolée de ne pas avoir mis se post dans résolu avant que vous vous embêtez
pas mais le en résolut maintenant
 
Discord d'entraide
Rejoignz-nous sur Discord