Overview

rp-base

rp-base is the core FiveM framework resource. It manages player sessions, accounts, metadata, server callbacks, vehicles, and exposes a shared RP object that all other resources import and use.

Feature overview

AreaWhat it provides
PlayerRCPlayer class — persistent DB-backed players with live dynamic props (ped, coords, state)
VehicleRCVehicle class — DB-backed vehicle records with full CRUD
AccountsPer-player currency / balance buckets with automatic database sync
MetadataArbitrary per-player key/value store with type-safe defaults and automatic DB sync
CallbacksServer callbacks (RegisterServerCallback / TriggerServerCallback) with resource lifecycle tracking
Client dataRead-only RP.PlayerData proxy exposing the local player's loaded data with live dynamic props
UtilitiesLogging, math helpers, unit conversions, entity spawning, PedController

Quick navigation