@@ -521,6 +521,15 @@ function SetKillFallHeight(height) end
521521function SetTrainDoorOpenRatio (train , doorIndex , ratio ) end
522522
523523
524+ --- GetPedWetnessHeight
525+ ---
526+ --- @hash [0x2545ADE0](https://docs.fivem.net/natives/?_0x2545ADE0)
527+ --- @param ped Ped
528+ --- @return number
529+ --- @overload fun ( ped : Ped ): number
530+ function GetPedWetnessHeight (ped ) end
531+
532+
524533--- Adds the specified player to the target list for the specified Mumble voice target ID.
525534---
526535--- @hash [0x25F2B65F](https://docs.fivem.net/natives/?_0x25F2B65F)
@@ -3542,6 +3551,26 @@ function SendLoadingScreenMessage(jsonString) end
35423551function DisableRawKeyThisFrame (rawKeyIndex ) end
35433552
35443553
3554+ --- This completely disables pedestrian vehicles from reacting to sirens. They will not try to do any maneuver to evade.
3555+ ---
3556+ --- @hash [0x8C3EC64F](https://docs.fivem.net/natives/?_0x8C3EC64F)
3557+ --- @param state boolean
3558+ --- @return void
3559+ --- @overload fun ( state : boolean ): void
3560+ function SetReactionToVehicleSirenDisabled (state ) end
3561+
3562+
3563+ --- # New Name: SetReactionToVehicleSirenDisabled
3564+ --- This completely disables pedestrian vehicles from reacting to sirens. They will not try to do any maneuver to evade.
3565+ ---
3566+ --- @hash [0x8C3EC64F](https://docs.fivem.net/natives/?_0x8C3EC64F)
3567+ --- @param state boolean
3568+ --- @return void
3569+ --- @overload fun ( state : boolean ): void
3570+ --- @deprecated
3571+ function SetReactionToVehicleWithSirenDisabled (state ) end
3572+
3573+
35453574--- Override the limits on the number and types of melee combatants. The game is limited to at most ten combatants among the three types: primary, secondary, and observers.
35463575---
35473576--- This native infers the number of observers based on the primary and secondary counts.
@@ -4042,6 +4071,15 @@ function DestroyDui(duiObject) end
40424071function GetVehicleWheelSteeringAngle (vehicle , wheelIndex ) end
40434072
40444073
4074+ --- GetPedScale
4075+ ---
4076+ --- @hash [0xA0F3B420](https://docs.fivem.net/natives/?_0xA0F3B420)
4077+ --- @param ped Ped
4078+ --- @return number
4079+ --- @overload fun ( ped : Ped ): number
4080+ function GetPedScale (ped ) end
4081+
4082+
40454083--- **Experimental**: This native may be altered or removed in future versions of CitizenFX without warning.
40464084---
40474085--- Returns whether an asynchronous streaming file registration completed.
@@ -4441,6 +4479,16 @@ function GetWeaponComponentCameraHash(componentHash) end
44414479function RegisterFontId (fontName ) end
44424480
44434481
4482+ --- Returns whether a specific client configuration flag is currently enabled.
4483+ --- You can find a list of configuration flags in [`SET_CLIENT_CONFIG_BOOL`](https://docs.fivem.net/natives/?_0xD174EF7E).
4484+ ---
4485+ --- @hash [0xADA7DB9D](https://docs.fivem.net/natives/?_0xADA7DB9D)
4486+ --- @param flagIndex number (int )
4487+ --- @return boolean
4488+ --- @overload fun ( flagIndex : number ): boolean
4489+ function GetClientConfigBool (flagIndex ) end
4490+
4491+
44444492--- Sets the text font for the current text drawing command.
44454493---
44464494--- @hash [0xADA9255D](https://docs.fivem.net/natives/?_0xADA9255D)
@@ -4701,15 +4749,6 @@ function DrawLine_2d(x1, y1, x2, y2, width, r, g, b, a) end
47014749function SetMinimapClipType (type ) end
47024750
47034751
4704- --- This completely disables pedestrian vehicles from reacting to sirens. They will not try to do any maneuver to evade.
4705- ---
4706- --- @hash [0xB90BBC6E](https://docs.fivem.net/natives/?_0xB90BBC6E)
4707- --- @param state boolean
4708- --- @return void
4709- --- @overload fun ( state : boolean ): void
4710- function SetReactionToVehicleWithSirenDisabled (state ) end
4711-
4712-
47134752--- Shuts down the `loadingScreen` NUI frame, similarly to `SHUTDOWN_LOADING_SCREEN`.
47144753---
47154754--- @hash [0xB9234AFB](https://docs.fivem.net/natives/?_0xB9234AFB)
@@ -5427,6 +5466,26 @@ function GetPlayerMaxStamina(playerId) end
54275466function GetInteriorPortalCount (interiorId ) end
54285467
54295468
5469+ --- ```cpp
5470+ --- enum ClientConfigFlag
5471+ --- {
5472+ --- WeaponsNoAutoReload = 0,
5473+ --- UIVisibleWhenDead = 1,
5474+ --- DisableDeathAudioScene = 2
5475+ --- }
5476+ --- ```
5477+ ---
5478+ --- Sets the value of a client configuration flag.
5479+ --- This native allows enabling or disabling specific one-time client-side features.
5480+ ---
5481+ --- @hash [0xD174EF7E](https://docs.fivem.net/natives/?_0xD174EF7E)
5482+ --- @param flagIndex number (int )
5483+ --- @param enabled boolean
5484+ --- @return void
5485+ --- @overload fun ( flagIndex : number , enabled : boolean ): void
5486+ function SetClientConfigBool (flagIndex , enabled ) end
5487+
5488+
54305489--- GetVehicleThrottleOffset
54315490---
54325491--- @hash [0xD1D07351](https://docs.fivem.net/natives/?_0xD1D07351)
@@ -6405,6 +6464,15 @@ function GetRopeTimeMultiplier(rope) end
64056464function SetVehicleWheelRimColliderSize (vehicle , wheelIndex , value ) end
64066465
64076466
6467+ --- GetPedWetness
6468+ ---
6469+ --- @hash [0xF402C171](https://docs.fivem.net/natives/?_0xF402C171)
6470+ --- @param ped Ped
6471+ --- @return number
6472+ --- @overload fun ( ped : Ped ): number
6473+ function GetPedWetness (ped ) end
6474+
6475+
64086476--- **Experimental**: This native may be altered or removed in future versions of CitizenFX without warning.
64096477---
64106478--- Registers a file from an URL as a streaming asset in the GTA streaming subsystem. This will asynchronously register the asset, and caching is done based on the URL itself - cache headers are ignored.
0 commit comments