API REFERENCE
Extra Natives
Helpers that extend the base game natives with server-authoritative state, camera control and damage events.
- CreateSpoofedPed: Creates a ped with spoofed creation semantics at the given position.
- CreateSpoofedVehicle: Spawns a vehicle entity at coordinates with spoofed creation semantics.
- GetAllVehiclesModel: Returns all known vehicle models as an array of { hash, name } tables.
- GetCameraAngles: Returns the gameplay camera angles.
- IsPlayerInvisible: Checks if a player is currently invisible.
- LockCameraPos: Locks the gameplay camera position. Useful for freecam and spectate features.
- RequestRagdoll: Requests ragdoll on a target ped or entity.
- SendNetworkDamage: Sends a synthetic network damage event from a source entity to a target entity at a world position.
- SetCameraPos: Changes the gameplay camera position while the camera is locked.
- SpoofPed: Enables or disables server-side ped spoofing and queues a one-time ped change.