cs_get_user_submodel
Syntax
native cs_get_user_submodel(index);
Usage
| Parameter | Description |
|---|---|
| index | Client index |
Description
Returns if a submodel is set on the client.
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
1 if submodel is set, 0 otherwise
Error
If the client index is not within the range of 1 to MaxClients, or the client is not connected, an error will be thrown.