entity.heading

Revision as of 20:36, 19 November 2022 by Mex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Property Server and Client icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline Read and Set

Available since Server 1.0.0, Client 1.0.0

float entity.heading

The entity.heading property is used to fetch or set this entity's heading (z rotation), in radians.

Value

float A float, in radians, with the entity's compass direction.
read/set This property can be changed, as well as read.

Types

Shared Building
Shared Entity
Shared Object
Shared Ped
Shared Physical
Shared Player
Shared Vehicle

Notes

There aren't any notes for this property.

Examples

There aren't any examples for this property.

Compatibility

There isn't any compatibility information for this property.

Related

Server Related

        entity.children
        entity.clearExistsFor
        entity.dimension
        entity.existsFor
        entity.getData
        entity.getRotation
        entity.heading
        entity.id
        entity.interior
        entity.isCreatedFor
        entity.isLocal
        entity.isOwner
        entity.isSyncer
        entity.isType
        entity.matrix
        entity.modelIndex
        entity.name
        entity.netFlags
        entity.parent
        entity.position
        entity.removeAllData
        entity.removeData
        entity.resource
        entity.rotation
        entity.setData
        entity.setExistsFor
        entity.setRotation
        entity.setSyncer
        entity.streamInDistance
        entity.streamOutDistance
        entity.syncer
        entity.syncerId
        entity.type


Client Related

      gta.undoEntityInvisibilitySettings

  entity.alpha
      entity.boundingCentre
      entity.boundingMax
      entity.boundingMin
      entity.boundingRadius
        entity.children
        entity.clearExistsFor
      entity.collisionBoxCount
      entity.collisionBoxes
      entity.collisionLineCount
      entity.collisionLines
      entity.collisionsEnabled
      entity.collisionSphereCount
      entity.collisionSpheres
      entity.collisionVertexCount
      entity.collisionVertices
        entity.dimension
      entity.distanceFromCentreOfMassToBaseOfModel
        entity.existsFor
        entity.getData
        entity.getRotation
        entity.heading
        entity.id
      entity.interior
        entity.isCreatedFor
        entity.isLocal
      entity.isOnScreen
        entity.isOwner
        entity.isSyncer
        entity.isType
      entity.markAsNoLongerNeeded
        entity.matrix
      entity.model
        entity.modelIndex
        entity.name
        entity.netFlags
      entity.onScreen
        entity.parent
        entity.position
        entity.removeAllData
        entity.removeData
        entity.resource
        entity.rotation
        entity.setData
        entity.setExistsFor
      entity.setProofs
        entity.setRotation
        entity.setSyncer
      entity.status
        entity.streamInDistance
        entity.streamOutDistance
        entity.syncer
        entity.syncerId
        entity.type
      entity.visible