cs_get_user_plant

Синтаксис

native cs_get_user_plant(index);

Употреба

index
Client index

Описание

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

Забележка

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.

Връщаща стойност

1 if the client is able to plant the bomb, 0 otherwise

Грешка

If the client index is not within the range of 1 to
MaxClients, or the client is not connected, an error will be
thrown.