// 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. * @see https://natives.borderlinerp.com/natives/CFX/_ADD_BLIP_FOR_AREA */ declare function AddBlipForArea(x: number, y: number, z: number, width: number, height: number): number; /** * CFX::ADD_BLIP_FOR_COORD — 0xC6F43D0E * Creates a blip for the specified coordinates. * @see https://natives.borderlinerp.com/natives/CFX/ADD_BLIP_FOR_COORD */ declare function AddBlipForCoord(x: number, y: number, z: number): number; /** * 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. * @see https://natives.borderlinerp.com/natives/CFX/ADD_BLIP_FOR_ENTITY */ declare function AddBlipForEntity(entity: number): number; /** * 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. * @see https://natives.borderlinerp.com/natives/CFX/ADD_BLIP_FOR_RADIUS */ declare function AddBlipForRadius(posX: number, posY: number, posZ: number, radius: number): number; /** * CFX::ADD_CONVAR_CHANGE_LISTENER — 0xAB7F7241 * Adds a listener for Console Variable changes. * @see https://natives.borderlinerp.com/natives/CFX/ADD_CONVAR_CHANGE_LISTENER */ declare function AddConvarChangeListener(conVarFilter: string, handler: Function): number; /** * CFX::ADD_PED_DECORATION_FROM_HASHES — 0x70559AC7 * Applies an Item from a PedDecorationCollection to a ped. * @see https://natives.borderlinerp.com/natives/CFX/ADD_PED_DECORATION_FROM_HASHES */ declare function AddPedDecorationFromHashes(ped: number, collection: number | string, overlay: number | string): void; /** * CFX::ADD_STATE_BAG_CHANGE_HANDLER — 0x5BA35AAF * Adds a handler for changes to a state bag. * @see https://natives.borderlinerp.com/natives/CFX/ADD_STATE_BAG_CHANGE_HANDLER */ declare function AddStateBagChangeHandler(keyFilter: string, bagFilter: string, handler: Function): number; /** * CFX::APPLY_FORCE_TO_ENTITY — 0xC1C0855A * This is the server-side RPC native equivalent of the client native APPLY_FORCE_TO_ENTITY. * @see https://natives.borderlinerp.com/natives/CFX/APPLY_FORCE_TO_ENTITY */ declare function ApplyForceToEntity(entity: number, forceType: number, x: number, y: number, z: number, offX: number, offY: number, offZ: number, nComponent: number, bLocalForce: boolean, bLocalOffset: boolean, bScaleByMass: boolean, bPlayAudio: boolean, bScaleByTimeWarp: boolean): void; /** * CFX::CAN_PLAYER_START_COMMERCE_SESSION — 0x429461C3 * This native is deprecated and may be removed in a future version. * @see https://natives.borderlinerp.com/natives/CFX/CAN_PLAYER_START_COMMERCE_SESSION */ declare function CanPlayerStartCommerceSession(playerSrc: string): boolean; /** * CFX::CANCEL_EVENT — 0xFA29D35D * Cancels the currently executing event. * @see https://natives.borderlinerp.com/natives/CFX/CANCEL_EVENT */ declare function CancelEvent(): void; /** * CFX::CLEAR_PED_PROP — 0x2D23D743 * CLEAR_PED_PROP This is the server-side RPC native equivalent of the client native CLEAR_PED_PROP. * @see https://natives.borderlinerp.com/natives/CFX/CLEAR_PED_PROP */ declare function ClearPedProp(ped: number, propId: number): void; /** * 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. * @see https://natives.borderlinerp.com/natives/CFX/CLEAR_PED_SECONDARY_TASK */ declare function ClearPedSecondaryTask(ped: number): void; /** * CFX::CLEAR_PED_TASKS — 0xDE3316AB * Clear a ped's tasks. Stop animations and other tasks created by scripts. * @see https://natives.borderlinerp.com/natives/CFX/CLEAR_PED_TASKS */ declare function ClearPedTasks(ped: number): void; /** * CFX::CLEAR_PED_TASKS_IMMEDIATELY — 0xBC045625 * Immediately stops the pedestrian from whatever it's doing. * @see https://natives.borderlinerp.com/natives/CFX/CLEAR_PED_TASKS_IMMEDIATELY */ declare function ClearPedTasksImmediately(ped: number): void; /** * 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. * @see https://natives.borderlinerp.com/natives/CFX/CLEAR_PLAYER_WANTED_LEVEL */ declare function ClearPlayerWantedLevel(player: number): void; /** * 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. * @see https://natives.borderlinerp.com/natives/CFX/CREATE_OBJECT */ declare function CreateObject(modelHash: number | string, x: number, y: number, z: number, isNetwork: boolean, netMissionEntity: boolean, doorFlag: boolean): number; /** * CFX::CREATE_OBJECT_NO_OFFSET — 0x58040420 * Creates an object (prop) with the specified model centered at the specified position. * @see https://natives.borderlinerp.com/natives/CFX/CREATE_OBJECT_NO_OFFSET */ declare function CreateObjectNoOffset(modelHash: number | string, x: number, y: number, z: number, isNetwork: boolean, netMissionEntity: boolean, doorFlag: boolean): number; /** * CFX::CREATE_PED — 0x389EF71 * Creates a ped (biped character, pedestrian, actor) with the specified model at the specified position and heading. * @see https://natives.borderlinerp.com/natives/CFX/CREATE_PED */ declare function CreatePed(pedType: number, modelHash: number | string, x: number, y: number, z: number, heading: number, isNetwork: boolean, bScriptHostPed: boolean): number; /** * 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. * @see https://natives.borderlinerp.com/natives/CFX/CREATE_PED_INSIDE_VEHICLE */ declare function CreatePedInsideVehicle(vehicle: number, pedType: number, modelHash: number | string, seat: number, isNetwork: boolean, bScriptHostPed: boolean): number; /** * CFX::CREATE_VEHICLE — 0xDD75460A * Creates a vehicle with the specified model at the specified position. * @see https://natives.borderlinerp.com/natives/CFX/CREATE_VEHICLE */ declare function CreateVehicle(modelHash: number | string, x: number, y: number, z: number, heading: number, isNetwork: boolean, netMissionEntity: boolean): number; /** * 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. * @see https://natives.borderlinerp.com/natives/CFX/CREATE_VEHICLE_SERVER_SETTER */ declare function CreateVehicleServerSetter(modelHash: number | string, type: string, x: number, y: number, z: number, heading: number): number; /** * CFX::DELETE_ENTITY — 0xFAA3D236 * Deletes the specified entity. * @see https://natives.borderlinerp.com/natives/CFX/DELETE_ENTITY */ declare function DeleteEntity(entity: number): void; /** * CFX::DELETE_FUNCTION_REFERENCE — 0x1E86F206 * @see https://natives.borderlinerp.com/natives/CFX/DELETE_FUNCTION_REFERENCE */ declare function DeleteFunctionReference(referenceIdentity: string): void; /** * CFX::DELETE_RESOURCE_KVP — 0x7389B5DF * @see https://natives.borderlinerp.com/natives/CFX/DELETE_RESOURCE_KVP */ declare function DeleteResourceKvp(key: string): void; /** * CFX::DELETE_RESOURCE_KVP_NO_SYNC — 0x4152C90 * Nonsynchronous DELETE_RESOURCE_KVP operation; see FLUSH_RESOURCE_KVP. * @see https://natives.borderlinerp.com/natives/CFX/DELETE_RESOURCE_KVP_NO_SYNC */ declare function DeleteResourceKvpNoSync(key: string): void; /** * CFX::DELETE_TRAIN — 0x523BA3DA * Deletes the specified entity and any carriage its attached to, or that is attached to it. * @see https://natives.borderlinerp.com/natives/CFX/DELETE_TRAIN */ declare function DeleteTrain(entity: number): void; /** * CFX::DOES_BOAT_SINK_WHEN_WRECKED — 0x43F15989 * @see https://natives.borderlinerp.com/natives/CFX/DOES_BOAT_SINK_WHEN_WRECKED */ declare function DoesBoatSinkWhenWrecked(vehicle: number): boolean; /** * CFX::DOES_ENTITY_EXIST — 0x3AC90869 * @see https://natives.borderlinerp.com/natives/CFX/DOES_ENTITY_EXIST */ declare function DoesEntityExist(entity: number): boolean; /** * CFX::DOES_PLAYER_EXIST — 0x12038599 * Returns whether or not the player exists * @see https://natives.borderlinerp.com/natives/CFX/DOES_PLAYER_EXIST */ declare function DoesPlayerExist(playerSrc: string): boolean; /** * CFX::DOES_PLAYER_OWN_SKU — 0x167ABA27 * This native is deprecated and may be removed in a future version. * @see https://natives.borderlinerp.com/natives/CFX/DOES_PLAYER_OWN_SKU */ declare function DoesPlayerOwnSku(playerSrc: string, skuId: number): boolean; /** * CFX::DOES_PLAYER_OWN_SKU_EXT — 0xDEF0480B * Requests whether or not the player owns the specified package. * @see https://natives.borderlinerp.com/natives/CFX/DOES_PLAYER_OWN_SKU_EXT */ declare function DoesPlayerOwnSkuExt(playerSrc: string, skuId: number): boolean; /** * CFX::DROP_PLAYER — 0xBA0613E1 * @see https://natives.borderlinerp.com/natives/CFX/DROP_PLAYER */ declare function DropPlayer(playerSrc: string, reason: string): void; /** * CFX::DUPLICATE_FUNCTION_REFERENCE — 0xF4E2079D * @see https://natives.borderlinerp.com/natives/CFX/DUPLICATE_FUNCTION_REFERENCE */ declare function DuplicateFunctionReference(referenceIdentity: string): string; /** * CFX::ENABLE_ENHANCED_HOST_SUPPORT — 0xF97B1C93 * @see https://natives.borderlinerp.com/natives/CFX/ENABLE_ENHANCED_HOST_SUPPORT */ declare function EnableEnhancedHostSupport(enabled: boolean): void; /** * CFX::END_FIND_KVP — 0xB3210203 * @see https://natives.borderlinerp.com/natives/CFX/END_FIND_KVP */ declare function EndFindKvp(handle: number): void; /** * CFX::ENSURE_ENTITY_STATE_BAG — 0x3BB78F05 * Internal function for ensuring an entity has a state bag. * @see https://natives.borderlinerp.com/natives/CFX/ENSURE_ENTITY_STATE_BAG */ declare function EnsureEntityStateBag(entity: number): void; /** * CFX::EXECUTE_COMMAND — 0x561C060B * Depending on your use case you may need to use add_acl resource.