Besoin d'aide pour quelque problème pour mon serveur GMOD:

  • Initiateur de la discussion
Numos59

Numos59

Geek suprême
Messages
96
Score réaction
4
Points
115
Bonjour, après avoir finialisé mon serveur GMOD, il me manque plus que quelque trucks que je n'arrive pa à règler du genre:

-Quand je veux mettre la porte pour un certain job, il me dit que je n'ai pas les accès approprié alors que je suis super admin..

-J'ai voulus faire le métier Vendeur d'arme et Vendeur d'arme illégal, tous est fait sauf que sa ne s'affiche pas.. Voici mon script

Merci de m'aider..

--------------------------------------------------

DarkRP.createShipment("Desert eagle", {

model = "models/weapons/w_tcom_deagle.mdl",

entity = "m9k_deagle",

price = 1200,

amount = 10,

separate = false,

pricesep = 215,

noship = false,

allowed = {TEAM_GUNDEALER},

category = "Pistols",

})



DarkRP.createShipment("Colt 1911", {

model = "models/weapons/w_sig_229r.mdl",

entity = "m9k_colt1911",

price = 750,

amount = 10,

separate = false,

pricesep = 205,

noship = fasle,

allowed = {TEAM_GUNDEALER},

category = "Pistols",

})



DarkRP.createShipment("HK 45C", {

model = "models/weapons/w_hk45c.mdl",

entity = "weapon_glock2",

price = 750,

amount = 10,

separate = false,

pricesep = 160,

noship = false,

allowed = {TEAM_GUNDEALER},

category = "Pistols",

})



DarkRP.createShipment("HK USP", {

model = "models/weapons/w_pist_fokkususp.mdl",

entity = "m9k_usp",

price = 1000,

amount = 10,

separate = false,

pricesep = 185,

noship = false,

allowed = {TEAM_GUNDEALER},

category = "Pistols",

})



DarkRP.createShipment("AMD 65", {

model = "models/weapons/w_amd_65.mdl",

entity = "m9k_amd65",

price = 2450,

amount = 10,

separate = false,

pricesep = nil,

noship = false,

allowed = {TEAM_GUNDEALER},

category = "Rifles",

})



DarkRP.createShipment("FN FAL", {

model = "models/weapons/w_fn_fal.mdl",

entity = "m9k_fal",

price = 2200,

amount = 10,

separate = false,

pricesep = nil,

noship = false,

allowed = {TEAM_GUNDEALER},

category = "Rifles",

})



DarkRP.createShipment("SCAR", {

model = "models/weapons/w_fn_scar_h.mdl",

entity = "m9k_scar",

price = 3000,

amount = 10,

separate = false,

pricesep = nil,

noship = false,

allowed = {TEAM_GUNDEALER},

category = "Rifles",

})



DarkRP.createShipment("ACR", {

model = "models/weapons/w_hk_416.mdl",

entity = "m9k_acr",

price = 2500,

amount = 10,

separate = false,

pricesep = nil,

noship = false,

allowed = {TEAM_GUNDEALER}

})



DarkRP.createShipment("Winshester Carabine", {

model = "models/weapons/w_winchester_1873.mdl",

entity = "m9k_winchester73",

price = 1750,

amount = 10,

separate = false,

pricesep = nil,

noship = false,

allowed = {TEAM_GUNDEALER},

category = "Shotguns",

})



DarkRP.createShipment("Double barrel", {

entity = "models/weapons/w_double_barrel_shotgun.mdl",

entity = "m9k_dbarrel",

price = 3500,

amount = 10,

separate = false,

pricesep = nil,

noship = false,

allowed = {TEAM_GUNDEALER},

category = "Shotguns",

})



DarkRP.createShipment("Pancor Jackhammer", {

entity = "models/weapons/w_pancor_jackhammer.mdl",

entity = "m9k_jackhammer",

price = 3500,

amount = 10,

separate = false,

pricesep = nil,

noship = false,

allowed = {TEAM_GUNDEALER},

category = "Shotguns",

})



DarkRP.createShipment("AI AW50", {

entity = "models/weapons/w_acc_int_aw50.mdl",

entity = "m9k_aw50",

price = 3000,

amount = 10,

separate = false,

pricesep = nil,

noship = false,

allowed = {TEAM_GUN},

category = "Shotguns",

})



DarkRP.createShipment("M24", {

entity = "models/weapons/w_snip_m24_6.mdl",

entity = "m9k_m24",

price = 3000,

amount = 10,

separate = false,

pricesep = nil,

noship = false,

allowed = {TEAM_GUNDEALER},

category = "Shotguns",

})



DarkRP.createShipment("MP5", {

entity = "models/weapons/w_hk_mp5.mdl",

entity = "m9k_mp5",

price = 2000,

amount = 10,

separate = false,

pricesep = nil,

noship = false,

allowed = {TEAM_GUNDEALER},

category = "Shotguns",

})



DarkRP.createShipment("HK MP7", {

entity = "models/weapons/w_mp7_silenced.mdl",

entity = "m9k_mp7",

price = 2000,

amount = 10,

separate = false,

pricesep = nil,

noship = false,

allowed = {TEAM_GUNDEALER},

category = "Shotguns",

})



DarkRP.createShipment("UZI", {

entity = "models/weapons/w_uzi_imi.mdl",

entity = "m9k_uzi",

price = 2500,

amount = 10,

separate = false,

pricesep = nil,

noship = false,

allowed = {TEAM_GUNDEALER},

category = "Shotguns",

})



DarkRP.createShipment("Glock 18", {

entity = "models/weapons/w_dmg_glock.mdl",

entity = "m9k_glock",

price = 750,

amount = 10,

separate = false,

pricesep = nil,

noship = false,

allowed = {TEAM_VENDEURARME},

category = "Shotguns",

})



DarkRP.createShipment("Regminton 1858", {

entity = "models/weapons/w_remington_1858.mdl",

entity = "m9k_remington1858",

price = 1500,

amount = 10,

separate = false,

pricesep = nil,

noship = false,

allowed = {TEAM_VENDEURARME},

category = "Shotguns",

})



DarkRP.createShipment("P08 Luger", {

entity = "models/weapons/w_luger_p08.mdl",

entity = "m9k_luger",

price = 1000,

amount = 10,

separate = false,

pricesep = nil,

noship = false,

allowed = {TEAM_VENDEURARME},

category = "Shotguns",

})



DarkRP.createShipment("Roulette Russe", {

entity = "models/weapons/w_m29_satan.mdl",

entity = "weapon_roulette",

price = 1500,

amount = 10,

separate = false,

pricesep = nil,

noship = false,

allowed = {TEAM_VENDEURARME},

category = "Shotguns",

})



DarkRP.createShipment("Couteau", {

entity = "models/weapons/v_knife_x.mdl",

entity = "m9k_knife",

price = 1750,

amount = 10,

separate = false,

pricesep = nil,

noship = false,

allowed = {TEAM_VENDEURARME},

category = "Shotguns",

})



DarkRP.createShipment("AK-47", {

entity = "models/weapons/w_ak47_m9k.mdl",

entity = "m9k_ak47",

price = 3000,

amount = 10,

separate = false,

pricesep = nil,

noship = false,

allowed = {TEAM_VENDEURARME},

category = "Shotguns",

})



DarkRP.createShipment("AK-74", {

entity = "models/weapons/w_tct_ak47.mdl",

entity = "m9k_ak74",

price = 3000,

amount = 10,

separate = false,

pricesep = nil,

noship = false,

allowed = {TEAM_VENDEURARME},

category = "Shotguns",

})



DarkRP.createShipment("HK 416", {

entity = "models/weapons/w_hk_416.mdl",

entity = "m9k_m416",

price = 3000,

amount = 10,

separate = false,

pricesep = nil,

noship = false,

allowed = {TEAM_VENDEURARME},

category = "Shotguns",

})



DarkRP.createShipment("Grenade", {

entity = "models/weapons/w_m61_fraggynade.mdl",

entity = "m9k_m61_frag",

price = 10000,

amount = 1,

separate = false,

pricesep = nil,

noship = false,

allowed = {TEAM_VENDEURARME},

category = "Shotguns",

})



DarkRP.createShipment("Keypad Cracker", {

entity = "models/weapons/w_px_planted.mdl",

entity = "keypad_cracker",

price = 2000,

amount = 10,

separate = false,

pricesep = nil,

noship = false,

allowed = {TEAM_VENDEURARME},

category = "Shotguns",

})



DarkRP.createShipment("Lockpick", {

entity = "models/weapons/w_harpooner.mdl",

entity = "lockpick",

price = 2000,

amount = 10,

separate = false,

pricesep = nil,

noship = false,

allowed = {TEAM_VENDEURARME},

category = "Shotguns",

})





DarkRP.createEntity("Money printer", {

ent = "money_printer",

model = "models/props_c17/consolebox01a.mdl",

price = 1000,

max = 2,

cmd = "buymoneyprinter"

})



if not DarkRP.disabledDefaults["modules"]["hungermod"] then

DarkRP.createEntity("Microwave", {

ent = "microwave",

model = "models/props/cs_office/microwave.mdl",

price = 400,

max = 1,

cmd = "buymicrowave",

allowed = TEAM_COOK

})

end



DarkRP.createCategory{

name = "Other",

categorises = "weapons",

startExpanded = true,

color = Color(0, 107, 0, 255),

canSee = fp{fn.Id, true},

sortOrder = 255,

})



DarkRP.createCategory{

name = "Other",

categorises = "vehicles",

startExpanded = true,

color = Color(0, 107, 0, 255),

canSee = fp{fn.Id, true},

sortOrder = 255,

})
 
Pure Code

Pure Code

Geek
Messages
180
Score réaction
10
Points
85
à la fin de chaque paragraphe tu met une virgule, exemple :


DarkRP.createCategory{

name = "Other",

categorises = "vehicles",

startExpanded = true,

color = Color(0, 107, 0, 255),

canSee = fp{fn.Id, true},

sortOrder = 255,

})


tu dois enlever la dernière virgule pour donner ceci :
DarkRP.createCategory{

name = "Other",

categorises = "vehicles",

startExpanded = true,

color = Color(0, 107, 0, 255),

canSee = fp{fn.Id, true},

sortOrder = 255

})
 
  • Initiateur de la discussion
Numos59

Numos59

Geek suprême
Messages
96
Score réaction
4
Points
115
Pour tous le script? Et pour l'accès que je n'ai pas alors que je suis superadmin?
 
Pure Code

Pure Code

Geek
Messages
180
Score réaction
10
Points
85
Pour les portes, tu n'es pas dans le bon métier, c'est pour ça. Il faut regarder dans les settings.lua si je me rappelle bien
 
  • Initiateur de la discussion
Numos59

Numos59

Geek suprême
Messages
96
Score réaction
4
Points
115
Dernière petite chose, pour ce genre de chose:
DarkRP.createShipment("Desert eagle", {
model = "models/weapons/w_tcom_deagle.mdl",
entity = "m9k_deagle",
price = 1200,
amount = 10,
separate = false,
pricesep = 215,
noship = false,
allowed = {TEAM_GUNDEALER},
category = "Pistols",
})

j'enlève la virgule à category = "Pistols"
 
Pure Code

Pure Code

Geek
Messages
180
Score réaction
10
Points
85
Numos59 à dit:
Dernière petite chose, pour ce genre de chose:
DarkRP.createShipment("Desert eagle", {
model = "models/weapons/w_tcom_deagle.mdl",
entity = "m9k_deagle",
price = 1200,
amount = 10,
separate = false,
pricesep = 215,
noship = false,
allowed = {TEAM_GUNDEALER},
category = "Pistols",
})

j'enlève la virgule à category = "Pistols"
Oui car rien ne suit après :), c'est la fin du shipment quoi, pas besoin de mettre une virgule, c'est comme si dans une phrase tu met des virgules à la place des points !
 
  • Initiateur de la discussion
Numos59

Numos59

Geek suprême
Messages
96
Score réaction
4
Points
115
Bonjour, j'ai enlever les virgules comme vous m'avez dit, et rien ne marche toujours.. Même après un reboot..

DarkRP.createShipment("Desert eagle", {
model = "models/weapons/w_tcom_deagle.mdl",
entity = "m9k_deagle",
price = 1200,
amount = 10,
separate = false,
pricesep = 215,
noship = false,
allowed = {TEAM_GUNDEALER},
category = "Pistols"
})

DarkRP.createShipment("Colt 1911", {
model = "models/weapons/w_sig_229r.mdl",
entity = "m9k_colt1911",
price = 750,
amount = 10,
separate = false,
pricesep = 205,
noship = fasle,
allowed = {TEAM_GUNDEALER},
category = "Pistols"
})

DarkRP.createShipment("HK 45C", {
model = "models/weapons/w_hk45c.mdl",
entity = "weapon_glock2",
price = 750,
amount = 10,
separate = false,
pricesep = 160,
noship = false,
allowed = {TEAM_GUNDEALER},
category = "Pistols"
})

DarkRP.createShipment("HK USP", {
model = "models/weapons/w_pist_fokkususp.mdl",
entity = "m9k_usp",
price = 1000,
amount = 10,
separate = false,
pricesep = 185,
noship = false,
allowed = {TEAM_GUNDEALER},
category = "Pistols"
})

DarkRP.createShipment("AMD 65", {
model = "models/weapons/w_amd_65.mdl",
entity = "m9k_amd65",
price = 2450,
amount = 10,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_GUNDEALER},
category = "Rifles"
})

DarkRP.createShipment("FN FAL", {
model = "models/weapons/w_fn_fal.mdl",
entity = "m9k_fal",
price = 2200,
amount = 10,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_GUNDEALER},
category = "Rifles"
})

DarkRP.createShipment("SCAR", {
model = "models/weapons/w_fn_scar_h.mdl",
entity = "m9k_scar",
price = 3000,
amount = 10,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_GUNDEALER},
category = "Rifles"
})

DarkRP.createShipment("ACR", {
model = "models/weapons/w_hk_416.mdl",
entity = "m9k_acr",
price = 2500,
amount = 10,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_GUNDEALER}
category = "Rifles"
})

DarkRP.createShipment("Winshester Carabine", {
model = "models/weapons/w_winchester_1873.mdl",
entity = "m9k_winchester73",
price = 1750,
amount = 10,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_GUNDEALER},
category = "Shotguns"
})

DarkRP.createShipment("Double barrel", {
entity = "models/weapons/w_double_barrel_shotgun.mdl",
entity = "m9k_dbarrel",
price = 3500,
amount = 10,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_GUNDEALER},
category = "Shotguns"
})

DarkRP.createShipment("Pancor Jackhammer", {
entity = "models/weapons/w_pancor_jackhammer.mdl",
entity = "m9k_jackhammer",
price = 3500,
amount = 10,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_GUNDEALER},
category = "Shotguns"
})

DarkRP.createShipment("AI AW50", {
entity = "models/weapons/w_acc_int_aw50.mdl",
entity = "m9k_aw50",
price = 3000,
amount = 10,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_GUN},
category = "Shotguns"
})

DarkRP.createShipment("M24", {
entity = "models/weapons/w_snip_m24_6.mdl",
entity = "m9k_m24",
price = 3000,
amount = 10,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_GUNDEALER},
category = "Shotguns"
})

DarkRP.createShipment("MP5", {
entity = "models/weapons/w_hk_mp5.mdl",
entity = "m9k_mp5",
price = 2000,
amount = 10,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_GUNDEALER},
category = "Shotguns"
})

DarkRP.createShipment("HK MP7", {
entity = "models/weapons/w_mp7_silenced.mdl",
entity = "m9k_mp7",
price = 2000,
amount = 10,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_GUNDEALER},
category = "Shotguns"
})

DarkRP.createShipment("UZI", {
entity = "models/weapons/w_uzi_imi.mdl",
entity = "m9k_uzi",
price = 2500,
amount = 10,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_GUNDEALER},
category = "Shotguns"
})

DarkRP.createShipment("Glock 18", {
entity = "models/weapons/w_dmg_glock.mdl",
entity = "m9k_glock",
price = 750,
amount = 10,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_VENDEURARME},
category = "Shotguns"
})

DarkRP.createShipment("Regminton 1858", {
entity = "models/weapons/w_remington_1858.mdl",
entity = "m9k_remington1858",
price = 1500,
amount = 10,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_VENDEURARME},
category = "Shotguns"
})

DarkRP.createShipment("P08 Luger", {
entity = "models/weapons/w_luger_p08.mdl",
entity = "m9k_luger",
price = 1000,
amount = 10,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_VENDEURARME},
category = "Shotguns"
})

DarkRP.createShipment("Roulette Russe", {
entity = "models/weapons/w_m29_satan.mdl",
entity = "weapon_roulette",
price = 1500,
amount = 10,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_VENDEURARME},
category = "Shotguns"
})

DarkRP.createShipment("Couteau", {
entity = "models/weapons/v_knife_x.mdl",
entity = "m9k_knife",
price = 1750,
amount = 10,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_VENDEURARME},
category = "Shotguns"
})

DarkRP.createShipment("AK-47", {
entity = "models/weapons/w_ak47_m9k.mdl",
entity = "m9k_ak47",
price = 3000,
amount = 10,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_VENDEURARME},
category = "Shotguns"
})

DarkRP.createShipment("AK-74", {
entity = "models/weapons/w_tct_ak47.mdl",
entity = "m9k_ak74",
price = 3000,
amount = 10,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_VENDEURARME},
category = "Shotguns"
})

DarkRP.createShipment("HK 416", {
entity = "models/weapons/w_hk_416.mdl",
entity = "m9k_m416",
price = 3000,
amount = 10,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_VENDEURARME},
category = "Shotguns"
})

DarkRP.createShipment("Grenade", {
entity = "models/weapons/w_m61_fraggynade.mdl",
entity = "m9k_m61_frag",
price = 10000,
amount = 1,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_VENDEURARME},
category = "Shotguns"
})

DarkRP.createShipment("Keypad Cracker", {
entity = "models/weapons/w_px_planted.mdl",
entity = "keypad_cracker",
price = 2000,
amount = 10,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_VENDEURARME},
category = "Shotguns"
})

DarkRP.createShipment("Lockpick", {
entity = "models/weapons/w_harpooner.mdl",
entity = "lockpick",
price = 2000,
amount = 10,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_VENDEURARME},
category = "Shotguns"
})


DarkRP.createEntity("Money printer", {
ent = "money_printer",
model = "models/props_c17/consolebox01a.mdl",
price = 1000,
max = 2,
cmd = "buymoneyprinter"
})

if not DarkRP.disabledDefaults["modules"]["hungermod"] then
DarkRP.createEntity("Microwave", {
ent = "microwave",
model = "models/props/cs_office/microwave.mdl",
price = 400,
max = 1,
cmd = "buymicrowave",
allowed = TEAM_COOK
})
end

DarkRP.createCategory{
name = "Other",
categorises = "weapons",
startExpanded = true,
color = Color(0, 107, 0, 255),
canSee = fp{fn.Id, true},
sortOrder = 255
})

DarkRP.createCategory{
name = "Other",
categorises = "vehicles",
startExpanded = true,
color = Color(0, 107, 0, 255),
canSee = fp{fn.Id, true},
sortOrder = 255
})
 
Pure Code

Pure Code

Geek
Messages
180
Score réaction
10
Points
85
désolé, je ne sais pas trop X)
j'espère que quelqu'un viendra t'aider ! j'ai jamais fait les shipments :p
 
  • Initiateur de la discussion
Numos59

Numos59

Geek suprême
Messages
96
Score réaction
4
Points
115
Alors, pouvez-vous m'aider pour les portes ? Mettre un groupe de porte
 
Discord d'entraide
Rejoignz-nous sur Discord