Dries390
Well-Known Member
- Joined
- Sep 8, 2007
- Messages
- 91
- Solutions
- 4
- Reaction score
- 70
Hello again everyone,
I've been trying to resolve an issue related to skulling players recently and I've run into another problem; I cannot pzLock players! Here's an example of a script I've been trying:
As far as I know, this should lock players out of PZ's and prevent them from logging out for 60 seconds but nothing happens. Other conditions such as drunkness work just fine. I'm using Nekiro's 8.60 downgraded 1.3 TFS.
I've been trying to resolve an issue related to skulling players recently and I've run into another problem; I cannot pzLock players! Here's an example of a script I've been trying:
Lua:
local fight = createConditionObject(CONDITION_INFIGHT)
fight:setParameter(CONDITION_PARAM_TICKS, 60000)
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
print("test")
player:addCondition(fight)
end
As far as I know, this should lock players out of PZ's and prevent them from logging out for 60 seconds but nothing happens. Other conditions such as drunkness work just fine. I'm using Nekiro's 8.60 downgraded 1.3 TFS.