Bug de category sur mon métier cusinier

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

anthonybersee

Geek
Messages
34
Score réaction
1
Points
95
Bug de category sur mon métier cusinier

if not DarkRP.disabledDefaults["modules"]["hungermod"] then
TEAM_COOK = DarkRP.createJob("Cuisinier", {
color = Color(15, 62, 29, 255),
model = {
"models/fearless/chef1.mdl",
"models/fearless/chef2.mdl"
},
description = [[En cuisinier tu peux faire a manger au gens !]],
weapons = {},
command = "cook",
max = 3,
salary = 100,
admin = 0,
vote = false,
hasLicense = false,
cook = true
category = "Citoyens",
})

Quand je lance le serveur sa me fait :

There are 3 Lua problems!
Please check your console for more information!
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 190.
The best help I can give you is this:

There is an opening '{' bracket at line 175, but this bracket is never closed or not closed in time. It was expected to be closed before the 'category' at line 190.

Hints:
- Did you forget a comma?
- All open brackets ({, (, [) must have a matching closing bracket. Are you sure it's there?
- Brackets must be opened and closed in the right order. This will work: ({}), but this won't: ({)}.

------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua" on line 687.
The best help I can give you is this:

DarkRP was unable to introduce player "anthonybersee" to the game. Expect further errors and shit generally being fucked!

Hints:
- This error most likely does not stand on its own, and previous serverside errors have a very good chance of telling you the cause.
- Note that errors from another addon could cause this. Specifically when they're thrown during 'PlayerInitialSpawn'.
- This error can also be caused by some other addon returning a value in 'PlayerInitialSpawn', though that is less likely.
- Errors in your DarkRP configuration (jobs, shipments, etc.) could also cause this. Earlier errors should tell you when this is the case.

The responsibility for the error above lies with (the authors of) one (or more) of these files:

------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua" on line 687.
The best help I can give you is this:

DarkRP was unable to introduce player "anthonybersee" to the game. Expect further errors and shit generally being fucked!

Hints:
- This error most likely does not stand on its own, and previous serverside errors have a very good chance of telling you the cause.
- Note that errors from another addon could cause this. Specifically when they're thrown during 'PlayerInitialSpawn'.
- This error can also be caused by some other addon returning a value in 'PlayerInitialSpawn', though that is less likely.
- Errors in your DarkRP configuration (jobs, shipments, etc.) could also cause this. Earlier errors should tell you when this is the case.

The responsibility for the error above lies with (the authors of) one (or more) of these files:

------- End of Simplerr error -------
 
ApeXFRZ

ApeXFRZ

Geek suprême
Messages
420
Score réaction
68
Points
130
tu as oublié la virgule :
cook = true

tu remplace cela par
cook = true,
 
  • Initiateur de la discussion
anthonybersee

anthonybersee

Geek
Messages
34
Score réaction
1
Points
95
merci XD
 
Discord d'entraide
Rejoignz-nous sur Discord