Diego Skate
I love skateboarding
hi guys...
I wonder how I put the char effect when it passes the teleport, look the script
but doSendMagicEffect(getCreaturePosition(cid), 12) don't work
ps; sorry my english
I wonder how I put the char effect when it passes the teleport, look the script
function onStepIn(cid, item, position, fromPosition)
if(item.actionid > 30020 and item.actionid < 30100) then
local townId = (item.actionid - 30020)
doPlayerSetTown(cid, townId)
doSendMagicEffect(getCreaturePosition(cid), 12)
doPlayerSendTextMessage(cid, 22, "Sua nova residência agora é " .. getTownName(townId) .. ".")
end
return true
end
but doSendMagicEffect(getCreaturePosition(cid), 12) don't work
ps; sorry my english