From a416cb3409befe4fd89f1e3f5d4ceafd4d574a0f Mon Sep 17 00:00:00 2001 From: xshady <54737754+xxshady@users.noreply.github.com> Date: Tue, 14 Jan 2025 13:49:15 +0300 Subject: [PATCH] feat(client): add config flag SWAP_ALLOW_HEAD_PROP_IN_VEHICLE_FLAG (#333) --- client/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/index.d.ts b/client/index.d.ts index 2279372a..60e9ebc5 100644 --- a/client/index.d.ts +++ b/client/index.d.ts @@ -83,6 +83,11 @@ declare module "alt-client" { * Useful when damage in weapon meta is set to 0, and is calculated manually by script in event. */ ForceVehicleTyreBurst = "FORCE_VEHICLE_TYRE_BURST", + /** + * Prevents head props from being hidden when getting into the vehicle. + * Equivalent to calling `setPedResetFlag` native with flag 337 in every tick. + */ + SwapAllowHeadPropInVehicleFlag = "SWAP_ALLOW_HEAD_PROP_IN_VEHICLE_FLAG", } /** @deprecated This method will be removed in the next major release. (v17) */