Lua/Objects/Player

From NS2 community wiki

Jump to: navigation, search

Lua Object

Name

Lua/Objects/Player

Inherits

Actor

Direct Subclasses

None

Client/Server

Unknown

Created With

None

Destroyed With

None

Description:
No description provided.




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 ( )


Personal tools