cs_get_no_knives

Syntax

native cs_get_no_knives();

Description

Returns if "no knives" mode is enabled.

Note

"No knives" mode means that the CStrike module will prevent the game
from creating (and thus attaching) "weapon_knife" entities. This means
that clients will spawn without knives, but knives can still be put
into the client inventories directly.

Return

1 if "no knives" mode is enabled, 0 otherwise