Job sous "whitelist"

  • Initiateur de la discussion TraKKFR
  • Date de début
  • Initiateur de la discussion
T

TraKKFR

Geek
Messages
6
Score réaction
0
Points
65
Bien le Bonjour Bonsoir ,
Je cherche a mettre mes jobs sous WhiteList
Sur mon Serveur StarWarsRP [Swtor]

Voici mes jobs déjâ fait
TEAM_FURIE = DarkRP.createJob("FurieDeL'Empereur", {
color = Color(0, 0, 0, 255),
model = "models/player/sitharmor/sitharmor_pm.mdl",
description = [[C'est la Furie de l'Empereur elle a plus de pouvoir que les Darth ]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Furie",
max = 1,
salary = 10000,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(5000) ply:SetArmor(0) end,
category = "Sith",
customCheck = function(ply) return ply:GetNWString("Furie") == "VIP" or ply:GetNWString("Furie") == "superadmin" end,
CustomCheckFailMag = "Vous n'avez pas les permmission pour."
})

TEAM_DARK = DarkRP.createJob("DarkSith", {
color = Color(0, 0, 0, 255),
model = {
"models/player/nihilus.mdl",
"models/grealms/character/malak/malak.mdl",
"models/player/darth_revan.mdl",
"models/grealms/characters/nutscript/revan_real/revan_ns.mdl",
"models/player/Grievous.mdl",
},
description = [[C'est le Dark ]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Sith",
max = 10,
salary = 10000,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(4000) ply:SetArmor(0) end,
category = "Sith",
customCheck = function(ply) return ply:GetNWString("Dark") == "VIP" or ply:GetNWString("Dark") == "superadmin" end,
CustomCheckFailMag = "Vous n'avez pas les permmission pour."
})

TEAM_SEIGNEUR = DarkRP.createJob("SeigneurSith", {
color = Color(0, 0, 0, 255),
model = {
"models/grealms/characters/darthmarr/darthmarr.mdl",
"models/player/darth_revan.mdl",
"models/player/Grievous.mdl",
},
description = [[C'est le Seigneur Sith]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Seigneur",
max = 10,
salary = 1000,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(3000) ply:SetArmor(0) end,
category = "Sith",
customCheck = function(ply) return ply:GetNWString("Seigneur") == "VIP" or ply:GetNWString("Seigneur") == "superadmin" end,
CustomCheckFailMag = "Vous n'avez pas les permmission pour."
})

TEAM_INQUISITEUR = DarkRP.createJob("InquisiteurSith", {
color = Color(0, 0, 0, 255),
model = models/grealms/characters/inquisitor/inquisitor_01.mdl,
description = [[C'est l'inquisiteur]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Inquisiteur",
max = 10,
salary = 1000,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(1000) ply:SetArmor(0) end,
category = "Sith",
customCheck = function(ply) return ply:GetNWString("Inquisiteur") == "VIP" or ply:GetNWString("Inquisiteur") == "superadmin" end,
CustomCheckFailMag = "Vous n'avez pas les permmission pour.",
})

TEAM_GUERRIER = DarkRP.createJob("GuerrierSith", {
color = Color(0, 0, 0, 255),
model = "models/grealms/characters/darthsion/sion.mdl",
description = [[C'est le Guerrier Sith]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Guerrier",
max = 10,
salary = 1000,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(1000) ply:SetArmor(0) end,
category = "Sith",
customCheck = function(ply) return ply:GetNWString("Guerrier") == "VIP" or ply:GetNWString("Guerrier") == "superadmin" end,
CustomCheckFailMag = "Vous n'avez pas les permmission pour."
})

TEAM_APPRENTI = DarkRP.createJob("ApprentiSith", {
color = Color(0, 0, 0, 255),
model = {
"models/player/sw/revan/revan.mdl",
"models/grealms/characters/darkjedi/darkjedi.mdl",
},
description = [[L'Apprenti Sith Ta passé les épreuves d'esclave maintenant cherche un Maître]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Apprenti",
max = 10,
salary = 1000,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(500) ply:SetArmor(0) end,
category = "Sith",
customCheck = function(ply) return ply:GetNWString("ApprentiSith") == "VIP" or ply:GetNWString("ApprentiSith") == "superadmin" end,
CustomCheckFailMag = "Vous n'avez pas les permmission pour."
})

TEAM_Esclave = DarkRP.createJob("EsclaveSith", {
color = Color(0, 0, 0, 255),
model = {
"models/player/Group01/female_01.mdl",
"models/player/Group01/female_02.mdl",
"models/player/Group01/female_04.mdl",
"models/player/Group01/male_02.mdl",
"models/player/Group01/male_04.mdl",
"models/player/Group01/male_07.mdl",
},
description = [[Un déchet de L'Empire rien a dire]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Esclave",
max = 10,
salary = 100,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(100) ply:SetArmor(0) end,
category = "Sith",
})

TEAM_STAFF = DarkRP.createJob("Staff", {
color = Color(20, 150, 20, 255),
model = "models/player/scifi_hawke.mdl",
description = [[C'est le Staff qui est en services]],
weapons = {"weapon_fists", "keys", "weapon_arc_atmcard"},
command = "staff",
max = 5,
salary = 0,
admin = 1,
vote = false,
hasLicense = false,
candemote = false,
PlayerLoadout = function(ply) ply:SetHealth(999999999999) ply:SetArmor(100) end,
category = "Staff",
})



TEAM_INTIE = DarkRP.createJob("InitiéJedi", {
color = Color(0, 10, 255, 255),
model = {
"models/grealms/characters/padawan/padawan_01.mdl",
"models/grealms/characters/padawan/padawan_02.mdl",
"models/grealms/characters/padawan/padawan_03.mdl",
"models/grealms/characters/padawan/padawan_04.mdl",
"models/grealms/characters/padawan/padawan_05.mdl",
"models/grealms/characters/padawan/padawan_06.mdl",
"models/grealms/characters/padawan/padawan_07.mdl",
"models/grealms/characters/padawan/padawan_08.mdl",
"models/grealms/characters/padawan/padawan_09.mdl",
},
description = [[Vous avez choisi la voie de la paix ]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Initié",
max = 10,
salary = 100,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(100) ply:SetArmor(0) end,
category = "Jedi",
})

TEAM_PADAWAN = DarkRP.createJob("PadawanJedi", {
color = Color(0, 10, 255, 255),
model = {
"models/grealms/characters/casualjedi/casualjedi_01.mdl",
"models/grealms/characters/casualjedi/casualjedi_02.mdl",
"models/grealms/characters/casualjedi/casualjedi_03.mdl",
"models/grealms/characters/casualjedi/casualjedi_04.mdl",
"models/grealms/characters/casualjedi/casualjedi_05.mdl",
"models/grealms/characters/casualjedi/casualjedi_06.mdl",
"models/grealms/characters/casualjedi/casualjedi_07.mdl",
"models/grealms/characters/casualjedi/casualjedi_08.mdl",
"models/grealms/characters/casualjedi/casualjedi_09.mdl",
},
description = [[Vous avez reussi votre Formation Jedi ]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Padawan",
max = 10,
salary = 1000,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(500) ply:SetArmor(0) end,
category = "Jedi",
customCheck = function(ply) return ply:GetNWString("Padawan") == "VIP" or ply:GetNWString("Padawan") == "superadmin" end,
CustomCheckFailMag = "Vous n'avez pas les permmission pour."
})

TEAM_CONSULAIRE = DarkRP.createJob("ConsulaireJedi", {
color = Color(0, 10, 255, 255),
model = {
"models/grealms/characters/jedirobes/jedirobes_01.mdl",
"models/grealms/characters/jedirobes/jedirobes_02.mdl",
"models/grealms/characters/jedirobes/jedirobes_03.mdl",
"models/grealms/characters/jedirobes/jedirobes_04.mdl",
"models/grealms/characters/jedirobes/jedirobes_05.mdl",
"models/grealms/characters/jedirobes/jedirobes_06.mdl",
"models/grealms/characters/jedirobes/jedirobes_07.mdl",
"models/grealms/characters/jedirobes/jedirobes_08.mdl",
"models/grealms/characters/jedirobes/jedirobes_09.mdl",
},
description = [[Bravo vous avez choisi votre proffesion ]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Consu",
max = 10,
salary = 1000,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(1000) ply:SetArmor(0) end,
category = "Jedi",
customCheck = function(ply) return ply:GetNWString("Consulaire") == "VIP" or ply:GetNWString("Consulaire") == "superadmin" end,
CustomCheckFailMag = "Vous n'avez pas les permmission pour."
})

TEAM_CHEVALIER = DarkRP.createJob("ChevalierJedi", {
color = Color(0, 10, 255, 255),
model = {
"models/grealms/characters/jedibattlelord/jedibattlelord_01.mdl",
"models/grealms/characters/jedibattlelord/jedibattlelord_02.mdl",
"models/grealms/characters/jedibattlelord/jedibattlelord_03.mdl",
"models/grealms/characters/jedibattlelord/jedibattlelord_04.mdl",
"models/grealms/characters/jedibattlelord/jedibattlelord_05.mdl",
"models/grealms/characters/jedibattlelord/jedibattlelord_06.mdl",
},
description = [[Bravo vous êtres passé Chevalier]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Chevalier",
max = 10,
salary = 1000,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(1000) ply:SetArmor(0) end,
category = "Jedi",
customCheck = function(ply) return ply:GetNWString("Chevalier") == "VIP" or ply:GetNWString("Chevalier") == "superadmin" end,
CustomCheckFailMag = "Vous n'avez pas les permmission pour."
})



TEAM_MAITRE = DarkRP.createJob("MaitreJedi", {
color = Color(0, 10, 255, 255),
model = {
"models/grealms/starkiller/starkiller_kamino.mdl",
"models/jazzmcfly/jka/quigon/quigon.mdl",
"models/cultist_kun/sw/coleman.mdl",
"models/cultist_kun/sw/mm.mdl",
"models/cultist_kun/sw/saesee_tiin.mdl",
"models/KriegSyntax/SW_752/anakin_est.mdl",
"models/grealms/characters/bastila/bastila.mdl",
"models/KriegSyntax/SW_752/obiwan_est.mdl",
"models/player/altair_ibnlaahad.mdl"
},
description = [[Vous êtres un Maître prenez votre premier padawan sous votre Aile]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Maitre",
max = 10,
salary = 1000,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(4000) ply:SetArmor(0) end,
category = "Jedi",
customCheck = function(ply) return ply:GetNWString("Maitre") == "VIP" or ply:GetNWString("Maitre") == "superadmin" end,
CustomCheckFailMag = "Vous n'avez pas les permmission pour."
})

TEAM_GRAND = DarkRP.createJob("GrandMaitreJedi", {
color = Color(0, 10, 255, 255),
model = {
"models/player/RatedR4Ryan/ForceAwakens_Rey.mdl",
"models/grealms/starkiller/starkiller_kamino.mdl",
"models/jazzmcfly/jka/quigon/quigon.mdl",
"models/cultist_kun/sw/coleman.mdl",
"models/cultist_kun/sw/mm.mdl",
"models/player/light_revan.mdl",
"models/grealms/characters/bastila/bastila.mdl",
"models/KriegSyntax/SW_752/anakin_est.mdl",
"models/KriegSyntax/SW_752/obiwan_est.mdl",
"models/player/altair_ibnlaahad.mdl"
},
description = [[T'es le Chef de tout les Jedi ]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Grand",
max = 10,
salary = 1000,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(6000) ply:SetArmor(0) end,
category = "Jedi",
customCheck = function(ply) return ply:GetNWString("Grand") == "VIP" or ply:GetNWString("Grand") == "superadmin" end,
CustomCheckFailMag = "Vous n'avez pas les permmission pour."
})


Ps: J'ai plus aucun Jobs après le Reboot
 
Numos59

Numos59

Geek suprême
Messages
96
Score réaction
4
Points
115
Il y a des erreurs dans tes jobs
 
Agualym

Agualym

Psychopathe
Messages
699
Score réaction
164
Points
280
Pour mettre ces jobs en white liste faudrais avant tout l'addon qui ce trouve ici https://scriptfodder.com/scripts/view/1402/whitelist-job-system-darkrp
 
LosLas49

LosLas49

Geek
Messages
44
Score réaction
0
Points
55
Elixor ce n'est pas obligé , j'ai whitelist mes jobs sans cet addon
 
Agualym

Agualym

Psychopathe
Messages
699
Score réaction
164
Points
280
LosLas49 à dit:
Elixor ce n'est pas obligé , j'ai whitelist mes jobs sans cet addon
Dac mais avec cet addon ta plus de fonctionnalité etc...
 
  • Initiateur de la discussion
T

TraKKFR

Geek
Messages
6
Score réaction
0
Points
65
ElixorHD à dit:
Dac mais avec cet addon ta plus de fonctionnalité etc...
Bonjour , J'ai pris l'addon que tu ma conseillé mais serai t-il possible de m'expliquer comment l'utiliser

Merci
 
Agualym

Agualym

Psychopathe
Messages
699
Score réaction
164
Points
280
Dans tout les métiers que tu veux whitelist faut ajouter sa
Code:
customCheck = function(ply) return PlychangeAllowed(ply,"Ton Métier") end, CustomCheckFailMsg = "Vous devez être en WhiteList pour choisir le métier",
En suite dans ton serveur pour ajouter une personne en whitelist tu tape dans la console whitelist_systemjob

Voilà ses tout
 
  • J'aime
Réactions: TraKKFR
  • Initiateur de la discussion
T

TraKKFR

Geek
Messages
6
Score réaction
0
Points
65
ElixorHD à dit:
Dans tout les métiers que tu veux whitelist faut ajouter sa
Code:
customCheck = function(ply) return PlychangeAllowed(ply,"Ton Métier") end, CustomCheckFailMsg = "Vous devez être en WhiteList pour choisir le métier",
En suite dans ton serveur pour ajouter une personne en whitelist tu tape dans la console whitelist_systemjob

Voilà ses tout
Merci
 
Agualym

Agualym

Psychopathe
Messages
699
Score réaction
164
Points
280
  • Initiateur de la discussion
T

TraKKFR

Geek
Messages
6
Score réaction
0
Points
65
ElixorHD à dit:
Bonsoir , Pourrai-tu me dire si c'est bon [Je débute dans le codage LUA]

Code:
TEAM_EMPEREUR = DarkRP.createJob("Empereur", {
color = Color(0, 0, 0, 255),
model = "models/grealms/characters/valkorian/valkorian.mdl",
description = [[L'Empereur tout puissant]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "TraKKFR",
max = 1,
salary = 1000000000000,
admin = 1,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(7000) ply:SetArmor(0) end,
category = "Sith",
})
TEAM_FURIE = DarkRP.createJob("FurieDeL'Empereur", {
color = Color(0, 0, 0, 255),
model = "models/player/sitharmor/sitharmor_pm.mdl",
description = [[C'est la Furie de l'Empereur elle a plus de pouvoir que les Darth ]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Furie",
max = 1,
salary = 10000,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(5000) ply:SetArmor(0) end,
category = "Sith",
customCheck = function(ply) return PlychangeAllowed(ply,"Furie") end, CustomCheckFailMsg = "Vous devez être en WhiteList pour choisir le métier",
})
TEAM_DARK = DarkRP.createJob("DarkSith", {
color = Color(0, 0, 0, 255),
model = { "models/player/nihilus.mdl", "models/grealms/character/malak/malak.mdl", "models/player/darth_revan.mdl", "models/player/Grievous.mdl", "models/grealms/characters/kyloren/kyloren.mdl", "models/player/ezio.mdl",
},
description = [[C'est le Dark ]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Sith",
max = 10,
salary = 10000,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(4000) ply:SetArmor(0) end,
category = "Sith",
customCheck = function(ply) return PlychangeAllowed(ply,"Dark") end, CustomCheckFailMsg = "Vous devez être en WhiteList pour choisir le métier",
})
TEAM_SEIGNEUR = DarkRP.createJob("SeigneurSith", {
color = Color(0, 0, 0, 255),
model = { "models/grealms/characters/darthmarr/darthmarr.mdl", "models/player/darth_revan.mdl", "models/player/Grievous.mdl", "models/grealms/characters/vaylin/vaylin.mdl", "models/player/ezio.mdl",
},
description = [[C'est le Seigneur Sith]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Seigneur",
max = 10,
salary = 1000,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(3000) ply:SetArmor(0) end,
category = "Sith",
customCheck = function(ply) return PlychangeAllowed(ply,"Seigneur") end, CustomCheckFailMsg = "Vous devez être en WhiteList pour choisir le métier",
})
TEAM_INQUISITEUR = DarkRP.createJob("InquisiteurSith", {
color = Color(0, 0, 0, 255),
model = { "models/grealms/characters/inquisitor/inquisitor_01.mdl", "models/player/shao_jun.mdl", "models/KriegSyntax/SW_752/dooku_est.mdl",
},
description = [[C'est l'inquisiteur]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Inquisiteur",
max = 10,
salary = 1000,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(1000) ply:SetArmor(0) end,
category = "Sith",
customCheck = function(ply) return PlychangeAllowed(ply,"Inquisiteur") end, CustomCheckFailMsg = "Vous devez être en WhiteList pour choisir le métier",
})
TEAM_GUERRIER = DarkRP.createJob("GuerrierSith", {
color = Color(0, 0, 0, 255),
model = { "models/grealms/characters/darthsion/sion.mdl", "models/player/ezio.mdl",
},
description = [[C'est le Guerrier Sith]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Guerrier",
max = 10,
salary = 1000,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(1000) ply:SetArmor(0) end,
category = "Sith",
customCheck = function(ply) return PlychangeAllowed(ply,"Guerrier") end, CustomCheckFailMsg = "Vous devez être en WhiteList pour choisir le métier",
})
TEAM_APPRENTI = DarkRP.createJob("ApprentiSith", {
color = Color(0, 0, 0, 255),
model = { "models/player/sw/revan/revan.mdl", "models/grealms/characters/darkjedi/darkjedi.mdl",
},
description = [[L'Apprenti Sith Ta passé les épreuves d'esclave maintenant cherche un Maître]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Apprenti",
max = 10,
salary = 1000,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(500) ply:SetArmor(0) end,
category = "Sith",
customCheck = function(ply) return PlychangeAllowed(ply,"ApprentiSith") end, CustomCheckFailMsg = "Vous devez être en WhiteList pour choisir le métier",
})
TEAM_Esclave = DarkRP.createJob("EsclaveSith", {
color = Color(0, 0, 0, 255),
model = { "models/player/Group01/female_01.mdl", "models/player/Group01/female_02.mdl", "models/player/Group01/female_04.mdl", "models/player/Group01/male_02.mdl", "models/player/Group01/male_04.mdl", "models/player/Group01/male_07.mdl",
},
description = [[Un déchet de L'Empire rien a dire]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Esclave",
max = 10,
salary = 100,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(100) ply:SetArmor(0) end,
category = "Sith",
})
TEAM_STAFF = DarkRP.createJob("Staff", { color = Color(20, 150, 20, 255), model = "models/player/scifi_hawke.mdl", description = [[C'est le Staff qui est en services]], weapons = {"weapon_fists", "keys", "weapon_arc_atmcard"}, command = "staff", max = 5, salary = 0, admin = 1, vote = false, hasLicense = false, candemote = false, PlayerLoadout = function(ply) ply:SetHealth(999999999999) ply:SetArmor(100) end, category = "Staff", })
TEAM_INTIE = DarkRP.createJob("InitiéJedi", {
color = Color(0, 10, 255, 255),
model = { "models/grealms/characters/padawan/padawan_01.mdl", "models/grealms/characters/padawan/padawan_02.mdl", "models/grealms/characters/padawan/padawan_03.mdl", "models/grealms/characters/padawan/padawan_04.mdl", "models/grealms/characters/padawan/padawan_05.mdl", "models/grealms/characters/padawan/padawan_06.mdl", "models/grealms/characters/padawan/padawan_07.mdl", "models/grealms/characters/padawan/padawan_08.mdl", "models/grealms/characters/padawan/padawan_09.mdl",
},
description = [[Vous avez choisi la voie de la paix ]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Initié",
max = 10,
salary = 100,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(100) ply:SetArmor(0) end,
category = "Jedi",
})
TEAM_PADAWAN = DarkRP.createJob("PadawanJedi", {
color = Color(0, 10, 255, 255),
model = { "models/grealms/characters/casualjedi/casualjedi_01.mdl", "models/grealms/characters/casualjedi/casualjedi_02.mdl", "models/grealms/characters/casualjedi/casualjedi_03.mdl", "models/grealms/characters/casualjedi/casualjedi_04.mdl", "models/grealms/characters/casualjedi/casualjedi_05.mdl", "models/grealms/characters/casualjedi/casualjedi_06.mdl", "models/grealms/characters/casualjedi/casualjedi_07.mdl", "models/grealms/characters/casualjedi/casualjedi_08.mdl", "models/grealms/characters/casualjedi/casualjedi_09.mdl",
},
description = [[Vous avez reussi votre Formation Jedi ]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Padawan",
max = 10,
salary = 1000,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(500) ply:SetArmor(0) end,
category = "Jedi",
customCheck = function(ply) return PlychangeAllowed(ply,"Padawan") end, CustomCheckFailMsg = "Vous devez être en WhiteList pour choisir le métier",
})
TEAM_CONSULAIRE = DarkRP.createJob("ConsulaireJedi", {
color = Color(0, 10, 255, 255),
model = { "models/grealms/characters/jedirobes/jedirobes_01.mdl", "models/grealms/characters/jedirobes/jedirobes_02.mdl", "models/grealms/characters/jedirobes/jedirobes_03.mdl", "models/grealms/characters/jedirobes/jedirobes_04.mdl", "models/grealms/characters/jedirobes/jedirobes_05.mdl", "models/grealms/characters/jedirobes/jedirobes_06.mdl", "models/grealms/characters/jedirobes/jedirobes_07.mdl", "models/grealms/characters/jedirobes/jedirobes_08.mdl", "models/grealms/characters/jedirobes/jedirobes_09.mdl",
},
description = [[Bravo vous avez choisi votre proffesion ]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Consu",
max = 10,
salary = 1000,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(1000) ply:SetArmor(0) end,
category = "Jedi",
customCheck = function(ply) return PlychangeAllowed(ply,"Consulaire") end, CustomCheckFailMsg = "Vous devez être en WhiteList pour choisir le métier",
})
TEAM_CHEVALIER = DarkRP.createJob("ChevalierJedi", {
color = Color(0, 10, 255, 255),
model = { "models/grealms/characters/jedibattlelord/jedibattlelord_01.mdl", "models/grealms/characters/jedibattlelord/jedibattlelord_02.mdl", "models/grealms/characters/jedibattlelord/jedibattlelord_03.mdl", "models/grealms/characters/jedibattlelord/jedibattlelord_04.mdl", "models/grealms/characters/jedibattlelord/jedibattlelord_05.mdl", "models/grealms/characters/jedibattlelord/jedibattlelord_06.mdl",
},
description = [[Bravo vous êtres passé Chevalier]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Chevalier",
max = 10,
salary = 1000,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(1000) ply:SetArmor(0) end,
category = "Jedi",
customCheck = function(ply) return PlychangeAllowed(ply,"Chevalier") end, CustomCheckFailMsg = "Vous devez être en WhiteList pour choisir le métier",
})
TEAM_MAITRE = DarkRP.createJob("MaitreJedi", {
color = Color(0, 10, 255, 255),
model = { "models/grealms/starkiller/starkiller_kamino.mdl", "models/jazzmcfly/jka/quigon/quigon.mdl", "models/cultist_kun/sw/coleman.mdl", "models/cultist_kun/sw/mm.mdl", "models/cultist_kun/sw/saesee_tiin.mdl", "models/KriegSyntax/SW_752/anakin_est.mdl", "models/grealms/characters/bastila/bastila.mdl", "models/KriegSyntax/SW_752/obiwan_est.mdl", "models/player/altair_ibnlaahad.mdl", "models/grealms/characters/satele/satele.mdl",
},
description = [[Vous êtres un Maître prenez votre premier padawan sous votre Aile]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Maitre",
max = 10,
salary = 1000,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(4000) ply:SetArmor(0) end,
category = "Jedi",
customCheck = function(ply) return PlychangeAllowed(ply,"Maitre") end, CustomCheckFailMsg = "Vous devez être en WhiteList pour choisir le métier",
})
TEAM_GRAND = DarkRP.createJob("GrandMaitreJedi", {
color = Color(0, 10, 255, 255),
model = { "models/player/RatedR4Ryan/ForceAwakens_Rey.mdl", "models/grealms/starkiller/starkiller_kamino.mdl", "models/jazzmcfly/jka/quigon/quigon.mdl", "models/cultist_kun/sw/coleman.mdl", "models/cultist_kun/sw/mm.mdl", "models/player/light_revan.mdl", "models/grealms/characters/bastila/bastila.mdl", "models/KriegSyntax/SW_752/anakin_est.mdl", "models/KriegSyntax/SW_752/obiwan_est.mdl", "models/player/altair_ibnlaahad.mdl", "models/grealms/characters/satele/satele.mdl",
},
description = [[T'es le Chef de tout les Jedi ]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "Grand",
max = 10,
salary = 1000,
admin = 0,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(6000) ply:SetArmor(0) end,
category = "Jedi",
customCheck = function(ply) return PlychangeAllowed(ply,"Grand") end, CustomCheckFailMsg = "Vous devez être en WhiteList pour choisir le métier",
})
TEAM_ELU = DarkRP.createJob("L'EluDesJedis", {
color = Color(0, 10, 255, 255),
model = { "models/grealms/twins/twins.mdl",
},
description = [[Tu est l'élu des jedis tu doit apporté la paix ]],
weapons = {"weapon_lightsaber" , "weapon_fists"},
command = "elu",
max = 10,
salary = 1000,
admin = 1,
vote = false,
hasLicense = false,
PlayerLoadout = function(ply) ply:SetHealth(5000) ply:SetArmor(0) end,
category = "Jedi",
})
 
Agualym

Agualym

Psychopathe
Messages
699
Score réaction
164
Points
280
Met ton CustomCheckFailMsg sur la même colonne que le customCheck
function(ply) return PlychangeAllowed(ply,"Dark") end, en rouge faut que tu met ton métier exacte comme DarkSith et tout sera nickel
 
  • Initiateur de la discussion
T

TraKKFR

Geek
Messages
6
Score réaction
0
Points
65
Merci beaucoup
 
Agualym

Agualym

Psychopathe
Messages
699
Score réaction
164
Points
280
Oublie pas d'edit ton titre en m'étant résolu et n'oublie pas de like :) si sa ta aidé.
 
Discord d'entraide
Rejoignz-nous sur Discord