Template:OOP: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
<div style="border: 1px solid #AFAFAF; border-right: 5px dotted #AFAFAF; background: #FFFF99; float: right; width: 400px; padding: 3px; margin: 5px; margin-right: 0px;">
<div style="border: 1px solid #AFAFAF; border-right: 5px dotted #AFAFAF; background: #FFFF99; float: right; width: 400px; padding: 3px; margin: 5px; margin-right: 0px;">
<u>'''OOP Syntax'''</u>
<u>'''OOP Syntax'''</u>
 
{{#if: {{{1|}}} |: Note: {{{1}}}|}}
{{#if: {{{1|}}} |: Note: {{{1}}}</br>|}}
{{#if: {{{2|}}} |: Name: {{{2}}}|}}
{{#if: {{{2|}}} |: Name: {{{2}}}</br>|}}
{{#if: {{{3|}}} |: Variable: '''{{{3}}}''|}}
{{#if: {{{3|}}} |: Variable: '''{{{3}}}'''</br>|}}
{{#if: {{{4|}}} |: Pair: [[{{{4}}}]]|}}</div></includeonly><noinclude>
{{#if: {{{4|}}} |: Pair: [[{{{4}}}]]</br>|}}</div></includeonly><noinclude>
{{OOP|This function has been dropped in favour of [[setPlayerHudComponentVisible]] | getRandom() | .random | isPlayerHudComponentVisible}}
{{OOP|This function has been dropped in favour of [[setPlayerHudComponentVisible]] | getRandom() | .random | isPlayerHudComponentVisible}}
</noinclude>
</noinclude>

Revision as of 13:41, 6 June 2014


OOP Syntax

Note: This function has been dropped in favour of setPlayerHudComponentVisible
Name: getRandom()
Variable: ' .random
Pair: isPlayerHudComponentVisible