• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Script] Movements citizen teleport.

Diego Skate

I love skateboarding
Joined
Apr 7, 2010
Messages
9
Reaction score
0
Location
Brazil
hi guys...
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
 
Back
Top