Exports

showHelper

With this export you can show helper for player.

  • data table: [table: [keys: string[], label: string]]

exports['p_helper']:showHelper(data)

Example of Usage

exports['p_helper']:showHelper({
  {
      keys = {'X'},
      label = 'Cancel'
  },
  {
      keys = {'A', 'D'},
      label = 'Left / Right'
  },
  {
      keys = {'E'},
      label = 'Confirm'
  },
})

hideHelper

With this export you can hide helper for player

exports['p_helper']:hideHelper()
-- THIS WILL CLOSE HELPER IF IS VISIBLEE

Last updated