Difference between revisions of "Controller:getPlayers"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Returns table with controller IDs.
 
Returns table with controller IDs.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(table) = Controller:getPlayers()
 
(table) = Controller:getPlayers()
 
</source>
 
</source>

Revision as of 15:26, 13 July 2023

Available since: Gideros 2014.01
Class: Controller

Description

Returns table with controller IDs. <syntaxhighlight lang="lua"> (table) = Controller:getPlayers() </source>

Return values

Returns (table) indexed table with controller ids as values