Skip to content

Neon Lua API

NEON-ONLY REFERENCE

144 documented API entries

Search the functions registered by Neon, browse them by system, or follow a practical path into the engine.

START WITH A GOAL

Choose a path

3 ENTRIES

Extended native radar

System guide →

11 ENTRIES

Server-authoritative models

System guide →

6 ENTRIES

Renderer and distant lights

System guide →

6 ENTRIES

Native CULL zones

System guide →

2 ENTRIES

Marker diagnostics

System guide →

3 ENTRIES

Procedural seabed

System guide →

2 ENTRIES

Model-native walking styles

System guide →

5 ENTRIES

Synchronized ambient pedestrians

System guide →

2 ENTRIES

Resource-owned streaming leases

System guide →

40 ENTRIES

Native ped tasks and gang tags

System guide →

Actor policies

13 APIs
setPedMissionActor

Persists GTA's PED_MISSION classification on a script-created ped across native model recreation.

client
isPedMissionActor

Reports the locally persisted mission-actor policy, including while the native model is streamed out.

client
acquirePedNativeEventProfile

Exclusively leases one of Neon's stock native-event adapters for a script ped.

client
releasePedNativeEventProfile

Releases one native ped event-profile token owned by the calling resource.

client
isPedNativeEventProfileActive

Reports whether this resource's native event-profile lease is active for the current authoritative ped generation.

client
setPedStoryProtected

Persists GTA's grouped story-actor protection flags on a script ped across native recreation.

client
isPedStoryProtected

Reports the locally persisted grouped story-actor protection policy.

client
setPedSuffersCriticalHits

Persists GTA's critical-hit policy on a script ped without enabling the broader story-protection tuple.

client
getPedSuffersCriticalHits

Reads the locally persisted critical-hit policy for a script ped, including while it is streamed out.

client
setPedStayInSamePlace

Persists GTA's scalar stay-in-place flag on a script ped without assigning a stand-still task.

client
getPedStayInSamePlace

Reads the effective local stay-in-place flag for a script ped.

client
setPedNeverTargeted

Persists only GTA's never-targeted bit without enabling the grouped protagonist protection policy.

client
isPedNeverTargeted

Reads the effective local never-targeted policy for a script ped.

client

6 ENTRIES

Native story vehicle state

System guide →

3 ENTRIES

Native scene primitives

System guide →

14 ENTRIES

Native script camera

System guide →

11 ENTRIES

Native file cutscenes

System guide →

6 ENTRIES

Native mission and frontend audio

System guide →

4 ENTRIES

Resource-owned vehicle audio

System guide →

7 ENTRIES

Native mission text

System guide →

5 ENTRIES

Native vehicle recordings

System guide →

6 ENTRIES

Verified Neon identity and bans

System guide →

2 ENTRIES

Existing API extensions

System guide →