Skip to content

Server: Add mp_weapondrop_type cvar - #283

Merged
tmp64 merged 1 commit into
tmp64:masterfrom
ScriptedSnark:mp_weapondrop_type
Aug 10, 2025
Merged

Server: Add mp_weapondrop_type cvar#283
tmp64 merged 1 commit into
tmp64:masterfrom
ScriptedSnark:mp_weapondrop_type

Conversation

@ScriptedSnark

Copy link
Copy Markdown
Contributor

Now you can configure what weaponbox will contain after player death.

Values:

  • 0 - default behavior
  • +1 - gun: drop all
  • +2 - gun: drop active only
  • +4 - gun: drop none
  • +8 - ammo: drop all
  • +16 - ammo: drop active only
  • +32 - ammo: drop none

Flags can be combined (sum values). For example: mp_weapondrop_type 9 (1+8) makes weaponbox contain all player weapons and ammo.

@tmp64
tmp64 merged commit 7c5c854 into tmp64:master Aug 10, 2025
6 checks passed
@tmp64

tmp64 commented Aug 10, 2025

Copy link
Copy Markdown
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants