cs_set_user_money

Синтаксис

native cs_set_user_money(index, money, flash = 1);

Употреба

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

Описание

Sets the client's amount of money.

Връщаща стойност

Тази функция няма връщаща стойност.

Грешка

If the client index is not within the range of 1 to
MaxClients, or the client is not connected, an error will be
thrown.