Skip to content

Commit

Permalink
feat(client): add config flag SWAP_ALLOW_HEAD_PROP_IN_VEHICLE_FLAG (#333
Browse files Browse the repository at this point in the history
)
  • Loading branch information
xxshady authored Jan 14, 2025
1 parent 3fbffa8 commit a416cb3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) */
Expand Down

0 comments on commit a416cb3

Please sign in to comment.