<?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=GanJaRuleZ</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=GanJaRuleZ"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/GanJaRuleZ"/>
	<updated>2026-05-21T23:40:42Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=FxAddGlass&amp;diff=29969</id>
		<title>FxAddGlass</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=FxAddGlass&amp;diff=29969"/>
		<updated>2012-04-16T11:18:05Z</updated>

		<summary type="html">&lt;p&gt;GanJaRuleZ: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
[[Image:Fxglass.png|thumb|200px|Glass]]&lt;br /&gt;
This function creates a glass particle effect.&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 fxAddGlass ( float posX, float posY, float posZ, [int colorR=255, int colorG=0, int colorB=0, int colorA=255, float scale=1.0, int count=1] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
* '''posX:''' A float representing the '''x''' position of the glass&lt;br /&gt;
* '''posY:''' A float representing the '''y''' position of the glass&lt;br /&gt;
* '''posZ:''' A float representing the '''z''' position of the glass&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
{{OptionalArg}}&lt;br /&gt;
*'''colorR, colorG, colorB, colorA:''' the color and alpha (transparency) of the glass effect.&lt;br /&gt;
* '''scale:''' A float representing the size of the particle effect, where '''1''' is the standard size.&lt;br /&gt;
* '''count:''' The density of the particle effect.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a true if the operation was successful, false otherwise. &lt;br /&gt;
&lt;br /&gt;
==Example 1==&lt;br /&gt;
This example shows you how to add a command to add glass effect.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function addGlassParticle(x,y,z,r,g,b,scale,count)&lt;br /&gt;
   fxAddGlass(x,y,z,r,g,b,scale,count)&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;addGlass&amp;quot;,addGlassParticle)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This example shows you how to add a glass effect to a map&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function addPG()&lt;br /&gt;
   fxAddGlass(0,0,0,134,231,231,1,random(30,40))&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onResourceStart&amp;quot;,getResourceRootElement(getThisResource(), addPG)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client Effects functions}}&lt;br /&gt;
[[Category:Needs_Example]]&lt;/div&gt;</summary>
		<author><name>GanJaRuleZ</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=FxAddGlass&amp;diff=29968</id>
		<title>FxAddGlass</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=FxAddGlass&amp;diff=29968"/>
		<updated>2012-04-16T11:14:35Z</updated>

		<summary type="html">&lt;p&gt;GanJaRuleZ: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
[[Image:Fxglass.png|thumb|200px|Glass]]&lt;br /&gt;
This function creates a glass particle effect.&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 fxAddGlass ( float posX, float posY, float posZ, [int colorR=255, int colorG=0, int colorB=0, int colorA=255, float scale=1.0, int count=1] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
* '''posX:''' A float representing the '''x''' position of the glass&lt;br /&gt;
* '''posY:''' A float representing the '''y''' position of the glass&lt;br /&gt;
* '''posZ:''' A float representing the '''z''' position of the glass&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
{{OptionalArg}}&lt;br /&gt;
*'''colorR, colorG, colorB, colorA:''' the color and alpha (transparency) of the glass effect.&lt;br /&gt;
* '''scale:''' A float representing the size of the particle effect, where '''1''' is the standard size.&lt;br /&gt;
* '''count:''' The density of the particle effect.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a true if the operation was successful, false otherwise. &lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This page lacks an example&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function addGlassParticle(x,y,z,r,g,b,scale,count)&lt;br /&gt;
   fxAddGlass(x,y,z,r,g,b,scale,count)&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;addGlass&amp;quot;,addGlassParticle)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client Effects functions}}&lt;br /&gt;
[[Category:Needs_Example]]&lt;/div&gt;</summary>
		<author><name>GanJaRuleZ</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=FxAddGlass&amp;diff=29967</id>
		<title>FxAddGlass</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=FxAddGlass&amp;diff=29967"/>
		<updated>2012-04-16T11:13:54Z</updated>

		<summary type="html">&lt;p&gt;GanJaRuleZ: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
[[Image:Fxglass.png|thumb|200px|Glass]]&lt;br /&gt;
This function creates a glass particle effect.&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 fxAddGlass ( float posX, float posY, float posZ, [int colorR=255, int colorG=0, int colorB=0, int colorA=255, float scale=1.0, int count=1] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
* '''posX:''' A float representing the '''x''' position of the glass&lt;br /&gt;
* '''posY:''' A float representing the '''y''' position of the glass&lt;br /&gt;
* '''posZ:''' A float representing the '''z''' position of the glass&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
{{OptionalArg}}&lt;br /&gt;
*'''colorR, colorG, colorB, colorA:''' the color and alpha (transparency) of the glass effect.&lt;br /&gt;
* '''scale:''' A float representing the size of the particle effect, where '''1''' is the standard size.&lt;br /&gt;
* '''count:''' The density of the particle effect.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a true if the operation was successful, false otherwise. &lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This page lacks an example&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function addGlassParticle(x,y,z,r,g,b,scale,count)&lt;br /&gt;
fxAddGlass(x,y,z,r,g,b,scale,count)&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;addGlass&amp;quot;,addGlassParticle)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client Effects functions}}&lt;br /&gt;
[[Category:Needs_Example]]&lt;/div&gt;</summary>
		<author><name>GanJaRuleZ</name></author>
	</entry>
</feed>