native
cs_set_user_submodel
Syntax
native cs_set_user_submodel(index, value);
Description
Sets the submodel on a client.
Parameters
| index | Client index |
|---|---|
| value | If nonzero the submodel is set, otherwise it is removed |
Note
In Counter-Strike the submodel setting determines whether the user has
a bomb backpack (if a Terrorist) or a defuse kit (if a CT) on their
model.
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