.

  • Initiateur de la discussion
Valia

Valia

Wanka !
Messages
35
Score réaction
1
Points
80
.
 
Dernière édition:
gogo17

gogo17

Geek suprême
Messages
256
Score réaction
33
Points
130
Il faut que tu les mettent en false.
 
  • J'aime
Réactions: Valia
  • Initiateur de la discussion
Valia

Valia

Wanka !
Messages
35
Score réaction
1
Points
80
gogo17

gogo17

Geek suprême
Messages
256
Score réaction
33
Points
130
Pas de soucis, dit moi si sa fonctionne stp.
 
  • J'aime
Réactions: Valia
  • Initiateur de la discussion
Valia

Valia

Wanka !
Messages
35
Score réaction
1
Points
80
mtn ça m'a remis les jobs par default en anglais :/
 
gogo17

gogo17

Geek suprême
Messages
256
Score réaction
33
Points
130
Normalement sa ne fonctionera pas si jamais sa ne fonctionne pasj 'ai une autre solution plus radicale mais qui fonctionnera a 99%
 
  • Initiateur de la discussion
Valia

Valia

Wanka !
Messages
35
Score réaction
1
Points
80
dit moi stp , car ça m'a remis les jobs en anglais et tout :/
 
gogo17

gogo17

Geek suprême
Messages
256
Score réaction
33
Points
130
Ok alors : /srcds/garrysmod/gamemodes/darkrp/gamemode/config/jobrelated.lua

Puis : Tu supprime tout les jobs que tu n'as pas besoin ( un conseil, ne supprime pas le citizen).

Sinon au lieu de les supprimer, tu les mets en commentaire.
 
  • Initiateur de la discussion
Valia

Valia

Wanka !
Messages
35
Score réaction
1
Points
80
d'accord et je peux modifier le job citizen ?
 
gogo17

gogo17

Geek suprême
Messages
256
Score réaction
33
Points
130
Oui tu peux le mofifier mais pas le TEAM_CITIZEN, sinon il faut faire plein de modifs un peu partout
 
  • Initiateur de la discussion
Valia

Valia

Wanka !
Messages
35
Score réaction
1
Points
80
d'accord merci je te dit si ça marche
 
gogo17

gogo17

Geek suprême
Messages
256
Score réaction
33
Points
130
Ok pas de soucis tkt ;)
 
  • Initiateur de la discussion
Valia

Valia

Wanka !
Messages
35
Score réaction
1
Points
80
ça me met quand même que les jobs de base
 
  • Initiateur de la discussion
Valia

Valia

Wanka !
Messages
35
Score réaction
1
Points
80
pas les autres pourtant j'ai pas d'erreur dans mon jobs.lua
 
gogo17

gogo17

Geek suprême
Messages
256
Score réaction
33
Points
130
Alors là a ce moement la je ne sais pas pourquoi car si ils sont dans le gamemode de base tu les as supprimer, tu peux m'envoyer ton jobrelated.lua stp ?
 
  • Initiateur de la discussion
Valia

Valia

Wanka !
Messages
35
Score réaction
1
Points
80
d'accord
 
  • Initiateur de la discussion
Valia

Valia

Wanka !
Messages
35
Score réaction
1
Points
80
-- People often copy jobs. When they do, the GM table does not exist anymore. - - Pastebin.com
 
  • Initiateur de la discussion
Valia

Valia

Wanka !
Messages
35
Score réaction
1
Points
80
--[[--------------------------------------------------------------------------- - Pastebin.com Mon jobs.lua
 
  • Initiateur de la discussion
Valia

Valia

Wanka !
Messages
35
Score réaction
1
Points
80
gogo17 à dit:
Alors là a ce moement la je ne sais pas pourquoi car si ils sont dans le gamemode de base tu les as supprimer, tu peux m'envoyer ton jobrelated.lua stp ?
-- People often copy jobs. When they do, the GM table does not exist anymore. - - Pastebin.com
 
  • Initiateur de la discussion
Valia

Valia

Wanka !
Messages
35
Score réaction
1
Points
80
Valia à dit:
--[[--------------------------------------------------------------------------- - Pastebin.com Mon jobs.lua
[/QUOTE
gogo17 à dit:
Alors là a ce moement la je ne sais pas pourquoi car si ils sont dans le gamemode de base tu les as supprimer, tu peux m'envoyer ton jobrelated.lua stp ?
tiens
 
Ryoley

Ryoley

Geek suprême
Messages
239
Score réaction
29
Points
140
Bonjour / bonsoir.
Remplace le contenu de ton fichier disabled_defaults.lua par ceci :
Code:
--[[---------------------------------------------------------------------------
DarkRP disabled defaults
---------------------------------------------------------------------------
DarkRP comes with a bunch of default things: - a load of modules - default jobs - shipments and guns - entities (like the money printer) and many more
If you want to disable or replace the default things, you should disable them here
Note: if you want to have e.g. edit the official medic job, you MUST disable the default one in this file!
You can copy the medic from DarkRP and paste it in darkrp_config/jobs.lua
---------------------------------------------------------------------------]]
--[[---------------------------------------------------------------------------
The list of modules that are disabled. Set to true to disable, false to enable.
Modules that are not in this list are enabled by default.
In some cases some external addons may overwrite one of the modules below and will expect them to be enabled to work.
In these few cases it will be pretty obvious when you expect something to happen and nothing does.
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["modules"] = { ["afk"] = true, ["chatsounds"] = false, ["events"] = false, ["fpp"] = false, ["f1menu"] = false, ["f4menu"] = false, ["hitmenu"] = false, ["hud"] = false, ["hungermod"] = true, ["playerscale"] = false, ["sleep"] = false, ["fadmin"] = false,
}
--[[---------------------------------------------------------------------------
The disabled default jobs. true to disable, false to enable.
NOTE: If you disable a job and remake it, expect things that rely on the job to stop working
e.g. you disable the gundealer and you make a new job as TEAM_GUN. If you want the shipments/door groups/etc. to
work for your custom job, remake them to include your job as well.
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["jobs"] = { ["chief"] = true, ["citizen"] = true, ["cook"] = true, --Hungermod only ["cp"] = true, ["gangster"] = true, ["gundealer"] = true, ["hobo"] = true, ["mayor"] = true, ["medic"] = true, ["mobboss"] = true,
}
--[[---------------------------------------------------------------------------
Shipments and pistols
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["shipments"] = { ["AK47"] = true, ["Desert eagle"] = true, ["Fiveseven"] = true, ["Glock"] = true, ["M4"] = true, ["Mac 10"] = true, ["MP5"] = true, ["P228"] = true, ["Pump shotgun"] = true, ["Sniper rifle"] = true,
}
--[[---------------------------------------------------------------------------
Entities
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["entities"] = { ["Drug lab"] = true, ["Gun lab"] = true, ["Money printer"] = true, ["Microwave"] = true, --Hungermod only ["Tip Jar"] = true,
}
--[[---------------------------------------------------------------------------
Vehicles
(at the moment there are no default vehicles)
You could use this to disable vehicles you added in the vehicles.lua located in the darkrp_customthings folder.
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["vehicles"] = {
}
--[[---------------------------------------------------------------------------
Food
Food is only enabled when hungermod is enabled (see disabled modules above).
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["food"] = { ["Banana"] = true, ["Bunch of bananas"] = true, ["Melon"] = true, ["Glass bottle"] = true, ["Pop can"] = true, ["Plastic bottle"] = true, ["Milk"] = true, ["Bottle 1"] = true, ["Bottle 2"] = true, ["Bottle 3"] = true, ["Orange"] = true,
}
--[[---------------------------------------------------------------------------
Door groups
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["doorgroups"] = { ["Cops and Mayor only"] = true, ["Gundealer only"] = true,
}
--[[---------------------------------------------------------------------------
Ammo packets
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["ammo"] = { ["Pistol ammo"] = true, ["Rifle ammo"] = true, ["Shotgun ammo"] = true,
}
--[[---------------------------------------------------------------------------
Agendas
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["agendas"] = { ["Gangster's agenda"] = true, ["Police agenda"] = true,
}
--[[---------------------------------------------------------------------------
Chat groups (chat with /g)
Chat groups do not have names, so their index is used instead.
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["groupchat"] = { [1] = false, -- Police group chat (mayor, cp, chief and/or your custom CP teams) [2] = false, -- Group chat between gangsters and the mobboss [3] = false, -- Group chat between people of the same team
}
--[[---------------------------------------------------------------------------
Jobs that are hitmen
set to true to disable
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["hitmen"] = { ["mobboss"] = false,
}
--[[---------------------------------------------------------------------------
Demote groups
When anyone is demote from any job in this group, they will be temporarily banned
from every job in the group
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["demotegroups"] = { ["Cops"] = true, ["Gangsters"] = true,
}
 
  • Initiateur de la discussion
Valia

Valia

Wanka !
Messages
35
Score réaction
1
Points
80
Ryoley à dit:
Bonjour / bonsoir.
Remplace le contenu de ton fichier disabled_defaults.lua par ceci :
Code:
--[[---------------------------------------------------------------------------
DarkRP disabled defaults
---------------------------------------------------------------------------
DarkRP comes with a bunch of default things: - a load of modules - default jobs - shipments and guns - entities (like the money printer) and many more
If you want to disable or replace the default things, you should disable them here
Note: if you want to have e.g. edit the official medic job, you MUST disable the default one in this file!
You can copy the medic from DarkRP and paste it in darkrp_config/jobs.lua
---------------------------------------------------------------------------]]
--[[---------------------------------------------------------------------------
The list of modules that are disabled. Set to true to disable, false to enable.
Modules that are not in this list are enabled by default.
In some cases some external addons may overwrite one of the modules below and will expect them to be enabled to work.
In these few cases it will be pretty obvious when you expect something to happen and nothing does.
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["modules"] = { ["afk"] = true, ["chatsounds"] = false, ["events"] = false, ["fpp"] = false, ["f1menu"] = false, ["f4menu"] = false, ["hitmenu"] = false, ["hud"] = false, ["hungermod"] = true, ["playerscale"] = false, ["sleep"] = false, ["fadmin"] = false,
}
--[[---------------------------------------------------------------------------
The disabled default jobs. true to disable, false to enable.
NOTE: If you disable a job and remake it, expect things that rely on the job to stop working
e.g. you disable the gundealer and you make a new job as TEAM_GUN. If you want the shipments/door groups/etc. to
work for your custom job, remake them to include your job as well.
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["jobs"] = { ["chief"] = true, ["citizen"] = true, ["cook"] = true, --Hungermod only ["cp"] = true, ["gangster"] = true, ["gundealer"] = true, ["hobo"] = true, ["mayor"] = true, ["medic"] = true, ["mobboss"] = true,
}
--[[---------------------------------------------------------------------------
Shipments and pistols
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["shipments"] = { ["AK47"] = true, ["Desert eagle"] = true, ["Fiveseven"] = true, ["Glock"] = true, ["M4"] = true, ["Mac 10"] = true, ["MP5"] = true, ["P228"] = true, ["Pump shotgun"] = true, ["Sniper rifle"] = true,
}
--[[---------------------------------------------------------------------------
Entities
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["entities"] = { ["Drug lab"] = true, ["Gun lab"] = true, ["Money printer"] = true, ["Microwave"] = true, --Hungermod only ["Tip Jar"] = true,
}
--[[---------------------------------------------------------------------------
Vehicles
(at the moment there are no default vehicles)
You could use this to disable vehicles you added in the vehicles.lua located in the darkrp_customthings folder.
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["vehicles"] = {
}
--[[---------------------------------------------------------------------------
Food
Food is only enabled when hungermod is enabled (see disabled modules above).
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["food"] = { ["Banana"] = true, ["Bunch of bananas"] = true, ["Melon"] = true, ["Glass bottle"] = true, ["Pop can"] = true, ["Plastic bottle"] = true, ["Milk"] = true, ["Bottle 1"] = true, ["Bottle 2"] = true, ["Bottle 3"] = true, ["Orange"] = true,
}
--[[---------------------------------------------------------------------------
Door groups
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["doorgroups"] = { ["Cops and Mayor only"] = true, ["Gundealer only"] = true,
}
--[[---------------------------------------------------------------------------
Ammo packets
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["ammo"] = { ["Pistol ammo"] = true, ["Rifle ammo"] = true, ["Shotgun ammo"] = true,
}
--[[---------------------------------------------------------------------------
Agendas
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["agendas"] = { ["Gangster's agenda"] = true, ["Police agenda"] = true,
}
--[[---------------------------------------------------------------------------
Chat groups (chat with /g)
Chat groups do not have names, so their index is used instead.
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["groupchat"] = { [1] = false, -- Police group chat (mayor, cp, chief and/or your custom CP teams) [2] = false, -- Group chat between gangsters and the mobboss [3] = false, -- Group chat between people of the same team
}
--[[---------------------------------------------------------------------------
Jobs that are hitmen
set to true to disable
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["hitmen"] = { ["mobboss"] = false,
}
--[[---------------------------------------------------------------------------
Demote groups
When anyone is demote from any job in this group, they will be temporarily banned
from every job in the group
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["demotegroups"] = { ["Cops"] = true, ["Gangsters"] = true,
}
d'accord je le fait merci
 
Ryoley

Ryoley

Geek suprême
Messages
239
Score réaction
29
Points
140
  • Initiateur de la discussion
Valia

Valia

Wanka !
Messages
35
Score réaction
1
Points
80
  • Initiateur de la discussion
Valia

Valia

Wanka !
Messages
35
Score réaction
1
Points
80
Ryoley

Ryoley

Geek suprême
Messages
239
Score réaction
29
Points
140
Valia à dit:
ça n'a rien changer :/
Dans ce cas je ne vois pas comment t'aider.
J'ai une dernière tentative ultime qui serait de réinitialiser ton serveur et de refaire ce que tu as fais, mais fait-le avant tout le reste.
 
gogo17

gogo17

Geek suprême
Messages
256
Score réaction
33
Points
130
Ryoley à dit:
Dans ce cas je ne vois pas comment t'aider.
J'ai une dernière tentative ultime qui serait de réinitialiser ton serveur et de refaire ce que tu as fais, mais fait-le avant tout le reste.

Je lui es dit sur discord aussi de supprimer carément le job du gamemode mais en faites je penses que c'est un de ses scripts qui mets les jobs par défault ...
 
gogo17

gogo17

Geek suprême
Messages
256
Score réaction
33
Points
130
Essaye de regarder dans tout tes addons : /lua/darkrp_modules

Si tu en a un envoie le nous stp.

Edit : Sauf dans le darkrpmodification
 
  • Initiateur de la discussion
Valia

Valia

Wanka !
Messages
35
Score réaction
1
Points
80
gogo17 à dit:
Essaye de regarder dans tout tes addons : /lua/darkrp_modules

Si tu en a un envoie le nous stp.

Edit : Sauf dans le darkrpmodification
de quoi le fichier job ?
 
danio6218

danio6218

Têtard
Messages
1
Score réaction
0
Points
10

Va voir cette vidéo elle va tout t'expliqué
 
  • Initiateur de la discussion
Valia

Valia

Wanka !
Messages
35
Score réaction
1
Points
80
danio6218 à dit:

Va voir cette vidéo elle va tout t'expliqué
d'accord je vais voir merci
 
Discord d'entraide
Rejoignz-nous sur Discord