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 voidParameters
| Name | Type | Description |
|---|---|---|
| Entity | The entity to set the heading for. | |
| float | The 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
