Lua/Libraries/Client/GetLocalPlayer

From NS2 community wiki
Jump to: navigation, search

Lua Function

Syntax

Entity Client.GetLocalPlayer ( )

Description:

The return value is the entity which is being controlled by the client. The entity that is being controlled by the client is determined by the server and is set by calling

nil ServerClient:SetControllingPlayer(Entity player)

Example

...

Purge



Personal tools