IT/Elemento/Player: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Добавление языков) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
La | {{IT/MainP}} | ||
[[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. | |||
Il | Il ''type'' di questa class è '''"player"'''. | ||
==Funzioni relative== | ==Funzioni relative== | ||
===Client=== | ===Client=== | ||
{{Client player functions}} | {{IT/Client player functions}} | ||
===Server=== | ===Server=== | ||
{{Player functions}} | {{IT/Player functions}} | ||
[[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