OTX e TFS 0.4 Tibia 8.60
Bom esse comando funciona para quem usa o site ZnoteAcc.
Primeiro vá em
data/libs/050-function.lua
E adicione isso na ultima linha.
-- [ Sistema de Pontos ZnoteAcc in Game ]
function getPointsp(cid)
local res = db.getResult('select `points` from znote_accounts where account_id = \''..getPlayerAccountId(cid)..'\'')
if(res:getID() == -1) then
return false
end
local ret = res:getDataInt("points") res:free()
return tonumber(ret)
end
function