mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +00:00
Update readme.md
This commit is contained in:
@@ -12,7 +12,6 @@
|
|||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
- Modify your ESX config with `Config.Multichar = true`
|
- Modify your ESX config with `Config.Multichar = true`
|
||||||
- Set your database name for `Config.Database` in server/main.lua
|
|
||||||
- Run `esx_multicharacter.sql` into your database
|
- Run `esx_multicharacter.sql` into your database
|
||||||
- All owner and identifier columns should be set to `VARCHAR(60)` to ensure correct data entry
|
- All owner and identifier columns should be set to `VARCHAR(60)` to ensure correct data entry
|
||||||
- The resource will attempt to set columns automatically
|
- The resource will attempt to set columns automatically
|
||||||
@@ -25,7 +24,7 @@
|
|||||||
- Do not enable this setting if you do not intend to properly set up relog support
|
- Do not enable this setting if you do not intend to properly set up relog support
|
||||||
- Requires the latest update for ESX Status (prevents multiple status ticks from running)
|
- Requires the latest update for ESX Status (prevents multiple status ticks from running)
|
||||||
- Add the following events to resources that require support for relogging, or
|
- Add the following events to resources that require support for relogging, or
|
||||||
- Add them to [@esx/imports.lua](https://github.com/esx-framework/es_extended/blob/legacy/imports.lua) (and use the imports in your resources)
|
- Add them to [@es_extended/imports.lua](https://github.com/esx-framework/esx-legacy/blob/main/[esx]/es_extended/imports.lua) (and use the imports in your resources)
|
||||||
```lua
|
```lua
|
||||||
RegisterNetEvent('esx:playerLoaded', function(xPlayer)
|
RegisterNetEvent('esx:playerLoaded', function(xPlayer)
|
||||||
ESX.PlayerData = xPlayer
|
ESX.PlayerData = xPlayer
|
||||||
|
|||||||
Reference in New Issue
Block a user