Problem with a lua error

  • Initiateur de la discussion
A

[AC] Rita

Nouveau né
Messages
25
Score réaction
0
Points
15
Hello there, i make my server Gmod but I have a problem and I don't know how to fix him. Someone can help me ?

The Problem :
[ERROR] gamemodes/starwarsrp/gamemode/modules/base/sv_gamemode_functions.lua:715: attempt to index local 'jobTable' (a nil value)
1. unknown - gamemodes/starwarsrp/gamemode/modules/base/sv_gamemode_functions.lua:715
2. Spawn - [C]:-1
3. unknown - gamemodes/base/gamemode/player.lua:115

I don't understand this,

the first lua : player_manager.SetPlayerClass(ply, jobTable.playerClass or "player_darkrp")
the third lua :
function GM:playerDeathThink( pl )

if ( pl.NextSpawnTime && pl.NextSpawnTime > CurTime() ) then return end

if ( pl:IsBot() || pl:KeyPressed( IN_ATTACK ) || pl:KeyPressed( IN_ATTACK2 ) || pl:KeyPressed( IN_JUMP ) ) then

pl:Spawn()

end

end

If you speak french tell me the reason in french.
 
MaGiX

MaGiX

Geek
Messages
92
Score réaction
9
Points
85
Have you been in these file targeted by the Lua error?
It puts you this Lua error for how long?
Did you try to take back an old backup?
 
  • Initiateur de la discussion
A

[AC] Rita

Nouveau né
Messages
25
Score réaction
0
Points
15
Yes we did backup, but no solutions, It will be now one day that we search, but we don't find.
 
Discord d'entraide
Rejoignz-nous sur Discord