GetPlayerActor
From Onset Developer Wiki
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())