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

C++ Check if a kill is unjustified

Joined
Apr 15, 2014
Messages
75
Reaction score
18
Hello I need to know how to check wether a kill was justified or not in the callback onKill. Could someone help?
 
You could try something like this, then see if anything changes.

Code:
uint32_t flags = 0;
        if(entry.isLast() && entry.isJustify()) {
            flags |= 1, 2;
        }
       
        if(entry.isLast() && entry.isUnjustified()) {
            flags |= 1, 4;
        }
 
Back
Top