DoWealth
Category: Player
Since engine version: 4.9.7.0 CR
Description
Increases iPlr's wealth by iValue. Negative values for iValue are also possible.
Syntax
bool DoWealth
(int iPlr, int iValue);
Parameters
- iPlr:
Player number of the player whose wealth should be changed
- iValue:
Value by which the player's wealth should be increased.
Example
DoWealth(5, 60);
Gives 60 clunkers to the sixth player.
Fulgen / Clonk Wiki, Juli 2016