• 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!

Lua Making a citizen his hometown.

Thunder Beam

New Member
Joined
Apr 23, 2008
Messages
107
Reaction score
0
Hello,
i have The Forgotten Server 0.3.3 .
And a custom made maps with 2 city's.
When i want to make a citizen a new hometown. a need a nice and good working script.
But i dont have exactly that script and had one on the server but i don't know how i use it. I want it that i can use with temple position: x1213, y1336 and z7 .
Please help me.
Greetings Thunder Beam.

ps. Also you can add me on msn and tell me : [email protected] also i am Netherlands and can english. Please don't talk in other languages.
 
Lua:
function onStepIn(cid, item, position, fromPosition)
	if(item.actionid > 30020 and item.actionid < 30100) then
		doPlayerSetTown(cid, item.actionid - 30020)
	end
	return TRUE
end
 
You can change the actionids to something you can remember easier but yes its ready to use, you just need to set the right action on the teleport, maybe add a message to it ;)
 
Back
Top