• DarkRP 'PlayerLoadout' Failed
    5 replies, posted
I just recently made classes for DarkRP that I plan on giving to a friend because I know how to edit Jobs well. This hasen't happend to me before but I need help with the following error I get when I try to test it out in Singleplayer ERROR: GAMEMODE:'PlayerLoadout' Failed: DarkRP\gamemode\sv_gamemode_functions.lua:607: attempt to index field '?' (a nil value) When this error occurs I can't choose a job, there's nothing there. I downloaded the DarkRP from a SVN so no worries about the garrysmod.org ones. If there is any more information needed then feel free to ask me. I took a look at DarkRP\gamemode\sv_gamemode_functions.lua:607 from the error message and this is what I found *NOTE* That the 607, 608, and 609 are the lines on the script, they arn't apart of the code itself! 607 for k,v in pairs(RPExtraTeams[Team].Weapons) do 608 ply:Give(v) 609 end I really need to get these jobs up soon, thanks for any help!
The problem is in the teams you added, not there. You most likely did an error when making them.
Have to agree with crazy it is the teams you added
Ok I got the problem fixed ! I found out that I accidently added an extra " to the name of one of the jobs >.> Who would of known that one little " would screw up everything?!
[QUOTE=KnightVista;21414540]Ok I got the problem fixed ! I found out that I accidently added an extra " to the name of one of the jobs >.> Who would of known that one little " would screw up everything?![/QUOTE] Any programmer in the world except you?
/agree
Sorry, you need to Log In to post a reply to this thread.