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

Tile pz

Rury

Member
Joined
Nov 25, 2012
Messages
74
Reaction score
7
I'm looking for a script, is too easy but i don't scripter

when a player pass for x tile lose pz :p
 
Code:
<movevent type="StepIn" actionid="5551" event="script" value="lose.lua"/>
Code:
function onStepIn(cid, item, frompos, itemEx, topos)

	if (getCreatureCondition(cid, CONDITION_INFIGHT) == TRUE) then
	doRemoveCondition(cid, CONDITION_INFIGHT) 
	doPlayerSendTextMessage(cid,21,"Lost Pz")
	doSendMagicEffect(getPlayerPosition(cid), 23)
	else
	if doPlayerSendCancel(cid,"You don't have pz.") then
	end
	return FALSE
	end
	end

Here You Are Just Rep++ me

Tell Me If It Worked
 
Back
Top