Not released yet. These pages are written from the code of
manniche_radial and can change before the release.General
All options are in config.lua. Restart the resource after changes.
| Option | Default | What it does |
|---|---|---|
Config.framework | 'auto' | 'auto', 'qbx', 'qb', 'esx' or 'standalone'. |
Config.accent | '#4d8dff' | Colour of the centre and the slice under the mouse, as '#rrggbb'. |
Config.command | 'radialmenu' | Command that opens the main menu. |
Config.key | 'Z' | Default key. false for no key. Players can rebind it. |
Config.hold | true | true: hold the key, point and let go. false: press to open, click to pick. |
Config.walk | true | Players can walk while the menu is open. Looking, shooting and the pause menu are blocked either way. |
Config.maxItems | 10 | Most items in one wheel. The rest move to a More item. false for no limit. |
Config.size | 36 | Diameter in percent of the screen height. |
Config.position | 'center' | 'center' draws the full circle. 'bottom' draws a half circle at the bottom edge. |
Config.vehiclePosition | 'bottom' | Same values, used while in a vehicle. |
Config.notify | 'auto' | 'auto', 'manniche', 'ox', 'qbx', 'qb', 'esx' or 'gta'. Auto uses the first started of manniche_notify, ox_lib, then the framework, then the GTA feed. |
Vehicle
The Config.vehicle table. See Vehicle locks for how the checks work.
| Option | Default | What it does |
|---|---|---|
lock | true | Show the lock item. When false, items with builtin = 'lock' are hidden. |
lockEvent | false | Client event that toggles the lock instead of the built-in one. false uses the built-in one. |
lockDistance | 5.0 | How far away a vehicle can be locked from, in metres. |
keys | 'auto' | 'auto' asks the started keys script, 'none' asks none, or the resource name of one. |
jobVehicles | true | ESX: vehicles with a job in owned_vehicles can be locked by everyone with that job. |
driverCanLock | false | Anyone in the driver seat can lock. |
giveKeyCommand | 'givekey' | Command the owner uses to give keys. false for none. |
removeKeyCommand | 'removekey' | Command the owner uses to take keys back. false for none. |
giveKeyDistance | 5.0 | How close the other player must be, in metres. false for anywhere. |
Language
There are no locale files. All texts are in Config.labels. Edit the values to change the language. Menu item labels are plain strings in Config.menu, Config.menus, Config.jobs and Config.animations.
Label keys
| Key | Default |
|---|---|
title | 'Radial menu' |
back | 'Back' |
close | 'Close' |
more | 'More' |
open | 'Open radial menu' (name under Key Bindings) |
serverId | 'Your server ID is %s' |
job | 'Job: %s | Grade: %s' |
noJob | 'You have no job' |
unemployed | 'Unemployed' |
engineOn, engineOff | 'Engine on', 'Engine off' |
locked, unlocked | 'Vehicle locked', 'Vehicle unlocked' |
noVehicle | 'No vehicle nearby' |
noKeys | 'You have no keys to this vehicle' |
notOwner | 'Only the owner can do that' |
keyGiven | 'You gave keys to %s to %s' |
keyReceived | 'You got keys to %s' |
keyRemoved | 'You took back the keys to %s from %s' |
keyLost | 'Your keys to %s were taken back' |
playerNotFound | 'No player with that ID nearby' |
giveKeyHelp, removeKeyHelp | Chat suggestion help texts for the key commands. |
playerId | 'Player ID' |
hazardsOn, hazardsOff | 'Hazard lights on', 'Hazard lights off' |
seatTaken | 'That seat is taken' |
tooFast | 'Slow down first' |
doors | Table indexed 0 to 5: Front left, Front right, Rear left, Rear right, Hood, Trunk. |
allDoors | 'All doors' |
windows | Table indexed 0 to 3: Front left, Front right, Rear left, Rear right. |
driverSeat | 'Driver' |
seat | 'Seat %s' |
extra | 'Extra %s' |
Keep the
%s placeholders. They are filled with string.format.