GetPlayerActor

From Onset Developer Wiki
Revision as of 11:10, 2 September 2020 by BlueMountains (talk | contribs)
GetPlayerActor

Type: Function
Context: Client
Introduced: v1.0

Description

Get the Unreal Engine actor for the player. Can then be used with UnrealLua.

Syntax

GetPlayerActor(playerid)

Parameters

  • playerid
    The player identifier.

Return Value

  • Returns a reference to the Unreal Actor on success.

Example

GetPlayerActor(GetPlayerId())

See also

Template:ClientPlayerFunctions