Skip to content
VN_fnc_player

VN_fnc_player

Uses getVariable to get the current remoted controlled unit, if the player is not remote controlling a unit then the players unit is returned. Used to get the current unit the player is controlling.

Syntax

[] call VN_fnc_player;

Parameters

None.

Return value

Object - Player object

Examples

call vn_fnc_player

Documented by Ethan Johnson.