RedM natives
Natives are the game functions a RedM script calls to read or change the world. They are grouped in 86 namespaces. Each page gives the C signature, the 64-bit hash for Citizen.InvokeNative and examples in Lua, JavaScript and C#.
Namespaces
- AICOVERPOINT17
- AITRANSPORT24
- ANIMSCENE99
- ANTICHEAT1
- ATTRIBUTE27
- AUDIO221Sounds, music, speech and ambient audio.
- BOUNTY33
- BRAIN11
- BUILTIN22
- CAMERA233Script cameras, gameplay camera, shakes and transitions.
- CLOCK19
- COLLECTABLE31
- COMPANION25
- COMPAPP5
- COMPENDIUM34
- CRASHLOG13
- CREW18
- DATABINDING83
- DATAFILE59
- DEBUG3
- DECORATOR15
- DLC4
- ENTITY268Anything that exists in the world: coordinates, health, visibility, attachment, collision.
- EVENT38Reading the game event queue from scripts.
- FIRE28
- FLOCK46
- GANG42
- GOOGLE_ANALYTICS4
- GRAPHICS267Drawing, particles, post effects, lights and markers.
- HUD188Text, notifications, the radar and on-screen UI elements.
- IK5
- INTERACTION6
- INTERIOR30
- INVENTORY83Items, inventories and satchel contents.
- ITEMDATABASE84
- ITEMSETS11
- LAW124
- LOCALIZATION4
- MAP85Blips, the map and points of interest.
- MINIGAME48
- MISC288Utilities that fit nowhere else: hashing, game time, ground checks and more.
- MISSIONDATA18
- MONEY8
- NETSHOPPING24
- NETWORK566Multiplayer sessions, network ids, ownership and sync.
- OBJECT153Props and pickups: creation, placement, doors.
- PAD40Controller and keyboard input.
- PATH76
- PED1010Humans and animals: creation, outfits, components, behaviour, mounts.
- PERSCHAR51
- PERSISTENCE22
- PHYSICS72
- PLAYER395The player: control, wanted state, targeting, special abilities.
- POPULATION31
- POSSE31
- PROPSET37Propsets: ready-made groups of props placed together.
- QUEUE2
- RECORDING1
- REPLAY5
- SAVE24
- SCRIPT94
- SHAPETEST8
- SOCIALCLUB33
- SOCIALCLUBFEED2
- SPACTIONPROXY6
- STATS88
- STREAMING115Loading models, animations and other assets into memory.
- TASK640Tasks that make peds walk, fight, use scenarios or play animations.
- TELEMETRY78
- TXD8
- UIAPPS19
- UIDEBUG3
- UIEVENTS4
- UIFEED27Feed notifications shown in the corner of the screen.
- UILOG30
- UIPINNING1
- UISTATEMACHINE12
- UISTICKYFEED8
- UITUTORIAL3
- UNLOCK9
- VEHICLE387Wagons, coaches, boats and trains.
- VOICE24
- VOLUME80
- WATER17
- WEAPON222Giving, removing and tuning weapons and ammo.
- ZONE2
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.