• Lua error
    1 replies, posted
Hello, I have a problem I get this error: [QUOTE]if ply:getDarkRPVar( "money" ) < NPCshop.AddItems[i][2] then .[/QUOTE] And apparently it would come to this part of code: [QUOTE]attempt to compare nil with number .[/QUOTE] Can you help me ? Sincerely, Proxene
It would seem like NPCshop.AddItems[i][2] is returning nil, so I would add some print statments to figure out why it isn't returning a number. We need more context for how the NPCshop works to debug this error.
Sorry, you need to Log In to post a reply to this thread.