<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.gtaconnected.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Stepbro</id>
	<title>GTA Connected - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.gtaconnected.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Stepbro"/>
	<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/Special:Contributions/Stepbro"/>
	<updated>2026-05-12T07:01:34Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.15</generator>
	<entry>
		<id>https://wiki.gtaconnected.com/wiki/index.php?title=triggerNetworkEvent&amp;diff=11091</id>
		<title>triggerNetworkEvent</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=triggerNetworkEvent&amp;diff=11091"/>
		<updated>2025-04-25T09:41:16Z</updated>

		<summary type="html">&lt;p&gt;Stepbro: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ScriptItem&lt;br /&gt;
|offline = false&lt;br /&gt;
|endpoint = shared&lt;br /&gt;
|type = function&lt;br /&gt;
|name = triggerNetworkEvent&lt;br /&gt;
|usage = trigger a custom network event&lt;br /&gt;
|parametersSS = string networkEventName, null or Client client, [ ... ]&lt;br /&gt;
|parametersCS = string networkEventName, [ ... ]&lt;br /&gt;
|parameter1 = string networkEventName The name of the network event, case-insensitive.&lt;br /&gt;
|parameter2 = Client client Can be null. The client to trigger the network event for.&lt;br /&gt;
|parameter3 = vararg ... optional n/a Arguments to send to the scripting functions that are bound to the network event.&lt;br /&gt;
|callbackParametersSS = Client client, ...&lt;br /&gt;
|callbackParametersCS = ...&lt;br /&gt;
|return1 = void&lt;br /&gt;
|returnFail1 = void&lt;br /&gt;
|notes = When used in a server script, use null to send the event to all clients or specify a client object. See [[Shared/Functions/Network/addNetworkHandler|addNetworkHandler]] for information regarding custom event handler functions.&amp;lt;br&amp;gt;Passing &amp;lt;code&amp;gt;vararg&amp;lt;/code&amp;gt; arguments that are not default types of GTA:C, the function will fail.&lt;br /&gt;
|exampleJSSS = function makeCivilianWalkToPos(civilian, x, y, z) {&lt;br /&gt;
    triggerNetworkEvent(&amp;quot;walkToPos&amp;quot;, null, civilian, x, y);&lt;br /&gt;
}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Stepbro</name></author>
	</entry>
	<entry>
		<id>https://wiki.gtaconnected.com/wiki/index.php?title=triggerNetworkEvent&amp;diff=11090</id>
		<title>triggerNetworkEvent</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=triggerNetworkEvent&amp;diff=11090"/>
		<updated>2025-04-25T02:56:06Z</updated>

		<summary type="html">&lt;p&gt;Stepbro: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ScriptItem&lt;br /&gt;
|offline = false&lt;br /&gt;
|endpoint = shared&lt;br /&gt;
|type = function&lt;br /&gt;
|name = triggerNetworkEvent&lt;br /&gt;
|usage = trigger a custom network event&lt;br /&gt;
|parametersSS = string networkEventName, null or Client client, [ ... ]&lt;br /&gt;
|parametersCS = string networkEventName, [ ... ]&lt;br /&gt;
|parameter1 = string networkEventName The name of the network event, case-insensitive.&lt;br /&gt;
|parameter2 = Client client Can be null. The client to trigger the network event for.&lt;br /&gt;
|parameter3 = vararg ... optional n/a Arguments to send to the scripting functions that are bound to the network event.&lt;br /&gt;
|callbackParametersSS = Client client, ...&lt;br /&gt;
|callbackParametersCS = ...&lt;br /&gt;
|return1 = void&lt;br /&gt;
|returnFail1 = void&lt;br /&gt;
|notes = When used in a server script, use null to send the event to all clients or specify a client object. See [[Shared/Functions/Network/addNetworkHandler|addNetworkHandler]] for information regarding custom event handler functions. Passing &amp;lt;code&amp;gt;vararg&amp;lt;/code&amp;gt; arguments that are not default types of GTA:C, the function will fail.&lt;br /&gt;
|exampleJSSS = function makeCivilianWalkToPos(civilian, x, y, z) {&lt;br /&gt;
    triggerNetworkEvent(&amp;quot;walkToPos&amp;quot;, null, civilian, x, y);&lt;br /&gt;
}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Stepbro</name></author>
	</entry>
	<entry>
		<id>https://wiki.gtaconnected.com/wiki/index.php?title=triggerNetworkEvent&amp;diff=11089</id>
		<title>triggerNetworkEvent</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=triggerNetworkEvent&amp;diff=11089"/>
		<updated>2025-04-25T02:55:54Z</updated>

		<summary type="html">&lt;p&gt;Stepbro: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ScriptItem&lt;br /&gt;
|offline = false&lt;br /&gt;
|endpoint = shared&lt;br /&gt;
|type = function&lt;br /&gt;
|name = triggerNetworkEvent&lt;br /&gt;
|usage = trigger a custom network event&lt;br /&gt;
|parametersSS = string networkEventName, null or Client client, [ ... ]&lt;br /&gt;
|parametersCS = string networkEventName, [ ... ]&lt;br /&gt;
|parameter1 = string networkEventName The name of the network event, case-insensitive.&lt;br /&gt;
|parameter2 = Client client Can be null. The client to trigger the network event for.&lt;br /&gt;
|parameter3 = vararg ... optional n/a Arguments to send to the scripting functions that are bound to the network event.&lt;br /&gt;
|callbackParametersSS = Client client, ...&lt;br /&gt;
|callbackParametersCS = ...&lt;br /&gt;
|return1 = void&lt;br /&gt;
|returnFail1 = void&lt;br /&gt;
|notes = When used in a server script, use null to send the event to all clients or specify a client object. See [[Shared/Functions/Network/addNetworkHandler|addNetworkHandler]] for information regarding custom event handler functions. &lt;br /&gt;
* Passing &amp;lt;code&amp;gt;vararg&amp;lt;/code&amp;gt; arguments that are not default types of GTA:C, the function will fail.&lt;br /&gt;
|exampleJSSS = function makeCivilianWalkToPos(civilian, x, y, z) {&lt;br /&gt;
    triggerNetworkEvent(&amp;quot;walkToPos&amp;quot;, null, civilian, x, y);&lt;br /&gt;
}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Stepbro</name></author>
	</entry>
	<entry>
		<id>https://wiki.gtaconnected.com/wiki/index.php?title=triggerNetworkEvent&amp;diff=11088</id>
		<title>triggerNetworkEvent</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=triggerNetworkEvent&amp;diff=11088"/>
		<updated>2025-04-25T02:55:41Z</updated>

		<summary type="html">&lt;p&gt;Stepbro: Trying bullet points as stated by MediaWiki&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ScriptItem&lt;br /&gt;
|offline = false&lt;br /&gt;
|endpoint = shared&lt;br /&gt;
|type = function&lt;br /&gt;
|name = triggerNetworkEvent&lt;br /&gt;
|usage = trigger a custom network event&lt;br /&gt;
|parametersSS = string networkEventName, null or Client client, [ ... ]&lt;br /&gt;
|parametersCS = string networkEventName, [ ... ]&lt;br /&gt;
|parameter1 = string networkEventName The name of the network event, case-insensitive.&lt;br /&gt;
|parameter2 = Client client Can be null. The client to trigger the network event for.&lt;br /&gt;
|parameter3 = vararg ... optional n/a Arguments to send to the scripting functions that are bound to the network event.&lt;br /&gt;
|callbackParametersSS = Client client, ...&lt;br /&gt;
|callbackParametersCS = ...&lt;br /&gt;
|return1 = void&lt;br /&gt;
|returnFail1 = void&lt;br /&gt;
|notes = When used in a server script, use null to send the event to all clients or specify a client object. See [[Shared/Functions/Network/addNetworkHandler|addNetworkHandler]] for information regarding custom event handler functions. * Passing &amp;lt;code&amp;gt;vararg&amp;lt;/code&amp;gt; arguments that are not default types of GTA:C, the function will fail.&lt;br /&gt;
|exampleJSSS = function makeCivilianWalkToPos(civilian, x, y, z) {&lt;br /&gt;
    triggerNetworkEvent(&amp;quot;walkToPos&amp;quot;, null, civilian, x, y);&lt;br /&gt;
}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Stepbro</name></author>
	</entry>
	<entry>
		<id>https://wiki.gtaconnected.com/wiki/index.php?title=triggerNetworkEvent&amp;diff=11087</id>
		<title>triggerNetworkEvent</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=triggerNetworkEvent&amp;diff=11087"/>
		<updated>2025-04-25T02:52:33Z</updated>

		<summary type="html">&lt;p&gt;Stepbro: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ScriptItem&lt;br /&gt;
|offline = false&lt;br /&gt;
|endpoint = shared&lt;br /&gt;
|type = function&lt;br /&gt;
|name = triggerNetworkEvent&lt;br /&gt;
|usage = trigger a custom network event&lt;br /&gt;
|parametersSS = string networkEventName, null or Client client, [ ... ]&lt;br /&gt;
|parametersCS = string networkEventName, [ ... ]&lt;br /&gt;
|parameter1 = string networkEventName The name of the network event, case-insensitive.&lt;br /&gt;
|parameter2 = Client client Can be null. The client to trigger the network event for.&lt;br /&gt;
|parameter3 = vararg ... optional n/a Arguments to send to the scripting functions that are bound to the network event.&lt;br /&gt;
|callbackParametersSS = Client client, ...&lt;br /&gt;
|callbackParametersCS = ...&lt;br /&gt;
|return1 = void&lt;br /&gt;
|returnFail1 = void&lt;br /&gt;
|notes = When used in a server script, use null to send the event to all clients or specify a client object. See [[Shared/Functions/Network/addNetworkHandler|addNetworkHandler]] for information regarding custom event handler functions. Passing &amp;lt;code&amp;gt;vararg&amp;lt;/code&amp;gt; arguments that are not default types of GTA:C, the function will fail.&lt;br /&gt;
|exampleJSSS = function makeCivilianWalkToPos(civilian, x, y, z) {&lt;br /&gt;
    triggerNetworkEvent(&amp;quot;walkToPos&amp;quot;, null, civilian, x, y);&lt;br /&gt;
}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Stepbro</name></author>
	</entry>
	<entry>
		<id>https://wiki.gtaconnected.com/wiki/index.php?title=triggerNetworkEvent&amp;diff=11086</id>
		<title>triggerNetworkEvent</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=triggerNetworkEvent&amp;diff=11086"/>
		<updated>2025-04-25T02:52:09Z</updated>

		<summary type="html">&lt;p&gt;Stepbro: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ScriptItem&lt;br /&gt;
|offline = false&lt;br /&gt;
|endpoint = shared&lt;br /&gt;
|type = function&lt;br /&gt;
|name = triggerNetworkEvent&lt;br /&gt;
|usage = trigger a custom network event&lt;br /&gt;
|parametersSS = string networkEventName, null or Client client, [ ... ]&lt;br /&gt;
|parametersCS = string networkEventName, [ ... ]&lt;br /&gt;
|parameter1 = string networkEventName The name of the network event, case-insensitive.&lt;br /&gt;
|parameter2 = Client client Can be null. The client to trigger the network event for.&lt;br /&gt;
|parameter3 = vararg ... optional n/a Arguments to send to the scripting functions that are bound to the network event.&lt;br /&gt;
|callbackParametersSS = Client client, ...&lt;br /&gt;
|callbackParametersCS = ...&lt;br /&gt;
|return1 = void&lt;br /&gt;
|returnFail1 = void&lt;br /&gt;
|notes = When used in a server script, use null to send the event to all clients or specify a client object. See [[Shared/Functions/Network/addNetworkHandler|addNetworkHandler]] for information regarding custom event handler functions.\nPassing &amp;lt;code&amp;gt;vararg&amp;lt;/code&amp;gt; arguments that are not default types of GTA:C, the function will fail.&lt;br /&gt;
|exampleJSSS = function makeCivilianWalkToPos(civilian, x, y, z) {&lt;br /&gt;
    triggerNetworkEvent(&amp;quot;walkToPos&amp;quot;, null, civilian, x, y);&lt;br /&gt;
}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Stepbro</name></author>
	</entry>
	<entry>
		<id>https://wiki.gtaconnected.com/wiki/index.php?title=triggerNetworkEvent&amp;diff=11085</id>
		<title>triggerNetworkEvent</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=triggerNetworkEvent&amp;diff=11085"/>
		<updated>2025-04-25T02:51:47Z</updated>

		<summary type="html">&lt;p&gt;Stepbro: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ScriptItem&lt;br /&gt;
|offline = false&lt;br /&gt;
|endpoint = shared&lt;br /&gt;
|type = function&lt;br /&gt;
|name = triggerNetworkEvent&lt;br /&gt;
|usage = trigger a custom network event&lt;br /&gt;
|parametersSS = string networkEventName, null or Client client, [ ... ]&lt;br /&gt;
|parametersCS = string networkEventName, [ ... ]&lt;br /&gt;
|parameter1 = string networkEventName The name of the network event, case-insensitive.&lt;br /&gt;
|parameter2 = Client client Can be null. The client to trigger the network event for.&lt;br /&gt;
|parameter3 = vararg ... optional n/a Arguments to send to the scripting functions that are bound to the network event.&lt;br /&gt;
|callbackParametersSS = Client client, ...&lt;br /&gt;
|callbackParametersCS = ...&lt;br /&gt;
|return1 = void&lt;br /&gt;
|returnFail1 = void&lt;br /&gt;
|notes = When used in a server script, use null to send the event to all clients or specify a client object. See [[Shared/Functions/Network/addNetworkHandler|addNetworkHandler]] for information regarding custom event handler functions.&lt;br /&gt;
|notes = Passing &amp;lt;code&amp;gt;vararg&amp;lt;/code&amp;gt; arguments that are not default types of GTA:C, the function will fail.&lt;br /&gt;
|exampleJSSS = function makeCivilianWalkToPos(civilian, x, y, z) {&lt;br /&gt;
    triggerNetworkEvent(&amp;quot;walkToPos&amp;quot;, null, civilian, x, y);&lt;br /&gt;
}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Stepbro</name></author>
	</entry>
	<entry>
		<id>https://wiki.gtaconnected.com/wiki/index.php?title=triggerNetworkEvent&amp;diff=11084</id>
		<title>triggerNetworkEvent</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=triggerNetworkEvent&amp;diff=11084"/>
		<updated>2025-04-25T02:51:11Z</updated>

		<summary type="html">&lt;p&gt;Stepbro: Added note stating that as of 1.7.11, you can only pass through types provided by GTA:C for vararg arguments.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ScriptItem&lt;br /&gt;
|offline = false&lt;br /&gt;
|endpoint = shared&lt;br /&gt;
|type = function&lt;br /&gt;
|name = triggerNetworkEvent&lt;br /&gt;
|usage = trigger a custom network event&lt;br /&gt;
|parametersSS = string networkEventName, null or Client client, [ ... ]&lt;br /&gt;
|parametersCS = string networkEventName, [ ... ]&lt;br /&gt;
|parameter1 = string networkEventName The name of the network event, case-insensitive.&lt;br /&gt;
|parameter2 = Client client Can be null. The client to trigger the network event for.&lt;br /&gt;
|parameter3 = vararg ... optional n/a Arguments to send to the scripting functions that are bound to the network event.&lt;br /&gt;
|callbackParametersSS = Client client, ...&lt;br /&gt;
|callbackParametersCS = ...&lt;br /&gt;
|return1 = void&lt;br /&gt;
|returnFail1 = void&lt;br /&gt;
|notes = When used in a server script, use null to send the event to all clients or specify a client object. See [[Shared/Functions/Network/addNetworkHandler|addNetworkHandler]] for information regarding custom event handler functions.&lt;br /&gt;
Passing &amp;lt;code&amp;gt;vararg&amp;lt;/code&amp;gt; arguments that are not default types of GTA:C, the function will fail.&lt;br /&gt;
|exampleJSSS = function makeCivilianWalkToPos(civilian, x, y, z) {&lt;br /&gt;
    triggerNetworkEvent(&amp;quot;walkToPos&amp;quot;, null, civilian, x, y);&lt;br /&gt;
}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Stepbro</name></author>
	</entry>
	<entry>
		<id>https://wiki.gtaconnected.com/wiki/index.php?title=gta.createBlip&amp;diff=11083</id>
		<title>gta.createBlip</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=gta.createBlip&amp;diff=11083"/>
		<updated>2025-04-20T14:45:43Z</updated>

		<summary type="html">&lt;p&gt;Stepbro: Re-arranged parameters.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ScriptItem&lt;br /&gt;
|endpoint = shared&lt;br /&gt;
|type = function&lt;br /&gt;
|name = gta.createBlip&lt;br /&gt;
|usage = add a blip to the game&lt;br /&gt;
|parameters = Vec3 position, int icon, [ int size = 2, int colour = 0 ]&lt;br /&gt;
|parameter1 = Vec3 position The 3D position for the blip.&lt;br /&gt;
|parameter2 = int icon The icon ID for the blip.&lt;br /&gt;
|parameter3 = int size optional 2 The size for the blip.&lt;br /&gt;
|parameter4 = int colour optional 0 The colour for the blip.&lt;br /&gt;
|return1 = Blip The new blip object.&lt;br /&gt;
|returnFail1 = bool false&lt;br /&gt;
|bcMaxVersion = 1.0.71&lt;br /&gt;
|bcName = game.createBlip&lt;br /&gt;
|notes = [[Resources/GTA3/RadarBlips|III Radar Blips]]&amp;lt;br&amp;gt;&lt;br /&gt;
[[Resources/GTAVC/RadarBlips|VC Radar Blips]]&amp;lt;br&amp;gt;&lt;br /&gt;
[[Resources/GTASA/RadarBlips|SA Radar Blips]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Stepbro</name></author>
	</entry>
	<entry>
		<id>https://wiki.gtaconnected.com/wiki/index.php?title=Resources/GTA3/VehicleModels&amp;diff=11082</id>
		<title>Resources/GTA3/VehicleModels</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=Resources/GTA3/VehicleModels&amp;diff=11082"/>
		<updated>2025-04-19T14:02:55Z</updated>

		<summary type="html">&lt;p&gt;Stepbro: Added &amp;#039;Police&amp;#039; Car ID.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:GTA III - Vehicle Models}}&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;90 - LANDSTALKER&lt;br /&gt;
91 - IDAHO&lt;br /&gt;
92 - STINGER&lt;br /&gt;
93 - LINERUNNER&lt;br /&gt;
94 - PERENNIAL&lt;br /&gt;
95 - SENTINEL&lt;br /&gt;
96 - PATRIOT&lt;br /&gt;
97 - FIRE TRUCK&lt;br /&gt;
98 - TRASHMASTER&lt;br /&gt;
99 - STRETCH&lt;br /&gt;
100 - MANANA&lt;br /&gt;
101 - INFERNUS&lt;br /&gt;
102 - BLISTA&lt;br /&gt;
103 - PONY&lt;br /&gt;
104 - MULE&lt;br /&gt;
105 - CHEETAH&lt;br /&gt;
106 - AMBULANCE&lt;br /&gt;
107 - FBI CAR&lt;br /&gt;
108 - MOONBEAM&lt;br /&gt;
109 - ESPERANTO&lt;br /&gt;
110 - TAXI&lt;br /&gt;
111 - KURUMA&lt;br /&gt;
112 - BOBCAT&lt;br /&gt;
113 - MR. WHOOPEE&lt;br /&gt;
114 - BF INJECTION&lt;br /&gt;
115 - MANANA (CORPSE)&lt;br /&gt;
116 - POLICE&lt;br /&gt;
117 - ENFORCER&lt;br /&gt;
118 - SECURICAR&lt;br /&gt;
119 - BANSHEE&lt;br /&gt;
120 - PREDATOR&lt;br /&gt;
121 - BUS&lt;br /&gt;
122 - RHINO&lt;br /&gt;
123 - BARRACKS OL&lt;br /&gt;
124 - TRAIN&lt;br /&gt;
125 - POLICE HELICOPTER&lt;br /&gt;
126 - DODO&lt;br /&gt;
127 - COACH&lt;br /&gt;
128 - CABBIE&lt;br /&gt;
129 - STALLION&lt;br /&gt;
130 - RUMPO&lt;br /&gt;
131 - RC BANDIT&lt;br /&gt;
132 - BELLYUP&lt;br /&gt;
133 - MR. WONGS&lt;br /&gt;
134 - MAFIA SENTINEL&lt;br /&gt;
135 - YARDIE LOBO&lt;br /&gt;
136 - YAKUZA STINGER&lt;br /&gt;
137 - DIABLO STALLION&lt;br /&gt;
138 - CARTEL CRUISER&lt;br /&gt;
139 - HOODS RUMPO XL&lt;br /&gt;
140 - AIR TRAIN&lt;br /&gt;
141 - DEAD DODO&lt;br /&gt;
142 - SPEEDER&lt;br /&gt;
143 - REEFER&lt;br /&gt;
144 - PANLANTIC&lt;br /&gt;
145 - FLATBED&lt;br /&gt;
146 - YANKEE&lt;br /&gt;
147 - ESCAPE&lt;br /&gt;
148 - BORGNINE TAXI&lt;br /&gt;
149 - TOYZ VAN&lt;br /&gt;
150 - GHOST&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Stepbro</name></author>
	</entry>
	<entry>
		<id>https://wiki.gtaconnected.com/wiki/index.php?title=physical.affectedByGravity&amp;diff=11075</id>
		<title>physical.affectedByGravity</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=physical.affectedByGravity&amp;diff=11075"/>
		<updated>2025-04-12T02:52:11Z</updated>

		<summary type="html">&lt;p&gt;Stepbro: Adding information and trying to learn the current standard as to how information should be displayed/represented on the wiki.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ScriptItem&lt;br /&gt;
|endpoint = client&lt;br /&gt;
|type = property&lt;br /&gt;
|class = physical&lt;br /&gt;
|name = affectedByGravity&lt;br /&gt;
|readonly = false&lt;br /&gt;
|returnTypes = void&lt;br /&gt;
|usage = set the current entity to be affected by gravity. &lt;br /&gt;
|returnInfo = nothing. &lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Stepbro</name></author>
	</entry>
	<entry>
		<id>https://wiki.gtaconnected.com/wiki/index.php?title=ScriptingExamples/AddObject&amp;diff=11074</id>
		<title>ScriptingExamples/AddObject</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=ScriptingExamples/AddObject&amp;diff=11074"/>
		<updated>2025-04-09T02:22:27Z</updated>

		<summary type="html">&lt;p&gt;Stepbro: Removed &amp;#039;addToWorld()&amp;#039; function invoke as the webpage for &amp;#039;addToWorld()&amp;#039; (https://wiki.gtaconnected.com/addToWorld) states that it no longer needs to be invoked.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Add an Object}}&lt;br /&gt;
== Description ==&lt;br /&gt;
This code adds an object to the game when a player types &#039;&#039;&#039;/object model&#039;&#039;&#039; in-game.&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;model&#039;&#039;&#039; must be an integer representing an object model ID.&amp;lt;br&amp;gt;&lt;br /&gt;
Validation included in this code: Check that the player is spawned, and check that the player typed at least some text after the command name.&amp;lt;br&amp;gt;&lt;br /&gt;
Validation not included in this code: Check that the object model ID is valid.&lt;br /&gt;
&lt;br /&gt;
== Code ==&lt;br /&gt;
&#039;&#039;&#039;JavaScript, Server-Side&#039;&#039;&#039;&lt;br /&gt;
{{JSCode|1=addCommandHandler(&#039;object&#039;, function(command, parameters, client)&lt;br /&gt;
{&lt;br /&gt;
	if(!client.player)&lt;br /&gt;
	{&lt;br /&gt;
		messageClient(&#039;You must be spawned to spawn an object!&#039;, client);&lt;br /&gt;
	}&lt;br /&gt;
	else if(parameters.trim() == &#039;&#039;)&lt;br /&gt;
	{&lt;br /&gt;
		messageClient(&#039;You must type a model number! Command syntax: /object model&#039;, client);&lt;br /&gt;
	}&lt;br /&gt;
	else&lt;br /&gt;
	{&lt;br /&gt;
		var model = parseInt(parameters);&lt;br /&gt;
		var object = gta.createObject(model, client.player.position);&lt;br /&gt;
	}&lt;br /&gt;
});}}&lt;/div&gt;</summary>
		<author><name>Stepbro</name></author>
	</entry>
	<entry>
		<id>https://wiki.gtaconnected.com/wiki/index.php?title=ScriptingExamples/AddVehicle&amp;diff=11073</id>
		<title>ScriptingExamples/AddVehicle</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=ScriptingExamples/AddVehicle&amp;diff=11073"/>
		<updated>2025-04-09T02:22:06Z</updated>

		<summary type="html">&lt;p&gt;Stepbro: Removed &amp;#039;addToWorld()&amp;#039; function invoke as the webpage for &amp;#039;addToWorld()&amp;#039; (https://wiki.gtaconnected.com/addToWorld) states that it no longer needs to be invoked.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Add a Vehicle}}&lt;br /&gt;
== Description ==&lt;br /&gt;
This code adds a vehicle to the game when a player types &#039;&#039;&#039;/vehicle model&#039;&#039;&#039; in-game.&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;model&#039;&#039;&#039; must be an integer representing a vehicle model ID, this command example does not work with vehicle model names.&amp;lt;br&amp;gt;&lt;br /&gt;
Validation included in this code: Check that the player is spawned, and check that the player typed at least some text after the command name.&amp;lt;br&amp;gt;&lt;br /&gt;
Validation not included in this code: Check that the vehicle model ID is valid.&lt;br /&gt;
&lt;br /&gt;
== Code ==&lt;br /&gt;
&#039;&#039;&#039;JavaScript, Server-Side&#039;&#039;&#039;&lt;br /&gt;
{{JSCode|1=addCommandHandler(&#039;vehicle&#039;, function(command, parameters, client)&lt;br /&gt;
{&lt;br /&gt;
	if(!client.player)&lt;br /&gt;
	{&lt;br /&gt;
		messageClient(&#039;You must be spawned to spawn a vehicle!&#039;, client);&lt;br /&gt;
	}&lt;br /&gt;
	else if(parameters.trim() == &#039;&#039;)&lt;br /&gt;
	{&lt;br /&gt;
		messageClient(&#039;You must type a model number! Command syntax: /vehicle model&#039;, client);&lt;br /&gt;
	}&lt;br /&gt;
	else&lt;br /&gt;
	{&lt;br /&gt;
		var model = parseInt(parameters);&lt;br /&gt;
		var vehicle = gta.createVehicle(model, client.player.position);&lt;br /&gt;
	}&lt;br /&gt;
});}}&lt;/div&gt;</summary>
		<author><name>Stepbro</name></author>
	</entry>
	<entry>
		<id>https://wiki.gtaconnected.com/wiki/index.php?title=gta.createVehicle&amp;diff=11072</id>
		<title>gta.createVehicle</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=gta.createVehicle&amp;diff=11072"/>
		<updated>2025-04-09T02:20:53Z</updated>

		<summary type="html">&lt;p&gt;Stepbro: Removed &amp;#039;addToWorld()&amp;#039; function invoke as the webpage for &amp;#039;addToWorld()&amp;#039; (https://wiki.gtaconnected.com/addToWorld) states that it no longer needs to be invoked.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ScriptItem&lt;br /&gt;
|endpoint = shared&lt;br /&gt;
|type = function&lt;br /&gt;
|name = gta.createVehicle&lt;br /&gt;
|parametersSS = int model, Vec3 position&lt;br /&gt;
|parametersCS = int model, [ Vec3 position ]&lt;br /&gt;
|parameter1 = int model The vehicle model ID.&lt;br /&gt;
|parameter2 = Vec3 position optional Vec3(0.0, 0.0, 0.0) The position for the vehicle.&lt;br /&gt;
|return1 = Vehicle The vehicle handle.&lt;br /&gt;
|returnFail1 = null n/a&lt;br /&gt;
|usage = add a vehicle&lt;br /&gt;
|returnInfo = a handle to the vehicle&lt;br /&gt;
|bcMaxVersion = 1.0.71&lt;br /&gt;
|bcName = game.createVehicle&lt;br /&gt;
|notes = Use the [[addToWorld|addToWorld]] function afterwards to add the vehicle to the players games.&lt;br /&gt;
|exampleJSSS = addCommandHandler(&amp;quot;vehicle&amp;quot;, function(command, parameters, client) {&lt;br /&gt;
    var model = parseInt(parameters);&lt;br /&gt;
    var vehicle = gta.createVehicle(model, client.player.position);&lt;br /&gt;
});&lt;br /&gt;
|exampleJSCS = addCommandHandler(&amp;quot;vehicle&amp;quot;, function(command, parameters) {&lt;br /&gt;
    var model = parseInt(parameters);&lt;br /&gt;
    var vehicle = gta.createVehicle(model, localPlayer.position);&lt;br /&gt;
});&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Stepbro</name></author>
	</entry>
</feed>