Problème lua

  • Initiateur de la discussion
W

wiz787975

Bambi
Messages
33
Score réaction
0
Points
30
Salut : a cause de se problème sa me fais des truc bizarre sur mon serveur

sa me dis sa

- There must be some other job that has the same command.
- Fix this by changing the 'command' of your job to something else.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
1. addons/darkrpmodification/lua/darkrp_customthings/jobs.lua on line 87
2. function 'xpcall'
3. gamemodes/starwarsrp/gamemode/libraries/simplerr.lua on line 477
4. gamemodes/starwarsrp/gamemode/libraries/fn.lua on line 84
5. gamemodes/starwarsrp/gamemode/libraries/fn.lua on line 84
6. gamemodes/starwarsrp/gamemode/libraries/modificationloader.lua on line 137
7. gamemodes/starwarsrp/gamemode/libraries/modificationloader.lua on line 148
8. gamemodes/starwarsrp/gamemode/init.lua on line 111
------- End of Simplerr error -------
 
thepsyca

thepsyca

Psychopathe
Messages
2 164
Score réaction
648
Points
365
wiz787975 à dit:
Salut : a cause de se problème sa me fais des truc bizarre sur mon serveur

sa me dis sa

- There must be some other job that has the same command.
- Fix this by changing the 'command' of your job to something else.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
1. addons/darkrpmodification/lua/darkrp_customthings/jobs.lua on line 87
2. function 'xpcall'
3. gamemodes/starwarsrp/gamemode/libraries/simplerr.lua on line 477
4. gamemodes/starwarsrp/gamemode/libraries/fn.lua on line 84
5. gamemodes/starwarsrp/gamemode/libraries/fn.lua on line 84
6. gamemodes/starwarsrp/gamemode/libraries/modificationloader.lua on line 137
7. gamemodes/starwarsrp/gamemode/libraries/modificationloader.lua on line 148
8. gamemodes/starwarsrp/gamemode/init.lua on line 111
------- End of Simplerr error -------
There must be some other job that has the same command.
- Fix this by changing the 'command' of your job to something else.
Il te donne la solution
 
  • Initiateur de la discussion
W

wiz787975

Bambi
Messages
33
Score réaction
0
Points
30
Oui mais c'est quoi la solutin mdrr
 
thepsyca

thepsyca

Psychopathe
Messages
2 164
Score réaction
648
Points
365
  • Initiateur de la discussion
W

wiz787975

Bambi
Messages
33
Score réaction
0
Points
30
thepsyca à dit:
https://prntscr.com/ifa1u7
Merci il me reste que sa :
[ERROR] A runtime error has occurred in "your jobs" on line -1.
The best help I can give you is this:

The category of "Citoyen" ("Neutre") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your jobs
------- End of Simplerr error -------
 
thepsyca

thepsyca

Psychopathe
Messages
2 164
Score réaction
648
Points
365
wiz787975 à dit:
Merci il me reste que sa :
[ERROR] A runtime error has occurred in "your jobs" on line -1.
The best help I can give you is this:

The category of "Citoyen" ("Neutre") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your jobs
------- End of Simplerr error -------
Ta set ton jobs sur une category que tu n'a pas crée
 
  • Initiateur de la discussion
W

wiz787975

Bambi
Messages
33
Score réaction
0
Points
30
thepsyca à dit:
Ta set ton jobs sur une category que tu n'a pas crée
Pourtant regarde elle est fais

DarkRP.createCategory{
name = "Jedi", -- The name of the category.
categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
color = Color(0, 107, 0, 255), -- The color of the category header.
canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
sortOrder = 100, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
 
thepsyca

thepsyca

Psychopathe
Messages
2 164
Score réaction
648
Points
365
wiz787975 à dit:
Pourtant regarde elle est fais

DarkRP.createCategory{
name = "Jedi", -- The name of the category.
categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
color = Color(0, 107, 0, 255), -- The color of the category header.
canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
sortOrder = 100, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
t'en a pas crée pour "Neutre"
 
  • Initiateur de la discussion
W

wiz787975

Bambi
Messages
33
Score réaction
0
Points
30
thepsyca

thepsyca

Psychopathe
Messages
2 164
Score réaction
648
Points
365
wiz787975 à dit:
Comment ça ?
Ton job : citoyen tu la mis dans la category "neutre' que tu n'a pas crée
 
  • Initiateur de la discussion
W

wiz787975

Bambi
Messages
33
Score réaction
0
Points
30
thepsyca à dit:
Ton job : citoyen tu la mis dans la category "neutre' que tu n'a pas crée
D'acc mrc tu sais comment enlever les metier du debut quand tu crée un serveur ?
 
ZarosOVH

ZarosOVH

Modérateur
Membre du Staff
Messages
6 527
Score réaction
5 488
Points
1 295
wiz787975 à dit:
D'acc mrc tu sais comment enlever les metier du debut quand tu crée un serveur ?
Darkrpmodification -> disable_default.lua
 
  • Initiateur de la discussion
W

wiz787975

Bambi
Messages
33
Score réaction
0
Points
30
Zaros_Live à dit:
Darkrpmodification -> disable_default.lua
Je les est enlever du serveur les jobs de base mais il son encore la
 
Dernière édition:
Discord d'entraide
Rejoignz-nous sur Discord