<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Laxante101</id>
	<title>Multi Theft Auto: Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Laxante101"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Laxante101"/>
	<updated>2026-04-20T06:49:10Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsPlayerCrosshairVisible&amp;diff=81455</id>
		<title>IsPlayerCrosshairVisible</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsPlayerCrosshairVisible&amp;diff=81455"/>
		<updated>2024-12-04T21:34:03Z</updated>

		<summary type="html">&lt;p&gt;Laxante101: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0161|1.6.0|22751|This function checks if the local player has showing crosshair.}}&lt;br /&gt;
&lt;br /&gt;
{{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 ''&amp;quot;crosshair&amp;quot;'' component is hidden with [[setPlayerHudComponentVisible]]. If you need checking use [[isPlayerHudComponentVisible]].}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool isPlayerCrosshairVisible()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the player has the crosshair visible, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
 function aim()&lt;br /&gt;
    if isPlayerCrosshairVisible() then&lt;br /&gt;
        outputChatBox(&amp;quot;succes, aim its true&amp;quot;, 0, 255, 0) -- green text if is true&lt;br /&gt;
    else&lt;br /&gt;
        outputChatBox(&amp;quot;erro, your aim is false&amp;quot;, 255, 0, 0) -- red text if is false&lt;br /&gt;
    end&lt;br /&gt;
 end&lt;br /&gt;
 addCommandHandler(&amp;quot;aim&amp;quot;, aim)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client player functions}}&lt;/div&gt;</summary>
		<author><name>Laxante101</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsPlayerCrosshairVisible&amp;diff=81454</id>
		<title>IsPlayerCrosshairVisible</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsPlayerCrosshairVisible&amp;diff=81454"/>
		<updated>2024-12-04T21:21:43Z</updated>

		<summary type="html">&lt;p&gt;Laxante101: /* Return */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0161|1.6.0|22751|This function checks if the local player has showing crosshair.}}&lt;br /&gt;
&lt;br /&gt;
{{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 ''&amp;quot;crosshair&amp;quot;'' component is hidden with [[setPlayerHudComponentVisible]]. If you need checking use [[isPlayerHudComponentVisible]].}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool isPlayerCrosshairVisible()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Return=&lt;br /&gt;
'''True'''true  if the crosshair is visible. &lt;br /&gt;
'''False''' if the crosshair is not visible.&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
function aim()&lt;br /&gt;
    if isPlayerCrosshairVisible() then&lt;br /&gt;
        outputChatBox(&amp;quot;your sight is visible&amp;quot;)&lt;br /&gt;
    else&lt;br /&gt;
        outputChatBox(&amp;quot;your crosshair is not visible&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;aimcheck&amp;quot;, aim)&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client player functions}}&lt;/div&gt;</summary>
		<author><name>Laxante101</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsPlayerCrosshairVisible&amp;diff=81453</id>
		<title>IsPlayerCrosshairVisible</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsPlayerCrosshairVisible&amp;diff=81453"/>
		<updated>2024-12-04T21:21:10Z</updated>

		<summary type="html">&lt;p&gt;Laxante101: /* Return */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0161|1.6.0|22751|This function checks if the local player has showing crosshair.}}&lt;br /&gt;
&lt;br /&gt;
{{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 ''&amp;quot;crosshair&amp;quot;'' component is hidden with [[setPlayerHudComponentVisible]]. If you need checking use [[isPlayerHudComponentVisible]].}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool isPlayerCrosshairVisible()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Return=&lt;br /&gt;
'''Texto em negrito'''true  if the crosshair is visible. &lt;br /&gt;
'''false''' if the crosshair is not visible.&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
function aim()&lt;br /&gt;
    if isPlayerCrosshairVisible() then&lt;br /&gt;
        outputChatBox(&amp;quot;your sight is visible&amp;quot;)&lt;br /&gt;
    else&lt;br /&gt;
        outputChatBox(&amp;quot;your crosshair is not visible&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;aimcheck&amp;quot;, aim)&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client player functions}}&lt;/div&gt;</summary>
		<author><name>Laxante101</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsPlayerCrosshairVisible&amp;diff=81452</id>
		<title>IsPlayerCrosshairVisible</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsPlayerCrosshairVisible&amp;diff=81452"/>
		<updated>2024-12-04T21:18:10Z</updated>

		<summary type="html">&lt;p&gt;Laxante101: /* Examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0161|1.6.0|22751|This function checks if the local player has showing crosshair.}}&lt;br /&gt;
&lt;br /&gt;
{{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 ''&amp;quot;crosshair&amp;quot;'' component is hidden with [[setPlayerHudComponentVisible]]. If you need checking use [[isPlayerHudComponentVisible]].}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool isPlayerCrosshairVisible()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Return=&lt;br /&gt;
a&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
function aim()&lt;br /&gt;
    if isPlayerCrosshairVisible() then&lt;br /&gt;
        outputChatBox(&amp;quot;your sight is visible&amp;quot;)&lt;br /&gt;
    else&lt;br /&gt;
        outputChatBox(&amp;quot;your crosshair is not visible&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;aimcheck&amp;quot;, aim)&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client player functions}}&lt;/div&gt;</summary>
		<author><name>Laxante101</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsPlayerCrosshairVisible&amp;diff=81451</id>
		<title>IsPlayerCrosshairVisible</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsPlayerCrosshairVisible&amp;diff=81451"/>
		<updated>2024-12-04T21:17:41Z</updated>

		<summary type="html">&lt;p&gt;Laxante101: /* Syntax */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0161|1.6.0|22751|This function checks if the local player has showing crosshair.}}&lt;br /&gt;
&lt;br /&gt;
{{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 ''&amp;quot;crosshair&amp;quot;'' component is hidden with [[setPlayerHudComponentVisible]]. If you need checking use [[isPlayerHudComponentVisible]].}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool isPlayerCrosshairVisible()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Return=&lt;br /&gt;
a&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
function aim()&lt;br /&gt;
    if isPlayerCrosshairVisible() then&lt;br /&gt;
        outputChatBox(&amp;quot;your sight is visible&amp;quot;)&lt;br /&gt;
    else&lt;br /&gt;
        outputChatBox(&amp;quot;your crosshair is not visible&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;aimcheck&amp;quot;, aim)&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client player functions}}&lt;/div&gt;</summary>
		<author><name>Laxante101</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsPlayerCrosshairVisible&amp;diff=81450</id>
		<title>IsPlayerCrosshairVisible</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsPlayerCrosshairVisible&amp;diff=81450"/>
		<updated>2024-12-04T21:15:41Z</updated>

		<summary type="html">&lt;p&gt;Laxante101: /* Returns */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0161|1.6.0|22751|This function checks if the local player has showing crosshair.}}&lt;br /&gt;
&lt;br /&gt;
{{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 ''&amp;quot;crosshair&amp;quot;'' component is hidden with [[setPlayerHudComponentVisible]]. If you need checking use [[isPlayerHudComponentVisible]].}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool isPlayerCrosshairVisible()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
function aim()&lt;br /&gt;
    if isPlayerCrosshairVisible() then&lt;br /&gt;
        outputChatBox(&amp;quot;your sight is visible&amp;quot;)&lt;br /&gt;
    else&lt;br /&gt;
        outputChatBox(&amp;quot;your crosshair is not visible&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;aimcheck&amp;quot;, aim)&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client player functions}}&lt;/div&gt;</summary>
		<author><name>Laxante101</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsPlayerCrosshairVisible&amp;diff=81449</id>
		<title>IsPlayerCrosshairVisible</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsPlayerCrosshairVisible&amp;diff=81449"/>
		<updated>2024-12-04T21:15:14Z</updated>

		<summary type="html">&lt;p&gt;Laxante101: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0161|1.6.0|22751|This function checks if the local player has showing crosshair.}}&lt;br /&gt;
&lt;br /&gt;
{{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 ''&amp;quot;crosshair&amp;quot;'' component is hidden with [[setPlayerHudComponentVisible]]. If you need checking use [[isPlayerHudComponentVisible]].}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool isPlayerCrosshairVisible()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the player has the crosshair visible, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
function aim()&lt;br /&gt;
    if isPlayerCrosshairVisible() then&lt;br /&gt;
        outputChatBox(&amp;quot;your sight is visible&amp;quot;)&lt;br /&gt;
    else&lt;br /&gt;
        outputChatBox(&amp;quot;your crosshair is not visible&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;aimcheck&amp;quot;, aim)&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client player functions}}&lt;/div&gt;</summary>
		<author><name>Laxante101</name></author>
	</entry>
</feed>