- Initiateur de la discussion
brimox
Geek
- Messages
- 6
- Score réaction
- 0
- Points
- 80
Bonjour j'ai un problème quand je rejoint mon serv sa me dit
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 21.
The best help I can give you is this:
Right before the 'TEAM_CIT', Lua expected to read an '='-sign, but it didn't.
Hints:
- Did you simply forget the '='-sign?
- Did you forget a comma?
- Is this supposed to be a local variable?
------- End of Simplerr error -------
-----------------------------------------------------
--[[---------------------------------------------------------------------------
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:
For examples and explanation please visit this wiki page:
Add jobs under the following line:
---------------------------------------------------------------------------]]
ligne21-TEAM_CIT = DarkRP.createJob("Citoyen", {
color = Color(0, 0, 0, 255),
model = {
"models/humans/group02/player/tale_01.mdl",
"models/humans/group02/player/tale_03.mdl",
"models/humans/group02/player/tale_04.mdl",
"models/humans/group02/player/tale_05.mdl",
"models/humans/group02/player/tale_06.mdl",
"models/humans/group02/player/tale_07.mdl",
"models/humans/group02/player/tale_09.mdl",
"models/humans/group02/player/temale_01.mdl",
"models/humans/group02/player/temale_02.mdl",
"models/humans/group02/player/temale_07.mdl"
},
description = [[Vous êtes un citoyen]],
weapons = {"weapon_physcannon", "weapon_adv_keys", "surrender", "idcard", "weapon_fists", "gmod_camera", "gmod_tool", "weapon_physgun", "itemstore_pickup"},
command = "citoyen",
max = 0,
salary = 50,
admin = ,
vote = ,
hasLicense = ,
candemote = ,
category = "Civil",
NeedToChangeFrom = TEAM_CITOYEN
})
TEAM_SDF = DarkRP.createJob("SDF", {
color = Color(100, 168, 127, 255),
model = {"models/player/corpse1.mdl"},
description = [[]],
weapons = {"surrender", "weapon_bugbait"},
command = "sdf",
max = 4,
salary = 0,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = "Civil",
})
vous pouvez m'aider svp
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 21.
The best help I can give you is this:
Right before the 'TEAM_CIT', Lua expected to read an '='-sign, but it didn't.
Hints:
- Did you simply forget the '='-sign?
- Did you forget a comma?
- Is this supposed to be a local variable?
------- End of Simplerr error -------
-----------------------------------------------------
--[[---------------------------------------------------------------------------
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:
DarkRP/jobrelated.lua at master · FPtje/DarkRP
DarkRP, a non-serious roleplay gamemode for Garry's Mod. - DarkRP/jobrelated.lua at master · FPtje/DarkRP
github.com
For examples and explanation please visit this wiki page:
DarkRP:CustomJobFields - Official DarkRP Wiki
wiki.darkrp.com
Add jobs under the following line:
---------------------------------------------------------------------------]]
ligne21-TEAM_CIT = DarkRP.createJob("Citoyen", {
color = Color(0, 0, 0, 255),
model = {
"models/humans/group02/player/tale_01.mdl",
"models/humans/group02/player/tale_03.mdl",
"models/humans/group02/player/tale_04.mdl",
"models/humans/group02/player/tale_05.mdl",
"models/humans/group02/player/tale_06.mdl",
"models/humans/group02/player/tale_07.mdl",
"models/humans/group02/player/tale_09.mdl",
"models/humans/group02/player/temale_01.mdl",
"models/humans/group02/player/temale_02.mdl",
"models/humans/group02/player/temale_07.mdl"
},
description = [[Vous êtes un citoyen]],
weapons = {"weapon_physcannon", "weapon_adv_keys", "surrender", "idcard", "weapon_fists", "gmod_camera", "gmod_tool", "weapon_physgun", "itemstore_pickup"},
command = "citoyen",
max = 0,
salary = 50,
admin = ,
vote = ,
hasLicense = ,
candemote = ,
category = "Civil",
NeedToChangeFrom = TEAM_CITOYEN
})
TEAM_SDF = DarkRP.createJob("SDF", {
color = Color(100, 168, 127, 255),
model = {"models/player/corpse1.mdl"},
description = [[]],
weapons = {"surrender", "weapon_bugbait"},
command = "sdf",
max = 4,
salary = 0,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = "Civil",
})
vous pouvez m'aider svp