RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. SET_ENTITY_HEADING

SET_ENTITY_HEADING

Set the heading of an entity in degrees also known as "Yaw". **This is the server-side RPC native equivalent of the client native [SET_ENTITY_HEADING](?\_0x8E2530AA8ADA980E).**

CFX

Signature

lua
SetEntityHeading(entity, 0.0)
-- returns void

Parameters

NameTypeDescription
EntityThe entity to set the heading for.
floatThe heading in degrees.

Usage

lua
SetEntityHeading(entity, 0.0)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details