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

Script Needed ;)

bolero

MikeHere
Joined
Apr 13, 2009
Messages
1,146
Reaction score
12
Location
Venezuela
I need the script of POI when I put the demon horn in the coal bassin and click this will teleported to other position.

11kwpc5.jpg

I'm here and when I press the demon horn inside the coal bassin, this teleported me to here:

2mph2l4.jpg
 
I maked script, that's work similar (when you put horn on the coal bassin with uid 2601, then you were teleported to pos and horn will be destroyed)

Sorry for noobish english xS

LUA:
--- <movevent type="AddItem" tileitem="1" uniqueid="2601" event="script" value="RPG/coalbasin.lua"/>
local pos = {x = 100, y = 100, z = 7} --- change this
local hornId = 222 --- change this
function onAddItem(moveitem, tileitem, position, cid)
	if moveitem.itemid == hornId then
		doTeleportThing(cid, pos)
		doRemoveItem(moveitem.uid)
	end
	return true
end
 
Back
Top