Skip to main content

ADD_STUCK_CAR_CHECK_WITH_WARP

Game.AddStuckCarCheckWithWarpHash0x3BCA4ACA
Usage
Game.AddStuckCarCheckWithWarp(carIndex, minMoveDistance, checkFrequency, warpIfStuck, warpIfUpsideDown, warpIfInWater, warpMethod)

Will attempt to warp a vehicle out of a stuck or upsidedown or in water position.

Parameters

  • carIndexintegerint
  • minMoveDistancenumberfloat
  • checkFrequencyintegerint
  • warpIfStuckbooleanbool
  • warpIfUpsideDownbooleanbool
  • warpIfInWaterbooleanbool
  • warpMethodintegerint

Returns

Nothing

Original declaration
// 0x3BCA4ACA
void ADD_STUCK_CAR_CHECK_WITH_WARP(int carIndex, float minMoveDistance, int checkFrequency, bool warpIfStuck, bool warpIfUpsideDown, bool warpIfInWater, int warpMethod);