I have a problem not the character of residence carlin someone can help me please, this is the scrip. use TFS 0.2
thz for all
PHP:
function onStepIn(cid, item, pos)
if item.actionid == 30022 then
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, "You are New citizen of Carlin.")
doPlayerSetTown(cid,2)
elseif item.actionid == 30023 then
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'Ab\'dendriel is your new hometown.')
doPlayerSetTown(cid,3)
elseif item.actionid == 30024 then
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You are now living on Thais.')
doPlayerSetTown(cid,5)
elseif item.actionid == 30025 then
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You are now living on Kazordoon.')
doPlayerSetTown(cid,4)
elseif item.actionid == 30026 then
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'Venore is your new town.')
doPlayerSetTown(cid,6)
elseif item.actionid == 30027 then
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You are now citizen of Darashia.')
doPlayerSetTown(cid,7)
elseif item.actionid == 30028 then
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'Now you are citizen of Ankrahmun.')
doPlayerSetTown(cid,8)
elseif item.actionid == 30029 then
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You are now citizen of Edron.')
doPlayerSetTown(cid,9)
elseif item.actionid == 30030 then
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'Port Hope is your new home.')
doPlayerSetTown(cid,10)
elseif item.actionid == 30032 then
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You are New citizen of Libert Bay.')
doPlayerSetTown(cid,12)
elseif item.actionid == 30033 then
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You are New citizen of Svargrond.')
doPlayerSetTown(cid,13)
end
return 1
end
thz for all