chackie
New Member
- Joined
- Nov 1, 2009
- Messages
- 87
- Reaction score
- 0
local level, table = 20,
{ --uniqueid of statue, position
[4321] = {x=537,y=682,z=7},
[5321] = {x=496,y=632,z=7},
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerLevel(cid) < level then
return doPlayerSendCancel(cid, 'You must be from level '..level..' onwards in order to teleport.')
end
return doTeleportThing(cid, table[item.uid]), doSendMagicEffect(getThingPos(cid), math.random(28,30))
end
I want it so it send a other magiceffect like energy
This one:
CONST_ME_ENERGYAREA