I have been developing a custom gamemode as a side project for myself to stretch and challenge myself, however I've come to a halt.
Everything I have implemented into my gamemode so far(although not much) has worked, I've fixed all visible errors. I then kill myself to test the team loadouts and my garrys mod just crashes.
I have not used any hooks/functions to do with whether the player has died.
This only does this on this gamemode, DarkRP, TTT, etc work fine.
I have tryed messing with the code, commenting out pieces, keeping the bare minimum for a gamemode.
My dump file: [URL="http://bit.ly/19eFoFl"]Here[/URL]
If anyone knows a solution to my problem, please help.
This looks like an error
[lua]
[ERROR] gamemodes/spitroast/gamemode/shared/teammanagement.lua:34: attempt to index global 'plyteam' (a nil value)
1. GiveDefaultWeapons - gamemodes/spitroast/gamemode/shared/teammanagement.lua:34
2. Call - gamemodes/spitroast/gamemode/init.lua:49
3. unknown - gamemodes/spitroast/gamemode/init.lua:23
[/lua]
so does this
[lua]
[ERROR] gamemodes/spitroast/gamemode/shared/teammanagement.lua:34: attempt to index global 'team' (a nil value)
1. GiveDefaultWeapons - gamemodes/spitroast/gamemode/shared/teammanagement.lua:34
2. Call - gamemodes/spitroast/gamemode/init.lua:49
3. unknown - gamemodes/spitroast/gamemode/init.lua:23
[/lua]
I fixed them, that was before the crash, forgot to add that.
I can't say much more without poking around your gamemode.
Add me on steam, I'll send it to you and we can talk more in depth about it.
Problem solved he forgot self.BaseClass:PlayerSpawn( ply ) in PlayerLoadout.
Thank you so much for your help!
Sorry, you need to Log In to post a reply to this thread.