... Global LUA:Byte Ptr LUA = luaL_newstate() lua_register(LUA,"SpawnPlayerL".ToCString(),SpawnPlayerL) ... Function SpawnPlayerL:Int(l:Byte Ptr) ...