MartK
Active Member
- Joined
- Dec 6, 2018
- Messages
- 63
- Solutions
- 1
- Reaction score
- 28
Create a File With name = Removepz.lua
and Add this:
Later Goto Globalevents.xml and Add this Tag:
<globalevent name="removerbatle" interval="1000" event="script" value="Removepz.lua"/>
Any Bug Or problem Pls Send me P.M
Credit: Remover Battle ao entrar em PZ (https://tibiaking.com/forums/topic/91492-remover-battle-ao-entrar-em-pz/)
and Add this:
Code:
local function removeBattle(cid)
doRemoveCondition(cid, CONDITION_INFIGHT)
return false
end
function onThink(interval)
for _, cid in ipairs(getPlayersOnline()) do
local pos, tile = getThingPos(cid), getTileThingByPos(getThingPos(cid))
if getTilePzInfo(pos) == true then
removeBattle(cid)
end
end
return true
end
Later Goto Globalevents.xml and Add this Tag:
<globalevent name="removerbatle" interval="1000" event="script" value="Removepz.lua"/>
Any Bug Or problem Pls Send me P.M
Credit: Remover Battle ao entrar em PZ (https://tibiaking.com/forums/topic/91492-remover-battle-ao-entrar-em-pz/)
Last edited by a moderator: