IsPlayerCrosshairVisible
Jump to navigation
Jump to search
Syntax
bool isPlayerCrosshairVisible()
Return
Texto em negritotrue if the crosshair is visible. false if the crosshair is not visible.
Examples
function aim()
if isPlayerCrosshairVisible() then outputChatBox("your sight is visible") else outputChatBox("your crosshair is not visible") end
end addCommandHandler("aimcheck", aim)
See Also
- 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