Forum o OTS'ach
w actions.xml wklejamy:
<action itemid="9898" script="miszkaniecmiasta.lua" />
Potem w data/actions/scripts wklejamy
function onUse(cid, item, frompos, item2, topos)
if item.uid == 9898 then
doPlayerSetMasterPos(cid,{x=438, y=504, z=8})
doPlayerSendTextMessage(cid,22,"Zostales mieszkancem tego miasta!")
else
return 0
end
return 1
end
teple miasta
Offline