• 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 0.4 battle

Streks

New Member
Joined
Feb 27, 2016
Messages
62
Reaction score
2
What i want is the players cant enter in the tile zone or pz zone until they clean the room and not have a battle, i used the search function and didn't found anything about this :S


Can someone help me with a script of that?

I made it : but don't work

function onStepIn(cid, item, position, fromPosition)
if isPlayer(cid) == true then
if isPlayerPzLocked(cid) == true then
doTeleportThing(cid, fromPosition, true)
doPlayerSendCancel(cid, "kill the monster and wait the battle")
else
return true
end
else
return true
end
return true
end


tks !!!
 
Back
Top