IT/Elemento/Player
From Multi Theft Auto: Wiki
« 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