<?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=MassiveStroke</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=MassiveStroke"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/MassiveStroke"/>
	<updated>2026-04-21T13:02:07Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=TR/ResetWaterColor&amp;diff=69560</id>
		<title>TR/ResetWaterColor</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=TR/ResetWaterColor&amp;diff=69560"/>
		<updated>2021-03-01T22:22:01Z</updated>

		<summary type="html">&lt;p&gt;MassiveStroke: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
Bu işlev GTA dünyasının su rengini varsayılan olarak ayarlar.&lt;br /&gt;
&lt;br /&gt;
==Sözdizimi==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool resetWaterColor ( )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
{{OOP||[[Water]].resetColor}}&lt;br /&gt;
&lt;br /&gt;
===Dönüş===&lt;br /&gt;
Su rengi doğru sıfırlandıysa ''true'', aksi takdirde ''false'' döndürür.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Örnek== &lt;br /&gt;
Bu örnek, bir oyuncunun su rengini sıfırlanabileceği bir ''resetwatercolor'' komutu ekler.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function changeWaterBackToNormal ()&lt;br /&gt;
    resetWaterColor ()&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;resetwatercolor&amp;quot;, changeWaterBackToNormal )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Bunlarada Bakabilirsiniz==&lt;br /&gt;
{{Client water functions}}&lt;/div&gt;</summary>
		<author><name>MassiveStroke</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=TR/ResetWaterColor&amp;diff=69559</id>
		<title>TR/ResetWaterColor</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=TR/ResetWaterColor&amp;diff=69559"/>
		<updated>2021-03-01T22:19:16Z</updated>

		<summary type="html">&lt;p&gt;MassiveStroke: ResetWaterColor Turkish Translate&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
Bu işlev GTA dünyasının su rengini varsayılan olarak ayarlar.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool resetWaterColor ( )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
{{OOP||[[Water]].resetColor}}&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Su rengi doğru sıfırlandıysa ''true'', aksi takdirde ''false'' döndürür.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
Bu örnek, bir oyuncunun su rengini sıfırlanabileceği bir ''resetwatercolor'' komutu ekler.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function changeWaterBackToNormal ()&lt;br /&gt;
    resetWaterColor ()&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;resetwatercolor&amp;quot;, changeWaterBackToNormal )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Bunlarada Bakabilirsiniz==&lt;br /&gt;
{{Client water functions}}&lt;/div&gt;</summary>
		<author><name>MassiveStroke</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=TR/ResetWaterColor&amp;diff=69558</id>
		<title>TR/ResetWaterColor</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=TR/ResetWaterColor&amp;diff=69558"/>
		<updated>2021-03-01T22:16:30Z</updated>

		<summary type="html">&lt;p&gt;MassiveStroke: ResetWaterColor Turkish Translate&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function reset the water color of the GTA world to default.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool resetWaterColor ( )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
{{OOP||[[Water]].resetColor}}&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if water color was reset correctly, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example adds a command ''resetwatercolor'' with which a player can reset the water colour.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function changeWaterBackToNormal ()&lt;br /&gt;
    resetWaterColor ()&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;resetwatercolor&amp;quot;, changeWaterBackToNormal )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client water functions}}&lt;/div&gt;</summary>
		<author><name>MassiveStroke</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=TR/OnClientPaste&amp;diff=68133</id>
		<title>TR/OnClientPaste</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=TR/OnClientPaste&amp;diff=68133"/>
		<updated>2020-12-30T17:33:28Z</updated>

		<summary type="html">&lt;p&gt;MassiveStroke: This English source Turkish language I have translated.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client event}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
Kullanıcı herhangi bir yapıştırma işlemi yapınca bu fonksiyon devreye girer. ('''CTRL + V'''). '''Eğer tarayıcıda veya konsolda imleç gözükmeyen yerlerde bu olay tetikleyici değildir.'''&lt;br /&gt;
&lt;br /&gt;
==Parametre==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string clipboardText&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* '''clipboardText''': panodan yapıştırılan değeri temsil eden bir [[string]].&lt;br /&gt;
&lt;br /&gt;
==Kaynak==&lt;br /&gt;
Bu [[event system#Event source|source]] kök kaynaklı [[root element]] olmaktadır.&lt;br /&gt;
&lt;br /&gt;
==Örnek== &lt;br /&gt;
Oyuncunun ne yapıştırdığını gösterir.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler(&amp;quot;onClientPaste&amp;quot;, root, function(text)&lt;br /&gt;
    outputChatBox(&amp;quot;Kopyalanmış Cümlen: &amp;quot;..text, 255,255,255)&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Bunlarada Bakabilirsin==&lt;br /&gt;
===Client event functions===&lt;br /&gt;
{{Client_event_functions}}&lt;/div&gt;</summary>
		<author><name>MassiveStroke</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=TR/GetRandomPlayer&amp;diff=68132</id>
		<title>TR/GetRandomPlayer</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=TR/GetRandomPlayer&amp;diff=68132"/>
		<updated>2020-12-30T12:59:45Z</updated>

		<summary type="html">&lt;p&gt;MassiveStroke: This English source Turkish language I have translated.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server function}}&lt;br /&gt;
Bu işlev rastgele bir [[player]] döndürür.&lt;br /&gt;
&lt;br /&gt;
==Kullanımı==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
player getRandomPlayer ( )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[Player]].getRandom}}&lt;br /&gt;
===Dönüş===&lt;br /&gt;
Eğer sunucuda [[player]] yok ise ''false'' döndürür.&lt;br /&gt;
==Örnek==&lt;br /&gt;
Bu kod rastgele bir oyuncunun adını döndürür.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local randomPlayer = getRandomPlayer ( ) &lt;br /&gt;
outputChatBox ( getPlayerName ( randomPlayer )..&amp;quot; Adlı oyuncu şanslı kişi!&amp;quot; )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Bunlarada Bakabilirsin==&lt;br /&gt;
{{Player functions}}&lt;br /&gt;
[[pl:getRandomPlayer]]&lt;/div&gt;</summary>
		<author><name>MassiveStroke</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=TR/GetElementAlpha&amp;diff=68120</id>
		<title>TR/GetElementAlpha</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=TR/GetElementAlpha&amp;diff=68120"/>
		<updated>2020-12-29T22:08:04Z</updated>

		<summary type="html">&lt;p&gt;MassiveStroke: This English source Turkish language I have translated.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
Bu fonksiyon bir öğrenin saydamlık değerini döndürür. [[element|öğe]]. Bunlardan biri olabilir. [[player|oyuncu]], [[ped]], [[object|obje]], [[vehicle|araç]] or [[Element/Weapon|silah]].&lt;br /&gt;
&lt;br /&gt;
==Kullanımı==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int getElementAlpha ( element oyuncu )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[element|öğe]]:getAlpha|alpha|setElementAlpha}}&lt;br /&gt;
&lt;br /&gt;
===Gerekli Argümanlar===&lt;br /&gt;
*'''öğe:''' Saydamlığını çekeceğiniz [[element|öğe]] &lt;br /&gt;
&lt;br /&gt;
===Dönüşü===&lt;br /&gt;
Bir tamsayı döndürür (0-255; 0 = saydam) öğenin alfa veya geçersiz bağımsız değişkenler geçirildi, &amp;quot;false&amp;quot; belirtilen.&lt;br /&gt;
==Örnek==&lt;br /&gt;
&amp;lt;section name=&amp;quot;İstemci Taraflı Örnek&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Bu oyunda oyuncunun gizli olup olmadığını döndürür.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function gizlimiyim()&lt;br /&gt;
	if getElementAlpha(localPlayer) == 0 then&lt;br /&gt;
            outputChatBox(&amp;quot;Şuan görünmesin.&amp;quot;)&lt;br /&gt;
        else&lt;br /&gt;
            outputChatBox(&amp;quot;Şuan görünebilirsin.&amp;quot;)&lt;br /&gt;
        end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;gizlimiyim&amp;quot;, gizlimiyim)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
==Bunlarada Bakabilirsin==&lt;br /&gt;
{{Element functions}}&lt;/div&gt;</summary>
		<author><name>MassiveStroke</name></author>
	</entry>
</feed>