AMX Mod X API Documentation

Signature
native cs_get_user_plant(index);
Description

Returns if the client has the ability to plant the bomb.

Notes
  • Only with this set can the client plant the bomb within the usual bomb

    target areas. If this is not set the user can not plant the bomb, even

    when he has one in the inventory.

Parameters
  • index Client index
Returns

1 if the client is able to plant the bomb, 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.

Назад
Верх