• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

help please

god nacke

New Member
Joined
Sep 7, 2008
Messages
46
Reaction score
0
I have a problem not the character of residence carlin someone can help me please, this is the scrip. use TFS 0.2

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
 
You could always use the script that's already implemented in TFS? Just use those 30021 for town ID 1 and so on?
 
Back
Top