From bbd4b0f8c8c794742536b194e1af7dd7bc986540 Mon Sep 17 00:00:00 2001 From: xshady <54737754+xxshady@users.noreply.github.com> Date: Tue, 14 Jan 2025 13:45:05 +0300 Subject: [PATCH] feat(client): add config flag SWAP_ALLOW_HEAD_PROP_IN_VEHICLE_FLAG --- 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) */