Client · JavaScript & Lua

GTA V Recording natives

Rockstar Editor recording control.

The 17 natives of the game’s RECORDING namespace, as LS:MP client scripts call them: global functions with the same arguments in JavaScript and in Lua. Each one has its own page, with its signature, a call in both languages, its parameters and what it returns.

NativeGame nameHash
replayStartEventBlockedREPLAY_START_EVENT0x48621C9FCA3EBD28
replayStopEventBlockedREPLAY_STOP_EVENT0x81CBAE94390F9F89
replayCancelEventBlockedREPLAY_CANCEL_EVENT0x13B350B8AD0EEE10
replayRecordBackForTimeBlockedREPLAY_RECORD_BACK_FOR_TIME0x293220DA1B46CEBC
replayCheckForEventThisFrameBlockedREPLAY_CHECK_FOR_EVENT_THIS_FRAME0x208784099002BC30
replayPreventRecordingThisFrameBlockedREPLAY_PREVENT_RECORDING_THIS_FRAME0xEB2D525B57F42B40
replayResetEventInfoBlockedREPLAY_RESET_EVENT_INFO0xF854439EFBB3B583
replayDisableCameraMovementThisFrameBlockedREPLAY_DISABLE_CAMERA_MOVEMENT_THIS_FRAME0xAF66DCEE6609B148
recordGreatestMomentBlockedRECORD_GREATEST_MOMENT0x66972397E0757E7A
startReplayRecordingBlockedSTART_REPLAY_RECORDING0xC3AC2FFF9612AC81
stopReplayRecordingBlockedSTOP_REPLAY_RECORDING0x071A5197D6AFC8B3
cancelReplayRecordingBlockedCANCEL_REPLAY_RECORDING0x88BB3507ED41A240
saveReplayRecordingBlockedSAVE_REPLAY_RECORDING0x644546EC5287471B
isReplayRecordingBlockedIS_REPLAY_RECORDING0x1897CA71995A90B4
isReplayInitializedBlockedIS_REPLAY_INITIALIZED0xDF4B952F7D381B95
isReplayAvailableBlockedIS_REPLAY_AVAILABLE0x4282E08174868BE3
isReplayRecordSpaceAvailableBlockedIS_REPLAY_RECORD_SPACE_AVAILABLE0x33D47E85B476ABCD

Other namespaces

Built-in25Script VM basics: timers, maths helpers, thread control.App data17Data blocks shared with the game's companion apps.Audio280Sounds, speech, music, radio, audio scenes and scripted conversations.Script brains11Script brains attached to objects, peds and world points.Camera248Scripted cameras, the gameplay camera, shakes, cinematic and hint cameras.Clock16In-game time and date, and the real-world clock.Cutscenes56Loading, playing and controlling cutscenes.Data files57Cloud data files and their dictionary and array structures.Decorators12Typed key/value decorators attached to entities.DLC14Presence and state of downloadable content.Entity189Anything placed in the world: position, rotation, health, attachment, collision, visibility.Events13AI and shocking events: adding, blocking and suppressing them.Shop metadata49Shop items, outfits, tattoos and weapon data declared by DLC metadata.Fire19Script fires and explosions.Graphics403Drawing: markers, lines, sprites, lights, particle effects, scaleform movies, timecycles and screen effects.HUD518Text, help and notifications, blips and the minimap, pause-menu and frontend components.IIS1The initial interactive screen shown when the game starts.Interior45Interiors, rooms and entity sets.Item sets9Script-side collections of entities and other items.Landing page4The game's landing page.Lobby8Legacy lobby state of the game's own multiplayer menu.Localization3Language and region of the game.Misc345Everything without a better home: weather, ground and area checks, maths, hashing, strings, game flow.Mobile phone25The in-game phone prop: position, rotation, scale and camera.Money357The game's online economy: earn and spend records, balances.Net shopping42The game's online catalog, baskets and transactions.Network883The game's own network layer: sessions, players, network ids, entity control, cloud content.Object166Props: creation, doors, pickups, breakable and animated objects.Controls50Player input: reading and disabling control actions, vibration, look inversion.Pathfinding60Road nodes, the navigation mesh and GPS routes.Ped614Characters: creation, appearance, health, groups, relationships, ragdoll, config flags.Physics49Ropes, and the physics state of entities.Player250The local player: wanted level, abilities, targeting, control, model, invincibility.Replay6Rockstar Editor replay and clip state.Save migration8Transfer of a saved game between platforms and accounts.Script38Game script threads and script events.Security3Tamper protection of script variables.Shape tests11Raycasts and the other world probes.Social Club84Social Club inbox, profanity checks, licence plates and presence.Stats338Player statistics, leaderboards and telemetry.Streaming121Loading assets: models, animation and texture dictionaries, particle assets, IPLs, focus.Tasks313AI tasks: movement, combat, animations, driving, scenarios and sequences.Vehicle774Vehicles: creation, mods, colours, doors, damage, handling flags.Water12Water height, waves and water probes.Weapon123Weapons, ammunition, components and weapon objects.Zones9Map zones and population schedules.

Search them in the interactive natives reference