Difference between revisions of "Template:Native"
Jump to navigation
Jump to search
(gta iv) |
(test) |
||
Line 7: | Line 7: | ||
{{#if: {{{p6d|}}}|<td>{{{p6d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p7t|}}}|<tr><td>Parameter 7</td>{{#if: {{{p7t|}}}|<td>{{{p7t}}}</td>|<td></td>}}{{#if: {{{p7d|}}}|<td>{{{p7d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p8t|}}}|<tr><td>Parameter 8</td>{{#if: {{{p8t|}}}|<td>{{{p8t}}}</td>|<td></td>}}{{#if: {{{p8d|}}}|<td>{{{p8d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p9t|}}}|<tr><td>Parameter 9</td>{{#if: {{{p9t|}}}|<td>{{{p9t}}}</td>|<td></td>}}{{#if: {{{p9d|}}}|<td>{{{p9d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p10t|}}}|<tr><td>Parameter 10</td>{{#if: {{{p10t|}}}|<td>{{{p10t}}}</td>|<td></td>}}{{#if: {{{p10d|}}}|<td>{{{p10d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p11t|}}}|<tr><td>Parameter 11</td>{{#if: {{{p11t|}}}|<td>{{{p11t}}}</td>|<td></td>}}{{#if: {{{p11d|}}}|<td>{{{p11d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p12t|}}}|<tr><td>Parameter 12</td>{{#if: {{{p12t|}}}|<td>{{{p12t}}}</td>|<td></td>}}{{#if: {{{p12d|}}}|<td>{{{p12d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p13t|}}}|<tr><td>Parameter 13</td>{{#if: {{{p13t|}}}|<td>{{{p13t}}}</td>|<td></td>}}{{#if: {{{p13d|}}}|<td>{{{p13d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p14t|}}}|<tr><td>Parameter 14</td>{{#if: {{{p14t|}}}|<td>{{{p14t}}}</td>|<td></td>}}{{#if: {{{p14d|}}}|<td>{{{p14d|}}}</td>|<td></td>}}</tr>}} | {{#if: {{{p6d|}}}|<td>{{{p6d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p7t|}}}|<tr><td>Parameter 7</td>{{#if: {{{p7t|}}}|<td>{{{p7t}}}</td>|<td></td>}}{{#if: {{{p7d|}}}|<td>{{{p7d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p8t|}}}|<tr><td>Parameter 8</td>{{#if: {{{p8t|}}}|<td>{{{p8t}}}</td>|<td></td>}}{{#if: {{{p8d|}}}|<td>{{{p8d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p9t|}}}|<tr><td>Parameter 9</td>{{#if: {{{p9t|}}}|<td>{{{p9t}}}</td>|<td></td>}}{{#if: {{{p9d|}}}|<td>{{{p9d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p10t|}}}|<tr><td>Parameter 10</td>{{#if: {{{p10t|}}}|<td>{{{p10t}}}</td>|<td></td>}}{{#if: {{{p10d|}}}|<td>{{{p10d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p11t|}}}|<tr><td>Parameter 11</td>{{#if: {{{p11t|}}}|<td>{{{p11t}}}</td>|<td></td>}}{{#if: {{{p11d|}}}|<td>{{{p11d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p12t|}}}|<tr><td>Parameter 12</td>{{#if: {{{p12t|}}}|<td>{{{p12t}}}</td>|<td></td>}}{{#if: {{{p12d|}}}|<td>{{{p12d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p13t|}}}|<tr><td>Parameter 13</td>{{#if: {{{p13t|}}}|<td>{{{p13t}}}</td>|<td></td>}}{{#if: {{{p13d|}}}|<td>{{{p13d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p14t|}}}|<tr><td>Parameter 14</td>{{#if: {{{p14t|}}}|<td>{{{p14t}}}</td>|<td></td>}}{{#if: {{{p14d|}}}|<td>{{{p14d|}}}</td>|<td></td>}}</tr>}} | ||
{{#if: {{{p15t|}}}|<tr><td>Parameter 15</td>{{#if: {{{p15t|}}}|<td>{{{p15t}}}</td>|<td></td>}}{{#if: {{{p15d|}}}|<td>{{{p15d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p16t|}}}|<tr><td>Parameter 16</td>{{#if: {{{p16t|}}}|<td>{{{p16t}}}</td>|<td></td>}}{{#if: {{{p16d|}}}|<td>{{{p16d|}}}</td>|<td></td>}}</tr>}}<tr><th colspan="3" align="center">Returned value:</th></tr><tr><th>Is present?</th><th>Type</th><th>Description</th></tr><tr>{{#ifexpr: {{{r|0}}}=1 | <td>Yes</td> | <td colspan="3">None</td>}}{{#if: {{{rt|}}}|<td>{{{rt}}}</td>|<td></td>}}{{#if: {{{rd|}}}|<td>{{{rd}}}</td>|<td></td>}}</tr></table> | {{#if: {{{p15t|}}}|<tr><td>Parameter 15</td>{{#if: {{{p15t|}}}|<td>{{{p15t}}}</td>|<td></td>}}{{#if: {{{p15d|}}}|<td>{{{p15d|}}}</td>|<td></td>}}</tr>}}{{#if: {{{p16t|}}}|<tr><td>Parameter 16</td>{{#if: {{{p16t|}}}|<td>{{{p16t}}}</td>|<td></td>}}{{#if: {{{p16d|}}}|<td>{{{p16d|}}}</td>|<td></td>}}</tr>}}<tr><th colspan="3" align="center">Returned value:</th></tr><tr><th>Is present?</th><th>Type</th><th>Description</th></tr><tr>{{#ifexpr: {{{r|0}}}=1 | <td>Yes</td> | <td colspan="3">None</td>}}{{#if: {{{rt|}}}|<td>{{{rt}}}</td>|<td></td>}}{{#if: {{{rd|}}}|<td>{{{rd}}}</td>|<td></td>}}</tr></table> | ||
+ | {{#ifexpr: {{{game|4}}}=5|[[Category:Native functions (GTA IV)]]|[[Category:Native functions (GTA V)]]}} | ||
<noinclude><pre> | <noinclude><pre> | ||
{{Native | {{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> | |noheader = <use 1 if you dont want a table header; otherwise 0> | ||
|np = <number of parameters> | |np = <number of parameters> | ||
Line 21: | Line 23: | ||
}} | }} | ||
</pre></noinclude> | </pre></noinclude> | ||
− | [[Category:Native functions | + | [[Category:Native functions]] |
Revision as of 20:28, 18 August 2014
Number of parameters: {{{np}}} | ||||
---|---|---|---|---|
Returned value: | ||||
Is present? | Type | Description | ||
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> }}