- Initiateur de la discussion
Matteo57400
Geek
- Messages
- 60
- Score réaction
- 1
- Points
- 95
j'ai un probleme lua
sa me dit
error a runtime error has occurred in gamemode/darkrp/gamemode/modules/Base/sh_Createitems.lua on line 384
the player 's name is sam perret , their team number is "21" whitch has the name superadmin
end
380 plyMeta.getJobTable = function(ply)
381 local tbl = RPExtraTeams[ply:Team()]
382 -- don't error when the player has not fully joined yet
383 if not tbl and (ply.DarkRPInitialised or ply.DarkRPDataRetrievalFailed) then
384 DarkRP.error(
385 string.format("There is a player with an invalid team!\n\nThe player's name is % s,their
386 team number is \"%s\", which has the name \"%s\"",
387 ply:EntIndex() == 0 and "Console" or IsValid(ply) and ply:Nick() or "unknown",
388 ply:Team(),
389 team.GetName(ply:Team())),
390 1,
{
sa me dit
error a runtime error has occurred in gamemode/darkrp/gamemode/modules/Base/sh_Createitems.lua on line 384
the player 's name is sam perret , their team number is "21" whitch has the name superadmin
end
380 plyMeta.getJobTable = function(ply)
381 local tbl = RPExtraTeams[ply:Team()]
382 -- don't error when the player has not fully joined yet
383 if not tbl and (ply.DarkRPInitialised or ply.DarkRPDataRetrievalFailed) then
384 DarkRP.error(
385 string.format("There is a player with an invalid team!\n\nThe player's name is % s,their
386 team number is \"%s\", which has the name \"%s\"",
387 ply:EntIndex() == 0 and "Console" or IsValid(ply) and ply:Nick() or "unknown",
388 ply:Team(),
389 team.GetName(ply:Team())),
390 1,
{
Dernière édition: