GetRandomPlayer: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
player getRandomPlayer ( )
player getRandomPlayer ( )
</syntaxhighlight>
</syntaxhighlight>
{{OOP||[[Player]]:getRandom}}
{{OOP||[[Player]].getRandom}}
===Returns===
===Returns===
Returns a random [[player]], ''false'' if the server is empty.
Returns a random [[player]], ''false'' if the server is empty.
Line 19: Line 19:


==See Also==
==See Also==
{{Player functions}}
{{Player functions|server}}
[[pl:getRandomPlayer]]
[[pl:getRandomPlayer]]

Latest revision as of 22:42, 6 September 2024