cs_get_player_weap_restrict
Returns whether a player has weapon restrictions enabled. In the case that he does, also returns allowed_bistum and allowed_default (by referenced).
Syntax
native cs_get_player_weap_restrict(id, &allowed_bitsum=0, &allowed_default=0)
Usage
| id | Player index. |
| allowed_bitsum | Bitsum containing allowed weapons. |
| allowed_default | Default allowed weapon to switch back to. (in CSW_ format) |
Return
True — if restrictions are enabled, false otherwise.
Defined in
cs_weap_restrict_api.inc
at line 36
.
This documentation was automatically generated from source.