1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-10 15:17:57 -05:00
Files
BO2-Reimagined/scripts/zm/replaced/_zm_score.gsc
Jbleezy 6c1e33c0e1 Grief: add powerup negative effects to enemy players
Max Ammo: unloads clip of all enemy players' weapons
Double Points: enemy players gain half points for 30 seconds
Insta Kill: enemy players deal half damage for 30 seconds
Nuke: deals 80 damage to all enemy players
2022-01-07 12:58:29 -08:00

34 lines
701 B
Plaintext

#include maps\mp\_utility;
#include common_scripts\utility;
#include maps\mp\zombies\_zm_utility;
add_to_player_score( points, add_to_total )
{
if ( !isDefined( add_to_total ) )
{
add_to_total = 1;
}
if ( !isDefined( points ) || level.intermission )
{
return;
}
points = int(points); // points must be an int
self.score += points;
self.pers[ "score" ] = self.score;
if ( add_to_total )
{
self.score_total += points;
}
self incrementplayerstat( "score", points );
}
minus_to_player_score( points )
{
if ( !isDefined( points ) || level.intermission )
{
return;
}
points = int(points); // points must be an int
self.score -= points;
self.pers[ "score" ] = self.score;
}