native
cs_get_user_plant
Syntax
native cs_get_user_plant(index);
Description
Returns if the client has the ability to plant the bomb.
Parameters
| index | Client index |
|---|
Note
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.
Return
1 if the client is able to plant the bomb, 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.