• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Action Ok, Kazordoon elevar

Indenpedens

Banned User
Joined
Nov 6, 2010
Messages
584
Reaction score
39
Location
Poland
yeye
\data\actions\scripts create elevar.lua and add:
Code:
local t = {
	{x=32636, y=31881, z=7},
	{x=32636, y=31881, z=2}
}
 
function onUse(cid, item, fromPosition, itemEx, toPosition)
	local r = item.itemid == 1945
	doRelocate(t[r and 1 or 2], t[r and 2 or 1])
	doSendMagicEffect(t[1], CONST_ME_POFF)
	doSendMagicEffect(t[2], CONST_ME_POFF)
	return doTransformItem(item.uid, r and 1946 or 1945)
end
actions.xml:
Code:
<action uniqueid="[B]0001[/B]" event="script" value="elevar.lua" />
<action uniqueid="[B]0002[/B]" event="script" value="elevar.lua" />
yeye
TmkHdFj.jpg

the up
MbLhrXE.jpg


Ok, change this uniqueids(0001 and 0002) for your from 1000 to 65535
 
Last edited:
Back
Top