(adsbygoogle = window.adsbygoogle || []).push({});
Can someone tell me if these would work?
nazizombies_set_new_zombie_stats()
{
players = get_players();
for( i = 0; i < players.size; i++ )
{
//grab stat and add final totals
total_kills = players zombieStatGet( "zombie_kills" ) + players.stats["kills"];
total_points = players zombieStatGet( "zombie_points" ) + players.stats["score"];
total_rounds = players zombieStatGet( "zombie_rounds" ) + (level.round_number - 1); // rounds survived
total_downs = players zombieStatGet( "zombie_downs" ) + players.stats["downs"];
total_revives = players zombieStatGet( "zombie_revives" ) + players.stats["revives"];
total_perks = players zombieStatGet( "zombie_perks_consumed" ) + players.stats["perks"];
total_headshots = players zombieStatGet( "zombie_heashots" ) + players.stats["headshots"];
total_zombie_gibs = players zombieStatGet( "zombie_gibs" ) + players.stats["zombie_gibs"];
//set zombie stats
players zombieStatSet( "zombie_kills", total_kills );
players zombieStatSet( "zombie_points", total_points );
players zombieStatSet( "zombie_rounds", total_rounds );
players zombieStatSet( "zombie_downs", total_downs );
players zombieStatSet( "zombie_revives", total_revives );
players zombieStatSet( "zombie_perks_consumed", total_perks );
players zombieStatSet( "zombie_heashots", total_headshots );
players zombieStatSet( "zombie_gibs", total_zombie_gibs );
}