ZH-CN/元素/玩家: Difference between revisions
Jump to navigation
Jump to search
Qwe7769611 (talk | contribs) No edit summary |
m (Добавление языков) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
玩家表示由客户端控制的行人。当客户端连接到服务器时,将创建一个玩家对象,当客户端退出时,该对象将被销毁。玩家不能以其他方式创建或销毁。 | |||
这个类的元素类型是“player”。 | 这个类的元素类型是“player”。 | ||
Line 10: | Line 10: | ||
[[Category:Element Types]] | [[Category:Element Types]] | ||
[[en:Element/Player]] | |||
[[ru:Element/Player]] | |||
[[hu:Element/Player]] | |||
[[it:Elemento Player]] | |||
[[es:Elemento/Player]] | |||
[[de:Element/Player]] | |||
[[zh-cn:元素/玩家]] | [[zh-cn:元素/玩家]] |
Latest revision as of 20:10, 14 April 2021
玩家表示由客户端控制的行人。当客户端连接到服务器时,将创建一个玩家对象,当客户端退出时,该对象将被销毁。玩家不能以其他方式创建或销毁。
这个类的元素类型是“player”。
Related scripting functions
Client
- getLocalPlayer
- getPlayerMapBoundingBox
- getPlayerMapOpacity
- isPlayerMapVisible
- resetBlurLevel
- isPlayerHudComponentVisible
- Shared
- 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
Server
- 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