bessoin d'aide serv gmod

  • Initiateur de la discussion
H

hamed-njer

Geek
Messages
29
Score réaction
0
Points
50
bonjour, j'ai un petit problème lua peut t'on m'expliquer svp

sa me dit sa
"
The responsibility for the error above lies with (the authors of) one (or more) of these files:
1. addons/darkrpmodification/lua/darkrp_customthings/jobs.lua on line 164
2. function 'xpcall'
3. gamemodes/darkrp/gamemode/libraries/simplerr.lua on line 477
4. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
5. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
6. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 137
7. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 148
8. gamemodes/darkrp/gamemode/init.lua on line 86
------- End of Simplerr error -------

gamemodes/darkrp/gamemode/libraries/simplerr.lua:530: [ERROR] A runtime error has occurred in "addons/darkrpmodification/lua/darkrp_customthings/jobs.lua" on line 164.
The best help I can give you is this:

Corrupt team: Medecin!
The admin value must be a number and it must be greater than or equal to zero and smaller than three."




merci d'avance
 
P

PCMalexis

Geek suprême
Messages
600
Score réaction
49
Points
125
Bonjour,

Envoye la ligne 164 du jobs.lua
 
Mickapette

Mickapette

Psychopathe
Messages
1 126
Score réaction
193
Points
250
Bonjour,

Je préférerais que tu envoie la totalité de ton jobs.lua car l'erreur indique la ligne 164 mais ce n'ai jamais précis.
 
P

PCMalexis

Geek suprême
Messages
600
Score réaction
49
Points
125
Mickapette à dit:
Bonjour,

Je préférerais que tu envoie la totalité de ton jobs.lua car l'erreur indique la ligne 164 mais ce n'ai jamais précis.
Je suis persuader son job a un level requis, mais le systeme de level n'est pas installer
 
Mickapette

Mickapette

Psychopathe
Messages
1 126
Score réaction
193
Points
250
PCMalexis à dit:
Je suis persuader son job a un level requis, mais le systeme de level n'est pas installer
Je ne sais pas trop, mais je vois que son métier médecin est "corrompue"
 
  • Initiateur de la discussion
H

hamed-njer

Geek
Messages
29
Score réaction
0
Points
50
tu peut venir ts ?
 
Mickapette

Mickapette

Psychopathe
Messages
1 126
Score réaction
193
Points
250
perso,

Je ne suis pas disponible désolée
 
  • Initiateur de la discussion
H

hamed-njer

Geek
Messages
29
Score réaction
0
Points
50
car je ne comprend passe ce qui ce passe et j'aurai voulu que tu vienne m'aider juste 2 second si sa te dérange pas
 
Reijin

Reijin

Psychopathe
Messages
1 739
Score réaction
401
Points
290
Tu peux copier les lignes au dessus de 164 et en dessous ou enfin des jobs vers ses lignes ;)

Cordialement,
Reijin
 
  • Initiateur de la discussion
H

hamed-njer

Geek
Messages
29
Score réaction
0
Points
50
sa me fait sa mtn
Lua Error:
[Equinox_basic_content] addons/darkrpmodification/lua/darkrp_customthings/vehicles.lua:22: attempt to index global 'D3DCarConfig' (a nil value)
1. unknown - addons/darkrpmodification/lua/darkrp_customthings/vehicles.lua:22
2. doInclude - [C]:-1
3. loadCustomDarkRPItems - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:137
4. Call - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:148
5. unknown - gamemodes/darkrp/gamemode/cl_init.lua:53
ServerLog: [FAdmin] Feelty (STEAM_0:0:141685012) Attempted to switch noclip
 
Ben. ®

Ben. ®

Psychopathe
Messages
2 255
Score réaction
511
Points
340
Copie juste ton job médecin. Et envoie le nous stp
 
  • Initiateur de la discussion
H

hamed-njer

Geek
Messages
29
Score réaction
0
Points
50
je n'ai pas mis de jobs medecin regarde mes jobs


TEAM_MAIRE = DarkRP.createJob("Maire", {
color = Color(255, 0, 0, 255),
model = {"models/Obama/Obama.mdl"},
description = [[Vous êtes le ROI de cette ville ! Vous la controller avec la politiques de votre choix.]],
weapons = {"m9k_ragingbull", "pocket", "weapon_fists", "stunstick", "weapon_arc_atmcard", "keys"},
command = "maire",
max = 1,
salary = 3000,
admin = 0,
vote = true,
hasLicense = true,
candemote = true,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false
})

TEAM_GARDEDUMAIRE = DarkRP.createJob("Garde du maire", {
color = Color(220, 0, 255, 255),
model = {"models/piket_playermodel/piket_playermodel.mdl"},
description = [[La vie du maire est entre vos mains !]],
weapons = {"m9k_ragingbull", "pocket", "weapon_fists", "stunstick", "weapon_arc_atmcard", "keys", "weaponchecker", "m9k_an94"},
command = "gardedumaire",
max = 3,
salary = 700,
admin = 0,
vote = true,
hasLicense = true,
candemote = true,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
})

TEAM_SECRETAIRE = DarkRP.createJob("Secretaire du maire", {
color = Color(128, 0, 255, 255),
model = {"models/11thdoctor/thedoctor.mdl"},
description = [[Vous prenez les rendez-vous du maire vous gérer les papier du maire.]],
weapons = {"pocket", "weapon_fists", "weapon_arc_atmcard", "keys"},
command = "secretaire",
max = 3,
salary = 650,
admin = 0,
vote = true,
hasLicense = false,
candemote = true,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
})

TEAM_POLICE = DarkRP.createJob("Policier", {
color = Color(21, 0, 255, 255),
model = {"models/player/portal/f_police.mdl", "models/player/portal/f_police2.mdl", "models/player/portal/f_police3.mdl", "models/player/portal/f_police4.mdl", "models/player/portal/f_police5.mdl"},
description = [[Le commissaire est votre chef vous l'aider a arrêter les voyous !]],
weapons = {"weapon_arc_atmcard", "pocket", "weapon_fists", "keys", "riot_shield", "policebadge", "m9k_ragingbull", "m9k_mp5sd", "weapon_cuff_standard", "weapon_stungun", "arrest_stick", "unarrest_stick", "stunstick", "door_ram", "weaponchecker", "handcuffs"},
command = "police",
max = 5,
salary = 1000,
admin = 0,
vote = true,
hasLicense = true,
candemote = true,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
})

TEAM_AGENTBAC = DarkRP.createJob("Agent de la Bac", {
color = Color(21, 0, 255, 255),
model = {"models/player/Group01/male_09.mdl"},
description = [[Le commissaire est votre chef vous l'aider a arrêter les voyous !]],
weapons = {"weapon_arc_atmcard", "pocket", "weapon_fists", "keys", "riot_shield", "policebadge", "m9k_ragingbull", "m9k_honeybadger", "weapon_cuff_standard", "weapon_stungun", "arrest_stick", "unarrest_stick", "stunstick", "door_ram", "weaponchecker", "handcuffs"},
command = "bac",
max = 3,
salary = 1100,
admin = 0,
vote = true,
hasLicense = true,
candemote = true,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
})

TEAM_CHEFGIGN = DarkRP.createJob("Chef Gign", {
color = Color(21, 0, 255, 255),
model = {"models/player/gasmask.mdl"},
description = [[Le commissaire est votre chef vous l'aider a arrêter les voyous ! Ainsi vous gérer votre équipes.]],
weapons = {"weapon_arc_atmcard", "pocket", "weapon_fists", "riot_shield", "policebadge", "keys", "m9k_ragingbull", "m9k_honeybadger", "m9k_m3", "weapon_cuff_standard", "weapon_stungun", "arrest_stick", "unarrest_stick", "stunstick", "door_ram", "weaponchecker", "handcuffs"},
command = "chefgign",
max = 1,
salary = 1400,
admin = 0,
vote = true,
hasLicense = true,
candemote = true,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
customCheck = function(ply) return ply:GetNWString("usergroup") == "VIP" or ply:GetNWString("usergroup") == "moderateur" or ply:GetNWString("usergroup") == "superadmin" or ply:GetNWString("usergroup") == "grade" or ply:GetNWString("usergroup") == "admin" end,
})

TEAM_GIGN = DarkRP.createJob("Gign", {
color = Color(21, 0, 255, 255),
model = {"models/player/riot.mdl"},
description = [[Le Chef Gign est votre chef vous l'aider a arrêter les voyous !]],
weapons = {"weapon_arc_atmcard", "pocket", "weapon_fists", "keys", "policebadge", "riot_shield", "m9k_ragingbull", "m9k_an94", "weapon_cuff_standard", "weapon_stungun", "arrest_stick", "unarrest_stick", "stunstick", "door_ram", "weaponchecker", "handcuffs"},
command = "gign",
max = 5,
salary = 1000,
admin = 0,
vote = true,
hasLicense = true,
candemote = true,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
})

TEAM_SNIPERGIGN = DarkRP.createJob("Sniper Gign", {
color = Color(21, 0, 255, 255),
model = {"models/player/riot.mdl", "models/fearless/sru02.mdl", "models/fearless/cr.mdl", "models/fearless/sru01.mdl", "models/player/swat.mdl"},
description = [[Le Chef Gign est votre chef vous l'aider a arrêter les voyous !]],
weapons = {"weapon_arc_atmcard", "pocket", "weapon_fists", "riot_shield", "policebadge", "keys", "m9k_ragingbull", "m9k_intervention", "weapon_cuff_standard", "weapon_stungun", "arrest_stick", "unarrest_stick", "stunstick", "door_ram", "weaponchecker", "handcuffs"},
command = "snipergign",
max = 1,
salary = 1000,
admin = 0,
vote = true,
hasLicense = true,
candemote = true,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
})

TEAM_POMPIER = DarkRP.createJob("Pompier", {
color = Color(212, 8, 8, 255),
model = {"models/Humans/Group02/Player/Tale_05.mdl"},
description = [[Vous soyer des gens vous êtes aussi la pour etteindre les incendis.]],
weapons = {"weapon_fists", "keys", "pocket", "weapon_arc_atmcard", "weapon_extinguisher"},
command = "pomp",
max = 5,
salary = 750,
admin = 0,
vote = true,
hasLicense = false,
candemote = false,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
})

TEAM_VIOLEUR = DarkRP.createJob("Violeur", {
color = Color(20, 150, 20, 255),
model = {"models/player/hostage/hostage_04.mdl"},
description = [[Vous violer dans gens !]],
weapons = {"weapon_fists", "keys", "pocket", "weapon_arc_atmcard", "weapon_rape"},
command = "viol",
max = 2,
salary = 650,
admin = 0,
vote = true,
hasLicense = false,
candemote = false,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
customCheck = function(ply) return ply:GetNWString("usergroup") == "VIP" or ply:GetNWString("usergroup") == "moderateur" or ply:GetNWString("usergroup") == "superadmin" or ply:GetNWString("usergroup") == "grade" or ply:GetNWString("usergroup") == "admin" end,
})

TEAM_PHYCOPATHE = DarkRP.createJob("Psycopathe", {
color = Color(20, 150, 20, 255),
model = {"models/player/skeleton.mdl"},
description = [[Vous violer dans gens !]],
weapons = {"m9k_damascus", "weapon_arc_atmcard", "m9k_machete", "weapon_fists", "pocket", "keys"},
command = "phyco",
max = 2,
salary = 1300,
admin = 0,
vote = true,
hasLicense = false,
candemote = false,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
customCheck = function(ply) return ply:GetNWString("usergroup") == "VIP" or ply:GetNWString("usergroup") == "moderateur" or ply:GetNWString("usergroup") == "superadmin" or ply:GetNWString("usergroup") == "grade" or ply:GetNWString("usergroup") == "admin" end,
})

TEAM_KIDNAPEUR = DarkRP.createJob("Kidnapeur", {
color = Color(20, 150, 20, 255),
model = {"models/player/p2_chell.mdl"},
description = [[Vous violer dans gens !]],
weapons = {"weapon_fists", "keys", "pocket", "weapon_arc_atmcard", "weapon_kidnapper"},
command = "kinap",
max = 1,
salary = 650,
admin = 0,
vote = true,
hasLicense = false,
candemote = false,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
customCheck = function(ply) return ply:GetNWString("usergroup") == "VIP" or ply:GetNWString("usergroup") == "moderateur" or ply:GetNWString("usergroup") == "superadmin" or ply:GetNWString("usergroup") == "grade" or ply:GetNWString("usergroup") == "admin" end,
})
 
Ben. ®

Ben. ®

Psychopathe
Messages
2 255
Score réaction
511
Points
340
Tu es bien dans le darkrpmodification un ?
 
Reijin

Reijin

Psychopathe
Messages
1 739
Score réaction
401
Points
290
Tu as quoi dans ton vehicles.lua ?
 
  • Initiateur de la discussion
H

hamed-njer

Geek
Messages
29
Score réaction
0
Points
50
sa

local TB2Insert = {}
TB2Insert.VehicleName = "ferrari_312_lw"
TB2Insert.CarName = "Ferrari 312 1967"
TB2Insert.CarPrice = 2000000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "ferrari_365gts_lw"
TB2Insert.CarName = "Ferrari 365"
TB2Insert.CarPrice = 1000000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "ferrari_458_lw"
TB2Insert.CarName = "Ferrari 458 Italia"
TB2Insert.CarPrice = 1000000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "ferrari_f40_lw"
TB2Insert.CarName = "Ferrari F40"
TB2Insert.CarPrice = 1000000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "ferrari_ff_lw"
TB2Insert.CarName = "Ferrari FF"
TB2Insert.CarPrice = 1000000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "ferrari_laferrari_lw"
TB2Insert.CarName = "La Ferrari"
TB2Insert.CarPrice = 2000000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "fer458comp"
TB2Insert.CarName = "Ferrari Risi"
TB2Insert.CarPrice = 600000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "lam_huracan_lw"
TB2Insert.CarName = "lamborghini Huracan"
TB2Insert.CarPrice = 1000000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "lam_reventon_lw"
TB2Insert.CarName = "lamborghini Reventon"
TB2Insert.CarPrice = 1500000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "porgt3rsrtdm"
TB2Insert.CarName = "porsche 911 GT3-RSR"
TB2Insert.CarPrice = 1500000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "porsche_911_rsr_74_lw"
TB2Insert.CarName = "porsche 911 RSR 74"
TB2Insert.CarPrice = 2000000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "audir8tdm"
TB2Insert.CarName = "Audi R8"
TB2Insert.CarPrice = 200000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "audir8spydtdm"
TB2Insert.CarName = "Audi R8 SPYDER"
TB2Insert.CarPrice = 185000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "audir8plustdm"
TB2Insert.CarName = "Audi R8 Plus"
TB2Insert.CarPrice = 200000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "auds4tdm"
TB2Insert.CarName = "Audi S4"
TB2Insert.CarPrice = 65000
TB2Insert.CarRefund = 10
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "auds5tdm"
TB2Insert.CarName = "Audi S5"
TB2Insert.CarPrice = 72000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "auditttdm"
TB2Insert.CarName = "Audi TT 07"
TB2Insert.CarPrice = 50000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "Bmw1"
TB2Insert.CarName = "BMW 1M"
TB2Insert.CarPrice = 50000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "507tdm"
TB2Insert.CarName = "BMW 507"
TB2Insert.CarPrice = 300000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "m1tdm"
TB2Insert.CarName = "BMW 1M 1981"
TB2Insert.CarPrice = 1000000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "m3e92tdm"
TB2Insert.CarName = "BMW M3"
TB2Insert.CarPrice = 60000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "bmwm3gtrtdm"
TB2Insert.CarName = "BMW M3 GTR"
TB2Insert.CarPrice = 45000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "m5e34tdm"
TB2Insert.CarName = "BMW M5"
TB2Insert.CarPrice = 53261
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "bmwm5e60tdm"
TB2Insert.CarName = "BMW M5 E60"
TB2Insert.CarPrice = 62325
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "bmwm613tdm"
TB2Insert.CarName = "BMW M6"
TB2Insert.CarPrice = 70000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "veyronsstdm"
TB2Insert.CarName = "Bugatti Veyron SS"
TB2Insert.CarPrice = 3000000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "cad_lmptdm"
TB2Insert.CarName = "Cadillac"
TB2Insert.CarPrice = 4000000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "che_69camarotdm"
TB2Insert.CarName = "Chevrolet Camaro SS 69"
TB2Insert.CarPrice = 70000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "che_camarozl1tdm"
TB2Insert.CarName = "Chevrolet Camaro ZL1"
TB2Insert.CarPrice = 80000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "che_chevellesstdm"
TB2Insert.CarName = "Chevrolet Chevelle"
TB2Insert.CarPrice = 65000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "che_corv_gsctdm"
TB2Insert.CarName = "Chevrolet Corvette"
TB2Insert.CarPrice = 90000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "che_impala96tdm"
TB2Insert.CarName = "Chevrolet Impala"
TB2Insert.CarPrice = 70000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "300ctdm"
TB2Insert.CarName = "Chrysler 300"
TB2Insert.CarPrice = 55000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "chr300c12tdm"
TB2Insert.CarName = "Chrysler 300 2012"
TB2Insert.CarPrice = 65000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "ptcruisertdm"
TB2Insert.CarName = "Chrysler Petit Cruiser"
TB2Insert.CarPrice = 50000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "citroenc1tdm"
TB2Insert.CarName = "Citroen C1"
TB2Insert.CarPrice = 30000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "c4tdm"
TB2Insert.CarName = "Citroen C4"
TB2Insert.CarPrice = 32000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "dod_ram_3500tdm"
TB2Insert.CarName = "Dodge RAM 3500"
TB2Insert.CarPrice = 50000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "transittdm"
TB2Insert.CarName = "Camion Transit"
TB2Insert.CarPrice = 35000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "hudhornettdm"
TB2Insert.CarName = "Hudson Hornet"
TB2Insert.CarPrice = 1000000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "gt05tdm"
TB2Insert.CarName = "Ford GT 05"
TB2Insert.CarPrice = 500000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "h1tdm"
TB2Insert.CarName = "Hummeur H1"
TB2Insert.CarPrice = 100000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "h1opentdm"
TB2Insert.CarName = "Hummeur H2"
TB2Insert.CarPrice = 150000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)

local TB2Insert = {}
TB2Insert.VehicleName = "p1tdm"
TB2Insert.CarName = "MC Laren P1"
TB2Insert.CarPrice = 500000
TB2Insert.CarRefund = 50000
TB2Insert.IsSCar = false
TB2Insert.Description = ""
table.insert(D3DCarConfig.Car,TB2Insert)
 
Ben. ®

Ben. ®

Psychopathe
Messages
2 255
Score réaction
511
Points
340
Tu as pas un truc avec l'erreur LUA donnée ? Une erreur écrite en bleu?
 
Reijin

Reijin

Psychopathe
Messages
1 739
Score réaction
401
Points
290
Dans le vehicules.lua tu devrais avoir sa

DarkRP.createVehicle({
name = "NomDuVehicule",
model = "LeModel .mdl",
price = Prix,
label = "Nom dans le Menu F4",
-- CustomCheck
})
 
Ben. ®

Ben. ®

Psychopathe
Messages
2 255
Score réaction
511
Points
340
Ah oui , ça c'est pour le car dealer . La tu es dans véhicule.lua ..
 
  • Initiateur de la discussion
H

hamed-njer

Geek
Messages
29
Score réaction
0
Points
50
ducoup je le supprime sa ? et faut le mettre dans le car dealer ? comment ?
 
  • Initiateur de la discussion
H

hamed-njer

Geek
Messages
29
Score réaction
0
Points
50
je fait comment pour le car dealer
 
  • Initiateur de la discussion
H

hamed-njer

Geek
Messages
29
Score réaction
0
Points
50
non juste sa
[Feelty|5|STEAM_0:0:141685012] Lua Error:
[Equinox_basic_content] addons/darkrpmodification/lua/darkrp_customthings/vehicles.lua:22: attempt to index global 'D3DCarConfig' (a nil value)
1. unknown - addons/darkrpmodification/lua/darkrp_customthings/vehicles.lua:22
2. doInclude - [C]:-1
3. loadCustomDarkRPItems - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:137
4. Call - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:148
5. unknown - gamemodes/darkrp/gamemode/cl_init.lua:53
 
Ben. ®

Ben. ®

Psychopathe
Messages
2 255
Score réaction
511
Points
340
Ok bon tout d'abord, tu prend un Car Dealer, je t'envoie le lien d'un addon après .
Tu supprimes ta ligne dans vehicle.lua mais tu la copie sur un bloc note truc du genre . Puis une fois que tu aura pris le car dealer , dans un fichier qui s'appelle add3dcars truc comme sa , tu colles le truc du bloc note .
 
Ben. ®

Ben. ®

Psychopathe
Messages
2 255
Score réaction
511
Points
340
https://scriptfodder.com/scripts/view/126/3d-car-dealer-40
 
  • Initiateur de la discussion
H

hamed-njer

Geek
Messages
29
Score réaction
0
Points
50
et apres j'aurais les vehicule ?
 
Reijin

Reijin

Psychopathe
Messages
1 739
Score réaction
401
Points
290
Normalement, oui si tu as fais ce que benji a dit ;)

Cordialement,
Reijin
 
  • Initiateur de la discussion
H

hamed-njer

Geek
Messages
29
Score réaction
0
Points
50
met dans vehicule lua je met quoi ducoup ?
 
Ben. ®

Ben. ®

Psychopathe
Messages
2 255
Score réaction
511
Points
340
Reijin

Reijin

Psychopathe
Messages
1 739
Score réaction
401
Points
290
Rien dans le vehicules.lua
 
  • Initiateur de la discussion
H

hamed-njer

Geek
Messages
29
Score réaction
0
Points
50
bah ca ne fonctionne pas y'a aucun véhicule
 
Reijin

Reijin

Psychopathe
Messages
1 739
Score réaction
401
Points
290
Aucun véhicule dans le car dealer ?
 
  • Initiateur de la discussion
H

hamed-njer

Geek
Messages
29
Score réaction
0
Points
50
non
 
Mickapette

Mickapette

Psychopathe
Messages
1 126
Score réaction
193
Points
250
Humm, refais la config de ton fichier. Suis le tuto mais sur scriptfodder
 
  • Initiateur de la discussion
H

hamed-njer

Geek
Messages
29
Score réaction
0
Points
50
tu peut venir ts mickapette ?
 
  • Initiateur de la discussion
H

hamed-njer

Geek
Messages
29
Score réaction
0
Points
50
ts3.zenserv.fr:10027
 
Mickapette

Mickapette

Psychopathe
Messages
1 126
Score réaction
193
Points
250
Non je suis indisponible, désolée
 
Discord d'entraide
Rejoignz-nous sur Discord