Hello mate's
I got a problem with the pickholes, after you've used a pick on the ground and it turns to a pickhole, the pickhole dsnt turns back too ground again, could someone help me so it does?
i use this script but i want a script so it turns to ground again after 10 seconds
thx,
yours hmpf~
I got a problem with the pickholes, after you've used a pick on the ground and it turns to a pickhole, the pickhole dsnt turns back too ground again, could someone help me so it does?
i use this script but i want a script so it turns to ground again after 10 seconds
PHP:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if((itemEx.uid <= 65535 or itemEx.actionid > 0) and isInArray({351, 352, 353, 354}, itemEx.itemid)) then
doTransformItem(itemEx.uid, 383)
doDecayItem(itemEx.uid)
doSendMagicEffect(toPosition, CONST_ME_POFF)
return true
end
if(itemEx.itemid == 7200) then
doTransformItem(itemEx.uid, 7236)
doSendMagicEffect(toPosition, CONST_ME_BLOCKHIT)
return true
end
return false
end
thx,
yours hmpf~