Category: Player
Since engine version: 1.0 OC
DoPlayerScore
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