Modification des sabres lasers (aide)

  • Initiateur de la discussion
D

Dandeepdown

Nouveau né
Messages
6
Score réaction
0
Points
15
Je cherche quelqu'un qui connait bien le LUA pour modifier le Robotboy's lighsaber addon (dégats, longueur , supprimer des pouvoirs de force).
Merci
 
Yoh Sambre ♪

Yoh Sambre ♪

Shaman Fou
Messages
16 288
Score réaction
9 687
Points
1 845
Dandeepdown à dit:
Je cherche quelqu'un qui connait bien le LUA pour modifier le Robotboy's lighsaber addon (dégats, longueur , supprimer des pouvoirs de force).
Merci
Pas besoin de connaître le language lua l'addons est tellement bien foutu que la suppression des effets ou la remise a niveaux des dégâts prend littéralement 10 mn a faire..fouillez l'addons apprenez a lire dans les fichiers..
 
  • Initiateur de la discussion
D

Dandeepdown

Nouveau né
Messages
6
Score réaction
0
Points
15
Merci pour ta réponse je vais voir, mais comment puis-je creer plusieurs sabres lasers avec chacun different degate et autres choses. Par exemple : un sabre laser niveau 1 : 15 degats et 42 de longueur, et sabre laser niveau 2 : 30 degats et 46 de longueur?
Et aussi, pour le force heal. J'ai vu qu'il ne pouvait remonter que jusqu'a 100 hp , comment est-ce que je fais pour qu'il puisse remonter au nombre d'hp voulu par job (exemple : un acolyte a 500 hp, si il se prend des degats et par exemple decsend a 350 hp je veux qu'il puisse remonter 1 500 hp avec le force heal)
 
Dernière édition:
Yoh Sambre ♪

Yoh Sambre ♪

Shaman Fou
Messages
16 288
Score réaction
9 687
Points
1 845
Dandeepdown à dit:
Merci pour ta réponse je vais voir, mais comment puis-je creer plusieurs sabres lasers avec chacun different degate et autres choses. Par exemple : un sabre laser niveau 1 : 15 degats et 42 de longueur, et sabre laser niveau 2 : 30 degats et 46 de longueur?
Et aussi, pour le force heal. J'ai vu qu'il ne pouvait remonter que jusqu'a 100 hp , comment est-ce que je fais pour qu'il puisse remonter au nombre d'hp voulu par job (exemple : un acolyte a 500 hp, si il se prend des degats et par exemple decsend a 350 hp je veux qu'il puisse remonter 1 500 hp avec le force heal)
Le tool du sabre est usseless préférez celui en swep > dupliqué le en plusieurs fois ,
Pour les HP concernant les job je suis désolé mais il va falloir l'adapter au gamemode darkrp donc ça va être très chiant..mais j'ai une idée a voir si elle marche :

Dans le job mettez la ligne pour set les HP puis dans un des fichiers du sandbox triché en modifiant la valeur de max heal..cela ne devrais pas être trop exploitable.
 
  • Initiateur de la discussion
D

Dandeepdown

Nouveau né
Messages
6
Score réaction
0
Points
15
Merci beaucoup pour ton aide , je vais essayer de le faire!
 
  • Initiateur de la discussion
D

Dandeepdown

Nouveau né
Messages
6
Score réaction
0
Points
15
Par contre, je n'ai pas compris comment creer pusieurs sabres lasers (sabre laser acolyte : damage 12.5 , longueur : 42 , sabre laser de guerrier :damage 22.5, longueur 42) et que chaque job a son propre sabre?
 
  • Initiateur de la discussion
D

Dandeepdown

Nouveau né
Messages
6
Score réaction
0
Points
15
et pour les hp que dois-je modifier ?
Voici mon jobs.lua :
--[[---------------------------------------------------------------------------
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 jobs under the following line:
---------------------------------------------------------------------------]]
--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_BASE = DarkRP.createJob("Base", {
color = Color(0, 0, 0, 255),
model = {"models/player/Group01/female_01.mdl"},
description = [[Choisissez votre côté!]],
weapons = {},
command = "Base",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Base",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_ESCLAVE = DarkRP.createJob("Esclave", {
color = Color(255, 0, 0, 255),
model = {"models/player/Group01/male_02.mdl"},
description = [[Vous êtes un esclave. Faites vos preuves pour devenir acolyte.]],
weapons = {},
command = "Escalve",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_ACOLYTE = DarkRP.createJob("Acolyte Sith", {
color = Color(255, 0, 0, 255),
model = {"models/grealms/characters/sithtrainee/sithtrainee_02.mdl"},
description = [[Vous gagnez en pouvoir et devenez plus respecté. Choisissez la voie d'inquisiteur ou de guerrier.]],
weapons = {"weapon_lightsaber"},
command = "Acolyte",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(500)
ply:SetHealth(500)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_INQUI = DarkRP.createJob("Inquisiteur Sith", {
color = Color(255, 0, 0, 255),
model = {"models/grealms/characters/inquisitor/inquisitor_09.mdl"},
description = [[Vous maitrisez la force et devez choisir un spécialisation]],
weapons = {"weapon_lightsaber"},
command = "Inquisiteur",
max = 1,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1250)
ply:SetHealth(1250)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_GUERRIER = DarkRP.createJob("Guerrier Sith", {
color = Color(255, 0, 0, 255),
model = {"models/grealms/characters/darkjedi/darkjedi.mdl"},
description = [[Vous maitrisez le sabre laser et devez choisir un spécialisation]],
weapons = {"weapon_lightsaber"},
command = "Guerrier",
max = 1,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1000)
ply:SetHealth(1000)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_RAVAGEUR = DarkRP.createJob("Ravageur Sith", {
color = Color(255, 0, 0, 255),
model = {"models/player/corvo.mdl"},
description = [[Vous êtes très puissant. Vous devez choisir la voie de surveillant ou éradicateur.]],
weapons = {"weapon_lightsaber"},
command = "Ravageur",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Spécialisations",
PlayerSpawn = function(ply)
ply:SetMaxHealth(2000)
ply:SetHealth(2000)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_MAURAUDEUR = DarkRP.createJob("Mauraudeur Sith", {
color = Color(255, 0, 0, 255),
model = {"models/player/bobert/mknoob.mdl"},
description = [[Vous êtes très puissant et avez un sabre courbé. Vous devez choisir la voie de surveillant ou éradicateur.]],
weapons = {"weapon_lightsaber"},
command = "Mauraudeur",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Spécialisations",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1500)
ply:SetHealth(1500)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_SORCIER = DarkRP.createJob("Sorcier Sith", {
color = Color(255, 0, 0, 255),
model = {"models/player/bobert/mkxermac.mdl"},
description = [[Vous êtes très puissant et maitrisez les éclairs de force. Vous devez choisir la voie de surveillant ou éradicateur.]],
weapons = {"weapon_lightsaber"},
command = "Sorcier",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Spécialisations",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1750)
ply:SetHealth(1750)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_ASSASSIN = DarkRP.createJob("Assassin Sith", {
color = Color(255, 0, 0, 255),
model = {"models/syntheticgaming/characters/sithassassin/sithassassin.mdl"},
description = [[Vous êtes très puissant et maitrisez la double lame. Vous devez choisir la voie de surveillant ou éradicateur.]],
weapons = {"weapon_lightsaber"},
command = "Assassin",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Spécialisations",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1500)
ply:SetHealth(1500)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_SURV = DarkRP.createJob("Surveillant", {
color = Color(255, 0, 0, 255),
model = {"models/imperial/guard/blackguard.mdl"},
description = [[Vous formez les nouveaux apprentis.]],
weapons = {"weapon_lightsaber"},
command = "Surveillant",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Surveillants",
PlayerSpawn = function(ply)
ply:SetMaxHealth(2250)
ply:SetHealth(2250)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_CSURV = DarkRP.createJob("Chef Surveillant", {
color = Color(255, 0, 0, 255),
model = {"models/grealms/characters/saberguard/saberguard.mdl"},
description = [[Vous formez les nouveaux apprentis. Vous donnez des ordres aux surveillants et organisez des recrutements]],
weapons = {"weapon_lightsaber"},
command = "CSurveillant",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Surveillants",
PlayerSpawn = function(ply)
ply:SetMaxHealth(3000)
ply:SetHealth(3000)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_ERAD = DarkRP.createJob("Eradicateur", {
color = Color(255, 0, 0, 255),
model = {"models/nate159/req/swtfu/sith_acolyte.mdl"},
description = [[Vous gardez le conseil noir]],
weapons = {"weapon_lightsaber"},
command = "Erad",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Eradicateurs",
PlayerSpawn = function(ply)
ply:SetMaxHealth(3000)
ply:SetHealth(3000)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_CERAD = DarkRP.createJob("Chef Eradicateur", {
color = Color(255, 0, 0, 255),
model = {"models/nate159/req/swtfu/sith_acolyte.mdl"},
description = [[Vous gardez le conseil noir. Vous donnsz des ordres auc Eradicateurs et vous organisez les recrutements.]],
weapons = {"weapon_lightsaber"},
command = "CErad",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Eradicateurs",
PlayerSpawn = function(ply)
ply:SetMaxHealth(3750)
ply:SetHealth(3750)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_SEIGNEUR = DarkRP.createJob("Seigneur Sith", {
color = Color(255, 0, 0, 255),
model = {"models/grealms/characters/vaylin/vaylin.mdl"},
description = [[Vous êtes un seigneur sith. Rendez vos comptes au conseil noir et gérez les siths.]],
weapons = {"weapon_lightsaber"},
command = "Seigneur",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Maitres Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(4000)
ply:SetHealth(4000)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_DARTH = DarkRP.createJob("Darth", {
color = Color(255, 0, 0, 255),
model = {
"models/morganicism/swtor/morganis/morganis.mdl",
"models/grealms/characters/darthnihilus/darthnihilus.mdl",
"models/grealms/characters/darthsion/sion.mdl"
},
description = [[Vous êtes un Darth. Rendez vos comptes au conseil noir et gérez les siths.
Vous êtes éligible pour devenir membre du conseil noir. Vous êtes très respecté.]],
weapons = {"weapon_lightsaber"},
command = "Darth",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Maitres Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(4500)
ply:SetHealth(4500)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_MDCN = DarkRP.createJob("Membre du conseil noir", {
color = Color(255, 0, 0, 255),
model = {
"models/grealms/characters/darthjadus/darthjadus.mdl",
"models/player/darth/maul.mdl",
"models/grealms/characters/malgus/malgus.mdl",
"models/grealms/characters/darthmarr/darthmarr.mdl"
},
description = [[Vous êtes un membre du conseil noir. Vous êtes le maitre des siths.]],
weapons = {"weapon_lightsaber"},
command = "MDCN",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Maitres Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(5000)
ply:SetHealth(5000)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_FURIE = DarkRP.createJob("Furie de l'empreur", {
color = Color(255, 0, 0, 255),
model = {"models/player/ren/knightofren.mdl"},
description = [[Vous n'obéissez qu'a l'empreur.]],
weapons = {"weapon_lightsaber"},
command = "Furie",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Maitres Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(7500)
ply:SetHealth(7500)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_EMPREUR = DarkRP.createJob("Empreur", {
color = Color(255, 0, 0, 255),
model = {
"models/grealms/characters/valkorian/valkorian.mdl",
"models/player/emperor_palpatine.mdl"
},
description = [[Vous êtes le maitre suprême des siths.]],
weapons = {"weapon_lightsaber"},
command = "Empreur",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Maitres Sith",
PlayerSpawn = function(ply)
ply:SetMaxHealth(10000)
ply:SetHealth(10000)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_INITIE = DarkRP.createJob("Initié", {
color = Color(0, 39, 255, 255),
model = {"models/jazzmcfly/jka/younglings/jka_young_male.mdl"},
description = [[Vous devez étudier et grandir pour devenir un padawan.
]],
weapons = {},
command = "Initié",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_PADA = DarkRP.createJob("Padawan", {
color = Color(0, 39, 255, 255),
model = {"models/grealms/characters/padawan/padawan_02.mdl"},
description = [[Choisissez la voie de chevalier ou de consulaire!
]],
weapons = {"weapon_lightsaber"},
command = "Padawan",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(500)
ply:SetHealth(500)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_CONSULAIRE = DarkRP.createJob("Consulaire Jedi", {
color = Color(0, 39, 255, 255),
model = {"models/grealms/characters/jedirobes/jedirobes_02.mdl"},
description = [[Vous maitrisez la force et devez choisir une spécialisation.]],
weapons = {"weapon_lightsaber"},
command = "Consulaire",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1250)
ply:SetHealth(1250)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_CHEVALIER = DarkRP.createJob("Chevalier Jedi", {
color = Color(0, 39, 255, 255),
model = {"models/grealms/characters/jedibattlelord/jedibattlelord.mdl"},
description = [[Vous maitrisez le sabre laser et devez choisir une spécialisation.]],
weapons = {"weapon_lightsaber"},
command = "Chevalier",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1000)
ply:SetHealth(1000)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_GARDIEN = DarkRP.createJob("Gardien Jedi", {
color = Color(0, 39, 255, 255),
model = {"models/grealms/characters/jedibattlelord/jedibattlelord_09.mdl"},
description = [[Vous avez une armure hors du commun très résistante.]],
weapons = {"weapon_lightsaber"},
command = "Gardien",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Spécialisations Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(2000)
ply:SetHealth(2000)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_SENTINELLE = DarkRP.createJob("Sentinelle Jedi", {
color = Color(0, 39, 255, 255),
model = {"models/grealms/characters/jedibattlelord/jedibattlelord_06.mdl"},
description = [[Vous avez un sabre courbé.]],
weapons = {"weapon_lightsaber"},
command = "Sentinelle",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Spécialisations Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1500)
ply:SetHealth(1500)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_ERUDIT = DarkRP.createJob("Erudit Jedi", {
color = Color(0, 39, 255, 255),
model = {"models/grealms/characters/jedirobes/jedirobes_09.mdl"},
description = [[Vous maitrisez la brulûre de force,]],
weapons = {"weapon_lightsaber"},
command = "Erudit",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Spécialisations Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1750)
ply:SetHealth(1750)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_OMBRE = DarkRP.createJob("Ombre Jedi", {
color = Color(0, 39, 255, 255),
model = {"models/grealms/characters/jedirobes/jedirobes_06.mdl"},
description = [[Vous maitrisez la double lame.]],
weapons = {"weapon_lightsaber"},
command = "Ombre",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Spécialisations Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(1500)
ply:SetHealth(1500)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_FORMATEUR = DarkRP.createJob("Formateur", {
color = Color(0, 56, 255, 255),
model = {"models/grealms/characters/casualjedi/casualjedi_02.mdl"},
description = [[Vous formez les nouveaux apprentis]],
weapons = {"weapon_lightsaber"},
command = "Formateur",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Formateurs",
PlayerSpawn = function(ply)
ply:SetMaxHealth(2250)
ply:SetHealth(2250)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_CFORMATEUR = DarkRP.createJob("Chef Formateur", {
color = Color(0, 56, 255, 255),
model = {"models/grealms/characters/casualjedi/casualjedi_07.mdl"},
description = [[Vous formez les nouveaux apprentis. Vous donnez des ordres aux formateurs et vous organisez les recrutements.]],
weapons = {"weapon_lightsaber"},
command = "CFormateur",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Formateurs",
PlayerSpawn = function(ply)
ply:SetMaxHealth(3000)
ply:SetHealth(3000)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_GDC = DarkRP.createJob("Garde du Conseil ", {
color = Color(0, 56, 255, 255),
model = {"models/jazzmcfly/jka/jtg/jtg.mdl"},
description = [[Vous gardez le conseil jedi.]],
weapons = {"weapon_lightsaber"},
command = "GDC",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Gardes du Conseil",
PlayerSpawn = function(ply)
ply:SetMaxHealth(3000)
ply:SetHealth(3000)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_CGDC = DarkRP.createJob("Chef des Gardes du Conseil ", {
color = Color(0, 56, 255, 255),
model = {"models/jazzmcfly/jka/jtg/jtg.mdl"},
description = [[Vous gardez le conseil jedi. Vous organisez zles recrutements de gardes du conseil. Vous positionner les gardes du conseil.]],
weapons = {"weapon_lightsaber"},
command = "CGDC",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Gardes du Conseil",
PlayerSpawn = function(ply)
ply:SetMaxHealth(3750)
ply:SetHealth(3750)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_MAITRE = DarkRP.createJob("Maitre Jedi", {
color = Color(0, 56, 255, 255),
model = {"models/grealms/characters/ultimategood/ultimategood.mdl"},
description = [[Vous êtes respecté et vous ne prenez que les meilleurs padawans.
"A partir d'aujourd'hui, vous n'êtes plus un Chevalier jedi, mais un maitre jedi" - Satele Shan
]],
weapons = {"weapon_lightsaber"},
command = "Maitre",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Maitres Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(4000)
ply:SetHealth(4000)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_GMAITRE = DarkRP.createJob("Grand Maitre Jedi", {
color = Color(0, 56, 255, 255),
model = {"models/grealms/twins/twins.mdl"},
description = [[Vous êtes un maitre très puissant et patient.]],
weapons = {"weapon_lightsaber"},
command = "GMaitre",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Maitres Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(4500)
ply:SetHealth(4500)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_MDCJ = DarkRP.createJob("Membre du conseil Jedi", {
color = Color(0, 56, 255, 255),
model = {
"models/grealms/characters/bastila/bastila.mdl",
"models/ryan7259/shaak_ti_felucia/shaak_ti.mdl",
"models/grealms/characters/kitfisto/fisto.mdl",
"models/grealms/characters/satele/satele.mdl"
},
description = [[Vous faites parti du conseil Jedi]],
weapons = {"weapon_lightsaber"},
command = "MDCJ",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Maitres Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(5000)
ply:SetHealth(5000)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_CDCJ = DarkRP.createJob("Chef du conseil Jedi", {
color = Color(0, 56, 255, 255),
model = {
"models/grealms/characters/bastila/bastila.mdl",
"models/grealms/characters/satele/satele.mdl"
},
description = [[Vous faites parti du conseil Jedi et vous le présidez.]],
weapons = {"weapon_lightsaber"},
command = "CDCJ",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Maitres Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(7500)
ply:SetHealth(7500)
end
})

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_HDT = DarkRP.createJob("Héros de Tythoon", {
color = Color(0, 56, 255, 255),
model = {"models/grealms/characters/jedirobes/jedirobes_07.mdl"},
description = [[Ce titre est décérné à celui qui tuera l'empreur. Il est au même grade que le Chef du conseil Jedi.]],
weapons = {"weapon_lightsaber"},
command = "HDT",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Maitres Jedi",
PlayerSpawn = function(ply)
ply:SetMaxHealth(10000)
ply:SetHealth(10000)
end
})


--[[---------------------------------------------------------------------------
Define which team joining players spawn into and what team you change to if demoted
---------------------------------------------------------------------------]]
GAMEMODE.DefaultTeam = TEAM_BASE


--[[---------------------------------------------------------------------------
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)
 
Discord d'entraide
Rejoignz-nous sur Discord