AthenaClient.menus.player ​
Type Aliases ​
PlayerMenuInjection ​
Ƭ PlayerMenuInjection: (target: alt.Player, options: player[]) => player[]
Type declaration ​
Usage
AthenaClient.menus.player.(target, options): player[]
Parameters ​
| Name | Type |
|---|---|
target | alt.Player |
options | player[] |
Returns ​
player[]
Defined in ​
Functions ​
addInjection ​
Usage
AthenaClient.menus.player.addInjection(callback): any
Allows the current Menu Options to be modified. Meaning, a callback that will modify existing options, or append new options to the menu. Must always return the original wheel menu options + your changes.
Parameters ​
| Name | Type |
|---|---|
callback | PlayerMenuInjection |
Returns ​
any
Defined in ​
disable ​
Usage
AthenaClient.menus.player.disable(): void
Disable the Player Wheel Menu
Export
Returns ​
void
Defined in ​
open ​
Usage
AthenaClient.menus.player.open(target): any
Opens the wheel menu against a target player.
Parameters ​
| Name | Type |
|---|---|
target | Player |
Returns ​
any
Defined in ​
override ​
Usage
AthenaClient.menus.player.override(functionName, callback): any
Parameters ​
| Name | Type |
|---|---|
functionName | "addInjection" |
callback | (callback: PlayerMenuInjection) => any |
Returns ​
any
Defined in ​
Usage
AthenaClient.menus.player.override(functionName, callback): any
Parameters ​
| Name | Type |
|---|---|
functionName | "open" |
callback | (target: Player) => any |
Returns ​
any
V5 Docs