• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Need this script! Please!

kozin

OrgeaRPG Project!
Joined
Mar 8, 2008
Messages
487
Reaction score
0
Location
Sweden
Heello! can anyone help my find or make this script???
citizen teleport , like when i enter a teleport my citizen will be changed to the place the teleport take you. I mean like the teleport change ur Townid.
I use Theforgotenserver 3.0 ( tibia 8.22)

PLEASE FAST HELP!
 
Code:
function onStepIn(cid, item, position, fromPosition)
	if item.actionid > 30020 and item.actionid < 30100 then
		doPlayerSetTown(cid, item.actionid - 30020)
	end
	return TRUE
end

I am not sure but i think you should make item "1387" and set the action id to 30100.

and then set the tile in the temple there you start to action id 30020
^_^
 
You must make item "1387" - teleport. And set action id to this teleport = 30020 + "your city id". For example, if you will set action id 30022, then player will be citizen in city id = 2. If you set 30021, then your char becomse a citizen to city with id = 1.
 
Back
Top