cs_set_user_defuse

Синтаксис

native cs_set_user_defuse(index, defusekit = 1, r = 0, g = 160, b = 0, icon[] = "defuser", flash = 0);

Употреба

index
Client index
defusekit
If nonzero the client will have a defusekit, otherwise
it will be removed
r
Red component of icon color
g
Green component of icon color
b
Blue component of icon color
icon
HUD sprite to use as icon
flash
If nonzero the icon will flash red

Описание

Sets the client's defusekit status and allows to set a custom HUD icon and
color.

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

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

Грешка

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