GetPlayerActor: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|Get the Unreal Engine actor for the Player.}} {{FuncSyntax|GetPlayerActor(playerid)}} {{FuncParameters}} {{FuncParam|playerid...")
(No difference)

Revision as of 14:06, 1 January 2020

GetPlayerActor

Type: Function
Context: Client
Introduced: v1.0

Description

Get the Unreal Engine actor for the Player.

Syntax

GetPlayerActor(playerid)

Parameters

  • playerid
    The player identifier.

Return Value

  • Returns Unreal Actor Id on success.

Example

GetPlayerActor(GetPlayerId())

See also

Template:ClientPlayerFunctions