<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.vc-mp.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Zeus</id>
	<title>Vice City Multiplayer - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.vc-mp.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Zeus"/>
	<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/wiki/Special:Contributions/Zeus"/>
	<updated>2026-04-29T03:04:58Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Events/GUI::ElementClick&amp;diff=20033</id>
		<title>Scripting/Squirrel/Client Events/GUI::ElementClick</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Client_Events/GUI::ElementClick&amp;diff=20033"/>
		<updated>2017-04-04T09:12:30Z</updated>

		<summary type="html">&lt;p&gt;Zeus: Fixed style!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;player - The instance.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* player&lt;br /&gt;
* GUIButton&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;function Script::ScriptLoad()&lt;br /&gt;
{&lt;br /&gt;
::Hello &amp;lt;- GUIButton(VectorScreen(400,380), VectorScreen(200, 22), Colour(75,75,75), &amp;quot;Press Here&amp;quot;, GUI_FLAG_BORDER | GUI_FLAG_VISIBLE);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function GUI::ElementClick(element, mouseX, mouseY)&lt;br /&gt;
{&lt;br /&gt;
if (element == Hello)&lt;br /&gt;
   {&lt;br /&gt;
   Console.Print(&amp;quot;Hello. welcome to VCMP&amp;quot;)&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
The event [http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Client_Events/GUI::ElementClick Script::ScriptLoad] and function [http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Client_Functions/Console::Print Console::Print] were used in in this example. More info about them in the corresponding pages.&lt;/div&gt;</summary>
		<author><name>Zeus</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Object.Delete&amp;diff=19931</id>
		<title>Scripting/Squirrel/Functions/Object.Delete</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Object.Delete&amp;diff=19931"/>
		<updated>2017-02-19T12:12:23Z</updated>

		<summary type="html">&lt;p&gt;Zeus: Minor change in info (create a pickup) to (create an object)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Object.Delete&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Object&#039;&#039;&#039; - The object instance.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
This example will create an object when the script loads and deletes it when it unloads.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;&lt;br /&gt;
function onScriptLoad()&lt;br /&gt;
{&lt;br /&gt;
   myObject &amp;lt;- CreateObject( 334, 1, Vector( -2261.12, 753.12, 211.123 ),255 );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function onScriptUnload()&lt;br /&gt;
{&lt;br /&gt;
   myObject.Delete();&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Object_Functions}}&lt;br /&gt;
[[Category:Scripting/Squirrel/Functions/Object_Functions]]&lt;/div&gt;</summary>
		<author><name>Zeus</name></author>
	</entry>
</feed>