RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. GET_PLAYER_FOCUS_POS

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 Vector3

Parameters

NameTypeDescription
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

On this page

  • Signature
  • Parameters
  • Usage
  • Details