SetWealth
Category: Player
Since engine version: 5.1 OC
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.
jwk, 2002-08