Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script
SetWealth
Category:
Player
Since engine version:
4.6.5.0 CP
Description
Sets the wealth value of a player.
Syntax
bool
SetWealth (
int
iPlr,
int
iValue);
Parameters
iPlr:
Player number of the player whose wealth should be changed
iValue:
New wealth value.
Example
SetWealth(5, 0);
Brankrupts player number six.
See also:
DoWealth
,
GetWealth
jwk, August 2002
Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script