29. Oktober 2022 #1 Hello,File:Src/Questlua_npc.cppSearch: Code int npc_get_vnum0 (lua_State* L) Search: Code lua_pushnumber(L, npc->GetRaceNum()); Edit the line: Code if (npc) lua_pushnumber(L, npc->GetRaceNum()); else lua_pushnumber(L, 0); return 1; }