- Initiateur de la discussion
SwiiD
Geek suprême
- Messages
- 334
- Score réaction
- 12
- Points
- 115
Bonjours,
j'essaye de crée des jobs voici mon job.lua :
--[[---------------------------------------------------------------------------
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 your custom jobs under the following line:
---------------------------------------------------------------------------]]
--]]
TEAM_AME = DarkRP.createJob("Âmes", {
color = Color(224, 242, 113, 255),
model = {"models/thresh/thresh.mdl"},
description = [[Vous êtes une Âme,vous devez choisir votre faction
Sayan , Empire,Namek,Autre ]],
weapons = {},
command = "ame",
max = ,
salary = ,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
category = "pocket",
NeedToChangeFrom = TEAM_AME
})
--[[---------------------------------------------------------------------------
Define which team joining players spawn into and what team you change to if demoted
---------------------------------------------------------------------------]]
GAMEMODE.DefaultTeam = TEAM_CITOYEN
--[[---------------------------------------------------------------------------
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,
}
--[[---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_MOB)
Comme vous pouvez voir j'ai mis un job,je reboot il y a pas le job,et il y a beaucoup de lua problême vous savez ce que j'ai fait ?
pourquoi il n'y pas le job ??
Merci,
j'essaye de crée des jobs voici mon job.lua :
--[[---------------------------------------------------------------------------
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 your custom jobs under the following line:
---------------------------------------------------------------------------]]
--]]
TEAM_AME = DarkRP.createJob("Âmes", {
color = Color(224, 242, 113, 255),
model = {"models/thresh/thresh.mdl"},
description = [[Vous êtes une Âme,vous devez choisir votre faction
Sayan , Empire,Namek,Autre ]],
weapons = {},
command = "ame",
max = ,
salary = ,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
category = "pocket",
NeedToChangeFrom = TEAM_AME
})
--[[---------------------------------------------------------------------------
Define which team joining players spawn into and what team you change to if demoted
---------------------------------------------------------------------------]]
GAMEMODE.DefaultTeam = TEAM_CITOYEN
--[[---------------------------------------------------------------------------
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,
}
--[[---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_MOB)
Comme vous pouvez voir j'ai mis un job,je reboot il y a pas le job,et il y a beaucoup de lua problême vous savez ce que j'ai fait ?
pourquoi il n'y pas le job ??
Merci,