Solid Snake
New Member
- Joined
- Jun 9, 2007
- Messages
- 4
- Reaction score
- 0
Hellou...
Here put is the Statue of Resident:
And in actions.xml:
Variables:
if item.uid == 1507 then: Here put the UniqueID of the Statue.
townid = ?Here put urs TownID:
For that... guide for this images:
OTMapEditor
pos = {x=???, y=???, z=?}: position of temple...
It's all...
Dudes? Post.
PD: Sorry for my bad english... I'm Chilean.
Original Post by Me on OTServHispano:
http://www.otservhispano.com/showthread.php?tid=17748
It's all.
Here put is the Statue of Resident:
Code:
function onUse(cid, item, frompos, item2, topos)
townid = ?
pos = {x=???, y=???, z=?}
if item.uid == 1507 then
getPlayerTown(cid)
doPlayerSetTown(cid,townid)
doTeleportThing(cid,pos)
doSendMagicEffect(pos,10)
else
doPlayerSendCancel(cid,"You can't live on ... City.")
end
return 1
end
And in actions.xml:
Code:
<action uniqueid="1507" script="resident_city.lua" />
Variables:
if item.uid == 1507 then: Here put the UniqueID of the Statue.
townid = ?Here put urs TownID:
For that... guide for this images:
OTMapEditor
pos = {x=???, y=???, z=?}: position of temple...
It's all...
Dudes? Post.
PD: Sorry for my bad english... I'm Chilean.
Original Post by Me on OTServHispano:
http://www.otservhispano.com/showthread.php?tid=17748
It's all.
Last edited: