Szerző Téma: Interior rendster probléma  (Megtekintve 1426 alkalommal)

Interior rendster probléma
« Dátum: 2017. Június 20. - 20:11:23 »
0 Show voters

addCommandHandler(\"addinterior\",
function(playerSource, commandName, intid, inttype, cost, ...)
   if (getElementData(playerSource,\"acc:admin\") >= 6) then
      if intid and inttype and cost and (...) then
         name = table.concat({...}, \" \")
         x,y,z = getElementPosition(playerSource)
         intbel = interiorok[tonumber(intid)]
         if intbel then
            local interiorid = intbel[1]
            local ix = intbel[2]
            local iy = intbel[3]
            local iz = intbel[4]
            local marker_int = getElementInterior(playerSource)
            local marker_dim = getElementDimension(playerSource)
            local query = dbQuery(connection, \"INSERT INTO interiors SET x = ?, y = ?, z = ?, interiorx = ?, interiory = ?, interiorz = ?, name = ?, type = ?, cost = ?, interior = ?, interiorwithin = ?, dimensionwithin = ?, owner = ?\",x, y, z, ix, iy, iz, name, inttype, cost, interiorid, marker_int, marker_dim, 0)
            local insertered, _, insertid = dbPoll(query, -1)               
            if insertered then
               loadOneInteriorWhereID(insertid)
            end
         end
      else
         outputChatBox(\"Használat:#ffffff /\" .. commandName .. \" [InteriorBelsőID] [tipus] [ár] [név]\", playerSource,61,122,188,true)
         outputChatBox(\"Típusok:#ffffff [0 - ház] [1 - biznisz] [2 - önkormányzati] [3 - bérház] [4 - Garázs]\", playerSource,61,122,188,true)
      end
   end
end
)

 
Hiba:\"b1dauKd.png\"
 
Segítséget előre is köszönöm!
« Utoljára szerkesztve: 2017. Június 20. - 20:11:50 írta #Escobar »

Interior rendster probléma
« Válasz #1 Dátum: 2017. Június 20. - 23:06:35 »
0 Show voters
melyik a 18dik sor?

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal