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

Lua Function that give player pz block

Zekay

New Member
Joined
Dec 18, 2015
Messages
12
Reaction score
0
(of beforehand my english is very basic , and i usualy commit mistakes) Im new in this of the scripting ,and i have a idea for put in my server 10.90 the old pz (when a player atack pk player get pzblock) , and i going to try to create creature event or something like that works , yours cant help me giving functions pleas :)? , when i finish , i give the script , thanks
 
Code:
local condition = Condition(CONDITION_INFIGHT, CONDITIONID_COMBAT)
condition:setTicks(configManager.getNumber(configKeys.PZ_LOCKED) * 1000)

creature:addCondition(condition)
 
Back
Top