https://github.com/overextended/charselect-guide
https://github.com/overextended/charselect-guide
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/overextended/charselect-guide
- Owner: overextended
- Archived: true
- Created: 2024-04-24T09:30:56.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-05T21:51:14.000Z (about 2 years ago)
- Last Synced: 2025-06-27T13:40:01.468Z (12 months ago)
- Language: TypeScript
- Size: 7.81 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# This is not a resource!
This repository shows some example code and, more importantly, necessary events and data when creating a character selection resource for [ox_core](https://github.com/overextended/ox_core).
ox_core has fully integrated multicharacter support but does not implement character selection by default; this code should give some idea of how to make your own.
## Convars
These convars should be replicated with `setr` and set before starting ox_core.
- `ox:characterSlots` can set to any number. It is used to select character data.
- `ox:characterSelect` should be set to `0` to disable the auto character-selection in ox_core. (todo: rename)