diff --git a/pages/ox_lib.mdx b/pages/ox_lib.mdx index 0e7bd4f74c..19d2099f59 100644 --- a/pages/ox_lib.mdx +++ b/pages/ox_lib.mdx @@ -32,7 +32,7 @@ pnpm build Resource configuration is handled using [convars](https://docs.fivem.net/docs/scripting-reference/convars/). ```bash -# https://mantine.dev/theming/colors/#default-colors +# https://v6.mantine.dev/theming/colors/#default-colors setr ox:primaryColor blue setr ox:primaryShade 8 ``` diff --git a/pages/ox_lib/Modules/Interface.mdx b/pages/ox_lib/Modules/Interface.mdx index 0d0b390414..849542b7c0 100644 --- a/pages/ox_lib/Modules/Interface.mdx +++ b/pages/ox_lib/Modules/Interface.mdx @@ -20,7 +20,7 @@ dialog confirm buttons, input field focus, and more. You can find the full list of preset colours and shades here: -https://mantine.dev/theming/colors/#default-colors +https://v6.mantine.dev/theming/colors/#default-colors If you wish to create your own pallete I suggest following the guide on that page. -Keep in mind doing so *will* require you to download the source code and build the UI. +Keep in mind doing so _will_ require you to download the source code and build the UI. diff --git a/pages/ox_lib/Modules/Interface/Client/context.mdx b/pages/ox_lib/Modules/Interface/Client/context.mdx index 4a7ad23af3..198e435d56 100644 --- a/pages/ox_lib/Modules/Interface/Client/context.mdx +++ b/pages/ox_lib/Modules/Interface/Client/context.mdx @@ -23,6 +23,7 @@ Used for registering a context menu. lib.registerContext(context); ``` + @@ -57,7 +58,7 @@ Used for registering a context menu. - Adds a progress bar filled to this percentage - colorScheme?: `string` - Sets the color scheme of the progress bar. Current options can be found here: - - https://mantine.dev/theming/colors/#default-colors + - https://v6.mantine.dev/theming/colors/#default-colors - For example: `blue` or `teal` - arrow?: `boolean` - Shows an arrow on the right side like `menu` does, useful when you are opening a menu from an event. Can be set to false to hide it. @@ -100,6 +101,7 @@ Opens a registered context menu by its id. lib.showContext(id); ``` + @@ -121,6 +123,7 @@ Hides any currently visible context menu. lib.hideContext(onExit); ``` + @@ -145,6 +148,7 @@ If no context menu is open returns `nil`. lib.getOpenContextMenu(); ``` + @@ -252,6 +256,7 @@ First we register the menu with our specified options then we call the show func ], }); ``` + @@ -314,6 +319,7 @@ And the event that we are going to run from the `some_menu` menu, which is going lib.showContext('event_menu') end) ``` + ```ts @@ -332,6 +338,7 @@ And the event that we are going to run from the `some_menu` menu, which is going lib.showContext('event_menu'); }); ``` + diff --git a/pages/ox_lib/Modules/Interface/Client/skillcheck.mdx b/pages/ox_lib/Modules/Interface/Client/skillcheck.mdx index 4a33082bb4..37f8565793 100644 --- a/pages/ox_lib/Modules/Interface/Client/skillcheck.mdx +++ b/pages/ox_lib/Modules/Interface/Client/skillcheck.mdx @@ -80,7 +80,6 @@ Cancels the currently ongoing skill check. - ## Usage Example