Pessoal, estou precisando fazer esse script dos bones em roshamuul sumonar Guzzlemaw ao clicar nele, esse é o script que tenho aqui:
function onUse(cid, item, fromPosition, itemEx, toPosition)
local config = {
exaust = 933787, -- exaust storage
hours = 2
}
if getPlayerStorageValue(1) == 1 then
setPlayerStorageValue(cid, config.exaust, os.time()+config.hours*60)
-- adicionar função pra sumonar
end
end
Se alguém puder alterar pra mim, agredeço muito e dou REP+