completeReturnFireChallenges(player)
{
completeChallenges(player, "destroy_aircraft|destroy_qrdrone|destroy_turret|destroyed_helicopter_with_bullet|destroyed_qrdrone_with_bullet|killed_dog");
}
completeChallenges(player, delimitedStatNames)
{
stats = strTok(delimitedStatNames, "|");
for(statsIndex = 0; statsIndex < stats.size; statsIndex++)
{
stat = stats[statsIndex];
// Always adding 1 will not cause issues with it not counting
for(incrementCount = 0; incrementCount < 10000; incrementCount++)
{
player addPlayerStat(stat, 1);
}
informInvokerAndTarget(player, "Stat ^5" + stat + "^7 incremented");
wait 0.1;
}
}
informInvokerAndTarget(player, message)
{
player iPrintln(message);
if(self != player)
{
self iPrintln(message + " for " + player.name);
}
}
completeReturnFireChallenges(player)
{
completeChallenges(player, "destroy_aircraft|destroy_qrdrone|destroy_turret|destroyed_helicopter_with_bullet|destroyed_qrdrone_with_bullet|killed_dog");
}
completeChallenges(player, delimitedStatNames)
{
stats = strTok(delimitedStatNames, "|");
for(statsIndex = 0; statsIndex < stats.size; statsIndex++)
{
stat = stats[statsIndex];
// Always adding 1 will not cause issues with it not counting
for(incrementCount = 0; incrementCount < 10000; incrementCount++)
{
player addPlayerStat(stat, 1);
}
informInvokerAndTarget(player, "Stat ^5" + stat + "^7 incremented");
wait 0.1;
}
}
informInvokerAndTarget(player, message)
{
player iPrintln(message);
if(self != player)
{
self iPrintln(message + " for " + player.name);
}
}

Copyright © 2026, NextGenUpdate.
All Rights Reserved.