IT/Elemento/Player: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Добавление языков) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{IT/MainP}} | {{IT/MainP}} | ||
[[Category:IT/ | [[Category:100%]] | ||
{{IT/Elemento}} | |||
La classe '''player''' rappresenta i personaggi controllati dai client. Un oggetto ''player'' è creato quando un client si connette al server e viene distrutto quando si disconnette. I player non possono essere creati o distrutti in altro modo. | La classe '''player''' rappresenta i personaggi controllati dai client. Un oggetto ''player'' è creato quando un client si connette al server e viene distrutto quando si disconnette. I player non possono essere creati o distrutti in altro modo. | ||
Line 12: | Line 13: | ||
[[en:Element/Player]] | [[en:Element/Player]] | ||
[[ru:Element/Player]] | |||
[[hu:Element/Player]] | |||
[[it:Elemento Player]] | |||
[[es:Elemento/Player]] | |||
[[de:Element/Player]] | |||
[[zh-cn:元素/玩家]] |
Latest revision as of 20:11, 14 April 2021
« Torna alla Pagina principale italiana ▇▇▇.
«« Torna agli elementi di MTA.
La classe player rappresenta i personaggi controllati dai client. Un oggetto player è creato quando un client si connette al server e viene distrutto quando si disconnette. I player non possono essere creati o distrutti in altro modo.
Il type di questa class è "player".
Funzioni relative
Client
- isPlayerDead
- isPlayerMapVisible
- isPlayerMuted
- getLocalPlayer
- getPlayerName
- getPlayerPing
- getPlayerTeam
- getPlayerNametagText
- getPlayerNametagColor
- showPlayerHudComponent
- getPlayerMoney
- setPlayerMoney
- givePlayerMoney
- takePlayerMoney
- setPlayerNametagText
- setPlayerNametagColor
Prima della versione DP3
- getPlayerAmmoInClip
- getPlayerArmor
- getPlayerContactElement
- getPlayerOccupiedVehicle
- getPlayerRotation
- getPlayerTarget
- getPlayerTargetCollision
- getPlayerTargetStart
- getPlayerTargetEnd
- getPlayerTargetRange
- getPlayerSimplestTask
- getPlayerSkin
- getPlayerStat
- getPlayerTask
- getPlayerTotalAmmo
- getPlayerWeaponSlot
- getPlayerWeapon
Server
- getPlayerAmmoInClip
- getPlayerArmor
- getPlayerBlurLevel
- getPlayerClothes
- getPlayerContactElement
- getPlayerContactElement
- getPlayerFightingStyle
- getPlayerFromNick
- getPlayerGravity
- getPlayerMoney
- getPlayerNametagText
- getPlayerNametagColor
- getPlayerOccupiedVehicle
- getPlayerOccupiedVehicleSeat
- getPlayerPing
- getPlayerRotation
- getPlayerSkin
- getPlayerStat
- getPlayerTarget
- getPlayerTeam
- getPlayerTotalAmmo
- getPlayerWantedLevel
- getPlayerWeapon
- getPlayerWeaponSlot
- getRandomPlayer
- isPlayerChoking
- isPlayerDead
- isPlayerDucked
- isPlayerInVehicle
- isPlayerInWater
- isPlayerMapForced
- isPlayerMuted
- isPlayerOnGround
- isPlayerNametagShowing