- Initiateur de la discussion
V
Vitroze_Gaming_
Vitroze Gaming
- Messages
- 147
- Score réaction
- 16
- Points
- 120
Salut j'ai un problème avec mon darkrp je spawn sous la map a cause d'un job mais je vois pas l'erreur
[ERROR] A runtime error has occurred in "gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua" on line 716.
The best help I can give you is this:
DarkRP was unable to introduce player "[OSCAR] Vitroze_Gaming" to the game. Expect further errors and shit generally being fucked!
Hints:
- This error most likely does not stand on its own, and previous serverside errors have a very good chance of telling you the cause.
- Note that errors from another addon could cause this. Specifically when they're thrown during 'PlayerInitialSpawn'.
- This error can also be caused by some other addon returning a value in 'PlayerInitialSpawn', though that is less likely.
- Errors in your DarkRP configuration (jobs, shipments, etc.) could also cause this. Earlier errors should tell you when this is the case.
The responsibility for the error above lies with (the authors of) one (or more) of these files:
------- End of Simplerr error -------
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 70.
The best help I can give you is this:
There is an opening '{' bracket at line 53, but this bracket is never closed or not closed in time. It was expected to be closed before the 'PlayerSpawn' at line 70.
Hints:
- Did you forget a comma?
- All open brackets ({, (, [) must have a matching closing bracket. Are you sure it's there?
- Brackets must be opened and closed in the right order. This will work: ({}), but this won't: ({)}.
------- End of Simplerr error -------
[ERROR] A runtime error has occurred in "gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua" on line 716.
The best help I can give you is this:
DarkRP was unable to introduce player "[OSCAR] Vitroze_Gaming" to the game. Expect further errors and shit generally being fucked!
Hints:
- This error most likely does not stand on its own, and previous serverside errors have a very good chance of telling you the cause.
- Note that errors from another addon could cause this. Specifically when they're thrown during 'PlayerInitialSpawn'.
- This error can also be caused by some other addon returning a value in 'PlayerInitialSpawn', though that is less likely.
- Errors in your DarkRP configuration (jobs, shipments, etc.) could also cause this. Earlier errors should tell you when this is the case.
The responsibility for the error above lies with (the authors of) one (or more) of these files:
------- End of Simplerr error -------
Voici le code du job
TEAM_POLICE = DarkRP.createJob("Policier", {
color = Color(0, 74, 255, 255),
model = {
"models/player/mouss/pn_02.mdl",
"models/player/mouss/pn_01.mdl",
"models/player/mouss/pn_03.mdl"
},
description = [[Vous êtes agent de police de KindRP, vous devez faire régné l'ordre sur la ville]],
weapons = {"fas2_glock20"},
command = "Policier",
max = 8,
salary = 5,
admin = 0,
vote = true,
hasLicense = true,
candemote = false,
category = "Service Secours"
PlayerSpawn = function(ply)
ply:SetArmor(50)
end,
PlayerDeath = function(ply, weapon, killer)
ply:teamBan()
ply:changeTeam(GAMEMODE.DefaultTeam, true)
DarkRP.notifyAll(0, 4, "Un policier est mort")
end
})
=============================================================================================================================
TEAM_CHIEF = DarkRP.createJob("Commissaire", {
color = Color(0, 74, 255, 255),
model = {
"models/portal2/patrol_02.mdl",
"models/portal2/patrol_04.mdl",
"models/portal2/patrol_05.mdl",
"models/portal2/patrol_06.mdl",
"models/portal2/patrol_07.mdl",
"models/portal2/patrol_08.mdl",
"models/portal2/patrol_09.mdl"
},
description = [[Vous êtes commissaire de la police de KindRP, vous devez faire régné l'ordre sur vos agents et sur la ville]],
weapons = {"fas2_glock20", "fas2_rem870", "fas2_mp5k"},
command = "commisssaire",
max = 1,
salary = 55,
admin = 0,
vote = true,
hasLicense = true,
candemote = false,
category = "Service Secours"
PlayerSpawn = function(ply)
ply:SetArmor(100)
end,
PlayerDeath = function(ply, weapon, killer)
ply:teamBan()
ply:changeTeam(GAMEMODE.DefaultTeam, true)
DarkRP.notifyAll(0, 4, "Un commissaire de la police est mort")
end
})
Bonne journée
[ERROR] A runtime error has occurred in "gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua" on line 716.
The best help I can give you is this:
DarkRP was unable to introduce player "[OSCAR] Vitroze_Gaming" to the game. Expect further errors and shit generally being fucked!
Hints:
- This error most likely does not stand on its own, and previous serverside errors have a very good chance of telling you the cause.
- Note that errors from another addon could cause this. Specifically when they're thrown during 'PlayerInitialSpawn'.
- This error can also be caused by some other addon returning a value in 'PlayerInitialSpawn', though that is less likely.
- Errors in your DarkRP configuration (jobs, shipments, etc.) could also cause this. Earlier errors should tell you when this is the case.
The responsibility for the error above lies with (the authors of) one (or more) of these files:
------- End of Simplerr error -------
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 70.
The best help I can give you is this:
There is an opening '{' bracket at line 53, but this bracket is never closed or not closed in time. It was expected to be closed before the 'PlayerSpawn' at line 70.
Hints:
- Did you forget a comma?
- All open brackets ({, (, [) must have a matching closing bracket. Are you sure it's there?
- Brackets must be opened and closed in the right order. This will work: ({}), but this won't: ({)}.
------- End of Simplerr error -------
[ERROR] A runtime error has occurred in "gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua" on line 716.
The best help I can give you is this:
DarkRP was unable to introduce player "[OSCAR] Vitroze_Gaming" to the game. Expect further errors and shit generally being fucked!
Hints:
- This error most likely does not stand on its own, and previous serverside errors have a very good chance of telling you the cause.
- Note that errors from another addon could cause this. Specifically when they're thrown during 'PlayerInitialSpawn'.
- This error can also be caused by some other addon returning a value in 'PlayerInitialSpawn', though that is less likely.
- Errors in your DarkRP configuration (jobs, shipments, etc.) could also cause this. Earlier errors should tell you when this is the case.
The responsibility for the error above lies with (the authors of) one (or more) of these files:
------- End of Simplerr error -------
Voici le code du job
TEAM_POLICE = DarkRP.createJob("Policier", {
color = Color(0, 74, 255, 255),
model = {
"models/player/mouss/pn_02.mdl",
"models/player/mouss/pn_01.mdl",
"models/player/mouss/pn_03.mdl"
},
description = [[Vous êtes agent de police de KindRP, vous devez faire régné l'ordre sur la ville]],
weapons = {"fas2_glock20"},
command = "Policier",
max = 8,
salary = 5,
admin = 0,
vote = true,
hasLicense = true,
candemote = false,
category = "Service Secours"
PlayerSpawn = function(ply)
ply:SetArmor(50)
end,
PlayerDeath = function(ply, weapon, killer)
ply:teamBan()
ply:changeTeam(GAMEMODE.DefaultTeam, true)
DarkRP.notifyAll(0, 4, "Un policier est mort")
end
})
=============================================================================================================================
TEAM_CHIEF = DarkRP.createJob("Commissaire", {
color = Color(0, 74, 255, 255),
model = {
"models/portal2/patrol_02.mdl",
"models/portal2/patrol_04.mdl",
"models/portal2/patrol_05.mdl",
"models/portal2/patrol_06.mdl",
"models/portal2/patrol_07.mdl",
"models/portal2/patrol_08.mdl",
"models/portal2/patrol_09.mdl"
},
description = [[Vous êtes commissaire de la police de KindRP, vous devez faire régné l'ordre sur vos agents et sur la ville]],
weapons = {"fas2_glock20", "fas2_rem870", "fas2_mp5k"},
command = "commisssaire",
max = 1,
salary = 55,
admin = 0,
vote = true,
hasLicense = true,
candemote = false,
category = "Service Secours"
PlayerSpawn = function(ply)
ply:SetArmor(100)
end,
PlayerDeath = function(ply, weapon, killer)
ply:teamBan()
ply:changeTeam(GAMEMODE.DefaultTeam, true)
DarkRP.notifyAll(0, 4, "Un commissaire de la police est mort")
end
})
Bonne journée