Element/Player: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
The player class represents | The player class represents pedestrians controlled by clients. This class is created when a client connects to the server and destroyed when he quits. Players cannot be created or destroyed otherwise. | ||
The element type of this class is '''"player"'''. | The element type of this class is '''"player"'''. |
Revision as of 02:53, 9 December 2006
The player class represents pedestrians controlled by clients. This class is created when a client connects to the server and destroyed when he quits. Players cannot be created or destroyed otherwise.
The element type of this class is "player".
Related scripting functions
- getPlayerTeam
- getPlayerBlurLevel
- setPlayerBlurLevel
- getPlayerSerial
- forcePlayerMap
- getPlayerScriptDebugLevel
- getPlayerFromName
- getPlayerMoney
- getPlayerName
- getPlayerNametagColor
- getPlayerNametagText
- getPlayerPing
- getPlayerWantedLevel
- givePlayerMoney
- isPlayerMapForced
- isPlayerNametagShowing
- setPlayerHudComponentVisible
- setPlayerMoney
- setPlayerNametagColor
- setPlayerNametagShowing
- setPlayerNametagText
- takePlayerMoney
- countPlayersInTeam
- getPlayersInTeam
- isVoiceEnabled
- setControlState
- getControlState