Code:
var/total = (((src.paintball_game_stats["enemy_kills"]*500) + (src.paintball_game_stats["enemy_hits"]*100) + (round(src.paintball_game_stats["shots_hit"]/src.paintball_game_stats["shots_fired"],0.01)*1000)) - ((src.paintball_game_stats["friendly_kills"]*500) + (src.paintball_game_stats["friendly_hits"]*100) + (src.paintball_game_stats["killed_by_enemy"]*275) + (src.paintball_game_stats["taken_enemy_hits"]*50)))
Related: [link]