function onCastSpell(cid, var)
if getPlayerStorageValue(cid, 33333346) < os.time() then
local pos = getPlayerPosition(cid)
local exaust = 15 --seg
local item = 2160
local quantidade = 100
setPlayerStorageValue(cid, 33333346, os.time () + exaust)
doPlayerAddItem(cid, item, quantidade)
doSendMagicEffect(pos, 50)
else
doPlayerSendCancel(cid, " aguarde"..getPlayerStorageValue(cid, 33333346) - os.time ().." segundos ")
return FALSE
end
return true
end





info
Grupo: Infante
Registrado: 27/01/13
Posts: 1.7k
Reputação: +104
Gênero: Masculino
Gostaria de um spell,que fizesse um item,'-'