Category: Player
Since engine version: 1.0 OC
SetWealth
Description
Sets the wealth value of a player.
Syntax
bool SetWealth(int player, int value);
Parameters
- player:
- Player number of the player whose wealth you want to change.
- value:
- New wealth value.
Example
SetWealth(5, 0);
Brankrupts player number six.