Dox Warrior
New Member
- Joined
- Aug 19, 2008
- Messages
- 10
- Reaction score
- 0
I need script for Change Temple Position with teleport, no with OnUse Fuction (Statue or more).
Thanks
!
:thumbup:
Thanks
:thumbup:
I need script for Change Temple Position with teleport, no with OnUse Fuction (Statue or more).
Thanks!
:thumbup:
Try this...
Simply put a teleport with the x,y,z of the temple and set the actionID of the teleport to 100 + the town ID. So, if your town ID is 1 then set the action id of the teleport to 101.
Cheers.
function onStepIn(cid, item, position, fromPosition)
if item.actionid > 30020 and item.actionid < 30100 then
doPlayerSetTown(cid, item.actionid - 30020)
end
return TRUE
end