Commandes Police

  • Initiateur de la discussion Skyh
  • Date de début
  • Initiateur de la discussion
  • Banni
Skyh

Skyh

Bambi
Messages
28
Score réaction
1
Points
30
Bonsoir, j'aimerais savoirs comment faire pour que les Jobs de la TEAM_POLICE puissent avoir les commandes du types : Mettre un mandat, Recherché quelqun etc...

Merci, :p
 
Deadman69330

Deadman69330

Psychopathe
Messages
2 289
Score réaction
309
Points
290
Dans ton darkrpmodif, dans les jobs à la fin tu dois avoir une ligne avec écrit "Cops" ou quelque chose comme ça,

Tu a juste à mettre les teams que tu veut dedans
 
_Remax

_Remax

Geek
Messages
345
Score réaction
69
Points
80
Dans le jobs.lua tu as

Code:
GAMEMODE.CivilProtection = { [TEAM_POLICE] = true, [TEAM_CHIEF] = true, [TEAM_MAYOR] = true,
}
Tu rajoutes le nom de ta TEAM
 
  • J'aime
Réactions: Deadman69330
  • Initiateur de la discussion
  • Banni
Skyh

Skyh

Bambi
Messages
28
Score réaction
1
Points
30
_Remax à dit:
Dans le jobs.lua tu as

Code:
GAMEMODE.CivilProtection = { [TEAM_POLICE] = true, [TEAM_CHIEF] = true, [TEAM_MAYOR] = true,
}
Tu rajoutes le nom de ta TEAM
Dans le menu F4 je n'ai pas les commandes.
 
ZarosOVH

ZarosOVH

Modérateur
Membre du Staff
Messages
6 527
Score réaction
5 488
Points
1 295
  • Initiateur de la discussion
  • Banni
Skyh

Skyh

Bambi
Messages
28
Score réaction
1
Points
30
_Remax

_Remax

Geek
Messages
345
Score réaction
69
Points
80
\elitef4menu\lua\autorun\elite_config.lua

Ligne 13
Code:
 ELITE.AccessToCPCmds = { TEAM_POLICE, TEAM_CHIEF }
Tu rajoutes tes teams
 
  • Initiateur de la discussion
  • Banni
Skyh

Skyh

Bambi
Messages
28
Score réaction
1
Points
30
_Remax à dit:
\elitef4menu\lua\autorun\elite_config.lua

Ligne 13
Code:
 ELITE.AccessToCPCmds = { TEAM_POLICE, TEAM_CHIEF }
Tu rajoutes tes teams
J'ai deja mis le nom de ma TEAM_POLICE mes j'ai pas les commandes genre mettre un mandat , rechercher un joueur etc.
 
Deadman69330

Deadman69330

Psychopathe
Messages
2 289
Score réaction
309
Points
290
Skyh à dit:
J'ai deja mis le nom de ma TEAM_POLICE mes j'ai pas les commandes genre mettre un mandat , rechercher un joueur etc.
C'est dans Darkrpmodification
 
  • Initiateur de la discussion
  • Banni
Skyh

Skyh

Bambi
Messages
28
Score réaction
1
Points
30
Deadman69330 à dit:
C'est dans Darkrpmodification
Ma ligne CivilProtection Cops il y'a [TEAM_POLICE] = true, et il n'ya pas les commandes dans le menu F4 mettre un mandat , rechercher un joueur etc...
 
_Remax

_Remax

Geek
Messages
345
Score réaction
69
Points
80
Skyh à dit:
Ma ligne CivilProtection Cops il y'a [TEAM_POLICE] = true, et il n'ya pas les commandes dans le menu F4 mettre un mandat , rechercher un joueur etc...
Donne la configuration de tes jobs dans une balise code
Donne le nom de la TEAM
Et donne ta configuration du Elite F4 menu
 
  • Initiateur de la discussion
  • Banni
Skyh

Skyh

Bambi
Messages
28
Score réaction
1
Points
30
_Remax à dit:
Donne la configuration de tes jobs dans une balise code
Donne le nom de la TEAM
Et donne ta configuration du Elite F4 menu
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_POLICE = DarkRP.createJob("Raid", { color = Color(12, 6, 250, 255), model = {"models/player/r6s_doc.mdl"}, description = [[Vous devez intervenir pour des opérations sensible.]], weapons = {"weapon_eginventory_checker", "weapon_r_handcuffs", "weapon_arc_atmcard", "m9k_scar", "pass_police_nationale", "stunstick", "weaponchecker", "door_ram", "stungun", "weapon_eginventory"}, command = "intervention", max = 5, salary = 150, admin = 0, vote = true, hasLicense = true, candemote = true,
})
TEAM_POLICE = DarkRP.createJob("[VIP] Sniper Du RAID", { color = Color(9, 75, 209, 255), model = {"models/player/r6s_doc.mdl"}, description = [[Vous etes le Sniper Du RAID]], weapons = {"weapon_eginventory_checker", "weapon_eginventory", "realistic_hook", "weapon_arc_atmcard", "weapon_r_handcuffs", "m9k_scar", "m9k_dragunov", "pass_police_nationale", "stunstick", "weaponchecker", "door_ram", "stungun"}, command = "intervenir", max = 2, salary = 100, admin = 0, vote = true, hasLicense = true, candemote = true, PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) DarkRP.notifyAll(0, 4, "") end, customCheck = function(ply) return table.HasValue({"vip", "helpeur", "modotest", "modo", "admin", "superadmin", "assistant"}, ply:GetNWString("usergroup")) end, CustomCheckFailMsg = "CE METIER EST POUR LES VIP !",
})
TEAM_MEDECIN = DarkRP.createJob("Medecin ", { color = Color(12, 6, 250, 255), model = {"models/11thdoctor/thedoctor.mdl"}, description = [[Vous devez soigner des gens.]], weapons = {"weapon_eginventory", "weapon_arc_atmcard", "weapon_medkit"}, command = "soignier", max = 2, salary = 50, admin = 0, vote = true, hasLicense = true, candemote = true,
})
TEAM_POLICE = DarkRP.createJob("[VIP] Agent De La BAC", { color = Color(9, 75, 209, 255), model = {"models/11thdoctor/thedoctor.mdl"}, description = [[Vous etes Agent De La BAC ]], weapons = {"weapon_eginventory", "weapon_eginventory_checker", "weapon_arc_atmcard", "pass_police_nationale", "weapon_r_handcuffs", "m9k_deagle", "stunstick", "weaponchecker", "door_ram", "stungun"}, command = "bac", max = 3, salary = 85, admin = 0, vote = true, hasLicense = true, candemote = true, PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) DarkRP.notifyAll(0, 4, "") end, customCheck = function(ply) return table.HasValue({"vip", "helpeur", "modotest", "modo", "admin", "superadmin", "assistant"}, ply:GetNWString("usergroup")) end, CustomCheckFailMsg = "CE METIER EST POUR LES VIP !",
})
TEAM_PSYCHO = DarkRP.createJob("[VIP] Psychopate", { color = Color(255, 0, 29, 255), model = { "models/player/portal/male_08_snow.mdl", "models/player/portal/male_09_snow.mdl" }, description = [[Vous etes un Psychopate]], weapons = {"weapon_eginventory", "weapon_arc_atmcard", "csgo_m9_marblefade", "weapon_crowbar", "m9k_harpoon"}, command = "psycho", max = 1, salary = 20, admin = 0, vote = true, hasLicense = false, candemote = true, PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) DarkRP.notifyAll(0, 4, "") end, customCheck = function(ply) return table.HasValue({"vip", "helpeur", "modotest", "modo", "admin", "superadmin", "assistant"}, ply:GetNWString("usergroup")) end, CustomCheckFailMsg = "CE METIER EST POUR LES VIP !",
})
TEAM_SECURITE = DarkRP.createJob("Agent de Securite", { color = Color(12, 6, 250, 255), model = { "models/player/guard_pack/guard_01.mdl", "models/player/guard_pack/guard_02.mdl" }, description = [[Vous devez protégez une boutique..]], weapons = {"weapon_eginventory", "weapon_eginventory_checker", "stungun", "weaponchecker", "weapon_arc_atmcard"}, command = "safe", max = 3, salary = 30, admin = 0, vote = true, hasLicense = true, candemote = true,
})
TEAM_VIOL = DarkRP.createJob("[VIP] Violeur", { color = Color(20, 7, 8, 255), model = {"models/player/zelpa/male_10.mdl"}, description = [[Vous etes un Violeur]], weapons = {"weapon_eginventory", "weapon_kiss", "weapon_rape", "weapon_arc_atmcard"}, command = "viol", max = 1, salary = 15, admin = 0, vote = true, hasLicense = false, candemote = true, PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) DarkRP.notifyAll(0, 4, "") end, customCheck = function(ply) return table.HasValue({"vip", "helpeur", "modotest", "modo", "admin", "superadmin", "assistant"}, ply:GetNWString("usergroup")) end, CustomCheckFailMsg = "CE METIER EST POUR LES VIP !",
})
TEAM_JEU = DarkRP.createJob("[VIP] Organisateur De Jeux", { color = Color(20, 176, 116, 255), model = {"models/humans/group02/player/tale_06.mdl"}, description = [[Vous etes un Organisateur]], weapons = {"weapon_eginventory", "weapon_roulette", "weapon_arc_atmcard"}, command = "jeux", max = 1, salary = 30, admin = 0, vote = true, hasLicense = false, candemote = true, PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) DarkRP.notifyAll(0, 4, "") end, customCheck = function(ply) return table.HasValue({"vip", "helpeur", "modotest", "modo", "admin", "superadmin", "assistant"}, ply:GetNWString("usergroup")) end, CustomCheckFailMsg = "CE METIER EST POUR LES VIP !",
})
TEAM_TER = DarkRP.createJob("[VIP] Terroriste", { color = Color(130, 8, 36, 255), model = { "models/player/kuma/taliban_rpg.mdl", "models/player/kuma/taliban_grunt.mdl" }, description = [[Vous etes un Terroriste]], weapons = {"weapon_eginventory", "weapon_jihadbomb", "m9k_ak47", "m9k_rpg7", "weapon_arc_atmcard"}, command = "terro", max = 2, salary = 10, admin = 0, vote = true, hasLicense = false, candemote = true, PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) DarkRP.notifyAll(0, 4, "") end, customCheck = function(ply) return table.HasValue({"vip", "helpeur", "modotest", "modo", "admin", "superadmin", "assistant"}, ply:GetNWString("usergroup")) end, CustomCheckFailMsg = "CE METIER EST POUR LES VIP !",
})
TEAM_BLOO = DarkRP.createJob("Bloodz", { color = Color(12, 6, 250, 255), model = { "models/player/bloodz/slow_1.mdl", "models/player/bloodz/slow_2.mdl", "models/player/bloodz/slow_3.mdl" }, description = [[Vous etes Bloodz.]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "blo", max = 5, salary = 10, admin = 0, vote = true, hasLicense = false, candemote = true,
})
TEAM_FABRIQ = DarkRP.createJob("Fabriquant de Drogue", { color = Color(12, 6, 250, 255), model = {"models/bloocobalt/splintercell/chemsuit_cod.mdl"}, description = [[Vous etes Fabriquant.]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "fab", max = 3, salary = 10, admin = 0, vote = true, hasLicense = false, candemote = true,
})
TEAM_POLICE = DarkRP.createJob("[VIP] Comissaire", { color = Color(24, 22, 214, 255), model = {"models/player/police_agent/commissaire_01.mdl"}, description = [[Vous etes le Comissaire]], weapons = {"weapon_eginventory", "weapon_eginventory_checker", "weapon_arc_atmcard", "weapon_r_handcuffs", "weapon_stungun", "m9k_dbarrel", "pass_police_nationale", "stunstick", "weaponchecker", "door_ram", "stungun"}, command = "comi", max = 1, salary = 90, admin = 0, vote = true, hasLicense = true, candemote = true, PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) DarkRP.notifyAll(0, 4, "") end, customCheck = function(ply) return table.HasValue({"vip", "helpeur", "modotest", "modo", "admin", "superadmin", "assistant"}, ply:GetNWString("usergroup")) end, CustomCheckFailMsg = "CE METIER EST POUR LES VIP !",
})
TEAM_POLICE = DarkRP.createJob("[VIP] Chef Du RAID", { color = Color(24, 22, 214, 255), model = {"models/gignremasteredhd.mdl"}, description = [[Vous etes le Chef Du RAID]], weapons = {"weapon_eginventory", "weapon_arc_atmcard", "stunstick", "door_ram", "weaponchecker", "weapon_r_handcuffs", "m9k_jackhammer", "m9k_honeybadger", "stungun", "policebadge", "weapon_eginventory_checker"}, command = "chiefraid", max = 1, salary = 100, admin = 0, vote = true, hasLicense = true, candemote = true, PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) DarkRP.notifyAll(0, 4, "") end, customCheck = function(ply) return table.HasValue({"vip", "helpeur", "modotest", "modo", "admin", "superadmin", "assistant"}, ply:GetNWString("usergroup")) end, CustomCheckFailMsg = "CE METIER EST POUR LES VIP !",
})
TEAM_VIC = DarkRP.createJob("Victime", { color = Color(12, 6, 250, 255), model = {"models/obese_male.mdl"}, description = [[Vous etes une Victime.]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "vict", max = 3, salary = 50, admin = 0, vote = true, hasLicense = false, candemote = true,
})
TEAM_TRUMP = DarkRP.createJob("Maire", { color = Color(37, 172, 214, 255), model = {"models/player/donald_trump.mdl"}, description = [[Vous etes le Maire]], weapons = {"weapon_eginventory_checker", "weapon_arc_atmcard", "weapon_eginventory", "m9k_colt1911"}, command = "mayortrump", max = 1, salary = 130, admin = 0, vote = false, hasLicense = true, candemote = false, mayor = true, PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) DarkRP.notifyAll(0, 4, "Le Maire Est Mort !") end
})
TEAM_TAXI = DarkRP.createJob("Chauffeur de Taxi", { color = Color(176, 184, 10, 255), model = {"models/player/Group02/male_06.mdl"}, description = [[Prenez votre taxi et conduisez des gens ou ils veulent gratuitement ou payant]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "taxichauffeur", max = 3, salary = 25, admin = 0, vote = false, hasLicense = false, candemote = true,
})
TEAM_BANQUIER = DarkRP.createJob("Banquier", { color = Color(131, 0, 0, 255), model = {"models/taggart/gallahan.mdl", "models/humans/suitfem/female_02.mdl", "models/player/female_02_suit.mdl"}, description = [[Vous devez créer une banque pour garder des printers et vous en occupé...]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "bank", max = 1, salary = 80, admin = 0, vote = false, hasLicense = false, candemote = true,
})
TEAM_CHIEN = DarkRP.createJob("[VIP] Chien", { color = Color(219, 214, 36, 255), model = {"models/doge_player/doge_player.mdl"}, description = [[Vous etes un Chien]], weapons = {"dogbite", "weapon_eginventory"}, command = "chiens", max = 3, salary = 0, admin = 0, vote = true, hasLicense = false, candemote = true, PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) DarkRP.notifyAll(0, 4, "") end, customCheck = function(ply) return table.HasValue({"vip", "helpeur", "modotest", "modo", "admin", "superadmin", "assistant"}, ply:GetNWString("usergroup")) end, CustomCheckFailMsg = "CE METIER EST POUR LES VIP !",
})
TEAM_BUS = DarkRP.createJob("Chauffeur de Bus", { color = Color(17, 17, 225, 255), model = {"models/people/group01/male_11.mdl"}, description = [[Il conduit son bus, prends les passagers...]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "bus", max = 1, salary = 65, category = "Citoyen", admin = 0, vote = false, hasLicense = false,
})
TEAM_YAKUZA = DarkRP.createJob("Yakuza", { color = Color(224, 230, 24, 255), model = {"models/sd/players/[dbs_brawler]-head_brawler_dbs.mdl", "models/sd/players/[dbs_brawler_2]-head_brawler_dbs.mdl", "models/sd/players/[dbs_grappler].mdl", "models/sd/players/[dbs_quick]-head_quick_dbs_2.mdl", "models/sd/players/[dbs_grappler_2].mdl"}, description = [[Vous etes un Yakuza.]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "yakuz", max = 5, salary = 30, admin = 0, vote = true, hasLicense = false, candemote = true
})
TEAM_STAFF = DarkRP.createJob("Staff", { color = Color(0, 255, 255, 255), model = {"models/player/anon/anon.mdl"}, description = [[Vous etes un Staff]], weapons = {"weapon_eginventory", "weapon_eginventory_checker", "adminstick", "stungun", "weapon_arc_atmcard"}, command = "staffadmin", max = 0, salary = 100, admin = 0, vote = false, hasLicense = true, candemote = false, customCheck = function(ply) return table.HasValue({"helpeur", "modotest", "modo", "admin", "superadmin", "assistant"}, ply:GetNWString("usergroup")) end, CustomCheckFailMsg = "CE METIER EST POUR LE STAFF !",
})
TEAM_VENDEUR3 = DarkRP.createJob("[STAFF][ADMIN] Vendeur D'Hoverboards", { color = Color(34, 208, 233, 255), model = {"models/jessev92/player/l4d/m9-hunter.mdl"}, description = [[Vous etes un Vendeur.]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "vendrehover", max = 1, salary = 5, admin = 1, vote = true, hasLicense = false, candemote = true
})
TEAM_HACKER = DarkRP.createJob("[VIP] Hackeur", { color = Color(21, 85, 21, 255), model = {"models/player/aiden_pearce.mdl"}, description = [[Il hack des choses pour ou contre la police.]], weapons = {"keypad_cracker", "weapon_hack_phone", "weapon_arc_atmcard", "weapon_arc_atmhack", "weapon_eginventory"}, command = "hack", max = 2, salary = 35, admin = 0, category = "Citoyen", vote = false, hasLicense = false,
})
TEAM_TRAFIC = DarkRP.createJob("Vendeur D'armes Illegal", { color = Color(29, 4, 6, 255), model = {"models/niko_bellic/slow.mdl"}, description = [[Vous etes un Trafiquant.]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "trafic1", max = 2, salary = 30, admin = 0, vote = true, hasLicense = false, candemote = true
})
TEAM_VENDEUR = DarkRP.createJob("[VIP] Vendeur De Vapes", { color = Color(33, 255, 0, 255), model = {"models/half-dead/gopniks/slav.mdl"}, description = [[Vous etes un Vendeur.]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "vendeurvapes", max = 2, salary = 30, admin = 0, vote = true, hasLicense = false, candemote = true
})
TEAM_TUEUR = DarkRP.createJob("Tueur a gage", { color = Color(12, 6, 250, 255), model = {"models/player/smith.mdl"}, description = [[Vous etes un Tueur.]], weapons = {"m9k_aw50", "weapon_arc_atmcard", "weapon_eginventory"}, command = "tueurgage", max = 1, salary = 50, admin = 0, vote = true, hasLicense = false, candemote = true,
})
TEAM_CLOWN = DarkRP.createJob("[VIP] Clown Tueur", { color = Color(235, 71, 58, 255), model = {"models/ninja/l4d2/clown/clown.mdl"}, description = [[Vous etes comme un psychopate.]], weapons = {"rchainsaw", "weapon_arc_atmcard", "weapon_eginventory"}, command = "clownt", max = 1, salary = 20, admin = 0, vote = true, hasLicense = false, candemote = true,
})
TEAM_ENFANT = DarkRP.createJob("Enfant", { color = Color(13, 235, 130, 255), model = {"models/lucius.mdl"}, description = [[Vous etes un Enfant.]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "kids", max = 2, salary = 5, admin = 0, vote = true, hasLicense = false, candemote = true,
})
TEAM_ENFANT2 = DarkRP.createJob("[VIP] Enfant Bizarre", { color = Color(146, 12, 12, 255), model = {"models/player/dewobedil/chucky/chucky.mdl"}, description = [[Vous etes un Enfant Bizarre.]], weapons = {"weapon_arc_atmcard", "m9k_knife", "weapon_eginventory"}, command = "kids2", max = 2, salary = 3, admin = 0, vote = true, hasLicense = false, candemote = true,
})
TEAM_TRAFIC = DarkRP.createJob("[VIP] Trafiquant D'Organes", { color = Color(255, 0, 0, 255), model = {"models/sirgibs/ragdolls/detective_magnusson_player.mdl"}, description = [[Vous etes un Trafiquant D'organes]], weapons = {"weapon_arc_atmcard", "m9k_knife", "weapon_eginventory", "scalpel"}, command = "organes", max = 2, salary = 10, admin = 0, vote = true, hasLicense = false, candemote = true,
})
TEAM_PETROL = DarkRP.createJob("[VIP] Petrolier", { color = Color(14, 4, 4, 255), model = { "models/player/zelpa/male_03.mdl", "models/player/zelpa/male_11.mdl" }, description = [[Vous etes un Petrolier.]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "essence", max = 2, salary = 40, admin = 0, vote = true, hasLicense = false, candemote = true,
})
TEAM_FERME = DarkRP.createJob("Fermier", { color = Color(248, 229, 34, 255), model = {"models/sirgibs/ragdolls/hl2/fisherman.mdl"}, description = [[Vous etes un Fermier.]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "farm", max = 3, salary = 10, admin = 0, vote = true, hasLicense = false, candemote = true,
})
TEAM_VOLEUR = DarkRP.createJob("Voyou", { color = Color(52, 52, 20, 255), model = {"models/jessev92/player/l4d/m9-hunter.mdl"}, description = [[Vous etes un Voyou.]], weapons = {"weapon_eginventory", "weapon_eginventory_pickpocket", "lockpick", "keypad_cracker", "pickpocket", "weapon_arc_atmcard"}, command = "vols", max = 4, salary = 20, admin = 0, vote = true, hasLicense = false, candemote = true
})
TEAM_GANG = DarkRP.createJob("Cripz", { color = Color(12, 6, 250, 255), model = { "models/player/cripz/slow_1.mdl", "models/player/cripz/slow_2.mdl", "models/player/cripz/slow_3.mdl" }, description = [[Vous etes Cripz.]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "crip", max = 5, salary = 10, admin = 0, vote = true, hasLicense = false, candemote = true,
})
TEAM_SPINNER = DarkRP.createJob("[VIP] Vendeur De HandSpinner", { color = Color(38, 169, 55, 255), model = {"models/snoopdogg.mdl"}, description = [[Vous etes un Vendeur de HandSpinner.]], weapons = {"weapon_arc_atmcard"}, command = "spinner", max = 2, salary = 25, admin = 0, vote = true, hasLicense = false, candemote = true
})
--[[---------------------------------------------------------------------------
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,
}
--[[---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_TUEUR)

TEAM_POLICE

Code:
ELITE = {}
ELITE.StaffListRanks = { "superadmin", "admin" , "Fondateur" , "co-fondateur" , "Moderateur" } -- What ULX ranks to show on the "Staff Online" list.
ELITE.ShowFoodTab = true -- Make sure Hungermod is enabled, otherwise this will give you errors!
ELITE.VIPJobCheckbox = true -- Whether or not to show the "Show VIP Jobs" checkbox on the jobs tab. (The checkbox is based on the jobs that have a customCheck)
ELITE.OpenWebsiteInOverlay = false -- If this is true, the website will open in Steam overlay, if false, it will open in the F4 menu.
ELITE.WebsiteURL = "akariaforum.mtxserv.fr" -- Website that opens when clicking the "Website" button, make sure you include "http://"!
timer.Simple( 1, function() -- Don't screw with this timer, but you may change the tables inside. ELITE.AccessToCPCmds = { TEAM_POLICE, TEAM_CHIEF } ELITE.AccessToMayorCmds = { TEAM_MAYOR }
end)
-- Adding Commands Buttons (Advanced)

MONEYCMD_BUTTONS = {}
RPCMD_BUTTONS = {}
CPCMD_BUTTONS = {}
MAYORCMD_BUTTONS = {}
OTHERCMD_BUTTONS = {}
local function AddSidebarButton( n, f ) table.insert(WEB_BUTTONS, { Title = n, Func = f } )
end
local function MenuAddMButton( n, f ) table.insert(MONEYCMD_BUTTONS, { NAME = n, FUNC = f } )
end
local function MenuAddRPButton( n, f ) table.insert(RPCMD_BUTTONS, { NAME = n, FUNC = f } )
end
local function MenuAddCPButton( n, f ) table.insert(CPCMD_BUTTONS, { NAME = n, FUNC = f } )
end
local function MenuAddMayorButton( n, f ) table.insert(MAYORCMD_BUTTONS, { NAME = n, FUNC = f } )
end
local function MenuAddOtherButton( n, f ) table.insert(OTHERCMD_BUTTONS, { NAME = n, FUNC = f } )
end
--First Section
MenuAddMButton( "Donner de l'argent au joueur que je regarde", function() OpenTextBox( "Donner de l'argent", "Combien d'argent voulez-vous donner a ce joueur ?", "/give" ) end )
MenuAddMButton( "Jeter de l'argent", function() OpenTextBox( "Jeter de l'argent", "Combien d'argent voulez-vous jeter ?", "/moneydrop" ) end )
--MenuAddMButton( "Buy Health", function() RunConsoleCommand( "say", "/buyhealth" ) end )
--Second Section
MenuAddRPButton( "Changer de Nom RP", function() OpenTextBox( "Changer de Nom", "Quel Nom RP voulez-vous mettre ?", "/rpname" ) end )
--MenuAddRPButton( "Dormir / Se lever", function() RunConsoleCommand( "say", "/sleep" ) end )
MenuAddRPButton( "Jeter son arme", function() RunConsoleCommand( "say", "/drop" ) end )
MenuAddRPButton( "Demander une licence d'arme", function() RunConsoleCommand( "say", "/requestlicense" ) end )
MenuAddRPButton( "Demander le permis de conduire", function() RunConsoleCommand( "say", "/requestpermis" ) end )
MenuAddRPButton( "Rétrograder un joueur", function() OpenPlyReasonBox( "Rétrograder un joueur", "Quel joueur voulez-vous retrograder ?", "Pourquoi voulez-vous pour rétrograder ce joueur ?", "/demote" ) end )
MenuAddRPButton( "Vendre toutes ces portes", function() RunConsoleCommand( "say", "/unownalldoors" ) end )
MenuAddCPButton( "Mettre un avis de recherche sur un joueur", function() OpenPlyReasonBox( "Mettre un avis de recherche", "Sur quel joueur voulez-vous mettre un avis de recherche ?", "Pourquoi voulez-vous lui mettre un avis de recherche ?", "/wanted" ) end )
MenuAddCPButton( "Enlever un avis de recherche sur un joueur", function() OpenPlyBox( "Enlever un avis de recherche", "Sur quel joueur voulez-vous enlever un avis de recherche ?", "/unwanted" ) end )
MenuAddCPButton( "Mettre un mandat sur un joueur", function() OpenPlyReasonBox( "Mettre un mandat", "Sur quel joueur voulez-vous mettre un mandat ?", "Pourquoi voulez-vous lui mettre un mandat ?", "/warrant" ) end )
MenuAddCPButton( "Rédiger un rapport de Police", function() RunConsoleCommand( "say", "/policereport" ) end )
MenuAddMayorButton( "Mettre un avis de recherche sur un joueur", function() OpenPlyReasonBox( "Mettre un avis de recherche", "Sur quel joueur voulez-vous mettre un avis de recherche ?", "Pourquoi voulez-vous lui mettre un avis de recherche ?", "/wanted" ) end )
MenuAddMayorButton( "Enlever un avis de recherche sur un joueur", function() OpenPlyBox( "Enlever un avis de recherche", "Sur quel joueur voulez-vous enlever un avis de recherche ?", "/unwanted" ) end )
MenuAddMayorButton( "Mettre un mandat sur un joueur", function() OpenPlyReasonBox( "Mettre un mandat", "Sur quel joueur voulez-vous mettre un mandat ?", "Pourquoi voulez-vous lui mettre un mandat ?", "/warrant" ) end )
MenuAddMayorButton( "Initier un Couvre-Feu", function() RunConsoleCommand( "say", "/lockdown" ) end )
MenuAddMayorButton( "Arreter le Couvre-Feu", function() RunConsoleCommand( "say", "/unlockdown" ) end )
MenuAddMayorButton( "Placer le tableau de lois", function() RunConsoleCommand( "say", "/placelaws" ) end )
MenuAddMayorButton( "Ajouter une loi", function() OpenTextBox( "Ajouter une loi", "Quelle nouvelle loi voulez-vous presenter ?", "/addlaw" ) end )
MenuAddMayorButton( "Enlever une loi", function() OpenTextBox( "Enlever une loi", "Quelle nouvelle loi voulez-vous enlever ?", "/removelaw" ) end )
MenuAddMayorButton( "Rédiger un rapport de Police", function() RunConsoleCommand( "say", "/policereport" ) end )
MenuAddOtherButton( "Say I'm Swaggy", function() RunConsoleCommand( "say", "I'm swaggy" ) end )
 
_Remax

_Remax

Geek
Messages
345
Score réaction
69
Points
80
Skyh à dit:
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_POLICE = DarkRP.createJob("Raid", { color = Color(12, 6, 250, 255), model = {"models/player/r6s_doc.mdl"}, description = [[Vous devez intervenir pour des opérations sensible.]], weapons = {"weapon_eginventory_checker", "weapon_r_handcuffs", "weapon_arc_atmcard", "m9k_scar", "pass_police_nationale", "stunstick", "weaponchecker", "door_ram", "stungun", "weapon_eginventory"}, command = "intervention", max = 5, salary = 150, admin = 0, vote = true, hasLicense = true, candemote = true,
})
TEAM_POLICE = DarkRP.createJob("[VIP] Sniper Du RAID", { color = Color(9, 75, 209, 255), model = {"models/player/r6s_doc.mdl"}, description = [[Vous etes le Sniper Du RAID]], weapons = {"weapon_eginventory_checker", "weapon_eginventory", "realistic_hook", "weapon_arc_atmcard", "weapon_r_handcuffs", "m9k_scar", "m9k_dragunov", "pass_police_nationale", "stunstick", "weaponchecker", "door_ram", "stungun"}, command = "intervenir", max = 2, salary = 100, admin = 0, vote = true, hasLicense = true, candemote = true, PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) DarkRP.notifyAll(0, 4, "") end, customCheck = function(ply) return table.HasValue({"vip", "helpeur", "modotest", "modo", "admin", "superadmin", "assistant"}, ply:GetNWString("usergroup")) end, CustomCheckFailMsg = "CE METIER EST POUR LES VIP !",
})
TEAM_MEDECIN = DarkRP.createJob("Medecin ", { color = Color(12, 6, 250, 255), model = {"models/11thdoctor/thedoctor.mdl"}, description = [[Vous devez soigner des gens.]], weapons = {"weapon_eginventory", "weapon_arc_atmcard", "weapon_medkit"}, command = "soignier", max = 2, salary = 50, admin = 0, vote = true, hasLicense = true, candemote = true,
})
TEAM_POLICE = DarkRP.createJob("[VIP] Agent De La BAC", { color = Color(9, 75, 209, 255), model = {"models/11thdoctor/thedoctor.mdl"}, description = [[Vous etes Agent De La BAC ]], weapons = {"weapon_eginventory", "weapon_eginventory_checker", "weapon_arc_atmcard", "pass_police_nationale", "weapon_r_handcuffs", "m9k_deagle", "stunstick", "weaponchecker", "door_ram", "stungun"}, command = "bac", max = 3, salary = 85, admin = 0, vote = true, hasLicense = true, candemote = true, PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) DarkRP.notifyAll(0, 4, "") end, customCheck = function(ply) return table.HasValue({"vip", "helpeur", "modotest", "modo", "admin", "superadmin", "assistant"}, ply:GetNWString("usergroup")) end, CustomCheckFailMsg = "CE METIER EST POUR LES VIP !",
})
TEAM_PSYCHO = DarkRP.createJob("[VIP] Psychopate", { color = Color(255, 0, 29, 255), model = { "models/player/portal/male_08_snow.mdl", "models/player/portal/male_09_snow.mdl" }, description = [[Vous etes un Psychopate]], weapons = {"weapon_eginventory", "weapon_arc_atmcard", "csgo_m9_marblefade", "weapon_crowbar", "m9k_harpoon"}, command = "psycho", max = 1, salary = 20, admin = 0, vote = true, hasLicense = false, candemote = true, PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) DarkRP.notifyAll(0, 4, "") end, customCheck = function(ply) return table.HasValue({"vip", "helpeur", "modotest", "modo", "admin", "superadmin", "assistant"}, ply:GetNWString("usergroup")) end, CustomCheckFailMsg = "CE METIER EST POUR LES VIP !",
})
TEAM_SECURITE = DarkRP.createJob("Agent de Securite", { color = Color(12, 6, 250, 255), model = { "models/player/guard_pack/guard_01.mdl", "models/player/guard_pack/guard_02.mdl" }, description = [[Vous devez protégez une boutique..]], weapons = {"weapon_eginventory", "weapon_eginventory_checker", "stungun", "weaponchecker", "weapon_arc_atmcard"}, command = "safe", max = 3, salary = 30, admin = 0, vote = true, hasLicense = true, candemote = true,
})
TEAM_VIOL = DarkRP.createJob("[VIP] Violeur", { color = Color(20, 7, 8, 255), model = {"models/player/zelpa/male_10.mdl"}, description = [[Vous etes un Violeur]], weapons = {"weapon_eginventory", "weapon_kiss", "weapon_rape", "weapon_arc_atmcard"}, command = "viol", max = 1, salary = 15, admin = 0, vote = true, hasLicense = false, candemote = true, PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) DarkRP.notifyAll(0, 4, "") end, customCheck = function(ply) return table.HasValue({"vip", "helpeur", "modotest", "modo", "admin", "superadmin", "assistant"}, ply:GetNWString("usergroup")) end, CustomCheckFailMsg = "CE METIER EST POUR LES VIP !",
})
TEAM_JEU = DarkRP.createJob("[VIP] Organisateur De Jeux", { color = Color(20, 176, 116, 255), model = {"models/humans/group02/player/tale_06.mdl"}, description = [[Vous etes un Organisateur]], weapons = {"weapon_eginventory", "weapon_roulette", "weapon_arc_atmcard"}, command = "jeux", max = 1, salary = 30, admin = 0, vote = true, hasLicense = false, candemote = true, PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) DarkRP.notifyAll(0, 4, "") end, customCheck = function(ply) return table.HasValue({"vip", "helpeur", "modotest", "modo", "admin", "superadmin", "assistant"}, ply:GetNWString("usergroup")) end, CustomCheckFailMsg = "CE METIER EST POUR LES VIP !",
})
TEAM_TER = DarkRP.createJob("[VIP] Terroriste", { color = Color(130, 8, 36, 255), model = { "models/player/kuma/taliban_rpg.mdl", "models/player/kuma/taliban_grunt.mdl" }, description = [[Vous etes un Terroriste]], weapons = {"weapon_eginventory", "weapon_jihadbomb", "m9k_ak47", "m9k_rpg7", "weapon_arc_atmcard"}, command = "terro", max = 2, salary = 10, admin = 0, vote = true, hasLicense = false, candemote = true, PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) DarkRP.notifyAll(0, 4, "") end, customCheck = function(ply) return table.HasValue({"vip", "helpeur", "modotest", "modo", "admin", "superadmin", "assistant"}, ply:GetNWString("usergroup")) end, CustomCheckFailMsg = "CE METIER EST POUR LES VIP !",
})
TEAM_BLOO = DarkRP.createJob("Bloodz", { color = Color(12, 6, 250, 255), model = { "models/player/bloodz/slow_1.mdl", "models/player/bloodz/slow_2.mdl", "models/player/bloodz/slow_3.mdl" }, description = [[Vous etes Bloodz.]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "blo", max = 5, salary = 10, admin = 0, vote = true, hasLicense = false, candemote = true,
})
TEAM_FABRIQ = DarkRP.createJob("Fabriquant de Drogue", { color = Color(12, 6, 250, 255), model = {"models/bloocobalt/splintercell/chemsuit_cod.mdl"}, description = [[Vous etes Fabriquant.]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "fab", max = 3, salary = 10, admin = 0, vote = true, hasLicense = false, candemote = true,
})
TEAM_POLICE = DarkRP.createJob("[VIP] Comissaire", { color = Color(24, 22, 214, 255), model = {"models/player/police_agent/commissaire_01.mdl"}, description = [[Vous etes le Comissaire]], weapons = {"weapon_eginventory", "weapon_eginventory_checker", "weapon_arc_atmcard", "weapon_r_handcuffs", "weapon_stungun", "m9k_dbarrel", "pass_police_nationale", "stunstick", "weaponchecker", "door_ram", "stungun"}, command = "comi", max = 1, salary = 90, admin = 0, vote = true, hasLicense = true, candemote = true, PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) DarkRP.notifyAll(0, 4, "") end, customCheck = function(ply) return table.HasValue({"vip", "helpeur", "modotest", "modo", "admin", "superadmin", "assistant"}, ply:GetNWString("usergroup")) end, CustomCheckFailMsg = "CE METIER EST POUR LES VIP !",
})
TEAM_POLICE = DarkRP.createJob("[VIP] Chef Du RAID", { color = Color(24, 22, 214, 255), model = {"models/gignremasteredhd.mdl"}, description = [[Vous etes le Chef Du RAID]], weapons = {"weapon_eginventory", "weapon_arc_atmcard", "stunstick", "door_ram", "weaponchecker", "weapon_r_handcuffs", "m9k_jackhammer", "m9k_honeybadger", "stungun", "policebadge", "weapon_eginventory_checker"}, command = "chiefraid", max = 1, salary = 100, admin = 0, vote = true, hasLicense = true, candemote = true, PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) DarkRP.notifyAll(0, 4, "") end, customCheck = function(ply) return table.HasValue({"vip", "helpeur", "modotest", "modo", "admin", "superadmin", "assistant"}, ply:GetNWString("usergroup")) end, CustomCheckFailMsg = "CE METIER EST POUR LES VIP !",
})
TEAM_VIC = DarkRP.createJob("Victime", { color = Color(12, 6, 250, 255), model = {"models/obese_male.mdl"}, description = [[Vous etes une Victime.]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "vict", max = 3, salary = 50, admin = 0, vote = true, hasLicense = false, candemote = true,
})
TEAM_TRUMP = DarkRP.createJob("Maire", { color = Color(37, 172, 214, 255), model = {"models/player/donald_trump.mdl"}, description = [[Vous etes le Maire]], weapons = {"weapon_eginventory_checker", "weapon_arc_atmcard", "weapon_eginventory", "m9k_colt1911"}, command = "mayortrump", max = 1, salary = 130, admin = 0, vote = false, hasLicense = true, candemote = false, mayor = true, PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) DarkRP.notifyAll(0, 4, "Le Maire Est Mort !") end
})
TEAM_TAXI = DarkRP.createJob("Chauffeur de Taxi", { color = Color(176, 184, 10, 255), model = {"models/player/Group02/male_06.mdl"}, description = [[Prenez votre taxi et conduisez des gens ou ils veulent gratuitement ou payant]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "taxichauffeur", max = 3, salary = 25, admin = 0, vote = false, hasLicense = false, candemote = true,
})
TEAM_BANQUIER = DarkRP.createJob("Banquier", { color = Color(131, 0, 0, 255), model = {"models/taggart/gallahan.mdl", "models/humans/suitfem/female_02.mdl", "models/player/female_02_suit.mdl"}, description = [[Vous devez créer une banque pour garder des printers et vous en occupé...]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "bank", max = 1, salary = 80, admin = 0, vote = false, hasLicense = false, candemote = true,
})
TEAM_CHIEN = DarkRP.createJob("[VIP] Chien", { color = Color(219, 214, 36, 255), model = {"models/doge_player/doge_player.mdl"}, description = [[Vous etes un Chien]], weapons = {"dogbite", "weapon_eginventory"}, command = "chiens", max = 3, salary = 0, admin = 0, vote = true, hasLicense = false, candemote = true, PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) DarkRP.notifyAll(0, 4, "") end, customCheck = function(ply) return table.HasValue({"vip", "helpeur", "modotest", "modo", "admin", "superadmin", "assistant"}, ply:GetNWString("usergroup")) end, CustomCheckFailMsg = "CE METIER EST POUR LES VIP !",
})
TEAM_BUS = DarkRP.createJob("Chauffeur de Bus", { color = Color(17, 17, 225, 255), model = {"models/people/group01/male_11.mdl"}, description = [[Il conduit son bus, prends les passagers...]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "bus", max = 1, salary = 65, category = "Citoyen", admin = 0, vote = false, hasLicense = false,
})
TEAM_YAKUZA = DarkRP.createJob("Yakuza", { color = Color(224, 230, 24, 255), model = {"models/sd/players/[dbs_brawler]-head_brawler_dbs.mdl", "models/sd/players/[dbs_brawler_2]-head_brawler_dbs.mdl", "models/sd/players/[dbs_grappler].mdl", "models/sd/players/[dbs_quick]-head_quick_dbs_2.mdl", "models/sd/players/[dbs_grappler_2].mdl"}, description = [[Vous etes un Yakuza.]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "yakuz", max = 5, salary = 30, admin = 0, vote = true, hasLicense = false, candemote = true
})
TEAM_STAFF = DarkRP.createJob("Staff", { color = Color(0, 255, 255, 255), model = {"models/player/anon/anon.mdl"}, description = [[Vous etes un Staff]], weapons = {"weapon_eginventory", "weapon_eginventory_checker", "adminstick", "stungun", "weapon_arc_atmcard"}, command = "staffadmin", max = 0, salary = 100, admin = 0, vote = false, hasLicense = true, candemote = false, customCheck = function(ply) return table.HasValue({"helpeur", "modotest", "modo", "admin", "superadmin", "assistant"}, ply:GetNWString("usergroup")) end, CustomCheckFailMsg = "CE METIER EST POUR LE STAFF !",
})
TEAM_VENDEUR3 = DarkRP.createJob("[STAFF][ADMIN] Vendeur D'Hoverboards", { color = Color(34, 208, 233, 255), model = {"models/jessev92/player/l4d/m9-hunter.mdl"}, description = [[Vous etes un Vendeur.]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "vendrehover", max = 1, salary = 5, admin = 1, vote = true, hasLicense = false, candemote = true
})
TEAM_HACKER = DarkRP.createJob("[VIP] Hackeur", { color = Color(21, 85, 21, 255), model = {"models/player/aiden_pearce.mdl"}, description = [[Il hack des choses pour ou contre la police.]], weapons = {"keypad_cracker", "weapon_hack_phone", "weapon_arc_atmcard", "weapon_arc_atmhack", "weapon_eginventory"}, command = "hack", max = 2, salary = 35, admin = 0, category = "Citoyen", vote = false, hasLicense = false,
})
TEAM_TRAFIC = DarkRP.createJob("Vendeur D'armes Illegal", { color = Color(29, 4, 6, 255), model = {"models/niko_bellic/slow.mdl"}, description = [[Vous etes un Trafiquant.]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "trafic1", max = 2, salary = 30, admin = 0, vote = true, hasLicense = false, candemote = true
})
TEAM_VENDEUR = DarkRP.createJob("[VIP] Vendeur De Vapes", { color = Color(33, 255, 0, 255), model = {"models/half-dead/gopniks/slav.mdl"}, description = [[Vous etes un Vendeur.]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "vendeurvapes", max = 2, salary = 30, admin = 0, vote = true, hasLicense = false, candemote = true
})
TEAM_TUEUR = DarkRP.createJob("Tueur a gage", { color = Color(12, 6, 250, 255), model = {"models/player/smith.mdl"}, description = [[Vous etes un Tueur.]], weapons = {"m9k_aw50", "weapon_arc_atmcard", "weapon_eginventory"}, command = "tueurgage", max = 1, salary = 50, admin = 0, vote = true, hasLicense = false, candemote = true,
})
TEAM_CLOWN = DarkRP.createJob("[VIP] Clown Tueur", { color = Color(235, 71, 58, 255), model = {"models/ninja/l4d2/clown/clown.mdl"}, description = [[Vous etes comme un psychopate.]], weapons = {"rchainsaw", "weapon_arc_atmcard", "weapon_eginventory"}, command = "clownt", max = 1, salary = 20, admin = 0, vote = true, hasLicense = false, candemote = true,
})
TEAM_ENFANT = DarkRP.createJob("Enfant", { color = Color(13, 235, 130, 255), model = {"models/lucius.mdl"}, description = [[Vous etes un Enfant.]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "kids", max = 2, salary = 5, admin = 0, vote = true, hasLicense = false, candemote = true,
})
TEAM_ENFANT2 = DarkRP.createJob("[VIP] Enfant Bizarre", { color = Color(146, 12, 12, 255), model = {"models/player/dewobedil/chucky/chucky.mdl"}, description = [[Vous etes un Enfant Bizarre.]], weapons = {"weapon_arc_atmcard", "m9k_knife", "weapon_eginventory"}, command = "kids2", max = 2, salary = 3, admin = 0, vote = true, hasLicense = false, candemote = true,
})
TEAM_TRAFIC = DarkRP.createJob("[VIP] Trafiquant D'Organes", { color = Color(255, 0, 0, 255), model = {"models/sirgibs/ragdolls/detective_magnusson_player.mdl"}, description = [[Vous etes un Trafiquant D'organes]], weapons = {"weapon_arc_atmcard", "m9k_knife", "weapon_eginventory", "scalpel"}, command = "organes", max = 2, salary = 10, admin = 0, vote = true, hasLicense = false, candemote = true,
})
TEAM_PETROL = DarkRP.createJob("[VIP] Petrolier", { color = Color(14, 4, 4, 255), model = { "models/player/zelpa/male_03.mdl", "models/player/zelpa/male_11.mdl" }, description = [[Vous etes un Petrolier.]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "essence", max = 2, salary = 40, admin = 0, vote = true, hasLicense = false, candemote = true,
})
TEAM_FERME = DarkRP.createJob("Fermier", { color = Color(248, 229, 34, 255), model = {"models/sirgibs/ragdolls/hl2/fisherman.mdl"}, description = [[Vous etes un Fermier.]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "farm", max = 3, salary = 10, admin = 0, vote = true, hasLicense = false, candemote = true,
})
TEAM_VOLEUR = DarkRP.createJob("Voyou", { color = Color(52, 52, 20, 255), model = {"models/jessev92/player/l4d/m9-hunter.mdl"}, description = [[Vous etes un Voyou.]], weapons = {"weapon_eginventory", "weapon_eginventory_pickpocket", "lockpick", "keypad_cracker", "pickpocket", "weapon_arc_atmcard"}, command = "vols", max = 4, salary = 20, admin = 0, vote = true, hasLicense = false, candemote = true
})
TEAM_GANG = DarkRP.createJob("Cripz", { color = Color(12, 6, 250, 255), model = { "models/player/cripz/slow_1.mdl", "models/player/cripz/slow_2.mdl", "models/player/cripz/slow_3.mdl" }, description = [[Vous etes Cripz.]], weapons = {"weapon_arc_atmcard", "weapon_eginventory"}, command = "crip", max = 5, salary = 10, admin = 0, vote = true, hasLicense = false, candemote = true,
})
TEAM_SPINNER = DarkRP.createJob("[VIP] Vendeur De HandSpinner", { color = Color(38, 169, 55, 255), model = {"models/snoopdogg.mdl"}, description = [[Vous etes un Vendeur de HandSpinner.]], weapons = {"weapon_arc_atmcard"}, command = "spinner", max = 2, salary = 25, admin = 0, vote = true, hasLicense = false, candemote = true
})
--[[---------------------------------------------------------------------------
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,
}
--[[---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_TUEUR)

Déjà tu as plusieurs TEAM_POLICE alors que normalement celle-ci si je ne me trompe pas doit être unique change donc cela met une TEAM_RAID TEAM_BAC etc , rajoute tes team dans le f4 menu et dans le jobs.lua
 
  • Initiateur de la discussion
  • Banni
Skyh

Skyh

Bambi
Messages
28
Score réaction
1
Points
30
_Remax à dit:
Déjà tu as plusieurs TEAM_POLICE alors que normalement celle-ci si je ne me trompe pas doit être unique change donc cela met une TEAM_RAID TEAM_BAC etc , rajoute tes team dans le f4 menu et dans le jobs.lua
Ok je vais essayer.
 
Unknown baguette

Unknown baguette

Helpeur Divin
Messages
2 734
Score réaction
1 162
Points
400
Oublie pas de donner le retour
 
  • Initiateur de la discussion
  • Banni
Skyh

Skyh

Bambi
Messages
28
Score réaction
1
Points
30
Unknown baguette à dit:
Oublie pas de donner le retour
Merci beaucoup sa marche j'ai un autres problémes,

j'ai mis les permissions au Maire pour qu'il puissent ajouter des lois etc.. mes quand je veux placer le tableau des lois sa me met sa :

[DarkRP] Vous avez atteint le /placeLaws limite!

j'aimerais bien savoir quelle est le fichier ou l'on peut modifier la limite de Tableau De Lois !

Merci,
 
ZarosOVH

ZarosOVH

Modérateur
Membre du Staff
Messages
6 527
Score réaction
5 488
Points
1 295
Sûrement dans le settings.lua de ton darkrpmodifications
 
  • Initiateur de la discussion
  • Banni
Skyh

Skyh

Bambi
Messages
28
Score réaction
1
Points
30
Zaros_Live à dit:
Sûrement dans le settings.lua de ton darkrpmodifications
Je vais aller regarder.
 
  • Initiateur de la discussion
  • Banni
Skyh

Skyh

Bambi
Messages
28
Score réaction
1
Points
30
ZarosOVH

ZarosOVH

Modérateur
Membre du Staff
Messages
6 527
Score réaction
5 488
Points
1 295
Discord d'entraide
Rejoignz-nous sur Discord