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

(HELP) Need LSM Script Fast

Hevar

Click clack bam bam!
Joined
May 29, 2009
Messages
557
Reaction score
20
Location
Sweden
Hello Dear Otlanders i have mapping a Last man standing (Lsm) arena and you see at the picture i need script to all 28 tiles so when i click on the switch all player will be tps to arena and they can fight and in the other picture you will see a Stone when i click on the stone the stone will be remove and plz help me sorry for my english i know this is hard but i need this lsm Very fun event

So i can Click Back Stone and Remevo Stone =) plz Need all this script and tell me by step by step

lsm.png
[/URL] Uploaded with ImageShack.us[/IMG]

lsm1.png
[/URL] Uploaded with ImageShack.us[/IMG]
 
Last edited:
Lever:
Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
	
	local arena = 
	{
		x = 903, 
		y = 955, 
		z = 7, 
		stackpos = 1
	}
	
	
	if item.itemid == 1945 then
		doTeleportThing(cid, arena)
		doTransformItem(item.uid, 1946)
	
	elseif item.itemid == 1946 then
		doTransformItem(item.uid, 1945)
		
	end
	
	
	return true
end

Stone:
Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)

	local effect = CONST_ME_POFF
	
	doRemoveItem(item.uid, 1)
	doSendMagicEffect(fromPosition, effect)
	
	return true
end
 
Hmm

1.step by step plz where i put everthing
2. What would i wrote under Stone and switch for Stone Remover
3 and when i click switch will that coming Back=? for i need a Stone Remover with switch and when i click the will come back so please help me
 
I want to know where they should be kind to explain step by step, then I wonder if I click once and then the stone but if I click once to go away when the stone
Type one click and it will then go to click it away
then explain each will be


Sorry for my english
 
For one, don't bump every 20 minutes, it won't get you anywhere.
Second, I still have no clue at all what you're asking; work on improving your English.
 
@up,
He want to know everything.
All steps to put these files in her server.
What he should do to these scripts work.

If you can explain he, :p

:peace:
 
Last edited:
Lever:
Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
	
	local arena = 
	{
		x = 903, 
		y = 955, 
		z = 7, 
		stackpos = 1
	}
	
	
	if item.itemid == 1945 then
		doTeleportThing(cid, arena)
		doTransformItem(item.uid, 1946)
	
	elseif item.itemid == 1946 then
		doTransformItem(item.uid, 1945)
		
	end
	
	
	return true
end

Stone:
Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)

	local effect = CONST_ME_POFF
	
	doRemoveItem(item.uid, 1)
	doSendMagicEffect(fromPosition, effect)
	
	return true
end

Create a file named lever.lua in your actions folder and put that first code in it.

Create a file named stone.lua in your 'actions/other' folder and put that second code in it.

In actions.xml put:
Code:
	<action actionid="9876" event="script" value="other/lever.lua"/>
	<action actionid="9875" event="script" value="other/stone.lua"/>
In your map editor, right click the lever and give it an AID (actionID) of 9876 and right click your stones and give them an AID (actionID) of 9875.
 
Back
Top