ScriptEvent:getLocalViewPlayer

From Mod Wiki

Parameters

None.

Result

entity

Supported By

sdSysCallThread

Functionality

Returns the player entity currently being viewed from by the local client, if appropriate, otherwise returns null.