redbull915
I learn...
pytanie w temacie laczenia lua z baza do Bounty-Hunter
databes lua z 0.3.2 wczytuje noramlanie hunt ale juz nie chce czytac shop
a datebase.lua z 0.3.4pl2 nie czyta huntow ale juz czyta za to shopa
i tu pytanie czy da sie to poloczyc w jednom czalosc lub bym prosil jakas sugestie jak zrobic ze by to chodzilo wszystko jak nalerzy
databes lua z 0.3.2 wczytuje noramlanie hunt ale juz nie chce czytac shop
Lua:
function db.getResult(query)
if(type(query) ~= 'string') then
return nil
end
local res = Result:new()
res:setID(db.storeQuery(query))
return res
end
Lua:
function db.getResult(query)
if(type(query) ~= 'string') then
return nil
end
local ret = Result:new()
ret:create(query)
return ret
end