i have that anti armour system but i want thats system dont kick if a rank name pro
function onPlayerArmourChange( player, oldarm, newarm )
{
try {
if ( newarm > 0)
{
Message(RED+"--> Auto-Kicking [ " + player.Name + " ] , Reason : [ Armour Hack Detected ] ");
EchoMessage(ICOL_RED+">> Auto-Kicking [ " + player.Name + " ] , Reason : [ Armour Hack Detected ] ");
cKick( player );
}
}
catch(e) print( "newarm Error: " + e );
}
Easy just change
if ( newarm > 0)
to if ( newarm > 0 && !rank(player) == "Pro")
Thanks its will works if dont works i will tell you
[mergedate]1445526098[/mergedate]
not works no error when i remove this ten starts working
&& !Rank(player) == "pro")
Maybe you don't have Rank() function
i have
Try using:
if ( newarm > 0 && rank(player) != "Pro")
which function for rankz?
THANKS so muchhhhh
@Mashreq its works locked