Skip to content
Revo Docs
Search
Ctrl
K
Cancel
Select theme
Dark
Light
Auto
Select language
English
Русский
Menu
Getting started
Introduction
Run locally
Create your first game mode
Requirements and compatibility
Core concepts
Platform overview
Synchronization
Scripting
JavaScript
TypeScript setup
Project directory layout
Imports and npm dependencies
Metadata
Events and listeners
Client and server requests
Script errors and logging
Server
Server startup and shutdown
Client
Client timers and waits
GTA natives
OBS detection
Loading screen
WebViews
Create a WebView
WebView bridge
WebView performance and lifetime
Entities
Entity IDs and game handles
Streaming and readiness
Ownership and simulation
Dimensions and visibility
Moving entities and attaching props
Health and damage
Interactions
Colshapes
Markers
Blips
World
Time, weather and waves
Input
Keyboard, mouse and game controls
Cursor and UI focus
Cameras
Cameras and transitions
Voice chat
Your first voice channel
Proximity voice
Radios and calls
Voice permissions and moderation
Voice categories and effects
Talking indicators and levels
Audio
Playing your first sound
Spatial and attached audio
Server playback and audiences
Audio effects and mixing
Players and peds
Spawning and respawning
NPCs and scripted behavior
Animations
Ped clothing and props
Faces, overlays and hair
Weapons and ammunition
Vehicles
Creating and configuring vehicles
Occupants and seats
Appearance and modifications
Damage, doors and repairs
Trailers and towing
Resources
Package and publish client resources
Resource encryption and keys
JavaScript processing and source maps
Custom assets
Load custom assets
RPF archives
Custom vehicles
Custom peds
Clothing and props
Objects and textures
Maps and MLO interiors
Text labels and file overrides
Additional asset types
Branding
Custom loading screen
Game icon
Launcher
Create a custom launcher
Client helper reference
Server selection and join codes
GTA folder selection
Resource storage and disk management
File verification and repair
Game launch and process lifecycle
Crash-reporting setting
Package and distribute your launcher
Server
Development workflow
Server configuration
Register a production server
Addresses, ports and firewalls
Run a separate voice server
Deploy a production server
Run multiple server instances
Monitoring and logs
Hosting and hardware
Replication and bandwidth tuning
Client
Console and network graph
Debug WebViews
Migration
Rage MP
API reference
JavaScript
Server
types-server
classes
Audio
Base
Entity
Object
Ped
Physical
Player
Vehicle
VoiceChannel
World
WorldBase
enumerations
AudioPlaybackState
AudioSourceType
DamageType
PlayerState
StateChangeSource
VehicleExitReason
functions
allowConnections
emit
emitClient
fetchClient
log
off
offClient
offRequest
on
onClient
onRequest
shutdown
interfaces
IAudioOptions
IAudioSource
IDamageEvent
IInventoryWeapon
IServerEvent
IVehicleOccupancy
IVoiceChannelOptions
IVoicePermissions
IWeaponLoadout
variables
world
Client
types-client
classes
AreaBlip
Audio
AudioCategory
Base
Blip
Colshape
ColshapeCircle
ColshapeCuboid
ColshapeCylinder
ColshapePolygon
ColshapeRectangle
ColshapeSphere
Entity
LocalAudio
LocalObject
LocalPed
LocalVehicle
Marker
Object
Ped
Physical
Player
PointBlip
RadiusBlip
Streamable
Vehicle
WebView
World
WorldBase
enumerations
AircraftType
AudioSourceType
AudioState
BlipColor
BlipSprite
BlipType
ColshapeType
Control
ExplosionType
GameFont
HudComponent
InputModifier
KeyCodes
LandingGearState
MarkerType
MouseButton
PedBone
PedConfigFlag
functions
clearEveryTick
clearInterval
clearTimeout
deferLoadingScreen
emit
emitServer
everyTick
failLoadingScreen
fetchServer
finishLoadingScreen
getNetTime
getNetworkStats
isCursorVisible
log
off
offRequest
offServer
on
onRequest
onServer
setInterval
setTimeout
showCursor
wait
waitFor
interfaces
IAudioMixSettings
IAudioSource
IClientEvent
ILocalAudioOptions
INativeAudioCategory
INetworkStats
IVehicleOccupancy
IVoice
IVoiceChannelInfo
IWebViewEvent
type-aliases
WebViewRequestHandler
variables
voice
world
Shared types
types-shared
classes
Quaternion
Vector2
Vector3
enumerations
BaseType
PedComponent
PedFaceFeature
PedHeadOverlay
PedOverlayColorType
PedProp
VehicleBumperAxis
VehicleBumperState
VehicleModType
VehicleNeonSide
VehicleOccupancyPhase
VehicleToggleModType
VehicleWheelType
VehicleWindowTint
WeaponComponentHash
WeaponHash
WeatherType
functions
hash
interfaces
ICustomBaseSyncedMeta
IDate
IDateTime
IEntity
IPedComponentVariation
IPedHairColor
IPedHeadBlendData
IPedHeadOverlay
IPedPropVariation
IPhysical
IQuaternion
IRGB
IRGBA
ITime
IVector2
IVector3
IVehicleBumperState
IVehicleOccupancy
IWaveSettings
type-aliases
AudioEffect
EventHandler
TickHandler
TransportValue
variables
globalDimension
WebView
types-webview
interfaces
IRevo
Window
variables
revo
GTA natives
Select theme
Dark
Light
Auto
Select language
English
Русский
REVO / API version 0.0.10
StateChangeSource
Enumeration Members
Section titled “Enumeration Members”
Enumeration Member
Value
Server
0
Sync
1