CS2 reference Server
Syntax
mp_weapons_allow_rifles [-1 / 0 / 2 / 3]Description
Selects which teams are permitted to buy rifles.
Argument information
| Argument | Documented format | Requirement |
|---|---|---|
| Value | -1 / 0 / 2 / 3 | Required for generator |
Extra information
- Category
- Server
- Context
- Server
- Type
- ConVar
- Reference value
-1- Documented values
- -1 / 0 / 2 / 3
Command generator
Uses the explicit values or bounds recorded in the local reference. Check your game context before running it.
Examples
mp_weapons_allow_rifles 3How to use
Open the developer console and enter the example if appropriate for your session. Record the previous value before changing a setting. Server actions require a server you control.