probléme console

  • Initiateur de la discussion
S

splazou

Bambi
Messages
6
Score réaction
0
Points
35
bonjour j'ai des erreur qui vienne de ma console alors que j'ai rien toucher dans tout ce qui est affiché quelqu'un peut m'aider a les résoudre svp
 

Pièces jointes

  • console.png
    console.png
    96.1 KB Vues: 12
Z3k4

Z3k4

Helpeur Divin
Messages
4 495
Score réaction
1 513
Points
580
Déjà pour les darkrp, tu touche pas au fichier jobs de base, faut que t'installe le darkrpmodification
 
  • Initiateur de la discussion
S

splazou

Bambi
Messages
6
Score réaction
0
Points
35
je les ce fichier et j'ai modifier les job de dedans
 
Z3k4

Z3k4

Helpeur Divin
Messages
4 495
Score réaction
1 513
Points
580
Envoie ton fichier jobs.lua je vais regarder si ta pas fait d'erreur
 
  • Initiateur de la discussion
S

splazou

Bambi
Messages
6
Score réaction
0
Points
35
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 jobs under the following line:
---------------------------------------------------------------------------]]
TEAM_CITIZEN = DarkRP.createJob("Citoyen", { color = Color(20, 150, 20, 255), model = { "models/player/Group01/Female_01.mdl", "models/player/Group01/Female_02.mdl", "models/player/Group01/Female_03.mdl", "models/player/Group01/Female_04.mdl", "models/player/Group01/Female_06.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" }, description = [[]], weapons = {}, command = "citizen", max = 0, salary = 50, admin = 0, vote = false, hasLicense = false, candemote = false, category = "Citizens",
})
TEAM_POLICE = DarkRP.createJob("Policier", { color = Color(25, 25, 170, 255), model = { "models/player/uk_police/uk_police_01.mdl", "models/player/uk_police/uk_police_02.mdl", "models/player/uk_police/uk_police_03.mdl", "models/player/uk_police/uk_police_04.mdl" description = [[]], weapons = {"arrest_stick", "unarrest_stick", "weapon_glock2", "stunstick", "door_ram", "weaponchecker"}, command = "cp", max = 6, salary = 70, admin = 0, vote = true, hasLicense = true, ammo = { ["pistol"] = 90, }, category = "Civil Protection",
})
TEAM_MAYOR = DarkRP.createJob("Maire", { color = Color(150, 20, 20, 255), model = "models/player/breen.mdl" description = [[]], weapons = {}, command = "mayor", max = 1, salary = 100, admin = 0, vote = true, hasLicense = false, mayor = true, category = "Civil Protection",
})
TEAM_GIGN = DarkRP.createJob("GIGN", { color = Color(0, 143, 247, 255), model = "models/gign remasteredhd.mdl" description = [[]], weapons = {}, command = "GIGN", max = 6, salary = 100, admin = 0, vote = true, hasLicense = true, ammo = { ["pistol"] = 90, }, category = "Civil Protection",
})
--[[---------------------------------------------------------------------------
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, [TEAM_GIGN] = true,
}
--[[---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_MOB)
 
Z3k4

Z3k4

Helpeur Divin
Messages
4 495
Score réaction
1 513
Points
580
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 jobs under the following line:
---------------------------------------------------------------------------]]
TEAM_CITIZEN = DarkRP.createJob("Citoyen", { color = Color(20, 150, 20, 255), model = { "models/player/Group01/Female_01.mdl", "models/player/Group01/Female_02.mdl", "models/player/Group01/Female_03.mdl", "models/player/Group01/Female_04.mdl", "models/player/Group01/Female_06.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" }, description = [[]], weapons = {}, command = "citizen", max = 0, salary = 50, admin = 0, vote = false, hasLicense = false, candemote = false, category = "Citizens",
})
TEAM_POLICE = DarkRP.createJob("Policier", { color = Color(25, 25, 170, 255), model = { "models/player/uk_police/uk_police_01.mdl", "models/player/uk_police/uk_police_02.mdl", "models/player/uk_police/uk_police_03.mdl", "models/player/uk_police/uk_police_04.mdl" } description = [[]], weapons = {"arrest_stick", "unarrest_stick", "weapon_glock2", "stunstick", "door_ram", "weaponchecker"}, command = "cp", max = 6, salary = 70, admin = 0, vote = true, hasLicense = true, ammo = { ["pistol"] = 90, }, category = "Civil Protection",
})
TEAM_MAYOR = DarkRP.createJob("Maire", { color = Color(150, 20, 20, 255), model = "models/player/breen.mdl", description = [[]], weapons = {}, command = "mayor", max = 1, salary = 100, admin = 0, vote = true, hasLicense = false, mayor = true, category = "Civil Protection",
})
TEAM_GIGN = DarkRP.createJob("GIGN", { color = Color(0, 143, 247, 255), model = "models/gign remasteredhd.mdl", description = [[]], weapons = {}, command = "GIGN", max = 6, salary = 100, admin = 0, vote = true, hasLicense = true, ammo = { ["pistol"] = 90, }, category = "Civil Protection",
})
--[[---------------------------------------------------------------------------
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, [TEAM_GIGN] = true,
}
--[[---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_MOB)
Essaye avec ça
 
  • Initiateur de la discussion
S

splazou

Bambi
Messages
6
Score réaction
0
Points
35
c'est fait mais j'ai toujours le même problème au niveau de la console sa m'affiche encore les erreur
 
Z3k4

Z3k4

Helpeur Divin
Messages
4 495
Score réaction
1 513
Points
580
Hmm je sais pas :x
 
  • Initiateur de la discussion
S

splazou

Bambi
Messages
6
Score réaction
0
Points
35
upload_2016-1-30_10-50-0.png
 
STRPP

STRPP

Geek
Messages
95
Score réaction
6
Points
85
Tu n'as tout simplement pas fermé la bracket "}" après les models . Regarde le texte en bleu il y a écrit : There is an opening bracket at line 52 but this bracket is never closed or not closed at time. It was expected it must be closed after the "description" . Ce qui veut dire que tu n'a pas fermé la bracket a la ligne 52 et qu'il faudrait surement a fermer après le mot "description" . Vérifie donc que tu as bien fermé toute les bracket "}" après le mot description .

En espérât t'avoir aidé.
 
  • Initiateur de la discussion
S

splazou

Bambi
Messages
6
Score réaction
0
Points
35
Je vais essayer mais c bizard car je les pas fait non plus sur les autre sa me le demande pas des que je peut je teste et je vous dit les nouvelles.
 
STRPP

STRPP

Geek
Messages
95
Score réaction
6
Points
85
D'accord très bien :)
 
Discord d'entraide
Rejoignz-nous sur Discord