Signature
native cs_set_user_defuse(index, defusekit = 1, r = 0, g = 160, b = 0, icon[] = "defuser", flash = 0);
Description
Sets the client's defusekit status and allows to set a custom HUD icon and
color.
Parameters
- 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
No return value
Errors
-
If the client index is not within the range of 1 to
MaxClients, or the client is not connected, an error
will be thrown.