- 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 GMlayerDeathThink( 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.
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 GMlayerDeathThink( 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.