Spawn en unassigned, skin unassigned, help !

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

SpliNix

Geek
Messages
14
Score réaction
4
Points
60
Bonsoir,
J'essaie de mon mieux de coder mon serveur, j'ai beaucoup de mal avec les métiers, et en ajoutant des métiers ainsi que des catégories, je me connecte sur mon serveur, j'apparaît sous la map, avec le skin et job "unassigned" aidé-moi sil vous plait! (Mais mes métiers s'affiche bien dans le f4 et je peut me mettre dans un métier)

Voici mon jobs.lua :

Code:
--[[---------------------------------------------------------------------------
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:
https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
For examples and explanation please visit this wiki page:
http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
Add your custom jobs under the following line:
---------------------------------------------------------------------------]]
TEAM_FIMCII = DarkRP.createJob("FIM Mu-13 CII", { color = Color(25, 25, 170, 255), model = {"models/player/police.mdl", "models/player/police_fem.mdl"}, description = [[A MODIFIER]], weapons = {"arrest_stick", "unarrest_stick", "weapon_glock2", "stunstick", "door_ram", "weaponchecker"}, command = "cp", max = 4, salary = GAMEMODE.Config.normalsalary * 1.45, admin = 0, vote = true, candemote = false, hasLicense = true, category = "Branche FIMS",
})
TEAM_FIMLTN = DarkRP.createJob("FIM Mu-13 LTN", { color = Color(25, 25, 25, 255), model = "models/player/gman_high.mdl", description = [[A MODIFIER]], weapons = {"lockpick", "unarrest_stick"}, command = "mobboss", max = 1, salary = GAMEMODE.Config.normalsalary * 1.34, admin = 0, vote = false, candemote = false, hasLicense = false, category = "Branche FIMS",
})
TEAM_FIMRE = DarkRP.createJob("FIM Mu-13 RE", { color = Color(47, 79, 79, 255), model = "models/player/kleiner.mdl", description = [[A MODIFIER]], weapons = {"med_kit"}, command = "medic", max = 3, salary = GAMEMODE.Config.normalsalary, admin = 0, vote = false, candemote = false, hasLicense = false, category = "Branche FIMS",
})
TEAM_FIMSGT = DarkRP.createJob("FIM Mu-13 SGT", { color = Color(150, 20, 20, 255), model = "models/player/breen.mdl", description = [[A MODIFIER]], weapons = {}, command = "mayor", max = 1, salary = GAMEMODE.Config.normalsalary * 1.89, admin = 0, vote = true, candemote = false, hasLicense = false, category = "Branche FIMS",
})
TEAM_STAFF = DarkRP.createJob("Staff", { color = Color(80, 45, 0, 255), model = "models/player/corpse1.mdl", description = [[A MODIFIER]], weapons = {"weapon_bugbait"}, command = "staff", max = 5, salary = 0, admin = 0, vote = false, candemote = false, hasLicense = false, category = "Branche Autres",
})
TEAM_SGTUIT = DarkRP.createJob("Sergent UIT", { color = Color(255, 140, 0, 255), model = "models/player/monk.mdl", description = [[A MODIFIER]], weapons = {}, command = "sergentuit", max = 2, salary = GAMEMODE.Config.normalsalary, admin = 0, vote = false, candemote = false, hasLicense = false, category = "Branche Sécurité",
})
TEAM_SCP173 = DarkRP.createJob("SCP 173", { 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 = [[A MODIFIER]], weapons = {}, command = "scp173", max = 1, salary = GAMEMODE.Config.normalsalary, admin = 0, vote = false, candemote = false, hasLicense = false, category = "Branche SCP",
})
TEAM_DIRECTEUR = DarkRP.createJob("Directeur du Site", { color = Color(20, 20, 255, 255), model = "models/player/combine_soldier_prisonguard.mdl", description = [[A MODIFIER]], weapons = {"arrest_stick", "unarrest_stick", "weapon_deagle2", "stunstick", "door_ram", "weaponchecker"}, command = "directeur", max = 1, salary = GAMEMODE.Config.normalsalary * 1.67, admin = 0, vote = false, hasLicense = false, candemote = false, category = "Branche Administratif",
})
TEAM_CLASSED = DarkRP.createJob("CLASSE D", { 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 = [[A MODIFIER]], weapons = {}, command = "classed", max = 0, salary = GAMEMODE.Config.normalsalary, admin = 0, vote = false, hasLicense = false, candemote = false, category = "Branche Scientifique",
})
--[[---------------------------------------------------------------------------
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] = false, [TEAM_CHIEF] = false, [TEAM_MAYOR] = false,
}
--[[---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_MOB)
Mon jobrelated.lua :
Code jobrelated.lua:
-- People often copy jobs. When they do, the GM table does not exist anymore.
-- This line makes the job code work both inside and outside of gamemode files.
-- You should not copy this line into your code.
local GAMEMODE = GAMEMODE or GM
--[[--------------------------------------------------------
Default teams. Please do not edit this file. Please use the darkrpmod addon instead.
--------------------------------------------------------]]
TEAM_CITIZEN = DarkRP.createJob("Citizen", { 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 = [[The Citizen is the most basic level of society you can hold besides being a hobo. You have no specific role in city life.]], weapons = {}, command = "citizen", max = 0, salary = GAMEMODE.Config.normalsalary, admin = 0, vote = false, hasLicense = false, candemote = false, category = "Citizens",
})
TEAM_POLICE = DarkRP.createJob("Civil Protection", { color = Color(25, 25, 170, 255), model = {"models/player/police.mdl", "models/player/police_fem.mdl"}, description = [[The protector of every citizen that lives in the city. You have the power to arrest criminals and protect innocents. Hit a player with your arrest baton to put them in jail. Bash a player with a stunstick and they may learn to obey the law. The Battering Ram can break down the door of a criminal, with a warrant for their arrest. The Battering Ram can also unfreeze frozen props (if enabled). Type /wanted <name> to alert the public to the presence of a criminal.]], weapons = {"arrest_stick", "unarrest_stick", "weapon_glock2", "stunstick", "door_ram", "weaponchecker"}, command = "cp", max = 4, salary = GAMEMODE.Config.normalsalary * 1.45, admin = 0, vote = true, hasLicense = true, ammo = { ["pistol"] = 60, }, 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 = [[The lowest person of crime. A gangster generally works for the Mobboss who runs the crime family. The Mob boss sets your agenda and you follow it or you might be punished.]], weapons = {}, command = "gangster", max = 3, salary = GAMEMODE.Config.normalsalary, admin = 0, vote = false, hasLicense = false, category = "Gangsters",
})
TEAM_MOB = DarkRP.createJob("Mob boss", { color = Color(25, 25, 25, 255), model = "models/player/gman_high.mdl", description = [[The Mob boss is the boss of the criminals in the city. With his power he coordinates the gangsters and forms an efficient crime organization. He has the ability to break into houses by using a lockpick. The Mob boss posesses the ability to unarrest you.]], weapons = {"lockpick", "unarrest_stick"}, command = "mobboss", max = 1, salary = GAMEMODE.Config.normalsalary * 1.34, admin = 0, vote = false, hasLicense = false, category = "Gangsters",
})
TEAM_GUN = DarkRP.createJob("Gun Dealer", { color = Color(255, 140, 0, 255), model = "models/player/monk.mdl", description = [[A Gun Dealer is the only person who can sell guns to other people. Make sure you aren't caught selling illegal firearms to the public! You might get arrested!]], weapons = {}, command = "gundealer", max = 2, salary = GAMEMODE.Config.normalsalary, admin = 0, vote = false, hasLicense = false, category = "Citizens",
})
TEAM_MEDIC = DarkRP.createJob("Medic", { color = Color(47, 79, 79, 255), model = "models/player/kleiner.mdl", description = [[With your medical knowledge you work to restore players to full health. Without a medic, people cannot be healed. Left click with the Medical Kit to heal other players. Right click with the Medical Kit to heal yourself.]], weapons = {"med_kit"}, command = "medic", max = 3, salary = GAMEMODE.Config.normalsalary, admin = 0, vote = false, hasLicense = false, medic = true, category = "Citizens",
})
TEAM_CHIEF = DarkRP.createJob("Civil Protection Chief", { color = Color(20, 20, 255, 255), model = "models/player/combine_soldier_prisonguard.mdl", description = [[The Chief is the leader of the Civil Protection unit. Coordinate the police force to enforce law in the city. Hit a player with arrest baton to put them in jail. Bash a player with a stunstick and they may learn to obey the law. The Battering Ram can break down the door of a criminal, with a warrant for his/her arrest. Type /wanted <name> to alert the public to the presence of a criminal. Type /jailpos to set the Jail Position]], weapons = {"arrest_stick", "unarrest_stick", "weapon_deagle2", "stunstick", "door_ram", "weaponchecker"}, command = "chief", max = 1, salary = GAMEMODE.Config.normalsalary * 1.67, admin = 0, vote = false, hasLicense = true, chief = true, NeedToChangeFrom = TEAM_POLICE, ammo = { ["pistol"] = 60, }, category = "Civil Protection",
})
TEAM_MAYOR = DarkRP.createJob("Mayor", { color = Color(150, 20, 20, 255), model = "models/player/breen.mdl", description = [[The Mayor of the city creates laws to govern the city. If you are the mayor you may create and accept warrants. Type /wanted <name> to warrant a player. Type /jailpos to set the Jail Position. Type /lockdown initiate a lockdown of the city. Everyone must be inside during a lockdown. The cops patrol the area. /unlockdown to end a lockdown]], weapons = {}, command = "mayor", max = 1, salary = GAMEMODE.Config.normalsalary * 1.89, admin = 0, vote = true, hasLicense = false, mayor = true, category = "Civil Protection",
})
TEAM_HOBO = DarkRP.createJob("Hobo", { color = Color(80, 45, 0, 255), model = "models/player/corpse1.mdl", description = [[The lowest member of society. Everybody laughs at you. You have no home. Beg for your food and money Sing for everyone who passes to get money Make your own wooden home somewhere in a corner or outside someone else's door]], weapons = {"weapon_bugbait"}, command = "hobo", max = 5, salary = 0, admin = 0, vote = false, hasLicense = false, candemote = false, hobo = true, category = "Citizens",
})
if not DarkRP.disabledDefaults["modules"]["hungermod"] then TEAM_COOK = DarkRP.createJob("Cook", { color = Color(238, 99, 99, 255), model = "models/player/mossman.mdl", description = [[As a cook, it is your responsibility to feed the other members of your city. You can spawn a microwave and sell the food you make: /buymicrowave]], weapons = {}, command = "cook", max = 2, salary = 45, admin = 0, vote = false, hasLicense = false, cook = true })
end
-- Compatibility for when default teams are disabled
TEAM_CITIZEN = TEAM_CITIZEN or -1
TEAM_POLICE = TEAM_POLICE or -1
TEAM_GANG = TEAM_GANG or -1
TEAM_MOB = TEAM_MOB or -1
TEAM_GUN = TEAM_GUN or -1
TEAM_MEDIC = TEAM_MEDIC or -1
TEAM_CHIEF = TEAM_CHIEF or -1
TEAM_MAYOR = TEAM_MAYOR or -1
TEAM_HOBO = TEAM_HOBO or -1
TEAM_COOK = TEAM_COOK or -1
-- Door groups
AddDoorGroup("Cops and Mayor only", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR)
AddDoorGroup("Gundealer only", TEAM_GUN)
-- Agendas
DarkRP.createAgenda("Gangster's agenda", TEAM_MOB, {TEAM_GANG})
DarkRP.createAgenda("Police agenda", {TEAM_MAYOR, TEAM_CHIEF}, {TEAM_POLICE})
-- Group chats
DarkRP.createGroupChat(function(ply) return ply:isCP() end)
DarkRP.createGroupChat(TEAM_MOB, TEAM_GANG)
DarkRP.createGroupChat(function(listener, ply) return not ply or ply:Team() == listener:Team() end)
-- Initial team when first spawning
GAMEMODE.DefaultTeam = TEAM_CLASSED
-- Teams that belong to Civil Protection
GAMEMODE.CivilProtection = { [TEAM_POLICE] = false, [TEAM_CHIEF] = false, [TEAM_MAYOR] = false,
}
-- Hitman team
DarkRP.addHitmanTeam(TEAM_MOB)
-- Demote groups
DarkRP.createDemoteGroup("Cops", {TEAM_POLICE, TEAM_CHIEF})
DarkRP.createDemoteGroup("Gangsters", {TEAM_GANG, TEAM_MOB})
-- Default categories
Ainsi que tout mes erreurs s'affichant dans la console :

Code dans la console:
Error! Flag "$nocull" is multiply defined in material "foundation/monitor_checkpoint"!
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/fence_079.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/handrail_room173.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/beams_room173.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/fence_room3.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/fence_room3.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/fence_room106.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/handrail_room106.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/props_lab/frame001a.mdl)
Trying to create entities too early! (env_physexplosion)
06/06/2019 00:52:31: Lua Error:
[ERROR] gamemodes/scprp/gamemode/libraries/simplerr.lua:530: [ERROR] A runtime error has occurred in "lua/darkrp_customthings/jobs.lua" on line -1.
1. error - [C]:-1
[ERROR] gamemodes/scprp/gamemode/libraries/simplerr.lua:530: [ERROR] A runtime error has occurred in "lua/darkrp_customthings/jobs.lua" on line -1.
1. error - [C]:-1
06/06/2019 00:52:31: 4. Call - gamemodes/scprp/gaLua Error: Couldn't Load Init Script: 'scprp/gamemode/init.lua'
ConVarRef room_type doesn't point to an existing ConVar
Unknown command "sk_plr_dmg_crowbar"
Unknown command "sk_npc_dmg_crowbar"
Unknown command "sk_plr_dmg_stunstick"
Unknown command "sk_npc_dmg_stunstick"
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
No account token specified; logging into anonymous game server account. (Use sv_setsteamaccount to login to a persistent account.)
Unknown command "sbox_maxspawners"
Unknown command "sbox_maxturrets"
'banned_ip.cfg' not present; not executing.
'banned_user.cfg' not present; not executing.
06/06/2019 00:53:17: Lua Error:
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_data.lua:415: attempt to index a nil value
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_data.lua:415: attempt to index a nil value
06/06/2019 00:53:17: Lua Error:
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:606: attempt to index local 'jobTable' (a nil value)
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:606: attempt to index local 'jobTable' (a nil value)
06/06/2019 00:53:17: Lua Error:
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:713: attempt to index local 'jobTable' (a nil value)
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:713: attempt to index local 'jobTable' (a nil value)
06/06/2019 00:54:22: Lua Error:
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:241: attempt to index local 'jobTable' (a nil value)
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:241: attempt to index local 'jobTable' (a nil value)
Couldn't load shader dll: game_shader_generic_garrysmod_srv.soConVarRef mat_dxlevel doesn't point to an existing ConVar
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
WS: No +host_workshop_collection or it is invalid!
Unknown command "cl_cmdrate"
Unknown command "cl_updaterate"
Unknown command "rate"
Unknown command "port"
Unknown command "sbox_maxspawners"
Unknown command "sbox_maxturrets"
'banned_ip.cfg' not present; not executing.
'banned_user.cfg' not present; not executing.
Error! Flag "$nocull" is multiply defined in material "foundation/monitor_checkpoint"!
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/fence_079.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/handrail_room173.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/beams_room173.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/fence_room3.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/fence_room3.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/fence_room106.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/handrail_room106.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/props_lab/frame001a.mdl)
Trying to create entities too early! (env_physexplosion)
06/06/2019 00:55:34: Lua Error:
[ERROR] gamemodes/scprp/gamemode/libraries/simplerr.lua:530: [ERROR] A runtime error has occurred in "lua/darkrp_customthings/jobs.lua" on line -1.
1. error - [C]:-1
[ERROR] gamemodes/scprp/gamemode/libraries/simplerr.lua:530: [ERROR] A runtime error has occurred in "lua/darkrp_customthings/jobs.lua" on line -1.
1. error - [C]:-1
06/06/2019 00:55:34: 4. Call - gamemodes/scprp/gaLua Error: Couldn't Load Init Script: 'scprp/gamemode/init.lua'
ConVarRef room_type doesn't point to an existing ConVar
Unknown command "sk_plr_dmg_crowbar"
Unknown command "sk_npc_dmg_crowbar"
Unknown command "sk_plr_dmg_stunstick"
Unknown command "sk_npc_dmg_stunstick"
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
No account token specified; logging into anonymous game server account. (Use sv_setsteamaccount to login to a persistent account.)
Unknown command "sbox_maxspawners"
Unknown command "sbox_maxturrets"
'banned_ip.cfg' not present; not executing.
'banned_user.cfg' not present; not executing.
06/06/2019 00:56:14: Lua Error:
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_data.lua:415: attempt to index a nil value
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_data.lua:415: attempt to index a nil value
06/06/2019 00:56:14: Lua Error:
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:606: attempt to index local 'jobTable' (a nil value)
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:606: attempt to index local 'jobTable' (a nil value)
06/06/2019 00:56:14: Lua Error:
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:713: attempt to index local 'jobTable' (a nil value)
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:713: attempt to index local 'jobTable' (a nil value)
06/06/2019 00:56:29: Lua Error:
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:241: attempt to index local 'jobTable' (a nil value)
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:241: attempt to index local 'jobTable' (a nil value)
06/06/2019 00:56:32: Lua Error:
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:241: attempt to index local 'jobTable' (a nil value)
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:241: attempt to index local 'jobTable' (a nil value)
Je vous remercie d'avance pour votre aide ! :D
 
SkyWarZzeur

SkyWarZzeur

Geek
Messages
31
Score réaction
7
Points
95
Dernière édition:
romaindu30

romaindu30

Geek
Messages
20
Score réaction
5
Points
90
Commence déjà à modifier les commands des jobs du darkrpmodifications par rapport à ce du jobrelated , les commandes des métiers doit être unique ! :)
 
  • J'aime
Réactions: SkyWarZzeur
alibert640

alibert640

Geek suprême
Messages
149
Score réaction
12
Points
115
Faut arrêtez de dire que sa vient des job alors que non regarde dans ta console 'es erreur vien e de ton gaaemode
 
SkyWarZzeur

SkyWarZzeur

Geek
Messages
31
Score réaction
7
Points
95
alibert640 à dit:
Faut arrêtez de dire que sa vient des job alors que non regarde dans ta console 'es erreur vien e de ton gaaemode
Oui mais le gamemode ne fonctionne pas car il a un problème de fonctionnement avec les jobs ^^
 
alibert640

alibert640

Geek suprême
Messages
149
Score réaction
12
Points
115
SkyWarZzeur à dit:
Oui mais le gamemode ne fonctionne pas car il a un problème de fonctionnement avec les jobs ^^
Excuse moi j'avais pas compris comme sa car sur son screen il montre que sa
 
alibert640

alibert640

Geek suprême
Messages
149
Score réaction
12
Points
115
SpliNix à dit:
Bonsoir,
J'essaie de mon mieux de coder mon serveur, j'ai beaucoup de mal avec les métiers, et en ajoutant des métiers ainsi que des catégories, je me connecte sur mon serveur, j'apparaît sous la map, avec le skin et job "unassigned" aidé-moi sil vous plait! (Mais mes métiers s'affiche bien dans le f4 et je peut me mettre dans un métier)

Voici mon jobs.lua :

Code:
--[[---------------------------------------------------------------------------
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:
https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
For examples and explanation please visit this wiki page:
http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
Add your custom jobs under the following line:
---------------------------------------------------------------------------]]
TEAM_FIMCII = DarkRP.createJob("FIM Mu-13 CII", { color = Color(25, 25, 170, 255), model = {"models/player/police.mdl", "models/player/police_fem.mdl"}, description = [[A MODIFIER]], weapons = {"arrest_stick", "unarrest_stick", "weapon_glock2", "stunstick", "door_ram", "weaponchecker"}, command = "cp", max = 4, salary = GAMEMODE.Config.normalsalary * 1.45, admin = 0, vote = true, candemote = false, hasLicense = true, category = "Branche FIMS",
})
TEAM_FIMLTN = DarkRP.createJob("FIM Mu-13 LTN", { color = Color(25, 25, 25, 255), model = "models/player/gman_high.mdl", description = [[A MODIFIER]], weapons = {"lockpick", "unarrest_stick"}, command = "mobboss", max = 1, salary = GAMEMODE.Config.normalsalary * 1.34, admin = 0, vote = false, candemote = false, hasLicense = false, category = "Branche FIMS",
})
TEAM_FIMRE = DarkRP.createJob("FIM Mu-13 RE", { color = Color(47, 79, 79, 255), model = "models/player/kleiner.mdl", description = [[A MODIFIER]], weapons = {"med_kit"}, command = "medic", max = 3, salary = GAMEMODE.Config.normalsalary, admin = 0, vote = false, candemote = false, hasLicense = false, category = "Branche FIMS",
})
TEAM_FIMSGT = DarkRP.createJob("FIM Mu-13 SGT", { color = Color(150, 20, 20, 255), model = "models/player/breen.mdl", description = [[A MODIFIER]], weapons = {}, command = "mayor", max = 1, salary = GAMEMODE.Config.normalsalary * 1.89, admin = 0, vote = true, candemote = false, hasLicense = false, category = "Branche FIMS",
})
TEAM_STAFF = DarkRP.createJob("Staff", { color = Color(80, 45, 0, 255), model = "models/player/corpse1.mdl", description = [[A MODIFIER]], weapons = {"weapon_bugbait"}, command = "staff", max = 5, salary = 0, admin = 0, vote = false, candemote = false, hasLicense = false, category = "Branche Autres",
})
TEAM_SGTUIT = DarkRP.createJob("Sergent UIT", { color = Color(255, 140, 0, 255), model = "models/player/monk.mdl", description = [[A MODIFIER]], weapons = {}, command = "sergentuit", max = 2, salary = GAMEMODE.Config.normalsalary, admin = 0, vote = false, candemote = false, hasLicense = false, category = "Branche Sécurité",
})
TEAM_SCP173 = DarkRP.createJob("SCP 173", { 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 = [[A MODIFIER]], weapons = {}, command = "scp173", max = 1, salary = GAMEMODE.Config.normalsalary, admin = 0, vote = false, candemote = false, hasLicense = false, category = "Branche SCP",
})
TEAM_DIRECTEUR = DarkRP.createJob("Directeur du Site", { color = Color(20, 20, 255, 255), model = "models/player/combine_soldier_prisonguard.mdl", description = [[A MODIFIER]], weapons = {"arrest_stick", "unarrest_stick", "weapon_deagle2", "stunstick", "door_ram", "weaponchecker"}, command = "directeur", max = 1, salary = GAMEMODE.Config.normalsalary * 1.67, admin = 0, vote = false, hasLicense = false, candemote = false, category = "Branche Administratif",
})
TEAM_CLASSED = DarkRP.createJob("CLASSE D", { 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 = [[A MODIFIER]], weapons = {}, command = "classed", max = 0, salary = GAMEMODE.Config.normalsalary, admin = 0, vote = false, hasLicense = false, candemote = false, category = "Branche Scientifique",
})
--[[---------------------------------------------------------------------------
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] = false, [TEAM_CHIEF] = false, [TEAM_MAYOR] = false,
}
--[[---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_MOB)
Mon jobrelated.lua :
Code jobrelated.lua:
-- People often copy jobs. When they do, the GM table does not exist anymore.
-- This line makes the job code work both inside and outside of gamemode files.
-- You should not copy this line into your code.
local GAMEMODE = GAMEMODE or GM
--[[--------------------------------------------------------
Default teams. Please do not edit this file. Please use the darkrpmod addon instead.
--------------------------------------------------------]]
TEAM_CITIZEN = DarkRP.createJob("Citizen", { 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 = [[The Citizen is the most basic level of society you can hold besides being a hobo. You have no specific role in city life.]], weapons = {}, command = "citizen", max = 0, salary = GAMEMODE.Config.normalsalary, admin = 0, vote = false, hasLicense = false, candemote = false, category = "Citizens",
})
TEAM_POLICE = DarkRP.createJob("Civil Protection", { color = Color(25, 25, 170, 255), model = {"models/player/police.mdl", "models/player/police_fem.mdl"}, description = [[The protector of every citizen that lives in the city. You have the power to arrest criminals and protect innocents. Hit a player with your arrest baton to put them in jail. Bash a player with a stunstick and they may learn to obey the law. The Battering Ram can break down the door of a criminal, with a warrant for their arrest. The Battering Ram can also unfreeze frozen props (if enabled). Type /wanted <name> to alert the public to the presence of a criminal.]], weapons = {"arrest_stick", "unarrest_stick", "weapon_glock2", "stunstick", "door_ram", "weaponchecker"}, command = "cp", max = 4, salary = GAMEMODE.Config.normalsalary * 1.45, admin = 0, vote = true, hasLicense = true, ammo = { ["pistol"] = 60, }, 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 = [[The lowest person of crime. A gangster generally works for the Mobboss who runs the crime family. The Mob boss sets your agenda and you follow it or you might be punished.]], weapons = {}, command = "gangster", max = 3, salary = GAMEMODE.Config.normalsalary, admin = 0, vote = false, hasLicense = false, category = "Gangsters",
})
TEAM_MOB = DarkRP.createJob("Mob boss", { color = Color(25, 25, 25, 255), model = "models/player/gman_high.mdl", description = [[The Mob boss is the boss of the criminals in the city. With his power he coordinates the gangsters and forms an efficient crime organization. He has the ability to break into houses by using a lockpick. The Mob boss posesses the ability to unarrest you.]], weapons = {"lockpick", "unarrest_stick"}, command = "mobboss", max = 1, salary = GAMEMODE.Config.normalsalary * 1.34, admin = 0, vote = false, hasLicense = false, category = "Gangsters",
})
TEAM_GUN = DarkRP.createJob("Gun Dealer", { color = Color(255, 140, 0, 255), model = "models/player/monk.mdl", description = [[A Gun Dealer is the only person who can sell guns to other people. Make sure you aren't caught selling illegal firearms to the public! You might get arrested!]], weapons = {}, command = "gundealer", max = 2, salary = GAMEMODE.Config.normalsalary, admin = 0, vote = false, hasLicense = false, category = "Citizens",
})
TEAM_MEDIC = DarkRP.createJob("Medic", { color = Color(47, 79, 79, 255), model = "models/player/kleiner.mdl", description = [[With your medical knowledge you work to restore players to full health. Without a medic, people cannot be healed. Left click with the Medical Kit to heal other players. Right click with the Medical Kit to heal yourself.]], weapons = {"med_kit"}, command = "medic", max = 3, salary = GAMEMODE.Config.normalsalary, admin = 0, vote = false, hasLicense = false, medic = true, category = "Citizens",
})
TEAM_CHIEF = DarkRP.createJob("Civil Protection Chief", { color = Color(20, 20, 255, 255), model = "models/player/combine_soldier_prisonguard.mdl", description = [[The Chief is the leader of the Civil Protection unit. Coordinate the police force to enforce law in the city. Hit a player with arrest baton to put them in jail. Bash a player with a stunstick and they may learn to obey the law. The Battering Ram can break down the door of a criminal, with a warrant for his/her arrest. Type /wanted <name> to alert the public to the presence of a criminal. Type /jailpos to set the Jail Position]], weapons = {"arrest_stick", "unarrest_stick", "weapon_deagle2", "stunstick", "door_ram", "weaponchecker"}, command = "chief", max = 1, salary = GAMEMODE.Config.normalsalary * 1.67, admin = 0, vote = false, hasLicense = true, chief = true, NeedToChangeFrom = TEAM_POLICE, ammo = { ["pistol"] = 60, }, category = "Civil Protection",
})
TEAM_MAYOR = DarkRP.createJob("Mayor", { color = Color(150, 20, 20, 255), model = "models/player/breen.mdl", description = [[The Mayor of the city creates laws to govern the city. If you are the mayor you may create and accept warrants. Type /wanted <name> to warrant a player. Type /jailpos to set the Jail Position. Type /lockdown initiate a lockdown of the city. Everyone must be inside during a lockdown. The cops patrol the area. /unlockdown to end a lockdown]], weapons = {}, command = "mayor", max = 1, salary = GAMEMODE.Config.normalsalary * 1.89, admin = 0, vote = true, hasLicense = false, mayor = true, category = "Civil Protection",
})
TEAM_HOBO = DarkRP.createJob("Hobo", { color = Color(80, 45, 0, 255), model = "models/player/corpse1.mdl", description = [[The lowest member of society. Everybody laughs at you. You have no home. Beg for your food and money Sing for everyone who passes to get money Make your own wooden home somewhere in a corner or outside someone else's door]], weapons = {"weapon_bugbait"}, command = "hobo", max = 5, salary = 0, admin = 0, vote = false, hasLicense = false, candemote = false, hobo = true, category = "Citizens",
})
if not DarkRP.disabledDefaults["modules"]["hungermod"] then TEAM_COOK = DarkRP.createJob("Cook", { color = Color(238, 99, 99, 255), model = "models/player/mossman.mdl", description = [[As a cook, it is your responsibility to feed the other members of your city. You can spawn a microwave and sell the food you make: /buymicrowave]], weapons = {}, command = "cook", max = 2, salary = 45, admin = 0, vote = false, hasLicense = false, cook = true })
end
-- Compatibility for when default teams are disabled
TEAM_CITIZEN = TEAM_CITIZEN or -1
TEAM_POLICE = TEAM_POLICE or -1
TEAM_GANG = TEAM_GANG or -1
TEAM_MOB = TEAM_MOB or -1
TEAM_GUN = TEAM_GUN or -1
TEAM_MEDIC = TEAM_MEDIC or -1
TEAM_CHIEF = TEAM_CHIEF or -1
TEAM_MAYOR = TEAM_MAYOR or -1
TEAM_HOBO = TEAM_HOBO or -1
TEAM_COOK = TEAM_COOK or -1
-- Door groups
AddDoorGroup("Cops and Mayor only", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR)
AddDoorGroup("Gundealer only", TEAM_GUN)
-- Agendas
DarkRP.createAgenda("Gangster's agenda", TEAM_MOB, {TEAM_GANG})
DarkRP.createAgenda("Police agenda", {TEAM_MAYOR, TEAM_CHIEF}, {TEAM_POLICE})
-- Group chats
DarkRP.createGroupChat(function(ply) return ply:isCP() end)
DarkRP.createGroupChat(TEAM_MOB, TEAM_GANG)
DarkRP.createGroupChat(function(listener, ply) return not ply or ply:Team() == listener:Team() end)
-- Initial team when first spawning
GAMEMODE.DefaultTeam = TEAM_CLASSED
-- Teams that belong to Civil Protection
GAMEMODE.CivilProtection = { [TEAM_POLICE] = false, [TEAM_CHIEF] = false, [TEAM_MAYOR] = false,
}
-- Hitman team
DarkRP.addHitmanTeam(TEAM_MOB)
-- Demote groups
DarkRP.createDemoteGroup("Cops", {TEAM_POLICE, TEAM_CHIEF})
DarkRP.createDemoteGroup("Gangsters", {TEAM_GANG, TEAM_MOB})
-- Default categories
Ainsi que tout mes erreurs s'affichant dans la console :

Code dans la console:
Error! Flag "$nocull" is multiply defined in material "foundation/monitor_checkpoint"!
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/fence_079.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/handrail_room173.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/beams_room173.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/fence_room3.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/fence_room3.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/fence_room106.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/handrail_room106.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/props_lab/frame001a.mdl)
Trying to create entities too early! (env_physexplosion)
06/06/2019 00:52:31: Lua Error:
[ERROR] gamemodes/scprp/gamemode/libraries/simplerr.lua:530: [ERROR] A runtime error has occurred in "lua/darkrp_customthings/jobs.lua" on line -1.
1. error - [C]:-1
[ERROR] gamemodes/scprp/gamemode/libraries/simplerr.lua:530: [ERROR] A runtime error has occurred in "lua/darkrp_customthings/jobs.lua" on line -1.
1. error - [C]:-1
06/06/2019 00:52:31: 4. Call - gamemodes/scprp/gaLua Error: Couldn't Load Init Script: 'scprp/gamemode/init.lua'
ConVarRef room_type doesn't point to an existing ConVar
Unknown command "sk_plr_dmg_crowbar"
Unknown command "sk_npc_dmg_crowbar"
Unknown command "sk_plr_dmg_stunstick"
Unknown command "sk_npc_dmg_stunstick"
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
No account token specified; logging into anonymous game server account. (Use sv_setsteamaccount to login to a persistent account.)
Unknown command "sbox_maxspawners"
Unknown command "sbox_maxturrets"
'banned_ip.cfg' not present; not executing.
'banned_user.cfg' not present; not executing.
06/06/2019 00:53:17: Lua Error:
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_data.lua:415: attempt to index a nil value
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_data.lua:415: attempt to index a nil value
06/06/2019 00:53:17: Lua Error:
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:606: attempt to index local 'jobTable' (a nil value)
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:606: attempt to index local 'jobTable' (a nil value)
06/06/2019 00:53:17: Lua Error:
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:713: attempt to index local 'jobTable' (a nil value)
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:713: attempt to index local 'jobTable' (a nil value)
06/06/2019 00:54:22: Lua Error:
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:241: attempt to index local 'jobTable' (a nil value)
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:241: attempt to index local 'jobTable' (a nil value)
Couldn't load shader dll: game_shader_generic_garrysmod_srv.soConVarRef mat_dxlevel doesn't point to an existing ConVar
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
WS: No +host_workshop_collection or it is invalid!
Unknown command "cl_cmdrate"
Unknown command "cl_updaterate"
Unknown command "rate"
Unknown command "port"
Unknown command "sbox_maxspawners"
Unknown command "sbox_maxturrets"
'banned_ip.cfg' not present; not executing.
'banned_user.cfg' not present; not executing.
Error! Flag "$nocull" is multiply defined in material "foundation/monitor_checkpoint"!
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/fence_079.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/handrail_room173.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/beams_room173.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/fence_room3.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/fence_room3.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/fence_room106.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/foundation/detail/handrail_room106.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/props_lab/frame001a.mdl)
Trying to create entities too early! (env_physexplosion)
06/06/2019 00:55:34: Lua Error:
[ERROR] gamemodes/scprp/gamemode/libraries/simplerr.lua:530: [ERROR] A runtime error has occurred in "lua/darkrp_customthings/jobs.lua" on line -1.
1. error - [C]:-1
[ERROR] gamemodes/scprp/gamemode/libraries/simplerr.lua:530: [ERROR] A runtime error has occurred in "lua/darkrp_customthings/jobs.lua" on line -1.
1. error - [C]:-1
06/06/2019 00:55:34: 4. Call - gamemodes/scprp/gaLua Error: Couldn't Load Init Script: 'scprp/gamemode/init.lua'
ConVarRef room_type doesn't point to an existing ConVar
Unknown command "sk_plr_dmg_crowbar"
Unknown command "sk_npc_dmg_crowbar"
Unknown command "sk_plr_dmg_stunstick"
Unknown command "sk_npc_dmg_stunstick"
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
No account token specified; logging into anonymous game server account. (Use sv_setsteamaccount to login to a persistent account.)
Unknown command "sbox_maxspawners"
Unknown command "sbox_maxturrets"
'banned_ip.cfg' not present; not executing.
'banned_user.cfg' not present; not executing.
06/06/2019 00:56:14: Lua Error:
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_data.lua:415: attempt to index a nil value
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_data.lua:415: attempt to index a nil value
06/06/2019 00:56:14: Lua Error:
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:606: attempt to index local 'jobTable' (a nil value)
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:606: attempt to index local 'jobTable' (a nil value)
06/06/2019 00:56:14: Lua Error:
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:713: attempt to index local 'jobTable' (a nil value)
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:713: attempt to index local 'jobTable' (a nil value)
06/06/2019 00:56:29: Lua Error:
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:241: attempt to index local 'jobTable' (a nil value)
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:241: attempt to index local 'jobTable' (a nil value)
06/06/2019 00:56:32: Lua Error:
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:241: attempt to index local 'jobTable' (a nil value)
[ERROR] gamemodes/scprp/gamemode/modules/base/sv_gamemode_functions.lua:241: attempt to index local 'jobTable' (a nil value)
Je vous remercie d'avance pour votre aide ! :D
puis-je avoir l'ip de votre serveur et le mot de passe svp pour me connectez et voir les error dans votre console pour mieux connaitre les error
 
Offshorp

Offshorp

Amazonia Studio
Messages
704
Score réaction
256
Points
210
SkyWarZzeur à dit:
Salut, le problème vient de "TEAM_SCP173", il ne faut jamais mettre de nombre à ce niveau!
Tu dis n'importe quoi, c'est une définition de table donc tu peux mettre des chiffres.
 
  • Initiateur de la discussion
SpliNix

SpliNix

Geek
Messages
14
Score réaction
4
Points
60
Bonjour à tous, j'ai trouver la solution, mais je laisse quand même le topic pour les gens qui ont le même problème :
Il faut changer le nom de la team par default :
GAMEMODE.DefaultTeam = TEAM_CITIZEN
Et le modifier par une team valable, merci pour vos réponses mais malheureusement aucune des vôtres n'est la bonne, bonne jounée/soirée!
 
  • J'aime
Réactions: NoaGamingFR et Deadman69330
Discord d'entraide
Rejoignz-nous sur Discord