fivem.client.core

..
Blip

A map or radar marker.

BlipDisplay

How a blip appears on the map and radar.

Callbacks

Request/response calls between client and server.

Control

The control indices used most often. The full list is in the FiveM docs under "Controls"; these are here so common code doesn't need magic numbers.

Controls

Keyboard, mouse and gamepad input.

Entity

The base class for everything that exists in the world on the client.

EntityType

What kind of thing an entity handle refers to, as reported by GET_ENTITY_TYPE.

LocalPlayer

The player at this keyboard — the one entity client code touches most.

Net

Sending events from the client to the server.

Nui

The bridge to a resource's NUI layer — the embedded browser used for HTML user interfaces.

Ped

A person — player character or NPC — on the client.

Player

A player, as seen from the client.

Prop

A world object — the game's third entity type, covering everything that isn't a ped or a vehicle: crates, cones, ATMs, dropped items, placeable scenery.

Raycast

Shape tests — the game's ray casting, used for "what am I looking at?" interaction, ground probing and line-of-sight checks.

RaycastFlags

What a shape test is allowed to hit.

RaycastHit

The outcome of a shape test.

Streaming

Asset streaming — loading models, animations, textures and collision before you use them.

TextAlign

Horizontal alignment for Ui.drawText.

TextStyle

Optional styling for Ui.drawText. Every field has a sensible default, so pass only what you want to change.

Ui

On-screen drawing: text, markers, notifications and help prompts.

Vehicle

A vehicle on the client.

VehicleDoor

Door indices for the door natives.

VehicleLockState

Door lock states as SET_VEHICLE_DOORS_LOCKED understands them.

VehicleSeat

Seat indices, as the vehicle natives number them.

World

Queries against the world as this client sees it.

Zone

One registered zone: a shape plus the handlers watching it.

ZoneOptions

What to run as the local player moves through a zone.

Zones

Zone tracking for the local player: enter, exit and inside callbacks over the shapes in fivem.shared.colshape.