<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.rage.mp/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=SilentNinja</id>
	<title>RAGE Multiplayer Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.rage.mp/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=SilentNinja"/>
	<link rel="alternate" type="text/html" href="https://wiki.rage.mp/wiki/Special:Contributions/SilentNinja"/>
	<updated>2026-06-04T11:13:10Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Ped::createPed&amp;diff=16962</id>
		<title>Ped::createPed</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Ped::createPed&amp;diff=16962"/>
		<updated>2019-02-23T15:21:53Z</updated>

		<summary type="html">&lt;p&gt;SilentNinja: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;-- OUTDATED --&lt;br /&gt;
&lt;br /&gt;
p7 - last parameter does not mean ped handle is returned&amp;lt;br&amp;gt;maybe a quick view in disassembly will tell us what is actually does&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;*Heading*: 0.0&amp;lt;br&amp;gt;*Heading* is the Z axis spawn rotation of the ped 0-&amp;amp;gt;5th parameter.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Ped Types:&amp;lt;br&amp;gt;[Player,1|Male,4|Female,5|Cop,6|Human,26|SWAT,27|Animal,28|Army,29]&amp;lt;br&amp;gt;You can also use GET_PED_TYPE&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;mp.game.ped.createPed(pedType, modelHash, x, y, z, heading, networkHandle, pedHandle);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Required Arguments ===&lt;br /&gt;
*&#039;&#039;&#039;pedType:&#039;&#039;&#039; int&lt;br /&gt;
*&#039;&#039;&#039;modelHash:&#039;&#039;&#039; Model hash or name&lt;br /&gt;
*&#039;&#039;&#039;x:&#039;&#039;&#039; float&lt;br /&gt;
*&#039;&#039;&#039;y:&#039;&#039;&#039; float&lt;br /&gt;
*&#039;&#039;&#039;z:&#039;&#039;&#039; float&lt;br /&gt;
*&#039;&#039;&#039;heading:&#039;&#039;&#039; float&lt;br /&gt;
*&#039;&#039;&#039;networkHandle:&#039;&#039;&#039; Boolean&lt;br /&gt;
*&#039;&#039;&#039;pedHandle:&#039;&#039;&#039; Boolean&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;Ped handle or object&#039;&#039;&#039;&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// todo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==See also==&lt;br /&gt;
{{Ped_s_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>SilentNinja</name></author>
	</entry>
</feed>