---@meta
-- RedM Natives — generated 2026-10-04T00:49:14.973Z
-- https://natives.borderlinerp.com · sources: alloc8or, vorp, cfx, halen84, femga

---**CFX::_ADD_BLIP_FOR_AREA** `0x6228F159`
---Adds a rectangular blip for the specified coordinates/area.
---[Docs](https://natives.borderlinerp.com/natives/CFX/_ADD_BLIP_FOR_AREA)
---@param x number The X coordinate of the center of the blip.
---@param y number The Y coordinate of the center of the blip.
---@param z number The Z coordinate of the center of the blip.
---@param width number The width of the blip.
---@param height number The height of the blip.
---@return integer retval
function AddBlipForArea(x, y, z, width, height) end

---**CFX::ADD_BLIP_FOR_COORD** `0xC6F43D0E`
---Creates a blip for the specified coordinates.
---[Docs](https://natives.borderlinerp.com/natives/CFX/ADD_BLIP_FOR_COORD)
---@param x number The X coordinate to create the blip on.
---@param y number The Y coordinate.
---@param z number The Z coordinate.
---@return integer retval
function AddBlipForCoord(x, y, z) end

---**CFX::ADD_BLIP_FOR_ENTITY** `0x30822554`
---Create a blip that by default is red (enemy), you can use SET_BLIP_AS_FRIENDLY to make it blue (friend).\ Can be used for objects, vehicles and peds.
---[Docs](https://natives.borderlinerp.com/natives/CFX/ADD_BLIP_FOR_ENTITY)
---@param entity integer The entity handle to create the blip.
---@return integer retval
function AddBlipForEntity(entity) end

---**CFX::ADD_BLIP_FOR_RADIUS** `0x4626756C`
---Create a blip with a radius for the specified coordinates (it doesnt create the blip sprite, so you need to use AddBlipCoords) Example image: !example This is the server-side RPC native equivalent of the client native ADD_BLIP_FOR_RADIUS.
---[Docs](https://natives.borderlinerp.com/natives/CFX/ADD_BLIP_FOR_RADIUS)
---@param posX number The x position of the blip (you can also send a vector3 instead of the bulk coordinates)
---@param posY number The y position of the blip (you can also send a vector3 instead of the bulk coordinates)
---@param posZ number The z position of the blip (you can also send a vector3 instead of the bulk coordinates)
---@param radius number The number that defines the radius of the blip circle
---@return integer retval
function AddBlipForRadius(posX, posY, posZ, radius) end

---**CFX::ADD_CONVAR_CHANGE_LISTENER** `0xAB7F7241`
---Adds a listener for Console Variable changes.
---[Docs](https://natives.borderlinerp.com/natives/CFX/ADD_CONVAR_CHANGE_LISTENER)
---@param conVarFilter string The Console Variable to listen for, this can be a pattern like "test:\*", or null for any
---@param handler function The handler function.
---@return integer retval
function AddConvarChangeListener(conVarFilter, handler) end

---**CFX::ADD_PED_DECORATION_FROM_HASHES** `0x70559AC7`
---Applies an Item from a PedDecorationCollection to a ped.
---[Docs](https://natives.borderlinerp.com/natives/CFX/ADD_PED_DECORATION_FROM_HASHES)
---@param ped integer
---@param collection integer|string
---@param overlay integer|string
function AddPedDecorationFromHashes(ped, collection, overlay) end

---**CFX::ADD_STATE_BAG_CHANGE_HANDLER** `0x5BA35AAF`
---Adds a handler for changes to a state bag.
---[Docs](https://natives.borderlinerp.com/natives/CFX/ADD_STATE_BAG_CHANGE_HANDLER)
---@param keyFilter string The key to check for, or null for no filter.
---@param bagFilter string The bag ID to check for such as `entity:65535`, or null for no filter.
---@param handler function The handler function.
---@return integer retval
function AddStateBagChangeHandler(keyFilter, bagFilter, handler) end

---**CFX::APPLY_FORCE_TO_ENTITY** `0xC1C0855A`
---This is the server-side RPC native equivalent of the client native APPLY_FORCE_TO_ENTITY.
---[Docs](https://natives.borderlinerp.com/natives/CFX/APPLY_FORCE_TO_ENTITY)
---@param entity integer The entity handle
---@param forceType integer The force type
---@param x number The x component of the force to apply
---@param y number The y component of the force to apply
---@param z number The z component of the force to apply
---@param offX number Offset from center of entity (X)
---@param offY number Offset from center of entity (Y)
---@param offZ number Offset from center of entity (Z)
---@param nComponent integer Component of the entity to apply the force too. Only matters for breakable or articulated (ragdoll) physics. 0 means the root or parent component
---@param bLocalForce boolean Specifies whether the force vector passed in is in local or world coordinates. `true` means the force will get automatically transformed into world space befor…
---@param bLocalOffset boolean Specifies whether the offset passed in is in local or world coordinates
---@param bScaleByMass boolean Specifies whether to scale the force by mass
---@param bPlayAudio boolean Specifies whether to play audio events related to the force being applied. The audio will depend on the entity type. Currently vehicles are the only entity typ…
---@param bScaleByTimeWarp boolean Specifies whether to scale the force by time warp. Default is `true`
function ApplyForceToEntity(entity, forceType, x, y, z, offX, offY, offZ, nComponent, bLocalForce, bLocalOffset, bScaleByMass, bPlayAudio, bScaleByTimeWarp) end

---**CFX::CAN_PLAYER_START_COMMERCE_SESSION** `0x429461C3`
---This native is deprecated and may be removed in a future version.
---[Docs](https://natives.borderlinerp.com/natives/CFX/CAN_PLAYER_START_COMMERCE_SESSION)
---@param playerSrc string The player handle
---@return boolean retval
function CanPlayerStartCommerceSession(playerSrc) end

---**CFX::CANCEL_EVENT** `0xFA29D35D`
---Cancels the currently executing event.
---[Docs](https://natives.borderlinerp.com/natives/CFX/CANCEL_EVENT)
function CancelEvent() end

---**CFX::CLEAR_PED_PROP** `0x2D23D743`
---CLEAR_PED_PROP This is the server-side RPC native equivalent of the client native CLEAR_PED_PROP.
---[Docs](https://natives.borderlinerp.com/natives/CFX/CLEAR_PED_PROP)
---@param ped integer The ped handle.
---@param propId integer The prop id you want to clear from the ped. Refer to [SET_PED_PROP_INDEX](#\_0x93376B65A266EB5F).
function ClearPedProp(ped, propId) end

---**CFX::CLEAR_PED_SECONDARY_TASK** `0xA635F451`
---CLEAR_PED_SECONDARY_TASK This is the server-side RPC native equivalent of the client native CLEAR_PED_SECONDARY_TASK.
---[Docs](https://natives.borderlinerp.com/natives/CFX/CLEAR_PED_SECONDARY_TASK)
---@param ped integer
function ClearPedSecondaryTask(ped) end

---**CFX::CLEAR_PED_TASKS** `0xDE3316AB`
---Clear a ped's tasks. Stop animations and other tasks created by scripts.
---[Docs](https://natives.borderlinerp.com/natives/CFX/CLEAR_PED_TASKS)
---@param ped integer Ped id. Use PlayerPedId() for your own character.
function ClearPedTasks(ped) end

---**CFX::CLEAR_PED_TASKS_IMMEDIATELY** `0xBC045625`
---Immediately stops the pedestrian from whatever it's doing.
---[Docs](https://natives.borderlinerp.com/natives/CFX/CLEAR_PED_TASKS_IMMEDIATELY)
---@param ped integer Ped id.
function ClearPedTasksImmediately(ped) end

---**CFX::CLEAR_PLAYER_WANTED_LEVEL** `0x54EA5BCC`
---This executes at the same as speed as PLAYER::SET_PLAYER_WANTED_LEVEL(player, 0, false); This is the server-side RPC native equivalent of the client native CLEAR_PLAYER_WANTED_LEVEL.
---[Docs](https://natives.borderlinerp.com/natives/CFX/CLEAR_PLAYER_WANTED_LEVEL)
---@param player integer
function ClearPlayerWantedLevel(player) end

---**CFX::CREATE_OBJECT** `0x2F7AA05C`
---Creates an object (prop) with the specified model at the specified position, offset on the Z axis by the radius of the object's model.
---[Docs](https://natives.borderlinerp.com/natives/CFX/CREATE_OBJECT)
---@param modelHash integer|string The model to spawn.
---@param x number Spawn coordinate X component.
---@param y number Spawn coordinate Y component.
---@param z number Spawn coordinate Z component, 'ground level'.
---@param isNetwork boolean Whether to create a network object for the object. If false, the object exists only locally.
---@param netMissionEntity boolean Whether to register the object as pinned to the script host in the R\* network model.
---@param doorFlag boolean False to create a door archetype (archetype flag bit 26 set) as a door. Required to be set to true to create door models in network mode.
---@return integer retval
function CreateObject(modelHash, x, y, z, isNetwork, netMissionEntity, doorFlag) end

---**CFX::CREATE_OBJECT_NO_OFFSET** `0x58040420`
---Creates an object (prop) with the specified model centered at the specified position.
---[Docs](https://natives.borderlinerp.com/natives/CFX/CREATE_OBJECT_NO_OFFSET)
---@param modelHash integer|string The model to spawn.
---@param x number Spawn coordinate X component.
---@param y number Spawn coordinate Y component.
---@param z number Spawn coordinate Z component.
---@param isNetwork boolean Whether to create a network object for the object. If false, the object exists only locally.
---@param netMissionEntity boolean Whether to register the object as pinned to the script host in the R\* network model.
---@param doorFlag boolean False to create a door archetype (archetype flag bit 26 set) as a door. Required to be set to true to create door models in network mode.
---@return integer retval
function CreateObjectNoOffset(modelHash, x, y, z, isNetwork, netMissionEntity, doorFlag) end

---**CFX::CREATE_PED** `0x389EF71`
---Creates a ped (biped character, pedestrian, actor) with the specified model at the specified position and heading.
---[Docs](https://natives.borderlinerp.com/natives/CFX/CREATE_PED)
---@param pedType integer Unused. Peds get set to CIVMALE/CIVFEMALE/etc. no matter the value specified.
---@param modelHash integer|string The model of ped to spawn.
---@param x number Spawn coordinate X component.
---@param y number Spawn coordinate Y component.
---@param z number Spawn coordinate Z component.
---@param heading number Heading to face towards, in degrees.
---@param isNetwork boolean Whether to create a network object for the ped. If false, the ped exists only locally.
---@param bScriptHostPed boolean Whether to register the ped as pinned to the script host in the R\* network model.
---@return integer retval
function CreatePed(pedType, modelHash, x, y, z, heading, isNetwork, bScriptHostPed) end

---**CFX::CREATE_PED_INSIDE_VEHICLE** `0x3000F092`
---CREATE_PED_INSIDE_VEHICLE This is the server-side RPC native equivalent of the client native CREATE_PED_INSIDE_VEHICLE.
---[Docs](https://natives.borderlinerp.com/natives/CFX/CREATE_PED_INSIDE_VEHICLE)
---@param vehicle integer
---@param pedType integer See [`CREATE_PED`](#\_0xD49F9B0955C367DE)
---@param modelHash integer|string
---@param seat integer
---@param isNetwork boolean
---@param bScriptHostPed boolean
---@return integer retval
function CreatePedInsideVehicle(vehicle, pedType, modelHash, seat, isNetwork, bScriptHostPed) end

---**CFX::CREATE_VEHICLE** `0xDD75460A`
---Creates a vehicle with the specified model at the specified position.
---[Docs](https://natives.borderlinerp.com/natives/CFX/CREATE_VEHICLE)
---@param modelHash integer|string The model of vehicle to spawn.
---@param x number Spawn coordinate X component.
---@param y number Spawn coordinate Y component.
---@param z number Spawn coordinate Z component.
---@param heading number Heading to face towards, in degrees.
---@param isNetwork boolean Whether to create a network object for the vehicle. If false, the vehicle exists only locally.
---@param netMissionEntity boolean Whether to register the vehicle as pinned to the script host in the R\* network model.
---@return integer retval
function CreateVehicle(modelHash, x, y, z, heading, isNetwork, netMissionEntity) end

---**CFX::CREATE_VEHICLE_SERVER_SETTER** `0x6AE51D4B`
---Equivalent to CREATE_VEHICLE, but it uses 'server setter' logic (like the former CREATE_AUTOMOBILE) as a workaround for reliability concerns regarding entity creation RPC.
---[Docs](https://natives.borderlinerp.com/natives/CFX/CREATE_VEHICLE_SERVER_SETTER)
---@param modelHash integer|string The model of vehicle to spawn.
---@param type string The appropriate vehicle type for the model info. Can be one of `automobile`, `bike`, `boat`, `heli`, `plane`, `submarine`, `trailer`, and (potentially), `train…
---@param x number Spawn coordinate X component.
---@param y number Spawn coordinate Y component.
---@param z number Spawn coordinate Z component.
---@param heading number Heading to face towards, in degrees.
---@return integer retval
function CreateVehicleServerSetter(modelHash, type, x, y, z, heading) end

---**CFX::DELETE_ENTITY** `0xFAA3D236`
---Deletes the specified entity.
---[Docs](https://natives.borderlinerp.com/natives/CFX/DELETE_ENTITY)
---@param entity integer The entity to delete.
function DeleteEntity(entity) end

---**CFX::DELETE_FUNCTION_REFERENCE** `0x1E86F206`
---[Docs](https://natives.borderlinerp.com/natives/CFX/DELETE_FUNCTION_REFERENCE)
---@param referenceIdentity string
function DeleteFunctionReference(referenceIdentity) end

---**CFX::DELETE_RESOURCE_KVP** `0x7389B5DF`
---[Docs](https://natives.borderlinerp.com/natives/CFX/DELETE_RESOURCE_KVP)
---@param key string The key to delete
function DeleteResourceKvp(key) end

---**CFX::DELETE_RESOURCE_KVP_NO_SYNC** `0x4152C90`
---Nonsynchronous DELETE_RESOURCE_KVP operation; see FLUSH_RESOURCE_KVP.
---[Docs](https://natives.borderlinerp.com/natives/CFX/DELETE_RESOURCE_KVP_NO_SYNC)
---@param key string The key to delete
function DeleteResourceKvpNoSync(key) end

---**CFX::DELETE_TRAIN** `0x523BA3DA`
---Deletes the specified entity and any carriage its attached to, or that is attached to it.
---[Docs](https://natives.borderlinerp.com/natives/CFX/DELETE_TRAIN)
---@param entity integer The carriage to delete.
function DeleteTrain(entity) end

---**CFX::DOES_BOAT_SINK_WHEN_WRECKED** `0x43F15989`
---[Docs](https://natives.borderlinerp.com/natives/CFX/DOES_BOAT_SINK_WHEN_WRECKED)
---@param vehicle integer The target vehicle.
---@return boolean retval
function DoesBoatSinkWhenWrecked(vehicle) end

---**CFX::DOES_ENTITY_EXIST** `0x3AC90869`
---[Docs](https://natives.borderlinerp.com/natives/CFX/DOES_ENTITY_EXIST)
---@param entity integer
---@return boolean retval
function DoesEntityExist(entity) end

---**CFX::DOES_PLAYER_EXIST** `0x12038599`
---Returns whether or not the player exists
---[Docs](https://natives.borderlinerp.com/natives/CFX/DOES_PLAYER_EXIST)
---@param playerSrc string
---@return boolean retval
function DoesPlayerExist(playerSrc) end

---**CFX::DOES_PLAYER_OWN_SKU** `0x167ABA27`
---This native is deprecated and may be removed in a future version.
---[Docs](https://natives.borderlinerp.com/natives/CFX/DOES_PLAYER_OWN_SKU)
---@param playerSrc string The player handle
---@param skuId integer The ID of the SKU.
---@return boolean retval
function DoesPlayerOwnSku(playerSrc, skuId) end

---**CFX::DOES_PLAYER_OWN_SKU_EXT** `0xDEF0480B`
---Requests whether or not the player owns the specified package.
---[Docs](https://natives.borderlinerp.com/natives/CFX/DOES_PLAYER_OWN_SKU_EXT)
---@param playerSrc string The player handle
---@param skuId integer The package ID on Tebex.
---@return boolean retval
function DoesPlayerOwnSkuExt(playerSrc, skuId) end

---**CFX::DROP_PLAYER** `0xBA0613E1`
---[Docs](https://natives.borderlinerp.com/natives/CFX/DROP_PLAYER)
---@param playerSrc string
---@param reason string
function DropPlayer(playerSrc, reason) end

---**CFX::DUPLICATE_FUNCTION_REFERENCE** `0xF4E2079D`
---[Docs](https://natives.borderlinerp.com/natives/CFX/DUPLICATE_FUNCTION_REFERENCE)
---@param referenceIdentity string
---@return string retval
function DuplicateFunctionReference(referenceIdentity) end

---**CFX::ENABLE_ENHANCED_HOST_SUPPORT** `0xF97B1C93`
---[Docs](https://natives.borderlinerp.com/natives/CFX/ENABLE_ENHANCED_HOST_SUPPORT)
---@param enabled boolean
function EnableEnhancedHostSupport(enabled) end

---**CFX::END_FIND_KVP** `0xB3210203`
---[Docs](https://natives.borderlinerp.com/natives/CFX/END_FIND_KVP)
---@param handle integer The KVP find handle returned from [START_FIND_KVP](#\_0xDD379006)
function EndFindKvp(handle) end

---**CFX::ENSURE_ENTITY_STATE_BAG** `0x3BB78F05`
---Internal function for ensuring an entity has a state bag.
---[Docs](https://natives.borderlinerp.com/natives/CFX/ENSURE_ENTITY_STATE_BAG)
---@param entity integer
function EnsureEntityStateBag(entity) end

---**CFX::EXECUTE_COMMAND** `0x561C060B`
---Depending on your use case you may need to use add_acl resource.<your_resource_name command.<command_name allow to use this native in your resource.
---[Docs](https://natives.borderlinerp.com/natives/CFX/EXECUTE_COMMAND)
---@param commandString string
function ExecuteCommand(commandString) end

---**CFX::FIND_KVP** `0xBD7BEBC5`
---[Docs](https://natives.borderlinerp.com/natives/CFX/FIND_KVP)
---@param handle integer The KVP find handle returned from [START_FIND_KVP](#\_0xDD379006)
---@return string retval
function FindKvp(handle) end

---**CFX::FLAG_SERVER_AS_PRIVATE** `0x13B6855D`
---[Docs](https://natives.borderlinerp.com/natives/CFX/FLAG_SERVER_AS_PRIVATE)
---@param private_ boolean
function FlagServerAsPrivate(private_) end

---**CFX::FLUSH_RESOURCE_KVP** `0xE27C97A0`
---Nonsynchronous operations will not wait for a disk/filesystem flush before returning from a write or delete call.
---[Docs](https://natives.borderlinerp.com/natives/CFX/FLUSH_RESOURCE_KVP)
function FlushResourceKvp() end

---**CFX::FORMAT_STACK_TRACE** `0xD70C3BCA`
---An internal function for converting a stack trace object to a string.
---[Docs](https://natives.borderlinerp.com/natives/CFX/FORMAT_STACK_TRACE)
---@param traceData table
---@return string retval
function FormatStackTrace(traceData) end

---**CFX::FREEZE_ENTITY_POSITION** `0x65C16D57`
---Freezes or unfreezes an entity preventing its coordinates to change by the player if set to true.
---[Docs](https://natives.borderlinerp.com/natives/CFX/FREEZE_ENTITY_POSITION)
---@param entity integer The entity to freeze/unfreeze.
---@param toggle boolean Freeze or unfreeze entity.
function FreezeEntityPosition(entity, toggle) end

---**CFX::GET_AIR_DRAG_MULTIPLIER_FOR_PLAYERS_VEHICLE** `0x62FC38D0`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_AIR_DRAG_MULTIPLIER_FOR_PLAYERS_VEHICLE)
---@param playerSrc string The player handle
---@return number retval
function GetAirDragMultiplierForPlayersVehicle(playerSrc) end

---**CFX::GET_ALL_OBJECTS** `0x6886C3FE`
---Returns all object handles known to the server.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_ALL_OBJECTS)
---@return table retval
function GetAllObjects() end

---**CFX::GET_ALL_PEDS** `0xB8584FEF`
---Returns all peds handles known to the server.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_ALL_PEDS)
---@return table retval
function GetAllPeds() end

---**CFX::GET_ALL_VEHICLES** `0x332169F5`
---Returns all vehicle handles known to the server.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_ALL_VEHICLES)
---@return table retval
function GetAllVehicles() end

---**CFX::GET_CONSOLE_BUFFER** `0xE57429FA`
---Returns the current console output buffer.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_CONSOLE_BUFFER)
---@return string retval
function GetConsoleBuffer() end

---**CFX::GET_CONVAR** `0x6CCD2564`
---Can be used to get a console variable of type char, for example a string.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_CONVAR)
---@param varName string The console variable to look up.
---@param default_ string The default value to set if none is found.
---@return string retval
function GetConvar(varName, default_) end

---**CFX::GET_CONVAR_BOOL** `0x7E8EBFE5`
---Can be used to get a console variable casted back to bool.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_CONVAR_BOOL)
---@param varName string The console variable to look up.
---@param defaultValue boolean The default value to set if none is found.
---@return boolean retval
function GetConvarBool(varName, defaultValue) end

---**CFX::GET_CONVAR_FLOAT** `0x9E666D`
---This will have floating point inaccuracy.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_CONVAR_FLOAT)
---@param varName string The console variable to get
---@param defaultValue number The default value to set, if none are found.
---@return number retval
function GetConvarFloat(varName, defaultValue) end

---**CFX::GET_CONVAR_INT** `0x935C0AB2`
---Can be used to get a console variable casted back to int (an integer value).
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_CONVAR_INT)
---@param varName string The console variable to look up.
---@param default_ integer The default value to set if none is found (variable not set using [SET_CONVAR](#\_0x341B16D2), or not accessible).
---@return integer retval
function GetConvarInt(varName, default_) end

---**CFX::GET_CURRENT_PED_WEAPON** `0xB0237302`
---Returns the hash of weapon the Ped is currently using.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_CURRENT_PED_WEAPON)
---@param ped integer The target ped.
---@return integer retval
function GetCurrentPedWeapon(ped) end

---**CFX::GET_CURRENT_RESOURCE_NAME** `0xE5E9EBBB`
---Returns the name of the currently executing resource.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_CURRENT_RESOURCE_NAME)
---@return string retval
function GetCurrentResourceName() end

---**CFX::GET_ENTITIES_IN_RADIUS** `0xDFFBA12F`
---Supported types \[1] : Peds (including animals) and players.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_ENTITIES_IN_RADIUS)
---@param x number The X coordinate.
---@param y number The Y coordinate.
---@param z number The Z coordinate.
---@param radius number Max distance from coordinate to entity
---@param entityType integer Entity types see list below
---@param sortByDistance boolean Sort output entites by distance from nearest to farthest
---@param models table List of allowed models its also optional
---@return table retval
function GetEntitiesInRadius(x, y, z, radius, entityType, sortByDistance, models) end

---**CFX::GET_ENTITY_ATTACHED_TO** `0xFE1589F9`
---Gets the entity that this entity is attached to.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_ATTACHED_TO)
---@param entity integer The entity to check.
---@return integer retval
function GetEntityAttachedTo(entity) end

---**CFX::GET_ENTITY_COLLISION_DISABLED** `0xE8C0C629`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_COLLISION_DISABLED)
---@param entity integer The target entity.
---@return boolean retval
function GetEntityCollisionDisabled(entity) end

---**CFX::GET_ENTITY_COORDS** `0x1647F1CB`
---Gets the current coordinates for a specified entity.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_COORDS)
---@param entity integer The entity to get the coordinates from.
---@return vector3 retval
function GetEntityCoords(entity) end

---**CFX::GET_ENTITY_FROM_STATE_BAG_NAME** `0x4BDF1867`
---Returns the entity handle for the specified state bag name.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_FROM_STATE_BAG_NAME)
---@param bagName string An internal state bag ID from the argument to a state bag change handler.
---@return integer retval
function GetEntityFromStateBagName(bagName) end

---**CFX::GET_ENTITY_HEADING** `0x972CC383`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_HEADING)
---@param entity integer
---@return number retval
function GetEntityHeading(entity) end

---**CFX::GET_ENTITY_HEALTH** `0x8E3222B7`
---Only works for vehicle and peds
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_HEALTH)
---@param entity integer The entity to check the health of
---@return integer retval
function GetEntityHealth(entity) end

---**CFX::GET_ENTITY_MAX_HEALTH** `0xC7AE6AA1`
---Currently it only works with peds.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_MAX_HEALTH)
---@param entity integer
---@return integer retval
function GetEntityMaxHealth(entity) end

---**CFX::GET_ENTITY_MODEL** `0xDAFCB3EC`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_MODEL)
---@param entity integer
---@return integer retval
function GetEntityModel(entity) end

---**CFX::GET_ENTITY_ORPHAN_MODE** `0xD16EA02F`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_ORPHAN_MODE)
---@param entity integer The entity to get the orphan mode of
---@return integer retval
function GetEntityOrphanMode(entity) end

---**CFX::GET_ENTITY_POPULATION_TYPE** `0xFC30DDFF`
---This native gets an entity's population type.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_POPULATION_TYPE)
---@param entity integer the entity to obtain the population type from
---@return integer retval
function GetEntityPopulationType(entity) end

---**CFX::GET_ENTITY_ROTATION** `0x8FF45B04`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_ROTATION)
---@param entity integer
---@return vector3 retval
function GetEntityRotation(entity) end

---**CFX::GET_ENTITY_ROTATION_VELOCITY** `0x9BF8A73F`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_ROTATION_VELOCITY)
---@param entity integer
---@return vector3 retval
function GetEntityRotationVelocity(entity) end

---**CFX::GET_ENTITY_ROUTING_BUCKET** `0xED4B0486`
---Gets the routing bucket for the specified entity.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_ROUTING_BUCKET)
---@param entity integer The entity to get the routing bucket for.
---@return integer retval
function GetEntityRoutingBucket(entity) end

---**CFX::GET_ENTITY_SCRIPT** `0xB7F70784`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_SCRIPT)
---@param entity integer
---@return string retval
function GetEntityScript(entity) end

---**CFX::GET_ENTITY_SPEED** `0x9E1E4798`
---Gets the current speed of the entity in meters per second.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_SPEED)
---@param entity integer The entity to get the speed of
---@return number retval
function GetEntitySpeed(entity) end

---**CFX::GET_ENTITY_TYPE** `0xB1BD08D`
---Gets the entity type (as an integer), which can be one of the following defined down below: The following entities will return type 1: Ped Player Animal (Red Dead Redemption 2) Horse (Red Dead Redemption 2) The following entities will re…
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_TYPE)
---@param entity integer The entity to get the type of.
---@return integer retval
function GetEntityType(entity) end

---**CFX::GET_ENTITY_VELOCITY** `0xC14C9B6B`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_VELOCITY)
---@param entity integer
---@return vector3 retval
function GetEntityVelocity(entity) end

---**CFX::GET_GAME_BUILD_NUMBER** `0x804B9F7B`
---Returns the internal build number of the current game being executed.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_GAME_BUILD_NUMBER)
---@return integer retval
function GetGameBuildNumber() end

---**CFX::GET_GAME_NAME** `0xE8EAA18B`
---Returns the current game being executed.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_GAME_NAME)
---@return string retval
function GetGameName() end

---**CFX::GET_GAME_POOL** `0x2B9D4F50`
---Returns a list of entity handles (script GUID) for all entities in the specified pool - the data returned is an array as Supported pools
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_GAME_POOL)
---@param poolName string The pool name to get a list of entities from.
---@return table retval
function GetGamePool(poolName) end

---**CFX::GET_GAME_TIMER** `0xA4EA0691`
---Gets the current game timer in milliseconds.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_GAME_TIMER)
---@return integer retval
function GetGameTimer() end

---**CFX::GET_HASH_KEY** `0x98EFF6F1`
---This native converts the passed string to a hash.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_HASH_KEY)
---@param model string
---@return integer retval
function GetHashKey(model) end

---**CFX::GET_HELI_MAIN_ROTOR_HEALTH** `0xF01E2AAB`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_HELI_MAIN_ROTOR_HEALTH)
---@param vehicle integer The target vehicle.
---@return number retval
function GetHeliMainRotorHealth(vehicle) end

---**CFX::GET_HOST_ID** `0x5F70F5A3`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_HOST_ID)
---@return string retval
function GetHostId() end

---**CFX::GET_INSTANCE_ID** `0x9F1C4383`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_INSTANCE_ID)
---@return integer retval
function GetInstanceId() end

---**CFX::GET_INVOKING_RESOURCE** `0x4D52FE5B`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_INVOKING_RESOURCE)
---@return string retval
function GetInvokingResource() end

---**CFX::GET_IS_VEHICLE_ENGINE_RUNNING** `0x7DC6D022`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_IS_VEHICLE_ENGINE_RUNNING)
---@param vehicle integer
---@return boolean retval
function GetIsVehicleEngineRunning(vehicle) end

---**CFX::GET_IS_VEHICLE_PRIMARY_COLOUR_CUSTOM** `0xD7EC8760`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_IS_VEHICLE_PRIMARY_COLOUR_CUSTOM)
---@param vehicle integer
---@return boolean retval
function GetIsVehiclePrimaryColourCustom(vehicle) end

---**CFX::GET_IS_VEHICLE_SECONDARY_COLOUR_CUSTOM** `0x288AD228`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_IS_VEHICLE_SECONDARY_COLOUR_CUSTOM)
---@param vehicle integer
---@return boolean retval
function GetIsVehicleSecondaryColourCustom(vehicle) end

---**CFX::GET_LANDING_GEAR_STATE** `0xA6F02670`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_LANDING_GEAR_STATE)
---@param vehicle integer The vehicle to check.
---@return integer retval
function GetLandingGearState(vehicle) end

---**CFX::GET_LAST_PED_IN_VEHICLE_SEAT** `0xF7C6792D`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_LAST_PED_IN_VEHICLE_SEAT)
---@param vehicle integer The target vehicle.
---@param seatIndex integer See eSeatPosition declared in [`IS_VEHICLE_SEAT_FREE`](#\_0x22AC59A870E6A669).
---@return integer retval
function GetLastPedInVehicleSeat(vehicle, seatIndex) end

---**CFX::GET_MOUNT** `0xDD31EC4E`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_MOUNT)
---@param ped integer the ped id
---@return integer retval
function GetMount(ped) end

---**CFX::GET_NET_TYPE_FROM_ENTITY** `0x23B2A641`
---Gets the specific entity type (as an integer), which can be one of the following defined down below:
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_NET_TYPE_FROM_ENTITY)
---@param entity integer The entity to get the specific type of.
---@return integer retval
function GetNetTypeFromEntity(entity) end

---**CFX::GET_NUM_PLAYER_IDENTIFIERS** `0xFF7F66AB`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_NUM_PLAYER_IDENTIFIERS)
---@param playerSrc string
---@return integer retval
function GetNumPlayerIdentifiers(playerSrc) end

---**CFX::GET_NUM_PLAYER_INDICES** `0x63D13184`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_NUM_PLAYER_INDICES)
---@return integer retval
function GetNumPlayerIndices() end

---**CFX::GET_NUM_PLAYER_TOKENS** `0x619E4A3D`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_NUM_PLAYER_TOKENS)
---@param playerSrc string
---@return integer retval
function GetNumPlayerTokens(playerSrc) end

---**CFX::GET_NUM_RESOURCE_METADATA** `0x776E864`
---Gets the amount of metadata values with the specified key existing in the specified resource's manifest.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_NUM_RESOURCE_METADATA)
---@param resourceName string The resource name.
---@param metadataKey string The key to look up in the resource manifest.
---@return integer retval
function GetNumResourceMetadata(resourceName, metadataKey) end

---**CFX::GET_NUM_RESOURCES** `0x863F27B`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_NUM_RESOURCES)
---@return integer retval
function GetNumResources() end

---**CFX::GET_PASSWORD_HASH** `0x23473EA4`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PASSWORD_HASH)
---@param password string
---@return string retval
function GetPasswordHash(password) end

---**CFX::GET_PED_ARMOUR** `0x2CE311A7`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PED_ARMOUR)
---@param ped integer
---@return integer retval
function GetPedArmour(ped) end

---**CFX::GET_PED_CAUSE_OF_DEATH** `0x63458C27`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PED_CAUSE_OF_DEATH)
---@param ped integer
---@return integer retval
function GetPedCauseOfDeath(ped) end

---**CFX::GET_PED_DESIRED_HEADING** `0xC182F76E`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PED_DESIRED_HEADING)
---@param ped integer The target ped
---@return number retval
function GetPedDesiredHeading(ped) end

---**CFX::GET_PED_IN_VEHICLE_SEAT** `0x388FDE9A`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PED_IN_VEHICLE_SEAT)
---@param vehicle integer The target vehicle.
---@param seatIndex integer See eSeatPosition declared in [`IS_VEHICLE_SEAT_FREE`](#\_0x22AC59A870E6A669).
---@return integer retval
function GetPedInVehicleSeat(vehicle, seatIndex) end

---**CFX::GET_PED_MAX_HEALTH** `0xA45B6C8D`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PED_MAX_HEALTH)
---@param ped integer
---@return integer retval
function GetPedMaxHealth(ped) end

---**CFX::GET_PED_RELATIONSHIP_GROUP_HASH** `0x354F283C`
---Gets the current relationship group hash of a ped.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PED_RELATIONSHIP_GROUP_HASH)
---@param ped integer The target ped
---@return integer retval
function GetPedRelationshipGroupHash(ped) end

---**CFX::GET_PED_SCRIPT_TASK_COMMAND** `0x84FE084`
---Gets the script task command currently assigned to the ped.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PED_SCRIPT_TASK_COMMAND)
---@param ped integer The target ped.
---@return integer retval
function GetPedScriptTaskCommand(ped) end

---**CFX::GET_PED_SCRIPT_TASK_STAGE** `0x44B0E5E2`
---Gets the stage of the peds scripted task.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PED_SCRIPT_TASK_STAGE)
---@param ped integer The target ped.
---@return integer retval
function GetPedScriptTaskStage(ped) end

---**CFX::GET_PED_SOURCE_OF_DAMAGE** `0x535DB43F`
---Get the last entity that damaged the ped.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PED_SOURCE_OF_DAMAGE)
---@param ped integer The target ped
---@return integer retval
function GetPedSourceOfDamage(ped) end

---**CFX::GET_PED_SOURCE_OF_DEATH** `0x84ADF9EB`
---Get the entity that killed the ped.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PED_SOURCE_OF_DEATH)
---@param ped integer The target ped
---@return integer retval
function GetPedSourceOfDeath(ped) end

---**CFX::GET_PED_SPECIFIC_TASK_TYPE** `0x7F4563D3`
---Gets the type of a ped's specific task given an index of the CPedTaskSpecificDataNode nodes.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PED_SPECIFIC_TASK_TYPE)
---@param ped integer The target ped.
---@param index integer A zero-based index with a maximum value of 7.
---@return integer retval
function GetPedSpecificTaskType(ped, index) end

---**CFX::GET_PED_STEALTH_MOVEMENT** `0x40321B83`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PED_STEALTH_MOVEMENT)
---@param ped integer The target ped.
---@return boolean retval
function GetPedStealthMovement(ped) end

---**CFX::GET_PLAYER_CAMERA_ROTATION** `0x433C765D`
---Gets the current camera rotation for a specified player.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_CAMERA_ROTATION)
---@param playerSrc string The player handle.
---@return vector3 retval
function GetPlayerCameraRotation(playerSrc) end

---**CFX::GET_PLAYER_ENDPOINT** `0xFEE404F9`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_ENDPOINT)
---@param playerSrc string
---@return string retval
function GetPlayerEndpoint(playerSrc) end

---**CFX::GET_PLAYER_FAKE_WANTED_LEVEL** `0x98D244`
---Gets the current fake wanted level for a specified player.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_FAKE_WANTED_LEVEL)
---@param playerSrc string The target player
---@return integer retval
function GetPlayerFakeWantedLevel(playerSrc) end

---**CFX::GET_PLAYER_FOCUS_POS** `0x586F80FF`
---Gets the focus position (i.e.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_FOCUS_POS)
---@param playerSrc string The player to get the focus position of
---@return vector3 retval
function GetPlayerFocusPos(playerSrc) end

---**CFX::GET_PLAYER_FROM_INDEX** `0xC8A9CE08`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_FROM_INDEX)
---@param index integer
---@return string retval
function GetPlayerFromIndex(index) end

---**CFX::GET_PLAYER_FROM_STATE_BAG_NAME** `0xA56135E0`
---On the server this will return the players source, on the client it will return the player handle.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_FROM_STATE_BAG_NAME)
---@param bagName string An internal state bag ID from the argument to a state bag change handler.
---@return integer retval
function GetPlayerFromStateBagName(bagName) end

---**CFX::GET_PLAYER_GUID** `0xE52D9680`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_GUID)
---@param playerSrc string
---@return string retval
function GetPlayerGuid(playerSrc) end

---**CFX::GET_PLAYER_IDENTIFIER** `0x7302DBCF`
---To get the number of identifiers, use GET_NUM_PLAYER_IDENTIFIERS To get a specific type of identifier, use GET_PLAYER_IDENTIFIER_BY_TYPE
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_IDENTIFIER)
---@param playerSrc string
---@param identiferIndex integer
---@return string retval
function GetPlayerIdentifier(playerSrc, identiferIndex) end

---**CFX::GET_PLAYER_IDENTIFIER_BY_TYPE** `0xA61C8FC6`
---Get an identifier from a player by the type of the identifier.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_IDENTIFIER_BY_TYPE)
---@param playerSrc string The player to get the identifier for
---@param identifierType string The string to match in an identifier, this can be `"license"` for example.
---@return string retval
function GetPlayerIdentifierByType(playerSrc, identifierType) end

---**CFX::GET_PLAYER_INVINCIBLE** `0x680C90EE`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_INVINCIBLE)
---@param playerSrc string The player handle
---@return boolean retval
function GetPlayerInvincible(playerSrc) end

---**CFX::GET_PLAYER_LAST_MSG** `0x427E8E6A`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_LAST_MSG)
---@param playerSrc string
---@return integer retval
function GetPlayerLastMsg(playerSrc) end

---**CFX::GET_PLAYER_MAX_ARMOUR** `0x2A50657`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_MAX_ARMOUR)
---@param playerSrc string The player handle
---@return integer retval
function GetPlayerMaxArmour(playerSrc) end

---**CFX::GET_PLAYER_MAX_HEALTH** `0x8154E470`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_MAX_HEALTH)
---@param playerSrc string The player handle
---@return integer retval
function GetPlayerMaxHealth(playerSrc) end

---**CFX::GET_PLAYER_NAME** `0x406B4B20`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_NAME)
---@param playerSrc string
---@return string retval
function GetPlayerName(playerSrc) end

---**CFX::GET_PLAYER_PED** `0x6E31E993`
---Used to get the player's Ped Entity ID when a valid playerSrc is passed.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_PED)
---@param playerSrc string The player source, passed as a string.
---@return integer retval
function GetPlayerPed(playerSrc) end

---**CFX::GET_PLAYER_PEER_STATISTICS** `0x9A928294`
---const int ENET_PACKET_LOSS_SCALE = 65536; These statistics only update once every 10 seconds.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_PEER_STATISTICS)
---@param playerSrc string The player to get the stats of
---@param peerStatistic integer The statistic to get, this will error if its out of range
---@return integer retval
function GetPlayerPeerStatistics(playerSrc, peerStatistic) end

---**CFX::GET_PLAYER_PING** `0xFF1290D4`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_PING)
---@param playerSrc string
---@return integer retval
function GetPlayerPing(playerSrc) end

---**CFX::GET_PLAYER_ROUTING_BUCKET** `0x52441C34`
---Gets the routing bucket for the specified player.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_ROUTING_BUCKET)
---@param playerSrc string The player to get the routing bucket for.
---@return integer retval
function GetPlayerRoutingBucket(playerSrc) end

---**CFX::GET_PLAYER_TEAM** `0x9873E404`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_TEAM)
---@param playerSrc string The player handle
---@return integer retval
function GetPlayerTeam(playerSrc) end

---**CFX::GET_PLAYER_TIME_IN_PURSUIT** `0x7ADE63E1`
---Gets the amount of time player has spent evading the cops.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_TIME_IN_PURSUIT)
---@param playerSrc string The target player
---@param lastPursuit boolean False = CurrentPursuit, True = LastPursuit
---@return integer retval
function GetPlayerTimeInPursuit(playerSrc, lastPursuit) end

---**CFX::GET_PLAYER_TIME_ONLINE** `0x67D2E605`
---Gets the current time online for a specified player.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_TIME_ONLINE)
---@param playerSrc string A player.
---@return integer retval
function GetPlayerTimeOnline(playerSrc) end

---**CFX::GET_PLAYER_TOKEN** `0x54C06897`
---Gets a player's token.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_TOKEN)
---@param playerSrc string A player.
---@param index integer Index between 0 and GET_NUM_PLAYER_TOKENS.
---@return string retval
function GetPlayerToken(playerSrc, index) end

---**CFX::GET_PLAYER_WANTED_CENTRE_POSITION** `0x821F2D2C`
---Gets the current known coordinates for the specified player from cops perspective.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_WANTED_CENTRE_POSITION)
---@param playerSrc string The target player
---@return vector3 retval
function GetPlayerWantedCentrePosition(playerSrc) end

---**CFX::GET_PLAYER_WANTED_LEVEL** `0xBDCDD163`
---Returns given players wanted level server-side.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_WANTED_LEVEL)
---@param playerSrc string The target player
---@return integer retval
function GetPlayerWantedLevel(playerSrc) end

---**CFX::GET_REGISTERED_COMMANDS** `0xD4BEF069`
---Returns all commands that are registered in the command system.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_REGISTERED_COMMANDS)
---@return table retval
function GetRegisteredCommands() end

---**CFX::GET_RESOURCE_BY_FIND_INDEX** `0x387246B7`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_RESOURCE_BY_FIND_INDEX)
---@param findIndex integer The index of the resource (starting at 0)
---@return string retval
function GetResourceByFindIndex(findIndex) end

---**CFX::GET_RESOURCE_COMMANDS** `0x97628584`
---Returns all commands registered by the specified resource.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_RESOURCE_COMMANDS)
---@param resource string
---@return table retval
function GetResourceCommands(resource) end

---**CFX::GET_RESOURCE_KVP_FLOAT** `0x35BDCEEA`
---A getter for SET_RESOURCE_KVP_FLOAT.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_RESOURCE_KVP_FLOAT)
---@param key string The key to fetch
---@return number retval
function GetResourceKvpFloat(key) end

---**CFX::GET_RESOURCE_KVP_INT** `0x557B586A`
---A getter for SET_RESOURCE_KVP_INT.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_RESOURCE_KVP_INT)
---@param key string The key to fetch
---@return integer retval
function GetResourceKvpInt(key) end

---**CFX::GET_RESOURCE_KVP_STRING** `0x5240DA5A`
---A getter for SET_RESOURCE_KVP.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_RESOURCE_KVP_STRING)
---@param key string The key to fetch
---@return string retval
function GetResourceKvpString(key) end

---**CFX::GET_RESOURCE_METADATA** `0x964BAB1D`
---Gets the metadata value at a specified key/index from a resource's manifest.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_RESOURCE_METADATA)
---@param resourceName string The resource name.
---@param metadataKey string The key in the resource manifest.
---@param index integer The value index, in a range from \[0..GET_NUM_RESOURCE_METDATA-1].
---@return string retval
function GetResourceMetadata(resourceName, metadataKey, index) end

---**CFX::GET_RESOURCE_PATH** `0x61DCF017`
---Returns the physical on-disk path of the specified resource.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_RESOURCE_PATH)
---@param resourceName string The name of the resource.
---@return string retval
function GetResourcePath(resourceName) end

---**CFX::GET_RESOURCE_STATE** `0x4039B485`
---Returns the current state of the specified resource.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_RESOURCE_STATE)
---@param resourceName string The name of the resource.
---@return string retval
function GetResourceState(resourceName) end

---**CFX::GET_SEAT_PED_IS_USING** `0x57B78C17`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_SEAT_PED_IS_USING)
---@param ped integer the ped id
---@return integer retval
function GetSeatPedIsUsing(ped) end

---**CFX::GET_SELECTED_PED_WEAPON** `0xD240123E`
---An alias of GET_CURRENT_PED_WEAPON.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_SELECTED_PED_WEAPON)
---@param ped integer The target ped.
---@return integer retval
function GetSelectedPedWeapon(ped) end

---**CFX::GET_STATE_BAG_KEYS** `0x78D864C7`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_STATE_BAG_KEYS)
---@param bagName string The name of the bag.
---@return table retval
function GetStateBagKeys(bagName) end

---**CFX::GET_STATE_BAG_VALUE** `0x637F4C75`
---Returns the value of a state bag key.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_STATE_BAG_VALUE)
---@param bagName string
---@param key string
---@return table retval
function GetStateBagValue(bagName, key) end

---**CFX::GET_TRAIN_CARRIAGE_ENGINE** `0x95070FA`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_TRAIN_CARRIAGE_ENGINE)
---@param train integer The entity handle.
---@return integer retval
function GetTrainCarriageEngine(train) end

---**CFX::GET_TRAIN_CARRIAGE_INDEX** `0x4B8285CF`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_TRAIN_CARRIAGE_INDEX)
---@param train integer The entity handle.
---@return integer retval
function GetTrainCarriageIndex(train) end

---**CFX::GET_VEHICLE_BODY_HEALTH** `0x2B2FCC28`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_BODY_HEALTH)
---@param vehicle integer
---@return number retval
function GetVehicleBodyHealth(vehicle) end

---**CFX::GET_VEHICLE_COLOURS** `0x40D82D88`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_COLOURS)
---@param vehicle integer
---@return integer colorPrimary
---@return integer colorSecondary
function GetVehicleColours(vehicle) end

---**CFX::GET_VEHICLE_CUSTOM_PRIMARY_COLOUR** `0x1C2B9FEF`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_CUSTOM_PRIMARY_COLOUR)
---@param vehicle integer
---@return integer r
---@return integer g
---@return integer b
function GetVehicleCustomPrimaryColour(vehicle) end

---**CFX::GET_VEHICLE_CUSTOM_SECONDARY_COLOUR** `0x3FF247A2`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_CUSTOM_SECONDARY_COLOUR)
---@param vehicle integer
---@return integer r
---@return integer g
---@return integer b
function GetVehicleCustomSecondaryColour(vehicle) end

---**CFX::GET_VEHICLE_DASHBOARD_COLOUR** `0xA0DBD08D`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_DASHBOARD_COLOUR)
---@param vehicle integer
---@param color integer
---@return integer color
function GetVehicleDashboardColour(vehicle, color) end

---**CFX::GET_VEHICLE_DIRT_LEVEL** `0xFD15C065`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_DIRT_LEVEL)
---@param vehicle integer
---@return number retval
function GetVehicleDirtLevel(vehicle) end

---**CFX::GET_VEHICLE_DOOR_LOCK_STATUS** `0xD72CEF2`
---It should be noted that while the client-side command and its setter distinguish between states 0 (unset) and 1 (unlocked), the game will synchronize both as state 0, so the server-side command will return only '0' if unlocked.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_DOOR_LOCK_STATUS)
---@param vehicle integer A vehicle handle.
---@return integer retval
function GetVehicleDoorLockStatus(vehicle) end

---**CFX::GET_VEHICLE_DOOR_STATUS** `0x6E35C49C`
---Returns the open position of the specified door on the target vehicle.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_DOOR_STATUS)
---@param vehicle integer The target vehicle.
---@param doorIndex integer Index of door to check (0-6).
---@return integer retval
function GetVehicleDoorStatus(vehicle, doorIndex) end

---**CFX::GET_VEHICLE_DOORS_LOCKED_FOR_PLAYER** `0x1DC50247`
---Currently it only works when set to "all players".
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_DOORS_LOCKED_FOR_PLAYER)
---@param vehicle integer
---@return integer retval
function GetVehicleDoorsLockedForPlayer(vehicle) end

---**CFX::GET_VEHICLE_ENGINE_HEALTH** `0x8880038A`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_ENGINE_HEALTH)
---@param vehicle integer
---@return number retval
function GetVehicleEngineHealth(vehicle) end

---**CFX::GET_VEHICLE_EXTRA_COLOURS** `0x80E4659B`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_EXTRA_COLOURS)
---@param vehicle integer
---@return integer pearlescentColor
---@return integer wheelColor
function GetVehicleExtraColours(vehicle) end

---**CFX::GET_VEHICLE_FLIGHT_NOZZLE_POSITION** `0xAD40AD55`
---Gets the flight nozzel position for the specified vehicle.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_FLIGHT_NOZZLE_POSITION)
---@param vehicle integer The vehicle to check.
---@return number retval
function GetVehicleFlightNozzlePosition(vehicle) end

---**CFX::GET_VEHICLE_HEADLIGHTS_COLOUR** `0xD7147656`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_HEADLIGHTS_COLOUR)
---@param vehicle integer
---@return integer retval
function GetVehicleHeadlightsColour(vehicle) end

---**CFX::GET_VEHICLE_HOMING_LOCKON_STATE** `0xFBDE9FD8`
---Gets the lock on state for the specified vehicle.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_HOMING_LOCKON_STATE)
---@param vehicle integer The vehicle to check.
---@return integer retval
function GetVehicleHomingLockonState(vehicle) end

---**CFX::GET_VEHICLE_INTERIOR_COLOUR** `0xCCFF3B6E`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_INTERIOR_COLOUR)
---@param vehicle integer
---@param color integer
---@return integer color
function GetVehicleInteriorColour(vehicle, color) end

---**CFX::GET_VEHICLE_LIGHTS_STATE** `0x7C278621`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_LIGHTS_STATE)
---@param vehicle integer
---@return boolean retval
---@return boolean lightsOn
---@return boolean highbeamsOn
function GetVehicleLightsState(vehicle) end

---**CFX::GET_VEHICLE_LIVERY** `0xEC82A51D`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_LIVERY)
---@param vehicle integer
---@return integer retval
function GetVehicleLivery(vehicle) end

---**CFX::GET_VEHICLE_LOCK_ON_TARGET** `0x4A557117`
---Gets the vehicle that is locked on to for the specified vehicle.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_LOCK_ON_TARGET)
---@param vehicle integer The vehicle to check.
---@return integer retval
function GetVehicleLockOnTarget(vehicle) end

---**CFX::GET_VEHICLE_NEON_COLOUR** `0xD9319DCB`
---Getter to check the neon colour of a vehicle.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_NEON_COLOUR)
---@param vehicle integer The vehicle to check.
---@return integer red
---@return integer green
---@return integer blue
function GetVehicleNeonColour(vehicle) end

---**CFX::GET_VEHICLE_NEON_ENABLED** `0x684BDBF2`
---Getter to check if one of the neon lights of a vehicle is enabled.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_NEON_ENABLED)
---@param vehicle integer The vehicle to check.
---@param neonIndex integer A value from the neonIndex enum representing the neon light to check.
---@return boolean retval
function GetVehicleNeonEnabled(vehicle, neonIndex) end

---**CFX::GET_VEHICLE_NUMBER_PLATE_TEXT** `0xE8522D58`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_NUMBER_PLATE_TEXT)
---@param vehicle integer
---@return string retval
function GetVehicleNumberPlateText(vehicle) end

---**CFX::GET_VEHICLE_NUMBER_PLATE_TEXT_INDEX** `0x499747B6`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_NUMBER_PLATE_TEXT_INDEX)
---@param vehicle integer
---@return integer retval
function GetVehicleNumberPlateTextIndex(vehicle) end

---**CFX::GET_VEHICLE_PED_IS_IN** `0xAFE92319`
---Gets the vehicle the specified Ped is/was in depending on bool value.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_PED_IS_IN)
---@param ped integer The target ped
---@param lastVehicle boolean False = CurrentVehicle, True = LastVehicle
---@return integer retval
function GetVehiclePedIsIn(ped, lastVehicle) end

---**CFX::GET_VEHICLE_PETROL_TANK_HEALTH** `0xE41595CE`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_PETROL_TANK_HEALTH)
---@param vehicle integer
---@return number retval
function GetVehiclePetrolTankHealth(vehicle) end

---**CFX::GET_VEHICLE_RADIO_STATION_INDEX** `0x57037960`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_RADIO_STATION_INDEX)
---@param vehicle integer
---@return integer retval
function GetVehicleRadioStationIndex(vehicle) end

---**CFX::GET_VEHICLE_ROOF_LIVERY** `0x872CF42`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_ROOF_LIVERY)
---@param vehicle integer
---@return integer retval
function GetVehicleRoofLivery(vehicle) end

---**CFX::GET_VEHICLE_TOTAL_REPAIRS** `0x9963D5F9`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_TOTAL_REPAIRS)
---@param vehicle integer
---@return integer retval
function GetVehicleTotalRepairs(vehicle) end

---**CFX::GET_VEHICLE_TYPE** `0xA273060E`
---Returns the type of the passed vehicle.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_TYPE)
---@param vehicle integer The vehicle's entity handle.
---@return string retval
function GetVehicleType(vehicle) end

---**CFX::GET_VEHICLE_TYRE_SMOKE_COLOR** `0x75280015`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_TYRE_SMOKE_COLOR)
---@param vehicle integer
---@return integer r
---@return integer g
---@return integer b
function GetVehicleTyreSmokeColor(vehicle) end

---**CFX::GET_VEHICLE_WHEEL_TYPE** `0xDA58D7AE`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_WHEEL_TYPE)
---@param vehicle integer
---@return integer retval
function GetVehicleWheelType(vehicle) end

---**CFX::GET_VEHICLE_WINDOW_TINT** `0x13D53892`
---[Docs](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_WINDOW_TINT)
---@param vehicle integer
---@return integer retval
function GetVehicleWindowTint(vehicle) end

---**CFX::GIVE_WEAPON_COMPONENT_TO_PED** `0x3E1E286D`
---GIVE_WEAPON_COMPONENT_TO_PED This is the server-side RPC native equivalent of the client native GIVE_WEAPON_COMPONENT_TO_PED.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GIVE_WEAPON_COMPONENT_TO_PED)
---@param ped integer
---@param weaponHash integer|string
---@param componentHash integer|string
function GiveWeaponComponentToPed(ped, weaponHash, componentHash) end

---**CFX::GIVE_WEAPON_TO_PED** `0xC4D88A85`
---GIVE_WEAPON_TO_PED This is the server-side RPC native equivalent of the client native GIVE_WEAPON_TO_PED.
---[Docs](https://natives.borderlinerp.com/natives/CFX/GIVE_WEAPON_TO_PED)
---@param ped integer
---@param weaponHash integer|string
---@param ammoCount integer
---@param isHidden boolean
---@param bForceInHand boolean
function GiveWeaponToPed(ped, weaponHash, ammoCount, isHidden, bForceInHand) end

---**CFX::HAS_ENTITY_BEEN_MARKED_AS_NO_LONGER_NEEDED** `0x9C9A3BE0`
---[Docs](https://natives.borderlinerp.com/natives/CFX/HAS_ENTITY_BEEN_MARKED_AS_NO_LONGER_NEEDED)
---@param vehicle integer
---@return boolean retval
function HasEntityBeenMarkedAsNoLongerNeeded(vehicle) end

---**CFX::HAS_VEHICLE_BEEN_DAMAGED_BY_BULLETS** `0xB8AF3137`
---[Docs](https://natives.borderlinerp.com/natives/CFX/HAS_VEHICLE_BEEN_DAMAGED_BY_BULLETS)
---@param vehicle integer The target vehicle.
---@return boolean retval
function HasVehicleBeenDamagedByBullets(vehicle) end

---**CFX::HAS_VEHICLE_BEEN_OWNED_BY_PLAYER** `0xE4E83A5B`
---[Docs](https://natives.borderlinerp.com/natives/CFX/HAS_VEHICLE_BEEN_OWNED_BY_PLAYER)
---@param vehicle integer
---@return boolean retval
function HasVehicleBeenOwnedByPlayer(vehicle) end

---**CFX::IS_ACE_ALLOWED** `0x7EBB9929`
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_ACE_ALLOWED)
---@param object string
---@return boolean retval
function IsAceAllowed(object) end

---**CFX::IS_BOAT_ANCHORED_AND_FROZEN** `0xD5C39EE6`
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_BOAT_ANCHORED_AND_FROZEN)
---@param vehicle integer The target vehicle.
---@return boolean retval
function IsBoatAnchoredAndFrozen(vehicle) end

---**CFX::IS_BOAT_WRECKED** `0x9049DB44`
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_BOAT_WRECKED)
---@param vehicle integer The target vehicle.
---@return boolean retval
function IsBoatWrecked(vehicle) end

---**CFX::IS_DUPLICITY_VERSION** `0xCF24C52E`
---Gets whether or not this is the CitizenFX server.
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_DUPLICITY_VERSION)
---@return boolean retval
function IsDuplicityVersion() end

---**CFX::IS_ENTITY_VISIBLE** `0x120B4ED5`
---This native checks if the given entity is visible.
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_ENTITY_VISIBLE)
---@param entity integer
---@return boolean retval
function IsEntityVisible(entity) end

---**CFX::IS_FLASH_LIGHT_ON** `0x76876154`
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_FLASH_LIGHT_ON)
---@param ped integer The target ped.
---@return boolean retval
function IsFlashLightOn(ped) end

---**CFX::IS_PED_A_PLAYER** `0x404794CA`
---This native checks if the given ped is a player.
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_PED_A_PLAYER)
---@param ped integer
---@return boolean retval
function IsPedAPlayer(ped) end

---**CFX::IS_PED_HANDCUFFED** `0x25865633`
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_PED_HANDCUFFED)
---@param ped integer The target ped.
---@return boolean retval
function IsPedHandcuffed(ped) end

---**CFX::IS_PED_IN_ANY_VEHICLE** `0x3B0171EE`
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_PED_IN_ANY_VEHICLE)
---@param ped integer the ped id
---@return boolean retval
function IsPedInAnyVehicle(ped) end

---**CFX::IS_PED_IN_VEHICLE** `0x7DA6BC83`
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_PED_IN_VEHICLE)
---@param ped integer the ped id
---@param vehicle integer the vehicle id
---@return boolean retval
function IsPedInVehicle(ped, vehicle) end

---**CFX::IS_PED_ON_MOUNT** `0x43103006`
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_PED_ON_MOUNT)
---@param ped integer the ped id
---@return boolean retval
function IsPedOnMount(ped) end

---**CFX::IS_PED_RAGDOLL** `0xC833BBE1`
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_PED_RAGDOLL)
---@param ped integer The target ped.
---@return boolean retval
function IsPedRagdoll(ped) end

---**CFX::IS_PED_STRAFING** `0xEFEED13C`
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_PED_STRAFING)
---@param ped integer The target ped.
---@return boolean retval
function IsPedStrafing(ped) end

---**CFX::IS_PED_USING_ACTION_MODE** `0x5AE7EDA2`
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_PED_USING_ACTION_MODE)
---@param ped integer The target ped.
---@return boolean retval
function IsPedUsingActionMode(ped) end

---**CFX::IS_PLAYER_ACE_ALLOWED** `0xDEDAE23D`
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_PLAYER_ACE_ALLOWED)
---@param playerSrc string
---@param object string
---@return boolean retval
function IsPlayerAceAllowed(playerSrc, object) end

---**CFX::IS_PLAYER_COMMERCE_INFO_LOADED** `0xBEFE93F4`
---This native is deprecated and may be removed in a future version.
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_PLAYER_COMMERCE_INFO_LOADED)
---@param playerSrc string The player handle
---@return boolean retval
function IsPlayerCommerceInfoLoaded(playerSrc) end

---**CFX::IS_PLAYER_COMMERCE_INFO_LOADED_EXT** `0x1D14F4FE`
---Requests whether or not the commerce data for the specified player has loaded from Tebex.
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_PLAYER_COMMERCE_INFO_LOADED_EXT)
---@param playerSrc string The player handle
---@return boolean retval
function IsPlayerCommerceInfoLoadedExt(playerSrc) end

---**CFX::IS_PLAYER_EVADING_WANTED_LEVEL** `0x89A3881A`
---This will return true if the player is evading wanted level, meaning that the wanted level stars are blink.
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_PLAYER_EVADING_WANTED_LEVEL)
---@param playerSrc string The target player
---@return boolean retval
function IsPlayerEvadingWantedLevel(playerSrc) end

---**CFX::IS_PLAYER_IN_FREE_CAM_MODE** `0x1F14F2AC`
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_PLAYER_IN_FREE_CAM_MODE)
---@param playerSrc string The player to get the free camera mode status of
---@return boolean retval
function IsPlayerInFreeCamMode(playerSrc) end

---**CFX::IS_PLAYER_USING_SUPER_JUMP** `0xC7D2C20C`
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_PLAYER_USING_SUPER_JUMP)
---@param playerSrc string The player handle
---@return boolean retval
function IsPlayerUsingSuperJump(playerSrc) end

---**CFX::IS_PRINCIPAL_ACE_ALLOWED** `0x37CF52CE`
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_PRINCIPAL_ACE_ALLOWED)
---@param principal string
---@param object string
---@return boolean retval
function IsPrincipalAceAllowed(principal, object) end

---**CFX::IS_VEHICLE_EXTRA_TURNED_ON** `0x42098B5`
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_VEHICLE_EXTRA_TURNED_ON)
---@param vehicle integer
---@param extraId integer
---@return boolean retval
function IsVehicleExtraTurnedOn(vehicle, extraId) end

---**CFX::IS_VEHICLE_SIREN_ON** `0x25EB5873`
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_VEHICLE_SIREN_ON)
---@param vehicle integer
---@return boolean retval
function IsVehicleSirenOn(vehicle) end

---**CFX::IS_VEHICLE_TYRE_BURST** `0x48C80210`
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_VEHICLE_TYRE_BURST)
---@param vehicle integer
---@param wheelID integer
---@param completely boolean
---@return boolean retval
function IsVehicleTyreBurst(vehicle, wheelID, completely) end

---**CFX::IS_VEHICLE_WINDOW_INTACT** `0xAC4EF23D`
---[Docs](https://natives.borderlinerp.com/natives/CFX/IS_VEHICLE_WINDOW_INTACT)
---@param vehicle integer The target vehicle.
---@param windowIndex integer The window index.
---@return boolean retval
function IsVehicleWindowIntact(vehicle, windowIndex) end

---**CFX::LOAD_PLAYER_COMMERCE_DATA** `0xA8F63EAB`
---This native is deprecated and may be removed in a future version.
---[Docs](https://natives.borderlinerp.com/natives/CFX/LOAD_PLAYER_COMMERCE_DATA)
---@param playerSrc string The player handle
function LoadPlayerCommerceData(playerSrc) end

---**CFX::LOAD_PLAYER_COMMERCE_DATA_EXT** `0x7995539E`
---Requests the commerce data from Tebex for the specified player, including the owned SKUs.
---[Docs](https://natives.borderlinerp.com/natives/CFX/LOAD_PLAYER_COMMERCE_DATA_EXT)
---@param playerSrc string The player handle
function LoadPlayerCommerceDataExt(playerSrc) end

---**CFX::LOAD_RESOURCE_FILE** `0x76A9EE1F`
---Reads the contents of a text file in a specified resource.
---[Docs](https://natives.borderlinerp.com/natives/CFX/LOAD_RESOURCE_FILE)
---@param resourceName string The resource name.
---@param fileName string The file in the resource.
---@return string retval
function LoadResourceFile(resourceName, fileName) end

---**CFX::MUMBLE_CREATE_CHANNEL** `0x262663C5`
---Create a permanent voice channel.
---[Docs](https://natives.borderlinerp.com/natives/CFX/MUMBLE_CREATE_CHANNEL)
---@param id integer ID of the channel.
function MumbleCreateChannel(id) end

---**CFX::MUMBLE_IS_PLAYER_MUTED** `0x1D5D50C2`
---Checks if the player is currently muted
---[Docs](https://natives.borderlinerp.com/natives/CFX/MUMBLE_IS_PLAYER_MUTED)
---@param playerSrc integer The player to get the mute state for
---@return boolean retval
function MumbleIsPlayerMuted(playerSrc) end

---**CFX::MUMBLE_SET_PLAYER_MUTED** `0xCC6C2EB1`
---Mutes or unmutes the specified player
---[Docs](https://natives.borderlinerp.com/natives/CFX/MUMBLE_SET_PLAYER_MUTED)
---@param playerSrc integer The player to set the mute state of
---@param toggle boolean Whether to mute or unmute the player
function MumbleSetPlayerMuted(playerSrc, toggle) end

---**CFX::NETWORK_GET_ENTITY_FROM_NETWORK_ID** `0x5B912C3F`
---[Docs](https://natives.borderlinerp.com/natives/CFX/NETWORK_GET_ENTITY_FROM_NETWORK_ID)
---@param netId integer
---@return integer retval
function NetworkGetEntityFromNetworkId(netId) end

---**CFX::NETWORK_GET_ENTITY_OWNER** `0x526FEE31`
---Returns the owner ID of the specified entity.
---[Docs](https://natives.borderlinerp.com/natives/CFX/NETWORK_GET_ENTITY_OWNER)
---@param entity integer The entity to get the owner for.
---@return integer retval
function NetworkGetEntityOwner(entity) end

---**CFX::NETWORK_GET_FIRST_ENTITY_OWNER** `0x1E546224`
---Returns the first owner ID of the specified entity.
---[Docs](https://natives.borderlinerp.com/natives/CFX/NETWORK_GET_FIRST_ENTITY_OWNER)
---@param entity integer The entity to get the first owner for.
---@return integer retval
function NetworkGetFirstEntityOwner(entity) end

---**CFX::NETWORK_GET_NETWORK_ID_FROM_ENTITY** `0x9E35DAB6`
---[Docs](https://natives.borderlinerp.com/natives/CFX/NETWORK_GET_NETWORK_ID_FROM_ENTITY)
---@param entity integer
---@return integer retval
function NetworkGetNetworkIdFromEntity(entity) end

---**CFX::NETWORK_GET_VOICE_PROXIMITY_OVERRIDE_FOR_PLAYER** `0xFFEEF513`
---[Docs](https://natives.borderlinerp.com/natives/CFX/NETWORK_GET_VOICE_PROXIMITY_OVERRIDE_FOR_PLAYER)
---@param playerSrc string The player handle
---@return vector3 retval
function NetworkGetVoiceProximityOverrideForPlayer(playerSrc) end

---**CFX::PERFORM_HTTP_REQUEST_INTERNAL** `0x8E8CC653`
---[Docs](https://natives.borderlinerp.com/natives/CFX/PERFORM_HTTP_REQUEST_INTERNAL)
---@param requestData string
---@param requestDataLength integer
---@return integer retval
function PerformHttpRequestInternal(requestData, requestDataLength) end

---**CFX::PERFORM_HTTP_REQUEST_INTERNAL_EX** `0x6B171E87`
---[Docs](https://natives.borderlinerp.com/natives/CFX/PERFORM_HTTP_REQUEST_INTERNAL_EX)
---@param requestData table
---@return integer retval
function PerformHttpRequestInternalEx(requestData) end

---**CFX::PRINT_STRUCTURED_TRACE** `0x90892DED`
---Prints 'structured trace' data to the server file descriptor 3 channel.
---[Docs](https://natives.borderlinerp.com/natives/CFX/PRINT_STRUCTURED_TRACE)
---@param jsonString string JSON data to submit as `payload` in the `script_structured_trace` event.
function PrintStructuredTrace(jsonString) end

---**CFX::PROFILER_ENTER_SCOPE** `0xC795A4A9`
---Scope entry for profiler.
---[Docs](https://natives.borderlinerp.com/natives/CFX/PROFILER_ENTER_SCOPE)
---@param scopeName string Scope name.
function ProfilerEnterScope(scopeName) end

---**CFX::PROFILER_EXIT_SCOPE** `0xB39CA35C`
---Scope exit for profiler.
---[Docs](https://natives.borderlinerp.com/natives/CFX/PROFILER_EXIT_SCOPE)
function ProfilerExitScope() end

---**CFX::PROFILER_IS_RECORDING** `0xF8B7D7BB`
---Returns true if the profiler is active.
---[Docs](https://natives.borderlinerp.com/natives/CFX/PROFILER_IS_RECORDING)
---@return boolean retval
function ProfilerIsRecording() end

---**CFX::REGISTER_COMMAND** `0x5FA79B0F`
---Registered commands can be executed by entering them in the client console (this works for client side and server side registered commands).
---[Docs](https://natives.borderlinerp.com/natives/CFX/REGISTER_COMMAND)
---@param commandName string The command you want to register.
---@param handler function A handler function that gets called whenever the command is executed.
---@param restricted boolean If this is a server command and you set this to true, then players will need the command.yourCommandName ace permission to execute this command.
function RegisterCommand(commandName, handler, restricted) end

---**CFX::REGISTER_CONSOLE_LISTENER** `0x281B5448`
---Registers a listener for console output messages.
---[Docs](https://natives.borderlinerp.com/natives/CFX/REGISTER_CONSOLE_LISTENER)
---@param listener function A function of `(channel: string, message: string) => void`. The message might contain `\n`.
function RegisterConsoleListener(listener) end

---**CFX::REGISTER_RESOURCE_AS_EVENT_HANDLER** `0xD233A168`
---An internal function which allows the current resource's HLL script runtimes to receive state for the specified event.
---[Docs](https://natives.borderlinerp.com/natives/CFX/REGISTER_RESOURCE_AS_EVENT_HANDLER)
---@param eventName string An event name, or "\*" to disable HLL event filtering for this resource.
function RegisterResourceAsEventHandler(eventName) end

---**CFX::REGISTER_RESOURCE_ASSET** `0x9862B266`
---Registers a cached resource asset with the resource system, similar to the automatic scanning of the stream/ folder.
---[Docs](https://natives.borderlinerp.com/natives/CFX/REGISTER_RESOURCE_ASSET)
---@param resourceName string The resource to add the asset to.
---@param fileName string A file name in the resource.
---@return string retval
function RegisterResourceAsset(resourceName, fileName) end

---**CFX::REGISTER_RESOURCE_BUILD_TASK_FACTORY** `0x285B43CA`
---Registers a build task factory for resources.
---[Docs](https://natives.borderlinerp.com/natives/CFX/REGISTER_RESOURCE_BUILD_TASK_FACTORY)
---@param factoryId string The identifier for the build task.
---@param factoryFn function The factory function.
function RegisterResourceBuildTaskFactory(factoryId, factoryFn) end

---**CFX::REMOVE_ALL_PED_WEAPONS** `0xA44CE817`
---Parameter p1 does not seem to be used or referenced in game binaries.\ This is the server-side RPC native equivalent of the client native REMOVE_ALL_PED_WEAPONS.
---[Docs](https://natives.borderlinerp.com/natives/CFX/REMOVE_ALL_PED_WEAPONS)
---@param ped integer The ped entity
---@param p1 boolean
function RemoveAllPedWeapons(ped, p1) end

---**CFX::REMOVE_BLIP** `0xD8C3C1CD`
---Removes the blip from your map.
---[Docs](https://natives.borderlinerp.com/natives/CFX/REMOVE_BLIP)
---@param blip integer Blip handle to remove.
---@return integer blip
function RemoveBlip(blip) end

---**CFX::REMOVE_CONVAR_CHANGE_LISTENER** `0xEAC49841`
---[Docs](https://natives.borderlinerp.com/natives/CFX/REMOVE_CONVAR_CHANGE_LISTENER)
---@param cookie integer The cookie returned from [ADD_CONVAR_CHANGE_LISTENER](#\_0xAB7F7241)
function RemoveConvarChangeListener(cookie) end

---**CFX::REMOVE_STATE_BAG_CHANGE_HANDLER** `0xD36BE661`
---Removes a handler for changes to a state bag.
---[Docs](https://natives.borderlinerp.com/natives/CFX/REMOVE_STATE_BAG_CHANGE_HANDLER)
---@param cookie integer The cookie.
function RemoveStateBagChangeHandler(cookie) end

---**CFX::REMOVE_WEAPON_COMPONENT_FROM_PED** `0x412AA00D`
---REMOVE_WEAPON_COMPONENT_FROM_PED This is the server-side RPC native equivalent of the client native REMOVE_WEAPON_COMPONENT_FROM_PED.
---[Docs](https://natives.borderlinerp.com/natives/CFX/REMOVE_WEAPON_COMPONENT_FROM_PED)
---@param ped integer
---@param weaponHash integer|string
---@param componentHash integer|string
function RemoveWeaponComponentFromPed(ped, weaponHash, componentHash) end

---**CFX::REMOVE_WEAPON_FROM_PED** `0x9C37F220`
---This native removes a specified weapon from your selected ped.
---[Docs](https://natives.borderlinerp.com/natives/CFX/REMOVE_WEAPON_FROM_PED)
---@param ped integer
---@param weaponHash integer|string
function RemoveWeaponFromPed(ped, weaponHash) end

---**CFX::REQUEST_PLAYER_COMMERCE_SESSION** `0x96F93CCE`
---This native is deprecated and may be removed in a future version.
---[Docs](https://natives.borderlinerp.com/natives/CFX/REQUEST_PLAYER_COMMERCE_SESSION)
---@param playerSrc string The player handle
---@param skuId integer The ID of the SKU.
function RequestPlayerCommerceSession(playerSrc, skuId) end

---**CFX::SAVE_RESOURCE_FILE** `0xA09E7E7B`
---Writes the specified data to a file in the specified resource.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SAVE_RESOURCE_FILE)
---@param resourceName string The name of the resource.
---@param fileName string The name of the file.
---@param data string The data to write to the file.
---@param dataLength integer The length of the written data.
---@return boolean retval
function SaveResourceFile(resourceName, fileName, data, dataLength) end

---**CFX::SCAN_RESOURCE_ROOT** `0x636F097F`
---Scans the resources in the specified resource root.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SCAN_RESOURCE_ROOT)
---@param rootPath string The resource directory to scan.
---@param callback function A callback that will receive an object with results.
function ScanResourceRoot(rootPath, callback) end

---**CFX::SCHEDULE_RESOURCE_TICK** `0xB88A73AD`
---Schedules the specified resource to run a tick as soon as possible, bypassing the server's fixed tick rate.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SCHEDULE_RESOURCE_TICK)
---@param resourceName string The resource to tick.
function ScheduleResourceTick(resourceName) end

---**CFX::SET_BLIP_SPRITE** `0x8DBBB0B9`
---Sets the displayed sprite for a specific blip.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_BLIP_SPRITE)
---@param blip integer The blip to change.
---@param spriteId integer The sprite ID to set.
function SetBlipSprite(blip, spriteId) end

---**CFX::SET_CONVAR** `0x341B16D2`
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_CONVAR)
---@param varName string
---@param value string
function SetConvar(varName, value) end

---**CFX::SET_CONVAR_REPLICATED** `0xF292858C`
---Used to replicate a server variable onto clients.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_CONVAR_REPLICATED)
---@param varName string The console variable name.
---@param value string The value to set for the given console variable.
function SetConvarReplicated(varName, value) end

---**CFX::SET_CONVAR_SERVER_INFO** `0x9338D547`
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_CONVAR_SERVER_INFO)
---@param varName string
---@param value string
function SetConvarServerInfo(varName, value) end

---**CFX::SET_CURRENT_PED_WEAPON** `0xB8278882`
---SET_CURRENT_PED_WEAPON This is the server-side RPC native equivalent of the client native SET_CURRENT_PED_WEAPON.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_CURRENT_PED_WEAPON)
---@param ped integer
---@param weaponHash integer|string
---@param bForceInHand boolean
function SetCurrentPedWeapon(ped, weaponHash, bForceInHand) end

---**CFX::SET_ENTITY_COORDS** `0xDF70B41B`
---Sets the coordinates (world position) for a specified entity, offset by the radius of the entity on the Z axis.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_ENTITY_COORDS)
---@param entity integer The entity to change coordinates for.
---@param xPos number The X coordinate.
---@param yPos number The Y coordinate.
---@param zPos number The Z coordinate, ground level.
---@param alive boolean Unused by the game, potentially used by debug builds of GTA in order to assert whether or not an entity was alive.
---@param deadFlag boolean Whether to disable physics for dead peds, too, and not just living peds.
---@param ragdollFlag boolean A special flag used for ragdolling peds.
---@param clearArea boolean Whether to clear any entities in the target area.
function SetEntityCoords(entity, xPos, yPos, zPos, alive, deadFlag, ragdollFlag, clearArea) end

---**CFX::SET_ENTITY_DISTANCE_CULLING_RADIUS** `0xD3A183A3`
---It overrides the default distance culling radius of an entity.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_ENTITY_DISTANCE_CULLING_RADIUS)
---@param entity integer The entity handle to override the distance culling radius.
---@param radius number The new distance culling radius.
function SetEntityDistanceCullingRadius(entity, radius) end

---**CFX::SET_ENTITY_HEADING** `0xE0FF064D`
---Set the heading of an entity in degrees also known as "Yaw".
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_ENTITY_HEADING)
---@param entity integer The entity to set the heading for.
---@param heading number The heading in degrees.
function SetEntityHeading(entity, heading) end

---**CFX::SET_ENTITY_IGNORE_REQUEST_CONTROL_FILTER** `0x9F7F8D36`
---It allows to flag an entity to ignore the request control filter policy.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_ENTITY_IGNORE_REQUEST_CONTROL_FILTER)
---@param entity integer The entity handle to ignore the request control filter.
---@param ignore boolean Define if the entity ignores the request control filter policy.
function SetEntityIgnoreRequestControlFilter(entity, ignore) end

---**CFX::SET_ENTITY_ORPHAN_MODE** `0x489E9162`
---Sets what the server will do when the entity no longer has its original owner.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_ENTITY_ORPHAN_MODE)
---@param entity integer The entity to set the orphan mode of
---@param orphanMode integer The mode that the server should use for determining if an entity should be removed.
function SetEntityOrphanMode(entity, orphanMode) end

---**CFX::SET_ENTITY_ROTATION** `0xA345EFE`
---Sets the rotation of a specified entity in the game world.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_ENTITY_ROTATION)
---@param entity integer The entity to rotate.
---@param pitch number The pitch (X-axis) rotation in degrees.
---@param roll number The roll (Y-axis) rotation in degrees.
---@param yaw number The yaw (Z-axis) rotation in degrees.
---@param rotationOrder integer Specifies the order in which yaw, pitch, and roll are applied, see [`GET_ENTITY_ROTATION`](#\_0xAFBD61CC738D9EB9) for the available rotation orders.
---@param bDeadCheck boolean Usually set to `true`. Determines whether to check if the entity is dead before applying the rotation.
function SetEntityRotation(entity, pitch, roll, yaw, rotationOrder, bDeadCheck) end

---**CFX::SET_ENTITY_ROUTING_BUCKET** `0x635E5289`
---Sets the routing bucket for the specified entity.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_ENTITY_ROUTING_BUCKET)
---@param entity integer The entity to set the routing bucket for.
---@param bucket integer The bucket ID.
function SetEntityRoutingBucket(entity, bucket) end

---**CFX::SET_ENTITY_VELOCITY** `0xFF5A1988`
---Note that the third parameter(denoted as z) is "up and down" with positive numbers encouraging upwards movement.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_ENTITY_VELOCITY)
---@param entity integer
---@param x number
---@param y number
---@param z number
function SetEntityVelocity(entity, x, y, z) end

---**CFX::SET_GAME_TYPE** `0xF90B7469`
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_GAME_TYPE)
---@param gametypeName string
function SetGameType(gametypeName) end

---**CFX::SET_HTTP_HANDLER** `0xF5C6330C`
---Sets the handler for HTTP requests made to the executing resource.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_HTTP_HANDLER)
---@param handler function The handler function.
function SetHttpHandler(handler) end

---**CFX::SET_MAP_NAME** `0xB7BA82DC`
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_MAP_NAME)
---@param mapName string
function SetMapName(mapName) end

---**CFX::SET_PED_AMMO** `0xBF90DF1A`
---NativeDB Added Parameter 4: BOOL p3 This is the server-side RPC native equivalent of the client native SET_PED_AMMO.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_PED_AMMO)
---@param ped integer
---@param weaponHash integer|string
---@param ammo integer
function SetPedAmmo(ped, weaponHash, ammo) end

---**CFX::SET_PED_ARMOUR** `0x4E3A0CC4`
---Sets the armor of the specified ped.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_PED_ARMOUR)
---@param ped integer
---@param amount integer
function SetPedArmour(ped, amount) end

---**CFX::SET_PED_CAN_RAGDOLL** `0xCF1384C4`
---SET_PED_CAN_RAGDOLL This is the server-side RPC native equivalent of the client native SET_PED_CAN_RAGDOLL.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_PED_CAN_RAGDOLL)
---@param ped integer
---@param toggle boolean
function SetPedCanRagdoll(ped, toggle) end

---**CFX::SET_PED_COMPONENT_VARIATION** `0xD4F7B05C`
---This native is used to set component variation on a ped.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_PED_COMPONENT_VARIATION)
---@param ped integer The ped handle.
---@param componentId integer The component that you want to set.
---@param drawableId integer The drawable id that is going to be set. Refer to [GET_NUMBER_OF_PED_DRAWABLE_VARIATIONS](#\_0x27561561732A7842).
---@param textureId integer The texture id of the drawable. Refer to [GET_NUMBER_OF_PED_TEXTURE_VARIATIONS](#\_0x8F7156A3142A6BAD).
---@param paletteId integer 0 to 3.
function SetPedComponentVariation(ped, componentId, drawableId, textureId, paletteId) end

---**CFX::SET_PED_CONFIG_FLAG** `0x9CFBE10D`
---This is the server-side RPC native equivalent of the client native SET_PED_CONFIG_FLAG.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_PED_CONFIG_FLAG)
---@param ped integer
---@param flagId integer
---@param value boolean
function SetPedConfigFlag(ped, flagId, value) end

---**CFX::SET_PED_DEFAULT_COMPONENT_VARIATION** `0xC866A984`
---Sets Ped Default Clothes This is the server-side RPC native equivalent of the client native SET_PED_DEFAULT_COMPONENT_VARIATION.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_PED_DEFAULT_COMPONENT_VARIATION)
---@param ped integer
function SetPedDefaultComponentVariation(ped) end

---**CFX::_SET_PED_EYE_COLOR** `0xEC09DB1B`
---Used for freemode (online) characters.
---[Docs](https://natives.borderlinerp.com/natives/CFX/_SET_PED_EYE_COLOR)
---@param ped integer
---@param index integer
function SetPedEyeColor(ped, index) end

---**CFX::_SET_PED_FACE_FEATURE** `0x6C8D4458`
---Sets the various freemode face features, e.g.
---[Docs](https://natives.borderlinerp.com/natives/CFX/_SET_PED_FACE_FEATURE)
---@param ped integer The ped entity
---@param index integer An integer ranging from 0 to 19
---@param scale number A float ranging from -1.0 to 1.0
function SetPedFaceFeature(ped, index, scale) end

---**CFX::SET_PED_HAIR_TINT** `0xA23FE32C`
---Sets the tint index for the hair on the specified ped.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_PED_HAIR_TINT)
---@param ped integer The Ped whose hair tint is to be set.
---@param colorID integer The tint index for the primary hair color.
---@param highlightColorID integer The tint index for the hair highlight color.
function SetPedHairTint(ped, colorID, highlightColorID) end

---**CFX::SET_PED_HEAD_BLEND_DATA** `0x60746B88`
---For more info and the list of faceIDs please refer to this topic.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_PED_HEAD_BLEND_DATA)
---@param ped integer The ped entity
---@param shapeFirstID integer Controls the shape of the first ped's face
---@param shapeSecondID integer Controls the shape of the second ped's face
---@param shapeThirdID integer Controls the shape of the third ped's face
---@param skinFirstID integer Controls the first id's skin tone
---@param skinSecondID integer Controls the second id's skin tone
---@param skinThirdID integer Controls the third id's skin tone
---@param shapeMix number 0.0 - 1.0 Of whose characteristics to take Mother -> Father (shapeFirstID and shapeSecondID)
---@param skinMix number 0.0 - 1.0 Of whose characteristics to take Mother -> Father (skinFirstID and skinSecondID)
---@param thirdMix number Overrides the others in favor of the third IDs.
---@param isParent boolean IsParent is set for "children" of the player character's grandparents during old-gen character creation. It has unknown effect otherwise.
function SetPedHeadBlendData(ped, shapeFirstID, shapeSecondID, shapeThirdID, skinFirstID, skinSecondID, skinThirdID, shapeMix, skinMix, thirdMix, isParent) end

---**CFX::SET_PED_HEAD_OVERLAY** `0xD28DBA90`
---OverlayID ranges from 0 to 12, index from 0 to _GET_NUM_OVERLAY_VALUES(overlayID)-1, and opacity from 0.0 to 1.0.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_PED_HEAD_OVERLAY)
---@param ped integer The ped entity
---@param overlayID integer The overlay id displayed up above.
---@param index integer An integer representing the index (from 0 to `_GET_NUM_OVERLAY_VALUES(overlayID)-1`)
---@param opacity number A float ranging from 0.0 to 1.0
function SetPedHeadOverlay(ped, overlayID, index, opacity) end

---**CFX::_SET_PED_HEAD_OVERLAY_COLOR** `0x78935A27`
---Used for freemode (online) characters.
---[Docs](https://natives.borderlinerp.com/natives/CFX/_SET_PED_HEAD_OVERLAY_COLOR)
---@param ped integer The ped entity
---@param overlayID integer An integer representing the overlay id
---@param colorType integer 1 for eyebrows, beards, makeup, and chest hair; 2 for blush and lipstick; and 0 otherwise, though not called in those cases.
---@param colorID integer An integer representing the primary color id
---@param secondColorID integer An integer representing the secondary color id
function SetPedHeadOverlayColor(ped, overlayID, colorType, colorID, secondColorID) end

---**CFX::SET_PED_INTO_VEHICLE** `0x7500C79`
---SET_PED_INTO_VEHICLE This is the server-side RPC native equivalent of the client native SET_PED_INTO_VEHICLE.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_PED_INTO_VEHICLE)
---@param ped integer
---@param vehicle integer
---@param seatIndex integer See eSeatPosition declared in [`IS_VEHICLE_SEAT_FREE`](#\_0x22AC59A870E6A669). -2 for the first available seat.
function SetPedIntoVehicle(ped, vehicle, seatIndex) end

---**CFX::SET_PED_PROP_INDEX** `0x829F2E2`
---This native is used to set prop variation on a ped.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_PED_PROP_INDEX)
---@param ped integer The ped handle.
---@param componentId integer The component that you want to set. Refer to [SET_PED_COMPONENT_VARIATION](#\_0x262B14F48D29DE80).
---@param drawableId integer The drawable id that is going to be set. Refer to [GET_NUMBER_OF_PED_PROP_DRAWABLE_VARIATIONS](#\_0x5FAF9754E789FB47).
---@param textureId integer The texture id of the drawable. Refer to [GET_NUMBER_OF_PED_PROP_TEXTURE_VARIATIONS](#\_0xA6E7F1CEB523E171).
---@param attach boolean Attached or not.
function SetPedPropIndex(ped, componentId, drawableId, textureId, attach) end

---**CFX::SET_PED_RANDOM_COMPONENT_VARIATION** `0x4111BA46`
---p1 is always 0 in R scripts; and a quick disassembly seems to indicate that p1 is unused.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_PED_RANDOM_COMPONENT_VARIATION)
---@param ped integer
---@param p1 integer
function SetPedRandomComponentVariation(ped, p1) end

---**CFX::SET_PED_RANDOM_PROPS** `0xE3318E0E`
---SET_PED_RANDOM_PROPS This is the server-side RPC native equivalent of the client native SET_PED_RANDOM_PROPS.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_PED_RANDOM_PROPS)
---@param ped integer The ped handle.
function SetPedRandomProps(ped) end

---**CFX::SET_PED_RESET_FLAG** `0xCFF6FF66`
---Known values: This is the server-side RPC native equivalent of the client native SET_PED_RESET_FLAG.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_PED_RESET_FLAG)
---@param ped integer
---@param flagId integer
---@param doReset boolean
function SetPedResetFlag(ped, flagId, doReset) end

---**CFX::SET_PED_TO_RAGDOLL** `0x83CB5052`
---p4/p5: Unusued in TU27 Ragdoll Types This is the server-side RPC native equivalent of the client native SET_PED_TO_RAGDOLL.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_PED_TO_RAGDOLL)
---@param ped integer The ped to ragdoll.
---@param minTime integer Time(ms) Ped is in ragdoll mode; only applies to ragdoll types 0 and not 1.
---@param maxTime integer
---@param ragdollType integer
---@param bAbortIfInjured boolean unused
---@param bAbortIfDead boolean unused
---@param bForceScriptControl boolean
function SetPedToRagdoll(ped, minTime, maxTime, ragdollType, bAbortIfInjured, bAbortIfDead, bForceScriptControl) end

---**CFX::SET_PED_TO_RAGDOLL_WITH_FALL** `0xFA12E286`
---Return variable is never used in R's scripts.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_PED_TO_RAGDOLL_WITH_FALL)
---@param ped integer The ped to ragdoll.
---@param minTime integer
---@param maxTime integer
---@param nFallType integer The type of fall.
---@param dirX number The x direction of the fall.
---@param dirY number The y direction of the fall.
---@param dirZ number The z direction of the fall.
---@param fGroundHeight number The ground height (z).
---@param grab1X number unused
---@param grab1Y number unused
---@param grab1Z number unused
---@param grab2X number unused
---@param grab2Y number unused
---@param grab2Z number unused
function SetPedToRagdollWithFall(ped, minTime, maxTime, nFallType, dirX, dirY, dirZ, fGroundHeight, grab1X, grab1Y, grab1Z, grab2X, grab2Y, grab2Z) end

---**CFX::SET_PLAYER_CONTROL** `0xD17AFCD8`
---This is the server-side RPC native equivalent of the client native SET_PLAYER_CONTROL.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_PLAYER_CONTROL)
---@param player integer
---@param bHasControl boolean
---@param flags integer
function SetPlayerControl(player, bHasControl, flags) end

---**CFX::SET_PLAYER_CULLING_RADIUS** `0x8A2FBAD4`
---Sets the culling radius for the specified player.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_PLAYER_CULLING_RADIUS)
---@param playerSrc string The player to set the culling radius for.
---@param radius number The radius.
function SetPlayerCullingRadius(playerSrc, radius) end

---**CFX::SET_PLAYER_INVINCIBLE** `0xDFB9A2A2`
---Make the player impervious to all forms of damage.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_PLAYER_INVINCIBLE)
---@param player integer The player index.
---@param bInvincible boolean
function SetPlayerInvincible(player, bInvincible) end

---**CFX::SET_PLAYER_MODEL** `0x774A4C54`
---Set the model for a specific Player.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_PLAYER_MODEL)
---@param player integer The player to set the model for
---@param model integer|string The model to use
function SetPlayerModel(player, model) end

---**CFX::SET_PLAYER_ROUTING_BUCKET** `0x6504EB38`
---Sets the routing bucket for the specified player.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_PLAYER_ROUTING_BUCKET)
---@param playerSrc string The player to set the routing bucket for.
---@param bucket integer The bucket ID.
function SetPlayerRoutingBucket(playerSrc, bucket) end

---**CFX::SET_PLAYER_WANTED_LEVEL** `0xB7A0914B`
---SET_PLAYER_WANTED_LEVEL This is the server-side RPC native equivalent of the client native SET_PLAYER_WANTED_LEVEL.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_PLAYER_WANTED_LEVEL)
---@param player integer the target player
---@param wantedLevel integer the wanted level 1-5
---@param delayedResponse boolean false = 0-10sec police spawn response time, true = 10-20sec police spawn response time
function SetPlayerWantedLevel(player, wantedLevel, delayedResponse) end

---**CFX::SET_RESOURCE_KVP** `0x21C7A35B`
---A setter for GET_RESOURCE_KVP_STRING.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_RESOURCE_KVP)
---@param key string The key to set
---@param value string The value to write
function SetResourceKvp(key, value) end

---**CFX::SET_RESOURCE_KVP_FLOAT** `0x9ADD2938`
---A setter for GET_RESOURCE_KVP_FLOAT.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_RESOURCE_KVP_FLOAT)
---@param key string The key to set
---@param value number The value to write
function SetResourceKvpFloat(key, value) end

---**CFX::SET_RESOURCE_KVP_FLOAT_NO_SYNC** `0x3517BFBE`
---Nonsynchronous SET_RESOURCE_KVP_FLOAT operation; see FLUSH_RESOURCE_KVP.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_RESOURCE_KVP_FLOAT_NO_SYNC)
---@param key string The key to set
---@param value number The value to write
function SetResourceKvpFloatNoSync(key, value) end

---**CFX::SET_RESOURCE_KVP_INT** `0x6A2B1E8`
---A setter for GET_RESOURCE_KVP_INT.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_RESOURCE_KVP_INT)
---@param key string The key to set
---@param value integer The value to write
function SetResourceKvpInt(key, value) end

---**CFX::SET_RESOURCE_KVP_INT_NO_SYNC** `0x26AEB707`
---Nonsynchronous SET_RESOURCE_KVP_INT operation; see FLUSH_RESOURCE_KVP.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_RESOURCE_KVP_INT_NO_SYNC)
---@param key string The key to set
---@param value integer The value to write
function SetResourceKvpIntNoSync(key, value) end

---**CFX::SET_RESOURCE_KVP_NO_SYNC** `0xCF9A2FF`
---Nonsynchronous SET_RESOURCE_KVP operation; see FLUSH_RESOURCE_KVP.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_RESOURCE_KVP_NO_SYNC)
---@param key string The key to set
---@param value string The value to write
function SetResourceKvpNoSync(key, value) end

---**CFX::SET_ROUTING_BUCKET_ENTITY_LOCKDOWN_MODE** `0xA0F2201F`
---Sets the entity lockdown mode for a specific routing bucket.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_ROUTING_BUCKET_ENTITY_LOCKDOWN_MODE)
---@param bucketId integer The routing bucket ID to adjust.
---@param mode string One of aforementioned modes.
function SetRoutingBucketEntityLockdownMode(bucketId, mode) end

---**CFX::SET_ROUTING_BUCKET_POPULATION_ENABLED** `0xCE51AC2C`
---Sets whether or not the specified routing bucket has automatically-created population enabled.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_ROUTING_BUCKET_POPULATION_ENABLED)
---@param bucketId integer The routing bucket ID to adjust.
---@param mode boolean `true` to enable population, `false` to disable population.
function SetRoutingBucketPopulationEnabled(bucketId, mode) end

---**CFX::SET_STATE_BAG_VALUE** `0x8D50E33A`
---Internal function for setting a state bag value.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_STATE_BAG_VALUE)
---@param bagName string
---@param keyName string
---@param valueData string
---@param valueLength integer
---@param replicated boolean
function SetStateBagValue(bagName, keyName, valueData, valueLength, replicated) end

---**CFX::SET_VEHICLE_ALARM** `0x24877D84`
---SET_VEHICLE_ALARM This is the server-side RPC native equivalent of the client native SET_VEHICLE_ALARM.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_VEHICLE_ALARM)
---@param vehicle integer
---@param state boolean
function SetVehicleAlarm(vehicle, state) end

---**CFX::SET_VEHICLE_BODY_HEALTH** `0x920C2517`
---p2 often set to 1000.0 in the decompiled scripts.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_VEHICLE_BODY_HEALTH)
---@param vehicle integer
---@param value number
function SetVehicleBodyHealth(vehicle, value) end

---**CFX::SET_VEHICLE_COLOUR_COMBINATION** `0xA557AEAD`
---Sets the selected vehicle's colors to their default value (specific variant specified using the colorCombination parameter).
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_VEHICLE_COLOUR_COMBINATION)
---@param vehicle integer The vehicle to modify.
---@param colorCombination integer One of the default color values of the vehicle.
function SetVehicleColourCombination(vehicle, colorCombination) end

---**CFX::SET_VEHICLE_COLOURS** `0x57F24253`
---colorPrimary & colorSecondary are the paint indexes for the vehicle.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_VEHICLE_COLOURS)
---@param vehicle integer
---@param colorPrimary integer
---@param colorSecondary integer
function SetVehicleColours(vehicle, colorPrimary, colorSecondary) end

---**CFX::SET_VEHICLE_CUSTOM_PRIMARY_COLOUR** `0x8DF9F9BC`
---p1, p2, p3 are RGB values for color (255,0,0 for Red, ect) This is the server-side RPC native equivalent of the client native SET_VEHICLE_CUSTOM_PRIMARY_COLOUR.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_VEHICLE_CUSTOM_PRIMARY_COLOUR)
---@param vehicle integer
---@param r integer
---@param g integer
---@param b integer
function SetVehicleCustomPrimaryColour(vehicle, r, g, b) end

---**CFX::SET_VEHICLE_CUSTOM_SECONDARY_COLOUR** `0x9D77259E`
---p1, p2, p3 are RGB values for color (255,0,0 for Red, ect) This is the server-side RPC native equivalent of the client native SET_VEHICLE_CUSTOM_SECONDARY_COLOUR.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_VEHICLE_CUSTOM_SECONDARY_COLOUR)
---@param vehicle integer
---@param r integer
---@param g integer
---@param b integer
function SetVehicleCustomSecondaryColour(vehicle, r, g, b) end

---**CFX::SET_VEHICLE_DIRT_LEVEL** `0x2B39128B`
---Sets the dirt level of the passed vehicle.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_VEHICLE_DIRT_LEVEL)
---@param vehicle integer The vehicle to set.
---@param dirtLevel number A number between 0.0 and 15.0 representing the vehicles dirt level.
function SetVehicleDirtLevel(vehicle, dirtLevel) end

---**CFX::SET_VEHICLE_DOOR_BROKEN** `0x8147FEA7`
---This is the server-side RPC native equivalent of the client native SET_VEHICLE_DOOR_BROKEN.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_VEHICLE_DOOR_BROKEN)
---@param vehicle integer
---@param doorIndex integer
---@param deleteDoor boolean
function SetVehicleDoorBroken(vehicle, doorIndex, deleteDoor) end

---**CFX::SET_VEHICLE_DOORS_LOCKED** `0x4CDD35D0`
---Locks the doors of a specified vehicle to a defined lock state, affecting how players and NPCs can interact with the vehicle.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_VEHICLE_DOORS_LOCKED)
---@param vehicle integer The vehicle whose doors are to be locked.
---@param doorLockStatus integer The lock state to apply to the vehicle's doors, see `eVehicleLockState`.
function SetVehicleDoorsLocked(vehicle, doorLockStatus) end

---**CFX::SET_VEHICLE_NUMBER_PLATE_TEXT** `0x400F9556`
---SET_VEHICLE_NUMBER_PLATE_TEXT This is the server-side RPC native equivalent of the client native SET_VEHICLE_NUMBER_PLATE_TEXT.
---[Docs](https://natives.borderlinerp.com/natives/CFX/SET_VEHICLE_NUMBER_PLATE_TEXT)
---@param vehicle integer The vehicle to set the plate for
---@param plateText string The text to set the plate to, 8 chars maximum
function SetVehicleNumberPlateText(vehicle, plateText) end

---**CFX::START_FIND_KVP** `0xDD379006`
---[Docs](https://natives.borderlinerp.com/natives/CFX/START_FIND_KVP)
---@param prefix string A prefix match
---@return integer retval
function StartFindKvp(prefix) end

---**CFX::START_RESOURCE** `0x29B440DC`
---[Docs](https://natives.borderlinerp.com/natives/CFX/START_RESOURCE)
---@param resourceName string
---@return boolean retval
function StartResource(resourceName) end

---**CFX::STATE_BAG_HAS_KEY** `0x12A330`
---[Docs](https://natives.borderlinerp.com/natives/CFX/STATE_BAG_HAS_KEY)
---@param bagName string The name of the bag.
---@param key string The key used to check data existence.
---@return boolean retval
function StateBagHasKey(bagName, key) end

---**CFX::STOP_RESOURCE** `0x21783161`
---[Docs](https://natives.borderlinerp.com/natives/CFX/STOP_RESOURCE)
---@param resourceName string
---@return boolean retval
function StopResource(resourceName) end

---**CFX::TASK_COMBAT_PED** `0xCB0D8932`
---Makes the specified ped attack the target ped.
---[Docs](https://natives.borderlinerp.com/natives/CFX/TASK_COMBAT_PED)
---@param ped integer
---@param targetPed integer
---@param p2 integer
---@param p3 integer
function TaskCombatPed(ped, targetPed, p2, p3) end

---**CFX::TASK_DRIVE_BY** `0x2B84D1C4`
---Needs working example.
---[Docs](https://natives.borderlinerp.com/natives/CFX/TASK_DRIVE_BY)
---@param driverPed integer
---@param targetPed integer
---@param targetVehicle integer
---@param targetX number
---@param targetY number
---@param targetZ number
---@param distanceToShoot number
---@param pedAccuracy integer
---@param p8 boolean
---@param firingPattern integer|string
function TaskDriveBy(driverPed, targetPed, targetVehicle, targetX, targetY, targetZ, distanceToShoot, pedAccuracy, p8, firingPattern) end

---**CFX::TASK_ENTER_VEHICLE** `0xB8689B4E`
---speed 1.0 = walk, 2.0 = run p5 1 = normal, 3 = teleport to vehicle, 8 = normal/carjack ped from seat, 16 = teleport directly into vehicle p6 is always 0 This is the server-side RPC native equivalent of the client native TASK_ENTER_VEHICLE.
---[Docs](https://natives.borderlinerp.com/natives/CFX/TASK_ENTER_VEHICLE)
---@param ped integer
---@param vehicle integer
---@param timeout integer
---@param seatIndex integer See eSeatPosition declared in [`IS_VEHICLE_SEAT_FREE`](#\_0x22AC59A870E6A669).
---@param speed number
---@param flag integer
---@param p6 integer
function TaskEnterVehicle(ped, vehicle, timeout, seatIndex, speed, flag, p6) end

---**CFX::TASK_EVERYONE_LEAVE_VEHICLE** `0xC1971F30`
---TASK_EVERYONE_LEAVE_VEHICLE This is the server-side RPC native equivalent of the client native TASK_EVERYONE_LEAVE_VEHICLE.
---[Docs](https://natives.borderlinerp.com/natives/CFX/TASK_EVERYONE_LEAVE_VEHICLE)
---@param vehicle integer
function TaskEveryoneLeaveVehicle(vehicle) end

---**CFX::TASK_GO_STRAIGHT_TO_COORD** `0x80A9E7A7`
---TASK_GO_STRAIGHT_TO_COORD This is the server-side RPC native equivalent of the client native TASK_GO_STRAIGHT_TO_COORD.
---[Docs](https://natives.borderlinerp.com/natives/CFX/TASK_GO_STRAIGHT_TO_COORD)
---@param ped integer The ped handle.
---@param x number The x coordinate.
---@param y number The y coordinate.
---@param z number The z coordinate.
---@param speed number The ped movement speed.
---@param timeout integer \-1 , other values appear to break the ped movement.
---@param targetHeading number The heading you want the ped to be on x,y,z coord.
---@param distanceToSlide number The distance from x,y,z where the ped will start sliding.
function TaskGoStraightToCoord(ped, x, y, z, speed, timeout, targetHeading, distanceToSlide) end

---**CFX::TASK_GO_TO_COORD_ANY_MEANS** `0xF91DF93B`
---Tells a ped to go to a coord by any means.
---[Docs](https://natives.borderlinerp.com/natives/CFX/TASK_GO_TO_COORD_ANY_MEANS)
---@param ped integer The `Ped` Handle.
---@param x number The goto target coordinate.
---@param y number The goto target coordinate.
---@param z number The goto target coordinate.
---@param fMoveBlendRatio number 0.0 = still, 1.0 = walk, 2.0 = run, 3.0 = sprint.
---@param vehicle integer If defined, the pedestrian will only move if said vehicle exists. If you don't want any sort of association, just set it to `0`.
---@param bUseLongRangeVehiclePathing boolean Setting to `true` tells the vehicle to use longrange vehicle pathing.
---@param drivingFlags integer See `eDrivingMode` enum.
---@param fMaxRangeToShootTargets number Determines the maximum distance at which the `Ped` will engage in combat with threatening targets.
function TaskGoToCoordAnyMeans(ped, x, y, z, fMoveBlendRatio, vehicle, bUseLongRangeVehiclePathing, drivingFlags, fMaxRangeToShootTargets) end

---**CFX::TASK_GO_TO_ENTITY** `0x374827C2`
---The entity will move towards the target until time is over (duration) or get in target's range (distance).
---[Docs](https://natives.borderlinerp.com/natives/CFX/TASK_GO_TO_ENTITY)
---@param entity integer
---@param target integer
---@param duration integer
---@param distance number
---@param speed number
---@param p5 number
---@param p6 integer
function TaskGoToEntity(entity, target, duration, distance, speed, p5, p6) end

---**CFX::TASK_HANDS_UP** `0x8DCC19C5`
---In the scripts, p3 was always -1.
---[Docs](https://natives.borderlinerp.com/natives/CFX/TASK_HANDS_UP)
---@param ped integer
---@param duration integer
---@param facingPed integer
---@param p3 integer
---@param p4 boolean
function TaskHandsUp(ped, duration, facingPed, p3, p4) end

---**CFX::TASK_LEAVE_ANY_VEHICLE** `0xDBDD79FA`
---Flags are the same flags used in TASK_LEAVE_VEHICLE This is the server-side RPC native equivalent of the client native TASK_LEAVE_ANY_VEHICLE.
---[Docs](https://natives.borderlinerp.com/natives/CFX/TASK_LEAVE_ANY_VEHICLE)
---@param ped integer
---@param p1 integer
---@param flags integer
function TaskLeaveAnyVehicle(ped, p1, flags) end

---**CFX::TASK_LEAVE_VEHICLE** `0x7B1141C6`
---Flags from decompiled scripts: Others to be tried out: 320, 512, 131072.
---[Docs](https://natives.borderlinerp.com/natives/CFX/TASK_LEAVE_VEHICLE)
---@param ped integer
---@param vehicle integer
---@param flags integer
function TaskLeaveVehicle(ped, vehicle, flags) end

---**CFX::TASK_PLAY_ANIM** `0x5AB552C6`
---Animations list This is the server-side RPC native equivalent of the client native TASK_PLAY_ANIM.
---[Docs](https://natives.borderlinerp.com/natives/CFX/TASK_PLAY_ANIM)
---@param ped integer The ped you want to play the animation
---@param animDictionary string The animation dictionary
---@param animationName string The animation name
---@param blendInSpeed number The speed at which the animation blends in. Lower is slower and higher is faster, 1.0 is normal, 8.0 is basically instant
---@param blendOutSpeed number The speed at which the animation blends out. Lower is slower and higher is faster, 1.0 is normal, 8.0 is basically instant
---@param duration integer The duration of the animation in milliseconds. -1 will play the animation until canceled
---@param flag integer The animation flags (see enum)
---@param playbackRate number The playback rate (between 0.0 and 1.0)
---@param lockX boolean
---@param lockY boolean
---@param lockZ boolean
function TaskPlayAnim(ped, animDictionary, animationName, blendInSpeed, blendOutSpeed, duration, flag, playbackRate, lockX, lockY, lockZ) end

---**CFX::TASK_PLAY_ANIM_ADVANCED** `0x3DDEB0E6`
---Similar in functionality to TASK_PLAY_ANIM, except the position and rotation parameters let you specify the initial position and rotation of the task.
---[Docs](https://natives.borderlinerp.com/natives/CFX/TASK_PLAY_ANIM_ADVANCED)
---@param ped integer The ped you want to play the animation
---@param animDictionary string The animation dictionary
---@param animationName string The animation name
---@param posX number Initial X position of the task
---@param posY number Initial Y position of the task
---@param posZ number Initial Z position of the task
---@param rotX number Initial X rotation of the task
---@param rotY number Initial Y rotation of the task
---@param rotZ number Initial Z rotation of the task
---@param blendInSpeed number The speed at which the animation blends in. Lower is slower and higher is faster, 1.0 is normal, 8.0 is basically instant
---@param blendOutSpeed number The speed at which the animation blends out. Lower is slower and higher is faster, 1.0 is normal, 8.0 is basically instant
---@param duration integer The duration of the animation in milliseconds. -1 will play the animation until canceled
---@param flag integer See [`TASK_PLAY_ANIM`](#\_0xEA47FE3719165B94)
---@param animTime number Value between 0.0 and 1.0, lets you start an animation from the given point
---@param p14 integer
---@param p15 integer
function TaskPlayAnimAdvanced(ped, animDictionary, animationName, posX, posY, posZ, rotX, rotY, rotZ, blendInSpeed, blendOutSpeed, duration, flag, animTime, p14, p15) end

---**CFX::TASK_REACT_AND_FLEE_PED** `0x8A632BD8`
---TASK_REACT_AND_FLEE_PED This is the server-side RPC native equivalent of the client native TASK_REACT_AND_FLEE_PED.
---[Docs](https://natives.borderlinerp.com/natives/CFX/TASK_REACT_AND_FLEE_PED)
---@param ped integer
---@param fleeTarget integer
function TaskReactAndFleePed(ped, fleeTarget) end

---**CFX::TASK_SHOOT_AT_COORD** `0x601C22E3`
---Firing Pattern Hash Information: This is the server-side RPC native equivalent of the client native TASK_SHOOT_AT_COORD.
---[Docs](https://natives.borderlinerp.com/natives/CFX/TASK_SHOOT_AT_COORD)
---@param ped integer
---@param x number
---@param y number
---@param z number
---@param duration integer
---@param firingPattern integer|string
function TaskShootAtCoord(ped, x, y, z, duration, firingPattern) end

---**CFX::TASK_SHOOT_AT_ENTITY** `0xAC0631C9`
---Entity aimedentity; Player player = PLAYER::PLAYER_ID(); in practical usage, getting the entity the player is aiming at and then task the peds to shoot at the entity, at a button press event would be better.
---[Docs](https://natives.borderlinerp.com/natives/CFX/TASK_SHOOT_AT_ENTITY)
---@param entity integer
---@param target integer
---@param duration integer
---@param firingPattern integer|string
function TaskShootAtEntity(entity, target, duration, firingPattern) end

---**CFX::TASK_WARP_PED_INTO_VEHICLE** `0x65D4A35D`
---NativeDB Introduced: v323 Warp a ped into a vehicle.
---[Docs](https://natives.borderlinerp.com/natives/CFX/TASK_WARP_PED_INTO_VEHICLE)
---@param ped integer The Ped to be warped into the vehicle.
---@param vehicle integer The target vehicle into which the ped will be warped.
---@param seatIndex integer See eSeatPosition declared in [`IS_VEHICLE_SEAT_FREE`](#\_0x22AC59A870E6A669).
function TaskWarpPedIntoVehicle(ped, vehicle, seatIndex) end

---**CFX::TEMP_BAN_PLAYER** `0x1E35DBBA`
---[Docs](https://natives.borderlinerp.com/natives/CFX/TEMP_BAN_PLAYER)
---@param playerSrc string
---@param reason string
function TempBanPlayer(playerSrc, reason) end

---**CFX::TRIGGER_CLIENT_EVENT_INTERNAL** `0x2F7A49E6`
---The backing function for TriggerClientEvent.
---[Docs](https://natives.borderlinerp.com/natives/CFX/TRIGGER_CLIENT_EVENT_INTERNAL)
---@param eventName string
---@param eventTarget string
---@param eventPayload string
---@param payloadLength integer
function TriggerClientEventInternal(eventName, eventTarget, eventPayload, payloadLength) end

---**CFX::TRIGGER_EVENT_INTERNAL** `0x91310870`
---The backing function for TriggerEvent.
---[Docs](https://natives.borderlinerp.com/natives/CFX/TRIGGER_EVENT_INTERNAL)
---@param eventName string
---@param eventPayload string
---@param payloadLength integer
function TriggerEventInternal(eventName, eventPayload, payloadLength) end

---**CFX::TRIGGER_LATENT_CLIENT_EVENT_INTERNAL** `0x70B35890`
---The backing function for TriggerLatentClientEvent.
---[Docs](https://natives.borderlinerp.com/natives/CFX/TRIGGER_LATENT_CLIENT_EVENT_INTERNAL)
---@param eventName string
---@param eventTarget string
---@param eventPayload string
---@param payloadLength integer
---@param bps integer
function TriggerLatentClientEventInternal(eventName, eventTarget, eventPayload, payloadLength, bps) end

---**CFX::VERIFY_PASSWORD_HASH** `0x2E310ACD`
---[Docs](https://natives.borderlinerp.com/natives/CFX/VERIFY_PASSWORD_HASH)
---@param password string
---@param hash string
---@return boolean retval
function VerifyPasswordHash(password, hash) end

---**CFX::WAS_EVENT_CANCELED** `0x58382A19`
---Returns whether or not the currently executing event was canceled.
---[Docs](https://natives.borderlinerp.com/natives/CFX/WAS_EVENT_CANCELED)
---@return boolean retval
function WasEventCanceled() end
