Darkrp customthings ne fonctionne pas

  • Initiateur de la discussion sunmoonyan
  • Date de début
  • Initiateur de la discussion
S

sunmoonyan

Geek suprême
Messages
103
Score réaction
1
Points
110
bonjour , jai aporté de nombreuse modification au jobs . lua , au food.lua et au shimpment.lua et pourtant quand je vais sur le serveur rien ne change
 
  • Administration
Numerix

Numerix

Admin
Membre du Staff
Messages
1 913
Score réaction
356
Points
315
Envoie les logs du serveur ainsi que les fichiers que tu as edit
 
  • Initiateur de la discussion
S

sunmoonyan

Geek suprême
Messages
103
Score réaction
1
Points
110
shipment.lua :
--[[---------------------------------------------------------------------------
DarkRP custom shipments and guns
---------------------------------------------------------------------------

This file contains your custom shipments and guns.
This file should also contain shipments and guns from DarkRP that you edited.

Note: If you want to edit a default DarkRP shipment, first disable it in darkrp_config/disabled_defaults.lua
Once you've done that, copy and paste the shipment to this file and edit it.

The default shipments and guns can be found here:

For examples and explanation please visit this wiki page:


Add shipments and guns under the following line:
---------------------------------------------------------------------------]]
DarkRP.createShipment("Python", "models/weapons/w_colt_python.mdl", "m9k_coltpython", 12000, 10, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("Python Single", "models/weapons/w_colt_python.mdl", "m9k_coltpython", 1200, 1, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("Colt 1911", "models/weapons/s_dmgf_co1911.mdl", "m9k_colt1911", 12000, 10, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("Colt 1911 Single", "models/weapons/s_dmgf_co1911.mdl", "m9k_colt1911", 1500, 1, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("HK 45C", "models/weapons/w_hk45c.mdl", "m9k_hk45", 15000, 10, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("HK 45C Single", "models/weapons/w_hk45c.mdl", "m9k_hk45", 2000, 1, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("Luger", "models/weapons/w_luger_p08.mdl", "m9k_luger", 12000, 10, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("Luger Single", "models/weapons/w_luger_p08.mdl", "m9k_luger", 1000, 1, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("Raging Bull", "models/weapons/w_hk45c.mdl", "m9k_ragingbull", 30000, 10, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("Raging Bull Single", "models/weapons/w_hk45c.mdl", "m9k_ragingbull", 6000, 1, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("S&W 500", "models/weapons/w_sw_model_500.mdl", "m9k_model500", 27500, 10, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("S&W 500 Single", "models/weapons/w_sw_model_500.mdl", "m9k_model500", 5500, 10, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("M29 Satan", "models/weapons/w_m29_satan.mdl", "m9k_m29satan", 30000, 10, false, 0, false, {TEAM_LIGHT})
DarkRP.createShipment("M29 Satan Single", "models/weapons/w_m29_satan.mdl", "m9k_m29satan", 7500, 1, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("Baretta", "models/weapons/w_beretta_m92.mdl", "m9k_m92baretta", 14000, 10, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("Baretta Single", "models/weapons/w_beretta_m92.mdl", "m9k_m92baretta", 2000, 1, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("S&W Model 3 Russian", "models/weapons/w_model_3_rus.mdl", "m9k_model3russian", 30000, 10, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("S&W Model 3 Russian Single", "models/weapons/w_model_3_rus.mdl", "m9k_model3russian", 4000, 1, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("S&W 627", "models/weapons/w_sw_model_627.mdl", "m9k_model627", 30000, 10, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("S&W 627 Single", "models/weapons/w_sw_model_627.mdl", "m9k_model627", 4250, 1, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("Acr", "models/weapons/w_masada_acr.mdl", "m9k_acr", 40000, 10, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("Acr Single", "models/weapons/w_masada_acr.mdl", "m9k_acr", 5000, 1, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("AMD 65", "models/weapons/w_amd_65.mdl", "m9k_amd65", 50000, 10, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("AMD 65 Single", "models/weapons/w_amd_65.mdl", "m9k_amd65", 6000, 1, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("FN FAL", "models/weapons/w_fn_fal.mdl", "m9k_fal", 40000, 10, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("FN FAL Single", "models/weapons/w_fn_fal.mdl", "m9k_fal", 5500, 1, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("M14", "models/weapons/w_snip_m14sp.mdl", "m9k_m14sp", 50000, 10, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("M14 Single", "models/weapons/w_snip_m14sp.mdl", "m9k_m14sp", 5250, 1, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("M16 Scoped", "models/weapons/w_dmg_m16ag.mdl", "m9k_m16a4_acog", 52500, 10, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("M16 Scoped Single", "models/weapons/w_dmg_m16ag.mdl", "m9k_m16a4_acog", 5750, 1, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("HK 16", "models/weapons/w_hk_416.mdl", "m9k_m416", 50000, 10, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("HK 16 Single", "models/weapons/w_hk_416.mdl", "m9k_m416", 5500, 1, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("Scar", "models/weapons/w_fn_scar_h.mdl", "m9k_scar", 60000, 10, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("Scar Single", "models/weapons/w_fn_scar_h.mdl", "m9k_scar", 7250, 1, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("TAR-21", "models/weapons/w_imi_tar21.mdl", "m9k_tar21", 50000, 10, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("TAR-21 Single", "models/weapons/w_imi_tar21.mdl", "m9k_tar21", 5250, 1, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("Val", "models/weapons/w_dmg_vally.mdl", "m9k_val", 55750, 10, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("Val Single", "models/weapons/w_dmg_vally.mdl", "m9k_val", 5500, 1, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("SR-3M Vikhr", "models/weapons/w_dmg_vikhr.mdl", "m9k_vikhr", 50000, 10, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("SR-3M Vikhr Single", "models/weapons/w_dmg_vikhr.mdl", "m9k_vikhr", 4500, 1, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("Winchester 73", "models/weapons/w_winchester_1873.mdl", "m9k_winchester73", 35000, 10, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("Winchester 73 Single", "models/weapons/w_winchester_1873.mdl", "m9k_winchester73", 4000, 1, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("Barret M82", "models/weapons/w_barret_m82.mdl", "m9k_barret_m82", 100000, 10, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("Barret M82 Single", "models/weapons/w_barret_m82.mdl", "m9k_barret_m82", 12500, 1, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("Barret M98B", "models/weapons/w_barrett_m98b.mdl", "m9k_m98b", 110000, 10, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("Barret M98B Single", "models/weapons/w_barrett_m98b.mdl", "m9k_m98b", 12000, 1, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("SVT 40", "models/weapons/w_svt_40.mdl", "m9k_svt40", 50000, 10, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("SVT 40 Single", "models/weapons/w_svt_40.mdl", "m9k_svt40", 6000, 1, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("Dragunov SVU", "models/weapons/w_dragunov_svu.mdl", "m9k_svu", 80000, 10, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("Dragunov SVU Single", "models/weapons/w_dragunov_svu.mdl", "m9k_svu", 9000, 1, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("SVD Dragunov", "models/weapons/w_svd_dragunov.mdl", "m9k_dragunov", 85000, 10, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("SVD Dragunov Single", "models/weapons/w_svd_dragunov.mdl", "m9k_dragunov", 9500, 1, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("Intervention", "models/weapons/w_snp_int.mdl", "m9k_intervention", 125000, 10, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("Intervention Single", "models/weapons/w_snp_int.mdl", "m9k_intervention", 15000, 1, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("PSG-1", "models/weapons/w_hk_psg1.mdl", "m9k_psg1", 70000, 10, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("PSG-1 Single", "models/weapons/w_hk_psg1.mdl", "m9k_psg1", 8000, 1, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("AW 50", "models/weapons/w_acc_int_aw50.mdl", "m9k_aw50", 100000, 10, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("AW 50 Single", "models/weapons/w_acc_int_aw50.mdl", "m9k_aw50", 12000, 1, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("M24", "models/weapons/w_snip_m24_6.mdl", "m9k_m24", 70000, 10, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("M24 Single", "models/weapons/w_snip_m24_6.mdl", "m9k_m24", 7750, 1, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("Remington 7615P", "models/weapons/w_remington_7615p.mdl", "m9k_remington7615p", 80000, 10, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("Remington 7615P Single", "models/weapons/w_remington_7615p.mdl", "m9k_remington7615p", 9000, 1, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("Thompson Condender", "models/weapons/w_g2_contender.mdl", "m9k_contender", 50000, 10, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("Thompson Condender Single", "models/weapons/w_g2_contender.mdl", "m9k_contender", 6000, 1, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("AWP", "models/weapons/w_snip_awp.mdl", "weapon_mad_awp", 50000, 10, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("AWP Single", "models/weapons/w_snip_awp.mdl", "weapon_mad_awp", 8000, 1, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("Scout", "models/weapons/w_snip_scout.mdl", "weapon_mad_scout", 45000, 10, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("Scout Single", "models/weapons/w_snip_scout.mdl", "weapon_mad_scout", 6000, 1, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("FG42", "models/weapons/w_fg42.mdl", "m9k_fg42", 5000, 10, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("FG42 Single", "models/weapons/w_fg42.mdl", "m9k_fg42", 550, 1, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("M60", "models/weapons/w_m60_machine_gun.mdl", "m9k_m60", 20000, 10, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("M60 Single", "models/weapons/w_m60_machine_gun.mdl", "m9k_m60", 5000, 1, false, 123, false, {TEAM_GUN})
DarkRP.createShipment("Mini Gun", "models/weapons/w_m134_minigun.mdl", "m9k_minigun", 1500000, 10, false, 0, false, {TEAM_GUN})
DarkRP.createShipment("Mini Gun Single", "models/weapons/w_m134_minigun.mdl", "m9k_minigun", 150000, 1, false, 0, false, {TEAM_GUN})

DarkRP.createAmmoType("357", {
name = "M9K 357 ammo",
model = "models/Items/357ammobox.mdl",
price = 60,
amountGiven = 20
})
DarkRP.createAmmoType("ar2", {
name = "M9K Rifle ammo",
model = "models/Items/BoxMRounds.mdl",
price = 60,
amountGiven = 30
})
DarkRP.createAmmoType("buckshot", {
name = "M9K Shotgun ammo",
model = "models/Items/BoxBuckshot.mdl",
price = 40,
amountGiven = 8
})
DarkRP.createAmmoType("pistol", {
name = "M9K Pistol ammo",
model = "models/Items/BoxSRounds.mdl",
price = 20,
amountGiven = 20
})
DarkRP.createAmmoType("smg1", {
name = "M9K SMG ammo",
model = "models/Items/BoxMRounds.mdl",
price = 40,
amountGiven = 60
})
DarkRP.createAmmoType("SniperPenetratedRound", {
name = "M9K Sniper ammo",
model = "models/Items/BoxMRounds.mdl",
price = 80,
amountGiven = 6
})


jobs.lua:

--[[---------------------------------------------------------------------------
DarkRP custom jobs
---------------------------------------------------------------------------

This file contains your custom jobs.
This file should also contain jobs from DarkRP that you edited.

Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
Once you've done that, copy and paste the job to this file and edit it.

The default jobs can be found here:

For examples and explanation please visit this wiki page:

Add jobs under the following line:
---------------------------------------------------------------------------]]
TEAM_POLICE = DarkRP.createJob("Policer", {
color = Color(25, 25, 170, 255),
model = {"models/player/nypd/cop_01.mdl"},
description = [[Il protège les citoyens et fait respecter les lois.]],
weapons = {"weapon_glock2", "stunstick", "door_ram", "weaponchecker"},
command = "cp",
max = 4,
salary = 50,
admin = 0,
vote = true,
hasLicense = true,
ammo = {
["pistol"] = 60,
},
category = "Civil Protection",
})

TEAM_CHIEF = DarkRP.createJob("Commisaire", {
color = Color(20, 20, 255, 255),
model = "models/player/uk_police/uk_police_01.mdl",
description = [[Il est le chef de la police.]],
weapons = {"weapon_deagle2", "stunstick", "door_ram", "weaponchecker"},
command = "chief",
max = 1,
salary = 60,
admin = 0,
vote = false,
hasLicense = true,
chief = true,
NeedToChangeFrom = TEAM_POLICE,
ammo = {
["pistol"] = 60,
},
category = "Civil Protection",
})

TEAM_MEDIC = DarkRP.createJob("Ambulancier", {
color = Color(47, 79, 79, 255),
model = "models/player/Group03m/male_07.mdl",
description = [[Il ramène les gens à l’hôpital.]],
weapons = {"med_kit"},
command = "medic",
max = 4,
salary = 15,
admin = 0,
vote = false,
hasLicense = false,
medic = true,
category = "Citizens",
})

TEAM_MAYOR = DarkRP.createJob("Maire", {
color = Color(150, 20, 20, 255),
model = "models/Obama/Obama.mdl",
description = [[Il dirige la ville.]],
weapons = {},
command = "mayor",
max = 1,
salary = 120,
admin = 0,
vote = true,
hasLicense = false,
mayor = true,
category = "Civil Protection",
})

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 = [[Il est plongé en plein coeur d'actions illégales.]],
weapons = {},
command = "gangster",
max = 3,
salary = 10,
admin = 0,
vote = false,
hasLicense = false,
category = "Gangsters",
})

TEAM_MOB = DarkRP.createJob("Chef des gangsters", {
color = Color(25, 25, 25, 255),
model = "models/player/gman_high.mdl",
description = [[Il dirige les gangsters.]],
weapons = {"lockpick", "unarrest_stick"},
command = "mobboss",
max = 1,
salary = 20,
admin = 0,
vote = false,
hasLicense = false,
category = "Gangsters",
})

TEAM_GUN = DarkRP.createJob("Armurier", {
color = Color(255, 140, 0, 255),
model = "models/player/odessa.mdl",
description = [[Vous délivrez des armes légales (avec port d'arme).]],
weapons = {},
command = "gundealer",
max = 2,
salary = GAMEMODE.Config.normalsalary,
admin = 0,
vote = false,
hasLicense = false,
category = "Citizens",
})

TEAM_CHIRUG = DarkRP.createJob("Chirurgien", {
color = Color(47, 79, 79, 255),
model = "models/player/hostage/hostage_04.mdl",
description = [[Il opère les gens à l’hôpital.]],
weapons = {"med_kit"},
command = "medic",
max = 2,
salary = 15,
admin = 0,
vote = false,
hasLicense = false,
medic = true,
category = "Citizens",
})

TEAM_MED = DarkRP.createJob("Médecin privé", {
color = Color(47, 79, 79, 255),
model = "models/player/hostage/hostage_04.mdl",
description = [[Il soigne les gens à sa clinique.]],
weapons = {"med_kit"},
command = "medic",
max = 1,
salary = 15,
admin = 0,
vote = false,
hasLicense = false,
medic = true,
category = "Citizens",
})

TEAM_DGSI = DarkRP.createJob("Membre de la DGSI", {
color = Color(0, 0, 0, 255),
model = {"models/player/magnusson.mdl"},
description = [[Il assure la sécurité de la ville, mais dans l'ombre. ]],
weapons = {"weapon_ak472"},
command = "/dgsi",
max = 3,
salary = 45,
admin = 0,
vote = false,
hasLicense = 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_MOB)

food.lua:

--[[---------------------------------------------------------------------------
DarkRP custom food
---------------------------------------------------------------------------

This file contains your custom food.
This file should also contain food from DarkRP that you edited.

THIS WILL ONLY LOAD IF HUNGERMOD IS ENABLED IN darkrp_config/disabled_defaults.lua.
IT IS DISABLED BY DEFAULT.

Note: If you want to edit a default DarkRP food, first disable it in darkrp_config/disabled_defaults.lua
Once you've done that, copy and paste the food item to this file and edit it.

The default food can be found here:

Add food under the following line:
---------------------------------------------------------------------------]]
--[[
Generated using: DarkRP | Food Generator
Food Generator | cSite Alpha
--]]
DarkRP.createFood("Pomme", {
model = "models/foodnhouseholditems/apple.mdl",
energy = 10,
price = 50
})
--[[
Generated using: DarkRP | Food Generator
Food Generator | cSite Alpha
--]]
DarkRP.createFood("baguette", {
model = "models/foodnhouseholditems/bread_loaf.mdl",
energy = 15,
price = 100
})
--[[
Generated using: DarkRP | Food Generator
Food Generator | cSite Alpha
--]]
DarkRP.createFood("donut", {
model = "models/foodnhouseholditems/donut.mdl",
energy = 10,
price = 60
})
--[[
Generated using: DarkRP | Food Generator
Food Generator | cSite Alpha
--]]
DarkRP.createFood("pasteque", {
model = "models/foodnhouseholditems/watermelon_unbreakable.mdl",
energy = 20,
price = 100
})
--[[
Generated using: DarkRP | Food Generator
Food Generator | cSite Alpha
--]]
DarkRP.createFood("Doritos", {
model = "models/foodnhouseholditems/chipsdoritos.mdl",
energy = 35,
price = 500
})
--[[
Generated using: DarkRP | Food Generator
Food Generator | cSite Alpha
--]]
DarkRP.createFood("Coca cola", {
model = "models/foodnhouseholditems/sodacan01.mdl",
energy = 10,
price = 30
})
--[[
Generated using: DarkRP | Food Generator
Food Generator | cSite Alpha
--]]
DarkRP.createFood("Redbull", {
model = "models/foodnhouseholditems/sodacanc01.mdl",
energy = 10,
price = 20
})
--[[
Generated using: DarkRP | Food Generator
Food Generator | cSite Alpha
--]]
DarkRP.createFood("Monster", {
model = "models/foodnhouseholditems/sodacanb01.mdl",
energy = 5,
price = 50
})

entities.lua:

--[[---------------------------------------------------------------------------
DarkRP custom entities
---------------------------------------------------------------------------

This file contains your custom entities.
This file should also contain entities from DarkRP that you edited.

Note: If you want to edit a default DarkRP entity, first disable it in darkrp_config/disabled_defaults.lua
Once you've done that, copy and paste the entity to this file and edit it.

The default entities can be found here:

For examples and explanation please visit this wiki page:

Add entities under the following line:
---------------------------------------------------------------------------]]
--[[
Generated using: DarkRP | Entity Generator
Entity Generator | cSite Alpha
--]]
DarkRP.createEntity("Scanner", {
ent = "print_scanner",
model = "models/props/money_printer_pieces/scanner.mdl",
price = 3000,
max = 4,
cmd = "buyscanner",
allowed = {TEAM_GANG, TEAM_MOB}
})
--[[
Generated using: DarkRP | Entity Generator
Entity Generator | cSite Alpha
--]]
DarkRP.createEntity("plateau de registre", {
ent = "register_tray",
model = "models/props/money_printer_pieces/register.mdl",
price = 3500,
max = 4,
cmd = "buyregister",
allowed = {TEAM_GANG, TEAM_MOB}
})
--[[
Generated using: DarkRP | Entity Generator
Entity Generator | cSite Alpha
--]]
DarkRP.createEntity(" affichage de l'imprimante", {
ent = "printer_display",
model = "models/props/money_printer_pieces/display.mdl",
price = 4000,
max = 4,
cmd = "buydisplay",
allowed = {TEAM_GANG, TEAM_MOB}
})
--[[
Generated using: DarkRP | Entity Generator
Entity Generator | cSite Alpha
--]]
DarkRP.createEntity("tambour de papier", {
ent = "paper_drum",
model = "models/props/money_printer_pieces/drum.mdl",
price = 3000,
max = 4,
cmd = "buydrumpaper",
allowed = {TEAM_GANG, TEAM_MOB}
})
--[[
Generated using: DarkRP | Entity Generator
Entity Generator | cSite Alpha
--]]
DarkRP.createEntity("Papier", {
ent = "paper_money",
model = "models/foodnhouseholditems/newspaper1.mdl",
price = 500,
max = 10,
cmd = "buypaper",
allowed = {TEAM_GANG, TEAM_MOB}
})
--[[
Generated using: DarkRP | Entity Generator
Entity Generator | cSite Alpha
--]]
DarkRP.createEntity(" timbre d'argent 10$", {
ent = "money_stamp_10",
model = "models/props/cs_assault/money.mdl",
price = 1000,
max = 10,
cmd = "buymoney",
allowed = {TEAM_GANG, TEAM_MOB}
})
--[[
Generated using: DarkRP | Entity Generator
Entity Generator | cSite Alpha
--]]
DarkRP.createEntity(" timbre d'argent 20$", {
ent = "money_stamp_20",
model = "models/props/cs_assault/money.mdl",
price = 2000,
max = 10,
cmd = "buymoney2",
allowed = {TEAM_GANG, TEAM_MOB}
})
--[[
Generated using: DarkRP | Entity Generator
Entity Generator | cSite Alpha
--]]
DarkRP.createEntity(" timbre d'argent 100$", {
ent = "money_stamp_100",
model = "models/props/cs_assault/money.mdl",
price = 10000,
max = 10,
cmd = "buymoney3",
allowed = {TEAM_GANG, TEAM_MOB}
})
 
  • Administration
Numerix

Numerix

Admin
Membre du Staff
Messages
1 913
Score réaction
356
Points
315
Il manque les logs du serveur (et je veux bien que tu mette les fichiers sur pastebin.com pour que ce soit plus lisible)
 
  • Initiateur de la discussion
S

sunmoonyan

Geek suprême
Messages
103
Score réaction
1
Points
110
ok pas de probleme
 
  • Initiateur de la discussion
S

sunmoonyan

Geek suprême
Messages
103
Score réaction
1
Points
110
 
  • Administration
Numerix

Numerix

Admin
Membre du Staff
Messages
1 913
Score réaction
356
Points
315
Le problème c'est que tu as fait des jobs ayant les même commandes que ceux de base donc il faut que tu désactive les jobs de base dans le disabled_default (en oubliant pas de refaire un job Citoyen)
 
  • Initiateur de la discussion
S

sunmoonyan

Geek suprême
Messages
103
Score réaction
1
Points
110
merci beaucoup , mais pour les shipments du vendeur d'armes , pourquoi les armes n'apparaissent pas?
 
  • Administration
Numerix

Numerix

Admin
Membre du Staff
Messages
1 913
Score réaction
356
Points
315
Fix le bug et il devrait être mis sur le serveur
 
  • Initiateur de la discussion
S

sunmoonyan

Geek suprême
Messages
103
Score réaction
1
Points
110
ah enfaite sa a tout reglé , merci beaucoup , vous etes un dieu pour moi ^^ (sinon tres beau les hud)
 
  • Initiateur de la discussion
S

sunmoonyan

Geek suprême
Messages
103
Score réaction
1
Points
110
apres jai une petite question avant de vous laissez , vous connaissez les vending machine de zero's , car je ne sait pas comment les laissé sur le serv meme au reboot
 
  • Administration
Numerix

Numerix

Admin
Membre du Staff
Messages
1 913
Score réaction
356
Points
315
!savezvm pour save les entités de l'addon
 
  • Initiateur de la discussion
S

sunmoonyan

Geek suprême
Messages
103
Score réaction
1
Points
110
merci bcp ^^ bonne journé
 
Discord d'entraide
Rejoignz-nous sur Discord