- Initiateur de la discussion
Requinou
Bambi
- Messages
- 39
- Score réaction
- 0
- Points
- 35
Bonjour , moi et un ami avons ouvert un serveur , on a configurer quelque job , mais ils n'apparaissent pas en jeux , nous les avons configurer dans le dossier : srcds/garrysmod/addons/darkrpmodificationmaster/darkrp_customthings/jobs.lua
Voici le fichier .lua ( en tout cas sont contenu ) :
Le problème c'est que une fois en jeux , on arrive avec le job "Unassigned" et il n'y a aucun autre job de disponible .
On ne sait pas régler le problème , pouvez vous nous aider s'il vous plait , Merci d'avance
Cordialement The Shark !
Voici le fichier .lua ( en tout cas sont contenu ) :
Code:
--[[---------------------------------------------------------------------------
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_Citoyen = DarkRP.createJob("Citoyen", { color = Color(17, 235, 13, 255), model = { "models/player/Group01/male_01.mdl", "models/player/Group01/male_02.mdl", "models/player/Group01/male_03.mdl", "models/player/Group01/male_04.mdl", "models/player/Group01/male_05.mdl", "models/player/Group01/male_08.mdl", "models/player/zelpa/male_01.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_03.mdl", "models/player/zelpa/male_04.mdl", "models/player/zelpa/male_05.mdl", "models/player/zelpa/male_06.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_08.mdl", "models/player/zelpa/male_09.mdl", "models/player/zelpa/male_10.mdl", "models/player/zelpa/male_11.mdl", "models/player/zelpa/female_01.mdl", "models/player/zelpa/female_02.mdl", "models/player/zelpa/female_03.mdl", "models/player/zelpa/female_04.mdl", "models/player/zelpa/female_05.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/female_07.mdl", "models/player/zelpa/female_01_b.mdl", "models/player/zelpa/female_02_b.mdl", "models/player/zelpa/female_03_b.mdl", "models/player/zelpa/female_04_b.mdl", "models/player/zelpa/female_05_b.mdl", "models/player/zelpa/female_06_b.mdl", "models/player/zelpa/female_07_b.mdl", }, description = [[Vous devez survivre face aux zombies]], weapons = {}, command = "Citoyen", max = 0, salary = 50, admin = 0, vote = false, hasLicense = false, candemote = false, category = "Citoyen", PlayerSpawn = function(ply) ply:SetMaxHealth(100) ply:SetHealth(100) ply:SetArmor(0) end
})
TEAM_Marchand = DarkRP.createJob("Marchand", { color = Color(17, 235, 13, 255), model = {"models/joshua_graham/joshua_graham_pm.mdl"}, description = [[Équiper touts les citoyens, les soldats et les ennemies, votre but est de vous faire de l'argent.]], weapons = {}, command = "Marchand", max = 2, salary = 100, admin = 0, vote = false, hasLicense = false, candemote = false, category = "Citoyen", PlayerSpawn = function(ply) ply:SetMaxHealth(100) ply:SetHealth(100) ply:SetArmor(0) end
})
TEAM_Cuisinier = DarkRP.createJob("Cuisinier", { color = Color(17, 235, 13, 255), model = {"models/player/mossman.mdl"}, description = [[Donner de la nourriture aux citoyens pour leur donner de la force.]], weapons = {}, command = "Cuisinier", max = 2, salary = 100, admin = 0, vote = false, hasLicense = false, candemote = false, category = "Citoyen", PlayerSpawn = function(ply) ply:SetMaxHealth(100) ply:SetHealth(100) ply:SetArmor(0) end
})
TEAM_Médecin = DarkRP.createJob("Médecin", { color = Color(17, 235, 13, 255), model = {"models/player/magnusson.mdl"}, description = [[Soigner les citoyens pour qu'ils puissent restaient en vie.]], weapons = {"med_kit"}, command = "Médecin", max = 2, salary = 100, admin = 0, vote = false, hasLicense = false, candemote = false, category = "Citoyen", PlayerSpawn = function(ply) ply:SetMaxHealth(100) ply:SetHealth(100) ply:SetArmor(0) end
})
TEAM_Gardiendelaville = DarkRP.createJob("Gardien de la ville", { color = Color(17, 235, 13, 255), model = {"models/player/leet.mdl"}, description = [[Vous protéger les citoyens seulement dans la ville.]], weapons = {"fas2_deagle"}, command = "Gardien de la ville", max = 5, salary = 120, admin = 0, vote = false, hasLicense = false, candemote = false, category = "Citoyen", PlayerSpawn = function(ply) ply:SetMaxHealth(100) ply:SetHealth(100) ply:SetArmor(25) end
})
TEAM_Gouverneur = DarkRP.createJob("Gouverneur", { color = Color(17, 235, 13, 255), model = {"models/player/breen.mdl"}, description = [[Vous gouverner la ville pour que tout ce passe bien.]], weapons = {"fas2_glock20"}, command = "Gouverneur", max = 1, salary = 150, admin = 0, vote = true, hasLicense = false, candemote = false, category = "Citoyen", PlayerSpawn = function(ply) ply:SetMaxHealth(100) ply:SetHealth(100) ply:SetArmor(50) end
})
TEAM_Gardeducorp = DarkRP.createJob("Garde du corp", { color = Color(17, 235, 13, 255), model = {"models/player/guerilla.mdl"}, description = [[Vous devez protéger un maximum le gouverneur.]], weapons = {"fas2_glock20"}, command = "Gardeducorp", max = 5, salary = 125, admin = 0, vote = false, hasLicense = false, candemote = false, category = "Citoyen", PlayerSpawn = function(ply) ply:SetMaxHealth(100) ply:SetHealth(100) ply:SetArmor(25) end
})
TEAM_recrueusarmy = DarkRP.createJob("Recrue - U.S ARMY", { color = Color(235, 199, 13, 255), model = {"models/player/Srgt.Shotup"}, description = [[Vous êtes une recrue de la U.S ARMY.]], weapons = {"fas2_glock20"}, command = "recrueusarmy", max = 10, salary = 100, admin = 0, vote = false, hasLicense = false, candemote = false, category = "U.S ARMY", PlayerSpawn = function(ply) ply:SetMaxHealth(100) ply:SetHealth(100) ply:SetArmor(50) end
})
TEAM_regimentsniper = DarkRP.createJob("Régiment sniper - U.S ARMY", { color = Color(235, 199, 13, 255), model = {"models/player/riot.mdl"}, description = [[Vous êtes un haut grader de la U.S ARMY.]], weapons = {"fas2_m21"}, command = "SniperUsarmy", max = 1, salary = 150, admin = 0, vote = false, hasLicense = false, candemote = false, category = "U.S ARMY", PlayerSpawn = function(ply) ply:SetMaxHealth(100) ply:SetHealth(100) ply:SetArmor(150) end
})
TEAM_AgentdelaUSARMY = DarkRP.createJob("Agent - U.S ARMY", { color = Color(235, 199, 13, 255), model = {"models/player/urban.mdl"}, description = [[Vous êtes un haut grader de la U.S ARMY.]], weapons = {"fas2_deagle"}, command = "agentusarmy", max = 5, salary = 100, admin = 0, vote = false, hasLicense = false, candemote = false, category = "U.S ARMY", PlayerSpawn = function(ply) ply:SetMaxHealth(100) ply:SetHealth(100) ply:SetArmor(100) end
})
TEAM_regimentassault = DarkRP.createJob("Régiment assault - U.S ARMY", { color = Color(235, 199, 13, 255), model = {"models/player/swat.mdl"}, description = [[Vous êtes un haut grader de la U.S ARMY.]], weapons = {"fas2_famas"}, command = "AsaultUsarmy", max = 1, salary = 142, admin = 0, vote = false, hasLicense = false, candemote = false, category = "U.S ARMY", PlayerSpawn = function(ply) ply:SetMaxHealth(100) ply:SetHealth(100) ply:SetArmor(150) end
})
TEAM_recrueari = DarkRP.createJob("Recrue - A.R.I", { color = Color(235, 199, 13, 255), model = {"models/mfc_new_heavy_npc.mdl", "models/MFC_New_Heavy.mdl", "models/mfc_new_npc.mdl", "models/mfc_new.mdl"}, description = [[Vous êtes une recrue de la A.R.I]], weapons = {"fas2_glock20"}, command = "recrueari", max = 10, salary = 100, admin = 0, vote = false, hasLicense = false, candemote = false, category = "A.R.I", PlayerSpawn = function(ply) ply:SetMaxHealth(100) ply:SetHealth(100) ply:SetArmor(50) end
})
TEAM_agentari = DarkRP.createJob("Agent - A.R.I", { color = Color(235, 199, 13, 255), model = {""}, description = [[Vous êtes un haut grader de la A.R.I]], weapons = {"fas2_deagle"}, command = "agentari", max = 5, salary = 124, admin = 0, vote = false, hasLicense = false, candemote = false, category = "A.R.I", PlayerSpawn = function(ply) ply:SetMaxHealth(100) ply:SetHealth(100) ply:SetArmor(100) end
})
TEAM_commandoassault = DarkRP.createJob("Commando Assault - A.R.I", { color = Color(235, 199, 13, 255), model = {"models/player/auditor/r6s/thatcher.mdl"}, description = [[Vous êtes un au grader de la A.R.I]], weapons = {"fas2_famas"}, command = "assaultari", max = 1, salary = 150, admin = 0, vote = false, hasLicense = false, candemote = false, category = "A.R.I", PlayerSpawn = function(ply) ply:SetMaxHealth(100) ply:SetHealth(100) ply:SetArmor(150) end
})
TEAM_commandosniper = DarkRP.createJob("Commando Sniper - A.R.I", { color = Color(235, 199, 13, 255), model = {"models/player/US_Sniper_Aftermath.mdl"}, description = [[Vous êtes un au grader de la A.R.I]], weapons = {"fas2_m21"}, command = "sniperari", max = 1, salary = 150, admin = 0, vote = false, hasLicense = false, candemote = false, category = "A.R.I", PlayerSpawn = function(ply) ply:SetMaxHealth(100) ply:SetHealth(100) ply:SetArmor(150) end
})
TEAM_peste = DarkRP.createJob("Projet Peste", { color = Color(235, 199, 13, 255), model = {"models/player/plague_doktor/COMBINE_Plague_Doktor.mdl"}, description = [[Vous êtes le projets Peste , créer par les A.R.I , vous êtes grand et fort , vous vous battez uniquement au poings et a la grosse sulfateuse .Personne ne connait votre vrai nature .]], weapons = {"fas2_m60e3, m9k_fist, m9k_fists}, command = "peste", max = 1, salary = 150, admin = 0, vote = false, hasLicense = false, candemote = false, category = "A.R.I", PlayerSpawn = function(ply) ply:SetMaxHealth(300) ply:SetHealth(300) ply:SetArmor(200)
end
})
TEAM_ARIGen = DarkRP.createJob("Général de l'ARI", { color = Color(235, 199, 13, 255), model = {"models/player/big_boss.mdl", "models/player/big_boss.mdl", "models/player/big_boss3.mdl", "models/player/big_boss4.mdl", "models/player/big_boss5.mdl", "models/player/big_boss6.mdl", "models/player/big_boss7.mdl"}, description = [[Vous êtes le général de l'ARI , son Fondateur , gouverner vos troupes et écrasez vos ennemis ,]] weapons = {"fas2_sks, fas2_machete, fas2_galil}, command = "ARIGeneral", max = 1, salary = 150, admin = 0, vote = false, hasLicense = false, candemote = false, category = "A.R.I", PlayerSpawn = function(ply) ply:SetMaxHealth(200) ply:SetHealth(200) ply:SetArmor(150)
end})
--[[ Generated using: DarkRP | Job Generator https://csite.io/tools/gmod-darkrp-job
--]]
--[[---------------------------------------------------------------------------
Define which team joining players spawn into and what team you change to if demoted
---------------------------------------------------------------------------]]
GAMEMODE.DefaultTeam = TEAM_Citoyen
--[[---------------------------------------------------------------------------
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_recrueari] = true, [TEAM_agentari] = true, [TEAM_commandoassault] = true, [TEAM_commandosniper] = true,
}
--[[---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_MOB).
On ne sait pas régler le problème , pouvez vous nous aider s'il vous plait , Merci d'avance
Cordialement The Shark !