Difference between revisions of "Template:Native"

From GTAMods Wiki
Jump to navigation Jump to search
Line 13: Line 13:
 
|noheader = <use 1 if you dont want a table header; otherwise 0>
 
|noheader = <use 1 if you dont want a table header; otherwise 0>
 
|np      = <number of parameters>
 
|np      = <number of parameters>
|p1t      = <parameter 1 type (integer, float, pointer, handle, boolean)
+
|p1t      = <parameter 1 type (integer, float, pointer, handle, boolean)>
|p1d      = <parameter 1 description
+
|p1d      = <parameter 1 description>
|p2t      = <parameter 2 type (integer, float, pointer, handle, boolean)
+
|p2t      = <parameter 2 type (integer, float, pointer, handle, boolean)>
|p2d      = <parameter 2 description
+
|p2d      = <parameter 2 description>
 
|<other parameters if there are ones>
 
|<other parameters if there are ones>
 
|r        = <1 if function returns something, otherwise 0>
 
|r        = <1 if function returns something, otherwise 0>

Revision as of 19:56, 21 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>
}}