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