Lua/Libraries/Client/GetLocalPlayer
From NS2 community wiki
|
Lua Function |
|
|
Syntax |
|
| 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
...