cs_set_user_defuse
native cs_set_user_defuse(index, defusekit = 1, r = 0, g = 160, b = 0, icon[] = "defuser", flash = 0);
| Parameter |
Description |
| 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.
This function has no return value.
If the client index is not within the range of 1 to
MaxClients, or the client is not connected, an error
will be thrown.