• 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 Condition_pz ????

sonny11

New Member
Joined
Dec 22, 2007
Messages
137
Reaction score
0
Hello, ive made my own teleport scroll and i want it too check for PZ, i heard about CONDTION_PZ but its not in my global.lua o_O

right now im using CONDTION_INFIGHT which checks for battle sign which is annoying

any1 kno if it exists??? if so what should i add in my global.lua
 
you could do something like:
Code:
[function_script_here]
if(RETURNVALUE_PLAYERISPZLOCKED == FALSE) then
[spells_script_here]
else
     doPlayerSendCancel(cid,"You are PZ locked.")
end
return 1
end
 
ill test it

:) wont be long until replY

edit : now it says i have pz lock when i dont have battle sign lol
 
Last edited:
lol Well I tried, that was the only thing I could think of that would work for that.

Only other thing that I could think of is reworking that script like this"
Code:
[function_script_here]
if(RETURNVALUE_PLAYERISPZLOCKED == TRUE] then
     doPlayerSendCancel(cid,"You are PZ locked.")
else
[spells_script_here]

end
return 1
end
 
Back
Top