Nokturno
Not a human
- Joined
- Aug 7, 2009
- Messages
- 606
- Solutions
- 2
- Reaction score
- 422
hello guys,
well i got this 9.10 server with tfs 0.2.11 and this script is not working
if someone has a similar script or just a fix for ill be so appriciated.
its a residence Teleport, when a player steps IN , your town Id changes
well i got this 9.10 server with tfs 0.2.11 and this script is not working
if someone has a similar script or just a fix for ill be so appriciated.
Code:
function onStepIn(cid, item, pos)
if isPlayer(cid) == TRUE then
if (item.actionid == 4036) then
doPlayerSendTextMessage(cid,24,"Now you are citizen of rookgard.")
doPlayerSetTown(cid,1)
elseif (item.actionid == 4037) then
doPlayerSendTextMessage(cid,24,"Now you are citizen of Orgrimar.")
doPlayerSetTown(cid,2)
elseif (item.actionid == 4038) then
doPlayerSendTextMessage(cid,24,"Now you are citizen of Stormwind.")
doPlayerSetTown(cid,5)
elseif (item.actionid == 4039) then
doPlayerSendTextMessage(cid,24,"Now you are citizen of Grum Gol Camp.")
doPlayerSetTown(cid,3)
elseif (item.actionid == 4040) then
doPlayerSendTextMessage(cid,24,"Now you are citizen of stormwind Hills.")
doPlayerSetTown(cid,4)
elseif (item.actionid == 4041) then
doPlayerSendTextMessage(cid,24,"Now you are citizen of Horde Gates.")
doPlayerSetTown(cid,6)
elseif (item.actionid == 4042) then
doPlayerSendTextMessage(cid,24,"Now you are citizen of Moonville.")
doPlayerSetTown(cid,7)
elseif (item.actionid == 4043) then
doPlayerSendTextMessage(cid,24,"Now you are citizen of Lost Temple.")
doPlayerSetTown(cid,8)
elseif (item.actionid == 4044) then
doPlayerSendTextMessage(cid,24,"Now you are citizen of Quel Thalas.")
doPlayerSetTown(cid,9)
elseif (item.actionid == 4045) then
doPlayerSendTextMessage(cid,24,"Now you are citizen of Zirtny sunset.")
doPlayerSetTown(cid,10)
elseif (item.actionid == 4046) then
doPlayerSendTextMessage(cid,24,"Now you are citizen of Bounty Bay.")
doPlayerSetTown(cid,11)
elseif (item.actionid == 4047) then
doPlayerSendTextMessage(cid,24,"Now you are citizen of Svargrond.")
doPlayerSetTown(cid,13)
end
end
end
its a residence Teleport, when a player steps IN , your town Id changes