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

Solved Remove PZ block

eyteew

es neko nesaprotu :D
Joined
Nov 25, 2009
Messages
104
Reaction score
0
Location
Thais
Hello! (using tfs 0.3.6 pl1, client 8.60)
Is it possiable to do script, which remove protection zone block?
Will be used for: use item - pz removed!
If it is, I will be thankful who will post an example for me! :)

Have a nice evening!

- - - Updated - - -

forgot one more thing:
how to make script, which check, if you have or not a pz block? example:
if player has pz block, dosendtextmsg (Cant be used with pz block)
else remove frags and skull.
 
Last edited:
Lua:
	if (not isPlayerPzLocked(cid)) then
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, 'You aren\'t PZ Blocked.')
	else
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, 'Your PZ Blocked was removed.')
		doRemoveCondition(cid, CONDITION_INFIGHT)
	end
 
Back
Top