💜
Sakura
  • 👋Welcome
  • Information
    • 🎯Quick start
    • ⚜️Common knowledge
    • 💾Examples
      • *️Rendering menus, windows
  • documentation
    • 🪝Hooks
    • ⚙️Variables
      • 🍎Weapon ids
      • 🍎Inputs
      • 🍎Keys
      • 🍎Flags
      • 🍎ImGui Window Flags
    • 📛Namespaces
      • 🍏Game
      • 🍏ImGui (Menu)
      • 🍏Render
      • 🍏Local Player
      • 🍏Player
      • 🍏Notify
Powered by GitBook
On this page
  1. documentation
  2. Variables

Inputs

Defines the inputs bitmasks in the game

-- Mouse button or key is pressed down
IN_ATTACK

-- Jump is being held down
IN_JUMP

-- Player is holding the duck key
IN_DUCK

-- Player is moving forward
IN_FORWARD

-- Player is moving backward
IN_BACK

-- Player is using an object (i.e. opening a door)
IN_USE

-- Player stopped using an object
IN_CANCEL

-- Player is moving to the left
IN_LEFT

-- Player is moving to the right
IN_RIGHT

-- Player is strafing to the left
IN_MOVELEFT

-- Player is strafing to the right
IN_MOVERIGHT

-- Secondary attack button is being held down
IN_ATTACK2

-- Player is running
IN_RUN

-- Player is reloading
IN_RELOAD

-- Alternate fire button is being held down
IN_ALT1

-- Scoreboard is being held down
IN_SCORE

-- Example usage:
LocalPlayer.CheckButton(cmd, IN_ATTACK)
PreviousWeapon idsNextKeys

Last updated 2 years ago

⚙️
🍎