DoPlayerScore

Category: Player
Since engine version: 1.0 OC

Description

Changes the player score of a player.

Syntax

bool DoPlayerScore(int player, int change);

Parameters

player:
Number of the player whose score you want to change.
change:
Change of score (positive or negative).

Example

DoScore(0, -100);
Deducts 100 points from this player.
See also: GetPlayerScore, GetPlayerScoreGain
Sven2, 2001-11
Sven2, 2010-04