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

Request: Script for Change Temple with Teleport

Dox Warrior

New Member
Joined
Aug 19, 2008
Messages
10
Reaction score
0
I need script for Change Temple Position with teleport, no with OnUse Fuction (Statue or more).
Thanks :D!
:thumbup:
 
I need script for Change Temple Position with teleport, no with OnUse Fuction (Statue or more).
Thanks :D!
:thumbup:

Try this...

Simply put a teleport with the x,y,z of the temple and set the actionID of the teleport to 100 + the town ID. So, if your town ID is 1 then set the action id of the teleport to 101.

Cheers.
 
Try this...

Simply put a teleport with the x,y,z of the temple and set the actionID of the teleport to 100 + the town ID. So, if your town ID is 1 then set the action id of the teleport to 101.

Cheers.

you can not place the functions or as an example of the script would be to do it ...
I would greatly appreciate

PS: Someone who can put Here :thumbup:!
 
Its in TFS, isnt it?


PHP:
function onStepIn(cid, item, position, fromPosition)
	if item.actionid > 30020 and item.actionid < 30100 then
		doPlayerSetTown(cid, item.actionid - 30020)
	end
	return TRUE
end
 
Back
Top