Skip to main content

SET_HEADING_OF_CLOSEST_OBJECT_OF_TYPE

Game.SetHeadingOfClosestObjectOfTypeHash0x7ABD4D4D
Usage
Game.SetHeadingOfClosestObjectOfType(x, y, z, radius, modelHash, newHeading)

Sets the heading of the closest model of type.

Parameters

  • xnumberfloat
  • ynumberfloat
  • znumberfloat
  • radiusnumberfloat
  • modelHashintegerint
  • newHeadingnumberfloat

Returns

Nothing

Original declaration
// 0x7ABD4D4D
void SET_HEADING_OF_CLOSEST_OBJECT_OF_TYPE(float x, float y, float z, float radius, int modelHash, float newHeading);