GET_PLAYER_CAMERA_ROTATION
Gets the current camera rotation for a specified player. This native is used server side when using OneSync.
CFX
Signature
lua
GetPlayerCameraRotation(playerSrc)
-- returns Vector3Parameters
| Name | Type | Description |
|---|---|---|
| char* | The player handle. |
Usage
lua
GetPlayerCameraRotation(playerSrc)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
