BakkesMod Programming Wiki
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

NOTIFIER_PERMISSION

View Implementation

When a notifier should be usable. Most of the time PERMISSION_ALL works best, but any of these can be used depending on your usecase.

For example, when a notifier is set to PERMISSION_MENU, your notifier code is only run when the command is used in the main menu


  • PERMISSION_ALL = 0

  • PERMISSION_MENU = (1 << 0)

  • PERMISSION_SOCCAR = (1 << 1)

  • PERMISSION_FREEPLAY = (1 << 2)

  • PERMISSION_CUSTOM_TRAINING = (1 << 3)

  • PERMISSION_ONLINE = (1 << 4)

  • PERMISSION_PAUSEMENU_CLOSED = (1 << 5)

  • PERMISSION_REPLAY = (1 << 6)

  • PERMISSION_OFFLINE = (1 << 7)