Erreur dans la console

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

LeVraiFlayden

Maurice
Messages
90
Score réaction
8
Points
95
Bonsoir,
pouvez-vous m'aider à résoudre cette erreur dans la console ?
[ERROR] A runtime error has occurred in "lua/darkrp_customthings/jobs.lua" on line -1.
The best help I can give you is this:
GAMEMODE.DefaultTeam is not set to an existing job.
Hints:
- This may happen when you disable the default citizen job. Make sure you update GAMEMODE.DefaultTeam to the new default team.
- GAMEMODE.DefaultTeam may be set to a job that does not exist anymore. Did you remove the job you had set to default?
- The error being in jobs.lua is a guess. This is usually right, but the problem might lie somewhere else.
The responsibility for the error above lies with (the authors of) one (or more) of these files:
jobs.lua, settings.lua, disabled_defaults.lua or any of your other custom files.
------- End of Simplerr error -------
1. error - [C]:-1
2. error - gamemodes/darkrp/gamemode/libraries/simplerr.lua:530
3. Call - gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:970
4. Call - gamemodes/darkrp/gamemode/libraries/modif
[ERROR] A runtime error has occurred in "lua/darkrp_customthings/jobs.lua" on line -1.
The best help I can give you is this:
GAMEMODE.DefaultTeam is not set to an existing job.
Hints:
- This may happen when you disable the default citizen job. Make sure you update GAMEMODE.DefaultTeam to the new default team.
- GAMEMODE.DefaultTeam may be set to a job that does not exist anymore. Did you remove the job you had set to default?
- The error being in jobs.lua is a guess. This is usually right, but the problem might lie somewhere else.
The responsibility for the error above lies with (the authors of) one (or more) of these files:
jobs.lua, settings.lua, disabled_defaults.lua or any of your other custom files.
------- End of Simplerr error -------
1. error - [C]:-1
2. error - gamemodes/darkrp/gamemode/libraries/simplerr.lua:530
3. Call - gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:970
4. Call - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:149
5. unkno05/01/2018 23:16:06: Lua Error: Couldn't Load Init Script 'darkrp/gamemode/init.lua'
Couldn't Load Init Script: 'darkrp/gamemode/init.lua'
P.S: Dans le HUD , il n'y a plus marqué par exemple 15€ mais juste €

Merci d'avance pour votre aide
 
Zlaydis

Zlaydis

Geek suprême
Messages
336
Score réaction
86
Points
100
Ton nom de TEAM_ par défaut est inexistant donc rdv en bas de ton jobs.lua & tu changes le TEAM_CITIZEN par le TEAM_ que tu veux mettre par défaut quand tu arrives sur le serveur
 
  • Initiateur de la discussion
LeVraiFlayden

LeVraiFlayden

Maurice
Messages
90
Score réaction
8
Points
95
Salut !
Petite erreur de ma part les scripts des jobs personnalisés étaient à la mauvaise place. Le problème est réglé ! Merci de ta réponse.
 
Discord d'entraide
Rejoignz-nous sur Discord