if(!isTable())throwELuaNotATable(NLMISC::toString("Trying to set a function value '%p' at key %s on object '%s' of type %s (not a table).",value,key,getId().c_str(),getTypename()));
if(!isTable())throwELuaNotATable(NLMISC::toString("Trying to set a function value '%p' at key %s on object '%s' of type %s (not a table).",(void*)value,key,getId().c_str(),getTypename()));