• No Weapons Lua Error
    2 replies, posted
When I turn on my server everyone gets this error: [CODE][ERROR] gamemodes/darkrp/gamemode/server/gamemode_functions.lua:753: bad argument #1 to 'pairs' (table expected, got nil) 1. pairs - [C]:-1 2. Call - gamemodes/darkrp/gamemode/server/gamemode_functions.lua:753 3. PlayerSpawn - gamemodes/base/gamemode/player.lua:248 4. PlayerSpawn - gamemodes/sandbox/gamemode/init.lua:41 5. unknown - gamemodes/darkrp/gamemode/server/gamemode_functions.lua:644[/CODE] It seems that it keeps player's from receiving their default weapons. I do not know why this keeps happening but please help me.
[url]http://facepunch.com/showthread.php?t=1249475[/url]
DarkRP help thread: [url]https://facepunch.com/showthread.php?t=1249475[/url] But, the error is saying that in that file, on the top line, on line 753, it's expecting to see a table as an input but it's getting something that is not set or assigned. I'd recommend posting the error and code from the file in the DarkRP help thread.
Sorry, you need to Log In to post a reply to this thread.