GetPlayerActor

From Onset Developer Wiki
Revision as of 14:06, 1 January 2020 by 28days (talk | contribs) (Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|Get the Unreal Engine actor for the Player.}} {{FuncSyntax|GetPlayerActor(playerid)}} {{FuncParameters}} {{FuncParam|playerid...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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