ola tudo bem amigos vc tem essa scrip completa que possa passar pra mim meu e pela data base tbm nao aparece o look
Em 19/08/2016 em 23:30, espalha disse:
coloquei assim
function Player:onBrowseField(position)
return true
end
function getResets(uid)
local Zz = thing:getId()
resets = db.storeQuery("SELECT `resets` FROM `players` WHERE `id` = "..Zz..";")
if resets < 0 then
resets = 0
end
return resets
end
function Player:onLook(thing, position, distance)
local description = "You see " .. thing:getDescription(distance)
if self:getGroup():getAccess() then
if thing:isItem() then
description = string.format("%s\nItem ID: %d", description, thing:getId())
e nada.. ;s


info
Grupo: Campones
Registrado: 24/04/08
Posts: 66
Reputação: +1
up