gohamvsgoku
Member
- Joined
- Aug 21, 2017
- Messages
- 151
- Reaction score
- 9
Script
The script is ok, but i need when the player is not sorcerer
be teleported to position {x = 32308, y = 32267, z = 7}
thanks
LUA:
function onStepIn(creature, item, position, fromPosition)
if creature:isPlayer() and creature:getPlayer():isSorcerer() then
item:transform(453, 1)
item:decay()
end
end
function onStepOut(creature, item, position, fromPosition)
item:transform(452, 1)
item:decay()
end
The script is ok, but i need when the player is not sorcerer
be teleported to position {x = 32308, y = 32267, z = 7}
thanks