- Initiateur de la discussion
O
Oxot86
Bambi
- Messages
- 6
- Score réaction
- 0
- Points
- 35
Bonjour
J'ai rencrontrer plusieurs problèmes avec mes jobs et j'ai aussi quelques questions
Tout d'abord :
Faut-il installer le "darkrp modification" ?
Il y a t-il des espaces à faire entre chaque jobs ?
Est-ce que j'ai merder dans mes jobs ?
Voici quelque un de mes jobs :
TEAM_CITOYEN = DarkRP.createJob("Citoyen", {
color = Color(20, 150, 20, 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_08.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 = [[]],
weapons = {"weapon_fists","weapon_arc_atmcard","pocket"},
command = "citizen",
max = 99,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
})
TEAM_METH = DarkRP.createJob("Garde Du Maire", {
color = Color(255, 244, 0, 255),
model = {"models/bloocobalt/splinter cell/chemsuit_cod.mdl"},
description = [[faite de la meth et vende la a un acheteur mais planquer vous bien soyer discret]],
weapons = {"weapon_fists","weapon_arc_atmcard","pocket"},
command = "trafdemeth",
max = 4,
salary = 250,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
customCheck = function(ply) return CLIENT or
table.HasValue({"admin","superadmin","Modérateur","VIP"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "ce metier est pour les VIP",
})
TEAM_JUGE = DarkRP.createJob("Maire", {
color = Color(100, 50, 3, 102),
model = {"models/player/dumbledore.mdl"},
description = [[Le juge est un magistrat qui remplit une fonction de jugement et non d'arbitrage dans une plaidoirie, qui est donc chargez de trancher les litiges opposant des parties, ou plaideurs .]],
weapons = {"weapon_arc_atmcard","weapon_fists","pocket"},
command = "juge",
max = 1,
salary = 750,
admin = 0,
vote = true,
hasLicense = false,
})
TEAM_AVOC = DarkRP.createJob("GIGN", {
color = Color(100, 50, 3, 102),
model = {"models/player/bond.mdl"},
description = [[ L'avocat est un juriste dont la fonction traditionnelle est de conseiller et de defendre ses clients, personnes physiques ou morales, en justice, en plaidant pour faire valoir leurs interets et, plus generalement, pour les representer. .]],
weapons = {"weapon_arc_atmcard","weapon_fists","pocket"},
command = "Avoc",
max = 2,
salary = 75,
admin = 0,
vote = true,
hasLicense = false,
})
TEAM_POLICE = DarkRP.createJob("*VIP* Chef GIGN", {
color = Color(25, 25, 170, 255),
model = {
"models/player/nypd/male_02.mdl",
"models/player/nypd/male_04.mdl",
"models/player/nypd/male_05.mdl",
"models/player/nypd/male_06.mdl",
"models/player/nypd/male_07.mdl",
"models/player/nypd/male_08.mdl",
"models/player/nypd/male_09.mdl"
},
description = [[L'agent de police est un membre de la police, qu'il porte ou non l'uniforme et dont la fonction est de faire respecter la loi, de maintenir l'ordre et d'assurer la securite publique.]],
weapons = {"weapon_stungun", "weapon_fists", "arrest_stick", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker", "weapon_cuff_police", "m9k_mp5","pocket","policebadgewallet"},
command = "cp",
max = 6,
salary = 90,
admin = 0,
vote = true,
hasLicense = true,
PlayerSpawn = function(ply) ply:SetArmor(150) end,
Category = "Protection de la Population",
})
TEAM_POLICECP = DarkRP.createJob("Agent de police", {
color = Color(25, 25, 170, 255),
model = {
"models/player/nypd/male_02.mdl",
"models/player/nypd/male_04.mdl",
"models/player/nypd/male_05.mdl",
"models/player/nypd/male_06.mdl",
"models/player/nypd/male_07.mdl",
"models/player/nypd/male_08.mdl",
"models/player/nypd/male_09.mdl"
},
description = [[vous ete un policier qui ne travaille pas pour la loi.]],
weapons = {"weapon_stungun", "weapon_fists" , "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker", "weapon_cuff_police", "m9k_mp5","pocket","policebadgewallet"},
command = "cpcorompu",
max = 5,
salary = 90,
admin = 0,
vote = true,
hasLicense = true,
customCheck = function(ply) return CLIENT or
table.HasValue({"admin","superadmin","admin-test","modo","modo-test","VIP"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "ce metier est pour les VIP",
})
TEAM_MERCENAIRE = DarkRP.createJob("Comissaire", {
color = Color(100, 30, 3, 122),
model = {"models/player/phoenix.mdl"},
description = [[Un mercenaire est un combattant de metier qui est recrutez moyennant finance par un etat, une entreprise, un mouvement politique, ou toute autre organisation legale ou non .]],
weapons = {"weapon_fists","weapon_arc_atmcard","pocket"},
command = "mercenaire",
max = 1,
salary = 45,
admin = 0,
vote = true,
hasLicense = true,
PlayerSpawn = function(ply) ply:SetArmor(200) end,
customCheck = function(ply) return CLIENT or
table.HasValue({"admin","superadmin","admin-test","modo","modo-test","VIP"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "ce metier est pour les VIP",
})
TEAM_PARRAIN = DarkRP.createJob("Gangster", {
color = Color(0, 0, 0, 255),
model = {"models/vito.mdl"},
description = [[Le terme Parrain designe un chef d'une famille mafieuse.Il a essentiellement trois fonctions :une fonction dirigeante : il chapeaute le crime ,une fonction de mediateur pour arbitrer les conflits à l'intérieur de sa famille au sens large ;
une fonction de conseiller des petites gens1.Il se distingue des autres mafieux par son audace, sa ferocite (on pense ici par exemple à Don Corleone), un sens aigu des rapports de force et des relations humaines, et une autorite naturelle lui permettant de s'imposer aux autres. .]],
weapons = {"weapon_arc_atmcard","weapon_fists","pocket","m9k_thompson"},
command = "parrain",
max = 1,
salary = 45,
admin = 0,
vote = true,
hasLicense = false,
customCheck = function(ply) return CLIENT or
table.HasValue({"admin","superadmin","admin-test","modo","modo-test","VIP"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "ce metier est pour les VIP",
})
TEAM_MAFIA = DarkRP.createJob("Mafieux", {
color = Color(0, 0, 0, 255),
model = {"models/fearless/mafia02.mdl","models/fearless/mafia04.mdl","models/fearless/mafia06.mdl","models/fearless/mafia09.mdl"},
description = [[Une mafia est une organisation criminelle dont les activites sont soumises a une direction collegiale occulte et qui repose sur une strategie d’infiltration de la societe civile et des institutions. On parle egalement de systeme mafieux. Les membres sont appeles « mafieux »]],
weapons = {"weapon_fists","weapon_arc_atmcard"},
command = "mafia",
max = 5,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
})
TEAM_GANG = DarkRP.createJob("Psychopate", {
color = Color(75, 75, 75, 255),
model = {
"models/player/suits/robber_open.mdl",
"models/player/suits/robber_shirt.mdl",
"models/player/suits/robber_shirt_2.mdl",
"models/player/suits/robber_tie.mdl",
"models/player/suits/robber_tuckedtie.mdl"},
description = [[Un gangstere fait partie d'un gang,le gangstérisme regroupe tous types d'actions interdites,Kidnaping,raquette,prise d'otage.]],
weapons = {"weapon_fists","weapon_arc_atmcard","pocket"},
command = "gangster",
max = 4,
salary = 60,
admin = 0,
vote = false,
hasLicense = false,
})
TEAM_CHEFGANGSTER = DarkRP.createJob("Braqueur", {
color = Color(25, 25, 25, 255),
model = "models/fearless/02.mdl",
description = [[Le chef des gangsters est le patron des criminels dans la ville. Avec sa puissance, il coordonne les gangsters et forme une organisation du crime efficace. Il a la capacite de penetrer dans des maisons en utilisant son lockpick. Le chef des gangsters possede la capacite de vous liberer de prison.]],
weapons = {"weapon_fists","lockpick","keypad_cracker", "unarrest_stick","weapon_arc_atmcard","pocket","m9k_1897winchester"},
command = "chefgangster",
max = 1,
salary = 70,
admin = 0,
vote = false,
hasLicense = false,
customCheck = function(ply) return CLIENT or
table.HasValue({"admin","superadmin","admin-test","modo","modo-test","VIP"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "ce metier est pour les VIP",
})
TEAM_MOB = DarkRP.createJob("*Vendeur d'armes", {
color = Color(25, 25, 25, 255),
model = "models/player/agent_47.mdl",
description = [[Prenez les contrats de vos clients.]],
weapons = {"weapon_fists", "m9k_svu", "m9k_knife","weapon_arc_atmcard","pocket"},
command = "mobboss",
max = 2,
salary = 65,
admin = 0,
vote = true,
hasLicense = false,
customCheck = function(ply) return CLIENT or
table.HasValue({"admin","superadmin","admin-test","modo","modo-test","VIP"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "ce metier est pour les VIP",
})
J'éspère avoir une réponse qui marchera , Aurevoir
J'ai rencrontrer plusieurs problèmes avec mes jobs et j'ai aussi quelques questions
Tout d'abord :
Faut-il installer le "darkrp modification" ?
Il y a t-il des espaces à faire entre chaque jobs ?
Est-ce que j'ai merder dans mes jobs ?
Voici quelque un de mes jobs :
TEAM_CITOYEN = DarkRP.createJob("Citoyen", {
color = Color(20, 150, 20, 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_08.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 = [[]],
weapons = {"weapon_fists","weapon_arc_atmcard","pocket"},
command = "citizen",
max = 99,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
})
TEAM_METH = DarkRP.createJob("Garde Du Maire", {
color = Color(255, 244, 0, 255),
model = {"models/bloocobalt/splinter cell/chemsuit_cod.mdl"},
description = [[faite de la meth et vende la a un acheteur mais planquer vous bien soyer discret]],
weapons = {"weapon_fists","weapon_arc_atmcard","pocket"},
command = "trafdemeth",
max = 4,
salary = 250,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
customCheck = function(ply) return CLIENT or
table.HasValue({"admin","superadmin","Modérateur","VIP"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "ce metier est pour les VIP",
})
TEAM_JUGE = DarkRP.createJob("Maire", {
color = Color(100, 50, 3, 102),
model = {"models/player/dumbledore.mdl"},
description = [[Le juge est un magistrat qui remplit une fonction de jugement et non d'arbitrage dans une plaidoirie, qui est donc chargez de trancher les litiges opposant des parties, ou plaideurs .]],
weapons = {"weapon_arc_atmcard","weapon_fists","pocket"},
command = "juge",
max = 1,
salary = 750,
admin = 0,
vote = true,
hasLicense = false,
})
TEAM_AVOC = DarkRP.createJob("GIGN", {
color = Color(100, 50, 3, 102),
model = {"models/player/bond.mdl"},
description = [[ L'avocat est un juriste dont la fonction traditionnelle est de conseiller et de defendre ses clients, personnes physiques ou morales, en justice, en plaidant pour faire valoir leurs interets et, plus generalement, pour les representer. .]],
weapons = {"weapon_arc_atmcard","weapon_fists","pocket"},
command = "Avoc",
max = 2,
salary = 75,
admin = 0,
vote = true,
hasLicense = false,
})
TEAM_POLICE = DarkRP.createJob("*VIP* Chef GIGN", {
color = Color(25, 25, 170, 255),
model = {
"models/player/nypd/male_02.mdl",
"models/player/nypd/male_04.mdl",
"models/player/nypd/male_05.mdl",
"models/player/nypd/male_06.mdl",
"models/player/nypd/male_07.mdl",
"models/player/nypd/male_08.mdl",
"models/player/nypd/male_09.mdl"
},
description = [[L'agent de police est un membre de la police, qu'il porte ou non l'uniforme et dont la fonction est de faire respecter la loi, de maintenir l'ordre et d'assurer la securite publique.]],
weapons = {"weapon_stungun", "weapon_fists", "arrest_stick", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker", "weapon_cuff_police", "m9k_mp5","pocket","policebadgewallet"},
command = "cp",
max = 6,
salary = 90,
admin = 0,
vote = true,
hasLicense = true,
PlayerSpawn = function(ply) ply:SetArmor(150) end,
Category = "Protection de la Population",
})
TEAM_POLICECP = DarkRP.createJob("Agent de police", {
color = Color(25, 25, 170, 255),
model = {
"models/player/nypd/male_02.mdl",
"models/player/nypd/male_04.mdl",
"models/player/nypd/male_05.mdl",
"models/player/nypd/male_06.mdl",
"models/player/nypd/male_07.mdl",
"models/player/nypd/male_08.mdl",
"models/player/nypd/male_09.mdl"
},
description = [[vous ete un policier qui ne travaille pas pour la loi.]],
weapons = {"weapon_stungun", "weapon_fists" , "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker", "weapon_cuff_police", "m9k_mp5","pocket","policebadgewallet"},
command = "cpcorompu",
max = 5,
salary = 90,
admin = 0,
vote = true,
hasLicense = true,
customCheck = function(ply) return CLIENT or
table.HasValue({"admin","superadmin","admin-test","modo","modo-test","VIP"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "ce metier est pour les VIP",
})
TEAM_MERCENAIRE = DarkRP.createJob("Comissaire", {
color = Color(100, 30, 3, 122),
model = {"models/player/phoenix.mdl"},
description = [[Un mercenaire est un combattant de metier qui est recrutez moyennant finance par un etat, une entreprise, un mouvement politique, ou toute autre organisation legale ou non .]],
weapons = {"weapon_fists","weapon_arc_atmcard","pocket"},
command = "mercenaire",
max = 1,
salary = 45,
admin = 0,
vote = true,
hasLicense = true,
PlayerSpawn = function(ply) ply:SetArmor(200) end,
customCheck = function(ply) return CLIENT or
table.HasValue({"admin","superadmin","admin-test","modo","modo-test","VIP"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "ce metier est pour les VIP",
})
TEAM_PARRAIN = DarkRP.createJob("Gangster", {
color = Color(0, 0, 0, 255),
model = {"models/vito.mdl"},
description = [[Le terme Parrain designe un chef d'une famille mafieuse.Il a essentiellement trois fonctions :une fonction dirigeante : il chapeaute le crime ,une fonction de mediateur pour arbitrer les conflits à l'intérieur de sa famille au sens large ;
une fonction de conseiller des petites gens1.Il se distingue des autres mafieux par son audace, sa ferocite (on pense ici par exemple à Don Corleone), un sens aigu des rapports de force et des relations humaines, et une autorite naturelle lui permettant de s'imposer aux autres. .]],
weapons = {"weapon_arc_atmcard","weapon_fists","pocket","m9k_thompson"},
command = "parrain",
max = 1,
salary = 45,
admin = 0,
vote = true,
hasLicense = false,
customCheck = function(ply) return CLIENT or
table.HasValue({"admin","superadmin","admin-test","modo","modo-test","VIP"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "ce metier est pour les VIP",
})
TEAM_MAFIA = DarkRP.createJob("Mafieux", {
color = Color(0, 0, 0, 255),
model = {"models/fearless/mafia02.mdl","models/fearless/mafia04.mdl","models/fearless/mafia06.mdl","models/fearless/mafia09.mdl"},
description = [[Une mafia est une organisation criminelle dont les activites sont soumises a une direction collegiale occulte et qui repose sur une strategie d’infiltration de la societe civile et des institutions. On parle egalement de systeme mafieux. Les membres sont appeles « mafieux »]],
weapons = {"weapon_fists","weapon_arc_atmcard"},
command = "mafia",
max = 5,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
})
TEAM_GANG = DarkRP.createJob("Psychopate", {
color = Color(75, 75, 75, 255),
model = {
"models/player/suits/robber_open.mdl",
"models/player/suits/robber_shirt.mdl",
"models/player/suits/robber_shirt_2.mdl",
"models/player/suits/robber_tie.mdl",
"models/player/suits/robber_tuckedtie.mdl"},
description = [[Un gangstere fait partie d'un gang,le gangstérisme regroupe tous types d'actions interdites,Kidnaping,raquette,prise d'otage.]],
weapons = {"weapon_fists","weapon_arc_atmcard","pocket"},
command = "gangster",
max = 4,
salary = 60,
admin = 0,
vote = false,
hasLicense = false,
})
TEAM_CHEFGANGSTER = DarkRP.createJob("Braqueur", {
color = Color(25, 25, 25, 255),
model = "models/fearless/02.mdl",
description = [[Le chef des gangsters est le patron des criminels dans la ville. Avec sa puissance, il coordonne les gangsters et forme une organisation du crime efficace. Il a la capacite de penetrer dans des maisons en utilisant son lockpick. Le chef des gangsters possede la capacite de vous liberer de prison.]],
weapons = {"weapon_fists","lockpick","keypad_cracker", "unarrest_stick","weapon_arc_atmcard","pocket","m9k_1897winchester"},
command = "chefgangster",
max = 1,
salary = 70,
admin = 0,
vote = false,
hasLicense = false,
customCheck = function(ply) return CLIENT or
table.HasValue({"admin","superadmin","admin-test","modo","modo-test","VIP"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "ce metier est pour les VIP",
})
TEAM_MOB = DarkRP.createJob("*Vendeur d'armes", {
color = Color(25, 25, 25, 255),
model = "models/player/agent_47.mdl",
description = [[Prenez les contrats de vos clients.]],
weapons = {"weapon_fists", "m9k_svu", "m9k_knife","weapon_arc_atmcard","pocket"},
command = "mobboss",
max = 2,
salary = 65,
admin = 0,
vote = true,
hasLicense = false,
customCheck = function(ply) return CLIENT or
table.HasValue({"admin","superadmin","admin-test","modo","modo-test","VIP"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "ce metier est pour les VIP",
})
J'éspère avoir une réponse qui marchera , Aurevoir