AMX Mod X API Documentation

Signature
native cs_get_user_submodel(index);
Description

Returns if a submodel is set on the client.

Notes
  • 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.

Parameters
  • index Client index
Returns

1 if submodel is set, 0 otherwise

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.

Назад
Верх