Skip to content
Snippets Groups Projects

Local Lua commands + no magic numbers

Merged James R. requested to merge local-lua-commands into next

Use COM_LOCAL as the third argument of COM_AddCommand to make your command local only. That means don't send a NetXCmd, because those suck!

The magic flags 1 and 2 have become COM_ADMIN and COM_SPLITSCREEN.

Splitscreen commands no longer give secondarydisplayplayer to the command function.

Edited by James R.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading