cs_set_no_knives
Syntax
native cs_set_no_knives(noknives = 0);
Usage
| Parameter | Description |
|---|---|
| noknives | If nonzero enable "no knives" mode, disable otherwise |
Description
Enables or disables the "no knives" mode.
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
This function has no return value.