Problème Serveur DarkRP Help me !

  • Initiateur de la discussion SlyGus
  • Date de début
  • Initiateur de la discussion
SlyGus

SlyGus

Geek
Messages
46
Score réaction
1
Points
65
Bonjour je vais que vous m'aidiez j'ai un gros problème. Je m'explique : depuis hier je crois sur mon serveur DarkRP, les portes normalement il y a ecrit a qui elle appartient etc... mais moi ca ne s'affiche plus et pareille pour les voitures, ensuite les indications comme quoi une commande a bien était réalisé, que tu as drop *** argent en bas a droite ba ça ne s'affichent plus du coup une commande que je fais elle ne marche pas ou alors je peut pas voir le message d'erreur et je trouve ça vraiment chiant parce que du coup les spawn des jobs sont n'importe où et cela est vraiment très chiant vu que mon serveur est fini mais il y a ce probleme la donc s'il vous plait AIDEZ-MOI !!!!
 
P

PCMalexis

Geek suprême
Messages
600
Score réaction
49
Points
125
A mon avis une erreur de syntaxe dois être présente dans le fichier jobs.lua
 
  • Initiateur de la discussion
SlyGus

SlyGus

Geek
Messages
46
Score réaction
1
Points
65
Voila le fichier 1er partie :

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 = {"weapon_fists", "weapon_arc_atmcard", "pocket"},
command = "Citizen",
max = 0,
salary = 5,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Citizens",
})

TEAM_FLIC = DarkRP.createJob("Policer", {
color = Color(25, 25, 170, 255),
model = {
"models/player/santosrp/Male_02_santosrp.mdl",
"models/player/santosrp/Male_04_santosrp.mdl",
"models/player/santosrp/Male_05_santosrp.mdl",
"models/player/santosrp/Male_06_santosrp.mdl",
"models/player/santosrp/Male_07_santosrp.mdl",
"models/player/santosrp/Male_08_santosrp.mdl",
"models/player/santosrp/Male_09_santosrp.mdl"
},
description = [[]],
weapons = {"arrest_stick", "weapon_arc_atmcard", "weapon_fists", "weapon_cuff_police", "unarrest_stick", "fas2_glock20", "stunstick", "door_ram", "fas2_mp5k", "weaponchecker", "weapon_stungun", "pocket"},
command = "cp",
max = 10,
salary = 100,
admin = 0,
vote = true,
hasLicense = true,
ammo = {
["pistol"] = 90,
},
PlayerLoadout = function(ply) ply:SetArmor(30) ply:SetHealth(100) end,
category = "Police",
})

TEAM_COMI = DarkRP.createJob("Comissaire", {
color = Color(25, 25, 170, 255),
model = "models/player/uk_police/uk_police_02.mdl",
description = [[]],
weapons = {"arrest_stick", "weapon_arc_atmcard", "weapon_fists", "weapon_cuff_police", "unarrest_stick", "fas2_glock20", "stunstick", "door_ram", "fas2_mp5k", "weaponchecker", "weapon_stungun", "pocket", "m9k_spas12"},
command = "comi",
max = 1,
salary = 120,
admin = 0,
vote = true,
hasLicense = true,
ammo = {
["pistol"] = 90,
},
PlayerLoadout = function(ply) ply:SetArmor(50) ply:SetHealth(100) end,
category = "Police",
})

TEAM_SWAT = DarkRP.createJob("S.W.A.T", {
color = Color(25, 25, 170, 255),
model = {
"models/player/PMC_1/PMC__01.mdl",
"models/player/PMC_1/PMC__02.mdl",
"models/player/PMC_1/PMC__03.mdl",
"models/player/PMC_1/PMC__04.mdl",
"models/player/PMC_1/PMC__05.mdl",
"models/player/PMC_1/PMC__06.mdl",
"models/player/PMC_1/PMC__07.mdl",
"models/player/PMC_1/PMC__08.mdl",
"models/player/PMC_1/PMC__09.mdl",
"models/player/PMC_1/PMC__10.mdl",
"models/player/PMC_1/PMC__11.mdl",
"models/player/PMC_1/PMC__12.mdl",
"models/player/PMC_1/PMC__13.mdl",
"models/player/PMC_1/PMC__14.mdl",
},
description = [[]],
weapons = {"arrest_stick", "weapon_arc_atmcard", "weapon_fists", "unarrest_stick", "weapon_cuff_police", "fas2_ragingbull", "stunstick", "door_ram", "fas2_m4a1", "weaponchecker", "weapon_stungun", "pocket"},
command = "swat",
max = 5,
salary = 100,
admin = 0,
vote = true,
hasLicense = true,
ammo = {
["pistol"] = 90,
},
PlayerLoadout = function(ply) ply:SetArmor(70) ply:SetHealth(100) end,
category = "Police",
})

TEAM_SWAT = DarkRP.createJob("S.W.A.T ELITE", {
color = Color(25, 25, 170, 255),
model = {
"models/player/PMC_2/PMC__01.mdl",
"models/player/PMC_2/PMC__02.mdl",
"models/player/PMC_2/PMC__03.mdl",
"models/player/PMC_2/PMC__04.mdl",
"models/player/PMC_2/PMC__05.mdl",
"models/player/PMC_2/PMC__06.mdl",
"models/player/PMC_2/PMC__07.mdl",
"models/player/PMC_2/PMC__08.mdl",
"models/player/PMC_2/PMC__09.mdl",
"models/player/PMC_2/PMC__10.mdl",
"models/player/PMC_2/PMC__11.mdl",
"models/player/PMC_2/PMC__12.mdl",
"models/player/PMC_2/PMC__13.mdl",
"models/player/PMC_2/PMC__14.mdl"
},
description = [[]],
weapons = {"arrest_stick", "weapon_arc_atmcard", "unarrest_stick", "weapon_cuff_police", "weapon_fists", "fas2_ragingbull", "stunstick", "door_ram", "m9k_intervention", "weaponchecker", "weapon_stungun", "pocket"},
command = "swatt",
max = 2,
salary = 100,
admin = 0,
vote = true,
hasLicense = true,
ammo = {
["pistol"] = 90,
},
PlayerLoadout = function(ply) ply:SetArmor(70) ply:SetHealth(100) end,
category = "Police",
})

TEAM_MAYOR = DarkRP.createJob("Maire", {
color = Color(150, 20, 20, 255),
model = "models/Obama/Obama.mdl",
description = [[]],
weapons = {"weapon_fists", "weapon_arc_atmcard", "pocket"},
command = "Mayor",
max = 1,
salary = 125,
admin = 0,
vote = true,
hasLicense = false,
mayor = true,
category = "Maire",
})

TEAM_MOB = DarkRP.createJob("Tueur à Gages", {
color = Color(255, 144, 0, 255),
model = "models/player/jill_bsaa.mdl",
description = [[]],
weapons = {"weapon_fists", "climb_swep2", "weapon_arc_atmcard", "pocket"},
command = "mob",
max = 2,
salary = 80,
admin = 0,
vote = false,
hasLicense = false,
category = "Hitman",
})

TEAM_PSYCHO = DarkRP.createJob("Psychopate", {
color = Color(255, 242, 0, 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 = {"weapon_crowbar", "weapon_fists", "weapon_arc_atmcard", "pocket"},
command = "psycho",
max = 2,
salary = 25,
admin = 0,
vote = false,
hasLicense = false,
category = "psycho",
})

TEAM_GANG = DarkRP.createJob("Gangster", {
color = Color(75, 75, 75, 255),
model = {
"models/player/Group03/Female_01.mdl",
"models/player/Group03/Female_02.mdl",
"models/player/Group03/Female_03.mdl",
"models/player/Group03/Female_04.mdl",
"models/player/Group03/Female_06.mdl",
"models/player/group03/male_01.mdl",
"models/player/Group03/Male_02.mdl",
"models/player/Group03/male_03.mdl",
"models/player/Group03/Male_04.mdl",
"models/player/Group03/Male_05.mdl",
"models/player/Group03/Male_06.mdl",
"models/player/Group03/Male_07.mdl",
"models/player/Group03/Male_08.mdl",
"models/player/Group03/Male_09.mdl"},
description = [[]],
weapons = {"weapon_fists", "weapon_arc_atmcard", "pocket"},
command = "gangster",
max = 7,
salary = 50,
admin = 0,
vote = false,
hasLicense = false,
category = "Gangsters",
})

TEAM_GANG = DarkRP.createJob("Chef des Gangsters", {
color = Color(25, 25, 25, 255),
model = "models/player/gman_high.mdl",
description = [[]],
weapons = {"weapon_fists", "weapon_arc_atmcard", "pocket"},
command = "mobboss",
max = 1,
salary = 55,
admin = 0,
vote = false,
hasLicense = false,
category = "Gangsters",
})

TEAM_MEDIC = DarkRP.createJob("Médecin", {
color = Color(47, 79, 79, 255),
model = "models/player/kleiner.mdl",
description = [[]],
weapons = {"med_kit", "weapon_fists", "weapon_arc_atmcard", "pocket"},
command = "medic",
max = 3,
salary = 75,
admin = 0,
vote = false,
hasLicense = false,
medic = true,
category = "Citizens",
})

TEAM_HOBO = DarkRP.createJob("SDF", {
color = Color(80, 45, 0, 255),
model = "models/jessev92/player/misc/saddam.mdl",
description = [[]],
weapons = {"weapon_bugbait", "weapon_gpee", "weapon_fists", "pocket"},
command = "hobo",
max = 5,
salary = 0,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
hobo = true,
category = "Citizens",
})

TEAM_COOK = DarkRP.createJob("Cuisinier", {
color = Color(255, 0, 144, 255),
model = {
"models/fearless/chef1.mdl",
"models/fearless/chef2.mdl"},
description = [[]],
weapons = {"weapon_fists", "weapon_arc_atmcard", "pocket"},
command = "cook",
max = 2,
salary = 85,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
cook = true,
category = "Citizens",
})
 
  • Initiateur de la discussion
SlyGus

SlyGus

Geek
Messages
46
Score réaction
1
Points
65
Voici la 2 eme partie :
TEAM_GANG = DarkRP.createJob("Mafieux", {
color = Color(8, 255, 0, 255),
model = {
"models/humans/mafia/male_09.mdl",
"models/humans/mafia/male_07.mdl",
"models/humans/mafia/male_08.mdl",
"models/humans/mafia/male_02.mdl",
"models/humans/mafia/male_04.mdl",
"models/humans/mafia/male_06.mdl"},
description = [[]],
weapons = {"weapon_fists", "weapon_arc_atmcard", "pocket"},
command = "mafieu",
max = 7,
salary = 50,
admin = 0,
vote = false,
hasLicense = false,
category = "Mafieux",
})

TEAM_GANG = DarkRP.createJob("Parrain", {
color = Color(199, 0, 255, 255),
model = "models/vito.mdl",
description = [[]],
weapons = {"weapon_fists", "weapon_arc_atmcard", "pocket"},
command = "parrain",
max = 1,
salary = 55,
admin = 0,
vote = false,
hasLicense = false,
category = "Mafieux",
})

TEAM_POLICE = DarkRP.createJob("Secretaire du Maire", {
color = Color(248, 99, 104, 255),
model = "models/11thDoctor/thedoctor.mdl",
description = [[]],
weapons = {"weapon_fists", "weapon_arc_atmcard", "pocket"},
command = "secremaire",
max = 1,
salary = 85,
admin = 0,
vote = true,
hasLicense = false,
category = "Citizens",
})


TEAM_POLICE = DarkRP.createJob("Gardien", {
color = Color(255, 255, 255, 255),
model = {
"models/player/guard_pack/guard_01.mdl",
"models/player/guard_pack/guard_02.mdl",
"models/player/guard_pack/guard_03.mdl",
"models/player/guard_pack/guard_04.mdl",
"models/player/guard_pack/guard_05.mdl",
"models/player/guard_pack/guard_06.mdl",
"models/player/guard_pack/guard_07.mdl",
"models/player/guard_pack/guard_08.mdl",
"models/player/guard_pack/guard_09.mdl"},
description = [[]],
weapons = {"fas2_glock20", "weapon_fists", "stunstick", "door_ram", "taser", "weapon_arc_atmcard", "pocket"},
command = "garden",
max = 4,
salary = 75,
admin = 0,
vote = false,
hasLicense = true,
category = "Civil Protection",
})



TEAM_BANQUIER = DarkRP.createJob("Banquier", {
color = Color(0, 161, 255, 255),
model = "models/player/bond.mdl",
description = [[]],
weapons = {"weapon_fists", "weapon_arc_atmcard", "pocket"},
command = "banq",
max = 2,
salary = 85,
admin = 0,
vote = false,
hasLicense = false,
category = "Banquier",
})

TEAM_SECRET = DarkRP.createJob("Agent Secret", {
color = Color(255, 250, 122, 255),
model = "models/player/tfa_irons.mdl",
description = [[]],
weapons = {"arrest_stick", "weapon_arc_atmcard", "weapon_cuff_police", "weapon_fists", "unarrest_stick", "fas2_deagle", "stunstick", "door_ram", "weapon_stungun", "pocket", "weaponchecker", "weapon_cuff_police"},
command = "agentsec",
max = 2,
salary = 85,
admin = 0,
vote = true,
hasLicense = true,
category = "Police",
})

TEAM_GANG = DarkRP.createJob("Braqueur", {
color = Color(122, 237, 255, 255),
model = {
"models/player/pd2_chains_p.mdl",
"models/player/pd2_dallas_p.mdl",
"models/player/pd2_hoxton_p.mdl",
"models/player/pd2_wolf_p.mdl"},
description = [[]],
weapons = {"weapon_fists", "weapon_arc_atmcard", "pocket"},
command = "raskol",
max = 7,
salary = 50,
admin = 0,
vote = false,
hasLicense = false,
category = "Braqueurs",
})

TEAM_VOLEUR = DarkRP.createJob("Voleur", {
color = Color(255, 255, 255, 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 = {"lockpick", "keypad_cracker", "weapon_fists", "weapon_arc_atmcard", "pocket"},
command = "voleur",
max = 3,
salary = 0,
admin = 0,
vote = false,
hasLicense = false,
category = "Voleur",
})

TEAM_DRUG = DarkRP.createJob("Dealer de Drogues", {
color = Color(241, 5, 176, 255),
model = "models/snoopdogg.mdl",
description = [[]],
weapons = {"weapon_fists", "weapon_arc_atmcard", "pocket"},
command = "drug",
max = 3,
salary = 25,
admin = 0,
vote = false,
hasLicense = false,
category = "Citizen",
})

TEAM_GUN = DarkRP.createJob("Vendeur d'Armes", {
color = Color(255, 140, 0, 255),
model = "models/player/arnold_schwarzenegger.mdl",
description = [[]],
weapons = {"weapon_fists", "weapon_arc_atmcard", "pocket"},
command = "vdarme",
max = 2,
salary = 85,
admin = 0,
vote = false,
hasLicense = false,
category = "Citizen",
})

TEAM_HACK = DarkRP.createJob("Hacker", {
color = Color(87, 17, 213, 255),
model = "models/player/aiden_pearce.mdl",
description = [[]],
weapons = {"weapon_fists", "weapon_arc_atmcard", "weapon_arc_atmhack", "pocket"},
command = "hacker",
max = 3,
salary = 50,
admin = 0,
vote = false,
hasLicense = false,
category = "Citizen",
})

TEAM_ADMIN = DarkRP.createJob("ADMIN", {
color = Color(107, 15, 202, 255),
model = "models/player/anon/anon.mdl",
description = [[]],
weapons = {"weapon_fists", "weapon_arc_atmcard", "m9k_spas12", "pocket"},
command = "admin",
max = 5,
salary = 150,
admin = 0,
vote = false,
hasLicense = false,
customCheck = function(ply) return ply:GetNWString("usergroup") == "admin" or ply:GetNWString("usergroup") == "superadmin" end,
CustomCheckFailMag = "Ce metier est pour les Admins.",
category = "Admins",
})

TEAM_TAXI = DarkRP.createJob("Chauffeur de taxi", {
color = Color(56, 120, 44, 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 = {"weapon_fists", "weapon_arc_atmcard", "pocket"},
command = "taxi",
max = 3,
salary = 95,
admin = 0,
vote = true,
hasLicense = false,
category = "Voitures",
})


TEAM_METH = DarkRP.createJob("Fabricant de Meth", {
color = Color(145, 5, 6, 255),
model = "models/bloocobalt/splinter cell/chemsuit_cod.mdl",
description = [[]],
weapons = {"weapon_fists", "weapon_arc_atmcard", "pocket"},
command = "meth",
max = 2,
salary = 70,
admin = 0,
vote = true,
hasLicense = false,
category = "Dealer",
})

TEAM_GANG = DarkRP.createJob("Cripz", {
color = Color(65, 45, 6, 255),
model = {
"models/player/cripz/slow_1.mdl",
"models/player/cripz/slow_2.mdl",
"models/player/cripz/slow_3.mdl"},
description = [[]],
weapons = {"weapon_fists", "weapon_arc_atmcard", "pocket"},
command = "cripz",
max = 4,
salary = 70,
admin = 0,
vote = false,
hasLicense = false,
category = "Cripz",
})

TEAM_GANG = DarkRP.createJob("Bloodz", {
color = Color(65, 45, 6, 255),
model = {
"models/player/bloodz/slow_1.mdl",
"models/player/bloodz/slow_2.mdl",
"models/player/bloodz/slow_3.mdl"},
description = [[]],
weapons = {"weapon_fists", "weapon_arc_atmcard", "pocket"},
command = "bloodz",
max = 4,
salary = 70,
admin = 0,
vote = false,
hasLicense = false,
category = "Bloodz",
})

TEAM_CITIZEN = DarkRP.createJob("Reparateur de voitures", {
color = Color(126, 30, 7, 255),
model = "models/player/adam_jensen.mdl",
description = [[]],
weapons = {"vc_repair","weapon_fists", "weapon_arc_atmcard", "pocket"},
command = "repaircar",
max = 2,
salary = 80,
admin = 0,
vote = false,
hasLicense = false,
category = "Citizen",
})
 
P

PCMalexis

Geek suprême
Messages
600
Score réaction
49
Points
125
Ajoute moi sur skype : Alexis.Maruinez
 
Discord d'entraide
Rejoignz-nous sur Discord