IsPlayerCrosshairVisible: Difference between revisions
Jump to navigation
Jump to search
m (Update note) |
mNo edit summary |
||
Line 12: | Line 12: | ||
==Example== | ==Example== | ||
{{Needs Example}} | |||
==See Also== | ==See Also== | ||
{{Client player functions}} | {{Client player functions}} |
Latest revision as of 11:14, 14 October 2024
Note: This function checks if the crosshair is rendered by GTA. Please note that hud components are not associated with this function, so the function may return true even if the "crosshair" component is hidden with setPlayerHudComponentVisible. If you need checking use isPlayerHudComponentVisible. |
Syntax
bool isPlayerCrosshairVisible()
Returns
Returns true if the player has the crosshair visible, false otherwise.
Example
Script Example Missing Function IsPlayerCrosshairVisible needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
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