PED System
Core overview and runtime behavior for gcm_pedSystem.
Overview
gcm_pedSystem manages persistent and temporary player PED assignments with:
- Admin panel to give/set/remove PEDs.
- User menu for allowed PED selection.
- Optional forced spawn PED per player.
- Persistence in MySQL table.
Core Flow
- Resource detects framework and loads stored PED cache.
- Player load checks if a forced PED exists and applies it.
- Admin can manage player PED list through ox_lib menus.
- Changes are persisted to DB JSON payload per player identifier.
Integrations
- Framework auto-detection:
qb-core/es_extended ox_libfor callbacks/menuoxmysqlfor persistence