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

Tp thingy

vejsa

Banned User
Joined
Nov 3, 2007
Messages
434
Reaction score
0
Hey, I'll make this short

Im trying to make so a sertain item (in this case its the "holes") teleports you too a sertain place in my map.. I had a script for it, but The holes that I used is almost all over the map (above runes etc). I need it to be like this:

2803-halp.jpg



Help would be appreciated! =)

Peace out
 
Why not just use the armor itself? But anyway try this

Code:
function onUse(cid, item, frompos, item2, topos)
local shop = { x = 1027, y = 1012, z = 12 }  

	doTeleportThing(cid, shop)
end
 
and i do this?:

Code:
		<!-- Tpklick -->
	  <action actionid="xxxx" event="script" value="other/tpklick.lua" />
 
Code:
function onUse(cid, item, frompos, item2, topos)
	doTeleportThing(cid, { x = 1027, y = 1012, z = 12 } )
end
use aid or uid in actions.xml.
Then go to the thing, properties, write the aid or uid you wrote in actions.xml.

-Shop with colors, wtf?-
 
Code:
function onUse(cid, item, frompos, item2, topos)
	doTeleportThing(cid, { x = 1027, y = 1012, z = 12 } )
        doSendAnimatedText(getThingPos(cid), "TEXT", TEXTCOLOR_YELLOW)
return true
end
Like that? oO
or maybe:
Code:
function onUse(cid, item, frompos, item2, topos)
	doTeleportThing(cid, { x = 1027, y = 1012, z = 12 } )
        doPlayerSendTextMessage(cid, 22, "TEXT")
return true
end
?
 
Back
Top Bottom