GET_PLAYER_FOCUS_POS
Gets the focus position (i.e. the position of the active camera in the game world) of a player.
CFX
Signature
lua
GetPlayerFocusPos(playerSrc)
-- returns Vector3Parameters
| Name | Type | Description |
|---|---|---|
| char* | The player to get the focus position of |
Usage
lua
GetPlayerFocusPos(playerSrc)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
