• Attempt to index global 'pcall' a nil value
    2 replies, posted
So, I'm using a gmod lua hashmap to make organization's agendas, but this modul that i've imprted just fails to work, when i call ContainsKey, i just get attempt to index global 'pcall' a nil value... I don't understand... Thanks by advance [editline]23rd July 2014[/editline] If you want the link of the hashmap i found here : [url]https://code.google.com/p/getyourbuildon/source/browse/trunk/addons/CAF/lua/includes/modules/HashMap.lua?r=6&spec=svn116[/url] [editline]23rd July 2014[/editline] Nobody has an answer ? Nobody knows ?
[code]local pcall = pcall[/code] above the module() call
Thank, i figured it out, your solution does however not worked. I just removed uses of pcall and the script works again, but if i add a string instead of a string table, it creaches. Anyway, i making checks myself, so the code can't crash. Thank you however, for having answered.
Sorry, you need to Log In to post a reply to this thread.