mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +00:00
double space for line break
This commit is contained in:
1 parent
724c7e356d
commit
2b549c3d06
27 files changed
+63
-84
No files matched your search
@@ -1,4 +1,4 @@
|
||||
Uses the passed item, then triggers the callback function.
|
||||
Uses the passed item, then triggers the callback function.
|
||||
Should be calling during item callbacks to utilise the builtin methods (server checks, progress bar, etc.).
|
||||
|
||||
```lua
|
||||
|
||||
@@ -19,8 +19,8 @@ otherwise you **should not** install this resource.
|
||||
|
||||
### oxmysql
|
||||
|
||||
We utilise our own resource to communicate with MySQL databases via the node-mysql2 package.
|
||||
The backend is actively maintained and updated unlike the package used by mysql-async, providing improved performance, security, and features.
|
||||
We utilise our own resource to communicate with MySQL databases via the node-mysql2 package.
|
||||
The backend is actively maintained and updated unlike the package used by mysql-async, providing improved performance, security, and features.
|
||||
We provide full backwards compatibility with mysql-async and build for the current Cfx architecture.
|
||||
|
||||
<ResourceLinks repo="https://www.github.com/overextended/oxmysql" docs="../oxmysql"></ResourceLinks>
|
||||
@@ -43,7 +43,7 @@ The resources listed under here **aren't** necessary for the inventory to work b
|
||||
|
||||
### ox_target
|
||||
|
||||
A performant and flexible standalone "third-eye" targeting resource.
|
||||
A performant and flexible standalone "third-eye" targeting resource.
|
||||
Stashes, shops, and crafting benches will be accessible via zone targets instead of using markers.
|
||||
|
||||
<ResourceLinks repo="https://www.github.com/overextended/ox_target" docs="../ox_target"></ResourceLinks>
|
||||
@@ -60,7 +60,7 @@ The inventory will handle disabling the phone when the player has no item, and s
|
||||
|
||||
### Production Build
|
||||
|
||||
The user interface included with the source code must be compiled.
|
||||
The user interface included with the source code must be compiled.
|
||||
You can compile it yourself by following the [build guide](./Guides/inventory_ui), otherwise download a production build below.
|
||||
|
||||
<ResourceLinks repo="https://github.com/overextended/ox_inventory/releases/latest"></ResourceLinks>
|
||||
|
||||
@@ -8,16 +8,16 @@ sidebar_position: 1
|
||||
|
||||
Because the UI for inventory is written in React it can't run natively under FiveM so it must first be bundled into html/css/js.
|
||||
|
||||
We provide an easy way for you to do this by downloading a pre-bundled release, which you can get from [here](https://github.com/overextended/ox_inventory/releases/latest).
|
||||
We provide an easy way for you to do this by downloading a pre-bundled release, which you can get from [here](https://github.com/overextended/ox_inventory/releases/latest).
|
||||
Make sure you download the `ox_inventory.zip` file as that one contains the bundled files and others are raw source code.
|
||||
|
||||
If in case you wanted to edit the inventory UI you would have to build these files yourself.
|
||||
If in case you wanted to edit the inventory UI you would have to build these files yourself.
|
||||
To do so please read our [_Building inventory UI_](../Guides/inventory_ui.md) guide.
|
||||
|
||||
## Stashes / trunks are not saved at server restart
|
||||
|
||||
The only supported way of doing a restart is **txAdmin scheduled restart**.
|
||||
The only supported way of doing a restart is **txAdmin scheduled restart**.
|
||||
txAdmin scheduled restart should be your only way of restarting a server in production.
|
||||
|
||||
If you need to do a manual restart, you must use `/saveinv` before restarting the server.
|
||||
If you need to do a manual restart, you must use `/saveinv` before restarting the server.
|
||||
If you don't do this, all inventory except players inventory will not be saved.
|
||||
@@ -2,5 +2,5 @@
|
||||
title: Guides
|
||||
---
|
||||
|
||||
Providing examples and explaining certain inventory API into more detail.
|
||||
Providing examples and explaining certain inventory API into more detail.
|
||||
If you have trouble understanding how some of the API works check out our [**_example resource_**](https://github.com/overextended/ox_inventory_examples).
|
||||
Reference in new issue
Block a user