probleme que je n'arrive pas a regler sur mon serveur.

  • Initiateur de la discussion benji1919
  • Date de début
  • Initiateur de la discussion
B

benji1919

Geek
Messages
66
Score réaction
0
Points
80
Bonjour,
alors je m'explique j'ai un probleme avec le permaprops je ne peut pas perma.

j'ai aussi un autre probleme apparement qui vient du fichier job.lua mais j'arrive pas a le regler.

voici les erreurs :
------- End of Simplerr error -------
1. error - [C]:-1
[DarkRP] A runtime error has occurred in "addons/darkrpmodification/lua/darkrp_customthings/jobs.lua" on line 19.
The best help I can give you is this:
Corrupt team: Chomeur!
This job does not have a unique command.
Hints:
- 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 19
2. function 'xpcall'
3. gamemodes/darkrp/gamemode/libraries/simplerr.lua on line 477
4. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
5. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
6. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 137
7. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 148
8. gamemodes/darkrp/gamemode/init.lua on line 111



voici mon job qui correspond a l'erreur :

Code:
TEAM_CITIZEN = DarkRP.createJob("Chomeur", { color = Color(75, 164, 42, 255), model = {"models/player/zelpa/male_10.mdl", "models/player/Suits/male_01_open.mdl", "models/player/Suits/male_02_open.mdl", "models/player/Suits/male_03_open.mdl", "models/player/Suits/male_04_open.mdl", "models/player/Suits/male_05_open.mdl", "models/player/Suits/male_06_open.mdl", "models/player/Suits/male_07_open.mdl", "models/player/Suits/male_08_open.mdl", "models/player/Suits/male_09_open.mdl" description = [[Le citoyen respecte les lois, il est très important, bien que ce membre n'ait pas un rôle spécifique.]], weapons = {"weapon_fists", "weapon_identity", "weapon_arc_atmcard", "surrender", "weapon_drivelicense", "itemstore_pickup"}, command = "citoyen", max = 0, salary = 40, admin = 0, vote = false, hasLicense = false,
})
 
KINTUS_gmod

KINTUS_gmod

Nouveau né
Messages
5
Score réaction
0
Points
20
Au niveau des tenues ta oublier de fermer le guillemet }
 
alexis62590

alexis62590

Geek suprême
Messages
399
Score réaction
42
Points
140
Code:
Corrupt team: Chomeur!
T'as utiliser plusieurs fois la même team.
 
Pierre97

Pierre97

Geek
Messages
360
Score réaction
68
Points
70
C’est à partir de model réorganise bien t’es pas aller à la ligne après ta supprimer un espace Tout doit être bien aligné vérifie toutes les virgules et tout...
 
ally

ally

Geek suprême
Messages
337
Score réaction
64
Points
100
benji1919 à dit:
Bonjour,
alors je m'explique j'ai un probleme avec le permaprops je ne peut pas perma.

j'ai aussi un autre probleme apparement qui vient du fichier job.lua mais j'arrive pas a le regler.

voici les erreurs :
------- End of Simplerr error -------
1. error - [C]:-1
[DarkRP] A runtime error has occurred in "addons/darkrpmodification/lua/darkrp_customthings/jobs.lua" on line 19.
The best help I can give you is this:
Corrupt team: Chomeur!
This job does not have a unique command.
Hints:
- 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 19
2. function 'xpcall'
3. gamemodes/darkrp/gamemode/libraries/simplerr.lua on line 477
4. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
5. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
6. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 137
7. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 148
8. gamemodes/darkrp/gamemode/init.lua on line 111



voici mon job qui correspond a l'erreur :

Code:
TEAM_CITIZEN = DarkRP.createJob("Chomeur", { color = Color(75, 164, 42, 255), model = {"models/player/zelpa/male_10.mdl", "models/player/Suits/male_01_open.mdl", "models/player/Suits/male_02_open.mdl", "models/player/Suits/male_03_open.mdl", "models/player/Suits/male_04_open.mdl", "models/player/Suits/male_05_open.mdl", "models/player/Suits/male_06_open.mdl", "models/player/Suits/male_07_open.mdl", "models/player/Suits/male_08_open.mdl", "models/player/Suits/male_09_open.mdl" description = [[Le citoyen respecte les lois, il est très important, bien que ce membre n'ait pas un rôle spécifique.]], weapons = {"weapon_fists", "weapon_identity", "weapon_arc_atmcard", "surrender", "weapon_drivelicense", "itemstore_pickup"}, command = "citoyen", max = 0, salary = 40, admin = 0, vote = false, hasLicense = false,
})
Peux-tu envoyer directement tout ton jobs.lua
 
  • Initiateur de la discussion
B

benji1919

Geek
Messages
66
Score réaction
0
Points
80
bonjour, celui-ci est regler maintenant j'ai un autre probleme :

05/15/2018 06:19:09: Lua Error
[DarkRP] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 1388.
The best help I can give you is this:
There is an opening '{' bracket at line 1357, but this bracket is never closed or not closed in time. It was expected to be closed before the 'vote' at line 1388.
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 -------
1. error - [C]:-1
2. doInclude - gamemodes/darkrp/gamemode/libraries/simplerr.lua:530
3. loadCustomDarkRPItems - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:137
4. Call - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:148
5. unknown - gamemodes/darkrp/gamemode/init.lua:111
[DarkRP] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 1388.
The best help I can give you is this:
There is an opening '{' bracket at line 1357, but this bracket is never closed or not closed in time. It was expected to be closed before the 'vote' at line 1388.

Code:
TEAM_WEED = DarkRP.createJob("Fabricant de Weed", { color = Color(58, 153, 0, 255), model ={"models/player/zelpa/male_10.mdl", "models/player/zelpa/female_01.mdl", "models/player/zelpa/female_04.mdl", "models/player/zelpa/female_02.mdl", "models/player/zelpa/female_02_b.mdl", "models/player/zelpa/female_03.mdl", "models/player/zelpa/female_03_b.mdl", "models/player/zelpa/female_04_b.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/female_06_b.mdl", "models/player/zelpa/female_07.mdl", "models/player/zelpa/male_01.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_03.mdl", "models/player/zelpa/male_04.mdl", "models/player/zelpa/male_05.mdl", "models/player/zelpa/male_06.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_08.mdl", "models/player/zelpa/male_09.mdl", "models/player/zelpa/male_10.mdl", "models/player/zelpa/male_11.mdl"}, description = [[Vous êtes fabricant de weed]], weapons = {"weapon_fists","weapon_arc_atmcard", "sent_tablet"}, command = "fweed", max = 3, salary = 130, admin = 0, type = "crime" vote = true, candemote = true, hasLicense = false,
})
 
alexis62590

alexis62590

Geek suprême
Messages
399
Score réaction
42
Points
140
Code:
 type = "crime"
Rajoute une virgule ici:

Code:
 type = "crime",
 
  • Initiateur de la discussion
B

benji1919

Geek
Messages
66
Score réaction
0
Points
80
ok merci, j'ai régler ça grâce a toi je laisse cette onglet ouvert comme sa si j'ai un problème je peut revenir. en core un grand merci.
 
Discord d'entraide
Rejoignz-nous sur Discord