Lua/Objects/Player
From NS2 community wiki
|
Lua Object |
|
|
Name |
Lua/Objects/Player |
|
Inherits |
|
|
Direct Subclasses |
None |
|
Client/Server |
Unknown |
|
Created With |
None |
|
Destroyed With |
None |
| Description: | |
| No description provided. | |
| | This page needs editing: Not using proper format.
|
Functions
- Player:EmitPrivateSound - Plays a sound that only the player hears
- Player:GiveNamedItem - Gives a item to the player. Should work similar to "give" cheat from NS1
- Player:AddResources - Increases or Decreases resources (money) from the player
- Player:GetResources - Retrieves the amount of resources (money) the player has
- Player:GetTeam - Retrieves the players team.
Angles Player:GetViewAngles ( )
