Skip to main content
Branch: Development

setConfigFlag

Callable

  • setConfigFlag(flag: ConfigFlag, state: boolean): void
  • setConfigFlag(flag: DISABLE_AUTO_WEAPON_SWAP | DISABLE_PED_PROP_KNOCK_OFF | DISABLE_IDLE_CAMERA | DISABLE_VEHICLE_ENGINE_SHUTDOWN_ON_LEAVE | DISABLE_SP_ENTER_VEHICLE_CLIPSET | FORCE_RENDER_SNOW | FORCE_HIDE_NIGHT_PROPS | FORCE_SHOW_NIGHT_PROPS | DISABLE_EMISSIVE_LIGHTS_RENDERING | FORCE_VEHICLE_TYRE_BURST, state: boolean): void

  • Sets the specified ped config flag of the local player to the specified state.