<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=SpawnObject</id>
		<title>SpawnObject - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=SpawnObject"/>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=SpawnObject&amp;action=history"/>
		<updated>2026-05-26T00:16:54Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.soldat.pl/index.php?title=SpawnObject&amp;diff=93&amp;oldid=prev</id>
		<title>Freeman: Created page with &quot;===From the Scripting Manual===  ''function SpawnObject(X, Y: single; ObjType: byte): integer;''    '''Parameter Info:'''   X (Single): X position that the object will spawn. ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=SpawnObject&amp;diff=93&amp;oldid=prev"/>
				<updated>2012-08-15T09:23:10Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;===From the Scripting Manual===  &amp;#039;&amp;#039;function SpawnObject(X, Y: single; ObjType: byte): integer;&amp;#039;&amp;#039;    &amp;#039;&amp;#039;&amp;#039;Parameter Info:&amp;#039;&amp;#039;&amp;#039;   X (Single): X position that the object will spawn. ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===From the Scripting Manual===&lt;br /&gt;
 ''function SpawnObject(X, Y: single; ObjType: byte): integer;''&lt;br /&gt;
 &lt;br /&gt;
 '''Parameter Info:'''&lt;br /&gt;
  X (Single): X position that the object will spawn.&lt;br /&gt;
  Y (Single): Y position that the object will spawn.&lt;br /&gt;
  ObjType (Byte): ID of the object to be spawned. See below for details&lt;br /&gt;
 &lt;br /&gt;
 '''Description:'''&lt;br /&gt;
  This function will spawn an object anywhere on the map; such as Medikits, Grenades, Weapons  (Dropped), and Bonuses.&lt;br /&gt;
  The integer returned is the object ID number, for use with KillObject.&lt;br /&gt;
 &lt;br /&gt;
 '''ObjType List:'''&lt;br /&gt;
  1        Desert Eagle&lt;br /&gt;
  2        HK MP5&lt;br /&gt;
  3        AK 74&lt;br /&gt;
  4        Steyr AUG&lt;br /&gt;
  5        Spas 12&lt;br /&gt;
  6        Ruger77&lt;br /&gt;
  7        M79&lt;br /&gt;
  8        Barrett M82A1&lt;br /&gt;
  9        Minimi&lt;br /&gt;
  10       Minigun&lt;br /&gt;
  11       USSOCOM&lt;br /&gt;
  12       Combat Knife&lt;br /&gt;
  13       Chainsaw&lt;br /&gt;
  14       LAW&lt;br /&gt;
  15       Stationary Gun&lt;br /&gt;
  16       Medical Kit&lt;br /&gt;
  17       Grenade Kit&lt;br /&gt;
  18       Flamer Kit&lt;br /&gt;
  19       Vest Kit&lt;br /&gt;
  20       Predator Kit&lt;br /&gt;
  21       Berserk Kit&lt;br /&gt;
  22       Cluster Kit&lt;br /&gt;
&lt;br /&gt;
==Examples== &lt;br /&gt;
&amp;lt;source lang=&amp;quot;pascal&amp;quot;&amp;gt;begin&lt;br /&gt;
    SpawnObject(GetPlayerStat(1,'x'),GetPlayerStat(1,'y'),19);&lt;br /&gt;
    // Will spawn a Vest Kit right above Player 1&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External Links==&lt;br /&gt;
* [http://enesce.com/help/index.html?Functions/SpawnObject.html Scripting Manual page for SpawnObject]&lt;br /&gt;
&lt;br /&gt;
[[Category:Server Scripting]][[Category:Server Scripting Functions]]&lt;/div&gt;</summary>
		<author><name>Freeman</name></author>	</entry>

	</feed>