RA

Colocando Rainho Na Vocation

Por rafael165, 17 de fev. de 2011 em Archived

16
2.3k
20 de março de 2011 às 01:22

Acho que assim funciona:

 

function onLogin(cid)

if getPlayerStorageValue(cid, 30023) == 4 then
doEffect(cid)
return TRUE
end
return TRUE
end

function doEffect(cid)

local efeito = 3
local delay = 5

if isCreature(cid) == TRUE then
doSendMagicEffect(getCreaturePosition(cid), efeito)
addEvent(doEffect, delay*1000, cid)
end
return TRUE
end

 

Até mais.