Posts
72
Respect
12Add +1
Forum Rank
Rotting Walker
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!players = get_players();
for( i = 0; i < players.size; i++ )
players[i] maps\_zombiemode_score::add_to_player_score(500);
round_wait();
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
thread tzp_survivors_bonus_points();tzp_survivors_bonus_points()
{
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// EDIT SHiT HERE!!
Points = 500; // amount of points to give players at the end of a round.
PointsX2 = 1000; // if players have double points give this amount.
PointsOnRound = 3; // Start giving points after this round. or *Set to 1 to give every round.*
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
while(1)
{
level waittill ( "between_round_over" );
if( level.round_number <= PointsOnRound ) continue;
players = get_players();
for( i = 0; i < players.size; i++ )
{
if( is_player_valid( players[i] ) ) // make sure players valid.
{
if ( level.zombie_vars["zombie_powerup_point_doubler_on"] ) // if double points.
{
iprintlnbold("Survivor Bonus^2 +" +PointsX2+ " Points! " );
playsoundatposition("cha_ching", players[i].origin);
players[i] maps\_zombiemode_score::add_to_player_score(PointsX2);
}else{
iprintlnbold("Survivor Bonus^2 +" +Points+ " Points! " );
playsoundatposition("cha_ching", players[i].origin);
players[i] maps\_zombiemode_score::add_to_player_score(Points);
}
}
}
}
}