Les métiers ne s'affichent pas !

  • Initiateur de la discussion Flygeek
  • Date de début
  • Initiateur de la discussion
Flygeek

Flygeek

Têtard
Messages
1
Score réaction
0
Points
10
Bonjour, déjà merci de vous intéresser a moi, bref j'ai un problème, j'ai fait un job en lua pour DarkRP, j'ai rajouté deux métiers "Alien" et "Humains" :

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_ALIENS = DarkRP.createJob("Alien", { color = Color(34, 85, 85, 255), model = {"models/player/group01/male_01.mdl"}, description = [[]], weapons = {"weapon_fists"}, command = "alien", max = 0, salary = 100, admin = 0, vote = false, hasLicense = false, candemote = false, category = "Aliens"
})
------------------------------------------------------------------
------------------------------------------------------------------
TEAM_HUMAINS = DarkRP.createJob("Humain", { color = Color(254, 149, 0, 255), model = {"models/player/group01/male_01.mdl"}, description = [[]], weapons = {"weapon_fists"}, command = "humain", max = 0, salary = 100, admin = 0, vote = false, hasLicense = false, candemote = false, category = "Humains"
})
--[[---------------------------------------------------------------------------
Define which team joining players spawn into and what team you change to if demoted
---------------------------------------------------------------------------]] GAMEMODE.DefaultTeam = TEAM_HUMAINS
--[[---------------------------------------------------------------------------
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)
pour plus de détail, mais voila ce qu'il m'affiche
qsdqsdqsdqsdqsdqsd.png

voila, merci si vous pouvez m'aider, bonne journée !
 
Dernière édition:
Caesarovich

Caesarovich

Geek
Messages
182
Score réaction
31
Points
85
Vu a tête du job menu je pense que le problème viens de là
 
Discord d'entraide
Rejoignz-nous sur Discord