Life Selector - Character Path Selection System
A dynamic character path selection interface for FiveM servers
Overview
Life Selector provides an immersive character path selection experience with cutscenes, custom spawn locations, and starter items. Players can choose different life paths that determine their initial gameplay experience.
Features
- Sleek and responsive UI for path selection
- Configurable cutscene sequences for each path
- Custom spawn locations per path
- Starter item distribution system
- Debug commands for easy testing
- Fully configurable paths with custom images, mentors, and descriptions
Usage
- Install the resource in your server
- Configure your paths in
config.lua
- Trigger the interface using:
- Export:
exports['external_lifeselector']:showLifeSelector()
- Command:
/lifeselector
(if debug enabled)
- Export:
Configuration
Easily configure new paths in the config.lua
file:
Paths = {
racing = {
id = "racing",
title = "Street Racing Elite",
description = "Join the high-stakes world of illegal street racing.",
mentor = "Hao",
image = "https://your-image-url.jpg",
scenario = "Hao has noticed your driving skills...",
spawnLocation = vector4(782.93, -1867.95, 29.29, 78.92),
cutscene = {
name = "tun_meet_int",
duration = 30000,
weather = "CLEAR",
coords = vector3(-2201.717, 1132.0045, -23.26399),
time = {hour = 21, minute = 0},
},
items = {
{name = 'radio', label = 'Phone', amount = 1},
{name = 'repair_kit', label = 'Repair Kit', amount = 1}
}
},
}
Requirements
- ox_inventory
GitHub Repository
Support
Need help? Discord: kyle337
Code is accessible Yes
Subscription-based No
Lines (approximately) ~580
Requirements & dependencies OneSync, ox_inventory
Support Yes