cs_set_user_money
Syntax
native cs_set_user_money(index, money, flash = 1);
Usage
| Parameter | Description |
|---|---|
| index | Client index |
| money | New amount to set |
| flash | If nonzero the HUD will flash the difference between new and old amount in red or green |
Description
Sets the client's amount of money.
Return
This function has no return value.
Error
If the client index is not within the range of 1 to MaxClients, or the client is not connected, an error will be thrown.