Résolu Mes metier ne s'affiche pas dans le menu f4

  • Initiateur de la discussion radiationmen
  • Date de début
  • Initiateur de la discussion
R

radiationmen

Geek
Messages
23
Score réaction
3
Points
45
Bonjours mes jobs ne s'affichent pas dans le menu f4 de mon serveur Dark RP et il n'y aucune erreur lua dans la console
 
KATTIX

KATTIX

Geek suprême
Messages
328
Score réaction
19
Points
115
Tu peux me dire quel est le nom de ton f4 menu
 
  • J'aime
Réactions: Jo Ballas
Arkov Le Chauve

Arkov Le Chauve

Geek suprême
Messages
99
Score réaction
45
Points
145
jobs.lua ?
 
  • J'aime
Réactions: Jo Ballas
  • Initiateur de la discussion
R

radiationmen

Geek
Messages
23
Score réaction
3
Points
45
KATTIX à dit:
Tu peux me dire quel est le nom de ton f4 menu
Eris F4 menu, mais aussi avec le f4 de base sa ma fait pareil
 
  • J'aime
Réactions: Jo Ballas
  • Initiateur de la discussion
R

radiationmen

Geek
Messages
23
Score réaction
3
Points
45
Arkov Le Chauve à dit:
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:
---------------------------------------------------------------------------]]
--[[ Generated using: DarkRP | Job Generator https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_CITIZEN = DarkRP.createJob("Citoyen", { color = Color(84, 199, 43, 255), model = { "models/player/group01/female_01.mdl", "models/player/group01/female_03.mdl", "models/player/group01/female_04.mdl", "models/player/group01/female_06.mdl", "models/player/group01/female_05.mdl", "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_06.mdl", "models/player/group01/male_07.mdl", "models/player/group01/male_08.mdl", "models/player/group01/male_09.mdl", "models/player/group02/male_02.mdl", "models/player/group02/male_04.mdl", "models/player/group02/male_06.mdl", "models/player/group02/male_08.mdl", "models/player/group03/male_04.mdl", "models/player/group03/male_05.mdl" }, description = [[Vous êtes un citoyen de cette magnifique ville]], weapons = {"weapon_fists", "keys", "weapon_physcannon", "gmod_tool", "idcard"}, command = "civil", max = 0, salary = 500, admin = 0, vote = false, hasLicense = false, candemote = false, category = "Civil"
})
--[[ Generated using: DarkRP | Job Generator https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_RAID = DarkRP.createJob("SWAT", { color = Color(0, 85, 255, 255), model = { "models/player/pmc_1/pmc__01.mdl", "models/player/pmc_1/pmc__02.mdl", "models/player/pmc_1/pmc__03.mdl", "models/player/pmc_1/pmc__04.mdl", "models/player/pmc_1/pmc__05.mdl", "models/player/pmc_1/pmc__10.mdl", "models/player/pmc_1/pmc__11.mdl", "models/player/pmc_1/pmc__12.mdl", "models/player/pmc_1/pmc__13.mdl", "models/player/pmc_2/pmc__01.mdl", "models/player/pmc_2/pmc__02.mdl", "models/player/pmc_2/pmc__03.mdl", "models/player/pmc_2/pmc__06.mdl", "models/player/pmc_2/pmc__08.mdl", "models/player/pmc_2/pmc__11.mdl", "models/player/pmc_2/pmc__12.mdl", "models/player/pmc_2/pmc__14.mdl", "models/player/pmc_3/pmc__01.mdl", "models/player/pmc_3/pmc__02.mdl", "models/player/pmc_3/pmc__03.mdl", "models/player/pmc_3/pmc__04.mdl", "models/player/pmc_3/pmc__05.mdl", "models/player/pmc_3/pmc__06.mdl", "models/player/pmc_3/pmc__07.mdl", "models/player/pmc_3/pmc__09.mdl", "models/player/pmc_3/pmc__10.mdl", "models/player/pmc_3/pmc__11.mdl", "models/player/pmc_3/pmc__13.mdl", "models/player/pmc_3/pmc__14.mdl", "models/player/pmc_4/pmc__01.mdl", "models/player/pmc_4/pmc__02.mdl", "models/player/pmc_4/pmc__01.mdl", "models/player/pmc_4/pmc__05.mdl", "models/player/pmc_4/pmc__06.mdl", "models/player/pmc_5/pmc__09.mdl", "models/player/pmc_5/pmc__01.mdl", "models/player/pmc_4/pmc__12.mdl", "models/player/pmc_4/pmc__11.mdl", "models/player/pmc_4/pmc__10.mdl", "models/player/pmc_4/pmc__09.mdl", "models/player/pmc_5/pmc__01.mdl", "models/player/pmc_5/pmc__03.mdl", "models/player/pmc_5/pmc__10.mdl", "models/player/pmc_5/pmc__11.mdl", "models/player/pmc_5/pmc__14.mdl", "models/player/pmc_6/pmc__01.mdl" }, description = [[Vous êtes un agent du SWAT l'unité d'élite de la police !]], weapons = {"weapon_fists", "keys", "weapon_physcannon", "gmod_tool", "idcard", "tfa_ins2_xm8","pass_dea","tfa_fas2_p226"}, command = "swat", max = 5, salary = 3000, admin = 0, vote = false, hasLicense = true, candemote = true, category = "Gouvernement", PlayerSpawn = function(ply) ply:SetMaxHealth(100) ply:SetHealth(100) ply:SetArmor(200) end, customCheck = function(ply) return CLIENT or table.HasValue({"VIP", "superadmin"}, ply:GetNWString("usergroup")) end, CustomCheckFailMsg = "Se metier est VIP",
})
--[[ Generated using: DarkRP | Job Generator https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_COPS = DarkRP.createJob("Policier", { color = Color(0, 85, 255, 255), model = { "models/player/clannypolice/male_02.mdl", "models/player/clannypolice/male_04.mdl", "models/player/clannypolice/male_05.mdl", "models/player/clannypolice/male_06.mdl", "models/player/clannypolice/male_07.mdl", "models/player/clannypolice/male_08.mdl", "models/player/clannypolice/male_09.mdl" }, description = [[Vous êtes un agent de police et vous devez protéger tout ce petit monde !]], weapons = {"weapon_fists", "keys", "weapon_physcannon", "gmod_tool", "idcard", "tfa_fas2_p226", "pass_dea"}, command = "flic", max = 10, salary = 1250, admin = 0, vote = false, hasLicense = true, candemote = true, category = "Gouvernement", PlayerSpawn = function(ply) ply:SetMaxHealth(100) ply:SetHealth(100) ply:SetArmor(100) 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)
Voila
 
  • J'aime
Réactions: Jo Ballas
KATTIX

KATTIX

Geek suprême
Messages
328
Score réaction
19
Points
115
alors la aucune idee ptetre dans le config.lua
 
  • J'aime
Réactions: Jo Ballas
Jo Ballas

Jo Ballas

Geek suprême
Messages
561
Score réaction
103
Points
150
radiationmen à dit:
Eris F4 menu, mais aussi avec le f4 de base sa ma fait pareil
Contacte-moi par msg privé je vais voir avec toi comment régler ton souci (le darkrpmodification n'a aucun secret pour moi donc ça ne devrais pas être compliqué d'identifier la source de l'erreur)
 
M

Moslay28

Geek suprême
Messages
116
Score réaction
11
Points
130
je crois que c'est sa :
--]]
avant les job est ce que dans ton job.lua c'est tout gris ?
Et est ce que tu a quand même créer la category 'Civil' ?
 
  • J'aime
Réactions: Jo Ballas
gogo17

gogo17

Geek suprême
Messages
256
Score réaction
33
Points
130
Bonjour,

As-tu bien ta catégorie Civil, existe t-elle vraiment ? Si oui, pourrez tu m'envoyer les lignes de codes qui le confirment stp ?

Cordialement,
Gogo
 
  • J'aime
Réactions: Jo Ballas
Jo Ballas

Jo Ballas

Geek suprême
Messages
561
Score réaction
103
Points
150
gogo17 à dit:
Bonjour,

As-tu bien ta catégorie Civil, existe t-elle vraiment ? Si oui, pourrez tu m'envoyer les lignes de codes qui le confirment stp ?

Cordialement,
Gogo
Je me permets de répondre à la place de @radiationmen son problème a apparemment été résolue, il me la dit sur discord.
 
gogo17

gogo17

Geek suprême
Messages
256
Score réaction
33
Points
130
Jo Ballas à dit:
Je me permets de répondre à la place de @radiationmen son problème a apparemment été résolue, il me la dit sur discord.
Ok dac, merci de l'info :D
 
Eren2251

Eren2251

Bambi
Messages
9
Score réaction
2
Points
40
Bonsoir, désolé du Up mais j'ai le même problème, possible d'avoir la solution ?
 
R

reazz

Nouveau né
Messages
1
Score réaction
0
Points
15
Bonjour désoler de déranger mais métier et categories ne s'affiche pas dans mon F4 possible avoirs de l'aide merci
 
A

auragmod

Têtard
Messages
5
Score réaction
0
Points
5
Salut, désolé de UP cette discussion mais mon serveur gmod a le mal problème les métiers ne s'affichent pas dans le f4
 
Yoh Sambre ♪

Yoh Sambre ♪

Shaman Fou
Messages
15 852
Score réaction
9 520
Points
1 845
auragmod à dit:
Salut, désolé de UP cette discussion mais mon serveur gmod a le mal problème les métiers ne s'affichent pas dans le f4
merci de ne pas up des topic antérieur a plus d'1 ans , faite votre propre topic ou passer sur le discord demander de l'aide Join the mTxServ Discord Server!
 
Discord d'entraide
Rejoignz-nous sur Discord