Syntax
Lua |
---|
function LocalPlayer.GetInstance(); |
Remarks
Gets the instance of the Local Player. There is only ever one instance of the local player class that is accessed using this static method. Plugins should be aware that all plugins share the same instance. Proper precautions should be used when using the events on the instance.