View Single Post
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 08-09-2022 , 21:47   Re: Check if Attack has recieved damage from Victim
Reply With Quote #7

PHP Code:
g_Victim[__int_Victim] = __int_Attacker 
As soon as you damage someone, the victim will catch your id.
And then, when damaging again, use

PHP Code:
if(g_Damage[__int_Attacker] == __int_Victim
This will return true if the victim has damaged you before.
Your #4 sample was just in reverse, but you got the idea right.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline