client.lua

Controls

Lua
Config.Controls = {
    placeConfirm = 191, -- ENTER
    placeConfirmAlt = 24, -- LMB
    placeCancel = 177, -- BACKSPACE / ESC (devhub_pauseMenu stays shut while placing)
    placeCancelAlt = 25, -- RMB
    rotateLeft = 44, -- Q
    rotateRight = 38, -- E
    toggleGrid = 29, -- B
}
  • Description: The keys used while placing a pot, a drying rack or a packing table. The preview follows the camera; the key hints on screen update to whatever you set here.
  • Values: FiveM control ids, see the controls list.
KeyDefaultAction
placeConfirm / placeConfirmAltENTER / left mousePut the object down.
placeCancel / placeCancelAltBACKSPACE / right mouseCancel placing.
rotateLeft / rotateRightQ / ERotate the preview.
toggleGridBSnap the position to a 0.75 m grid, handy for lining up pots in rows.

That is the only thing in this file. Notifications use the devhub_lib notification system, so they follow whatever you configured in devhub_lib.