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

Don't attack party members

VirrageS

←•†ĿuĀ && ©¤¤•→
Joined
May 30, 2010
Messages
984
Reaction score
63
Location
Poland
Hello :D

I have one problem.

How to do that player1 who is in party with player2 (or other members) don't hit him by any area spells
only players who aren't in party.
Is way to do it?? :huh:


TFS: 0.4 trunk 3884



Thanks and rep for help.
 
Use function onCombat(cid, target)
Then compare the party id of both cid and target and if it is the same return false else return true
 

Similar threads

Back
Top