Difference between revisions of "Template:Native"

From GTAMods Wiki
Jump to navigation Jump to search
Line 22: Line 22:
 
|rd      = <result value description>
 
|rd      = <result value description>
 
}}
 
}}
</pre></noinclude>
+
</pre>[[Category:Native functions (GTA V)]][[Category:Native functions (GTA IV)]]</noinclude>
[[Category:Native functions (GTA V)]][[Category:Native functions (GTA IV)]][[Category:Native functions]]
+
[[Category:Native functions]]

Revision as of 20:36, 18 August 2014

Native
Number of parameters: {{{np}}}
Returned value:
Is present?TypeDescription
None
{{Native
|game     = <use 5 for GTA V's native; 4 for IV's (default)>
|noheader = <use 1 if you dont want a table header; otherwise 0>
|np       = <number of parameters>
|p1t      = <parameter 1 type (integer, float, pointer, handle, boolean)
|p1d      = <parameter 1 description
|p2t      = <parameter 2 type (integer, float, pointer, handle, boolean)
|p2d      = <parameter 2 description
|<other parameters if there are ones>
|r        = <1 if function returns something, otherwise 0>
|rt       = <result value type> 
|rd       = <result value description>
}}