Page 1 of 1
How to define player who created a table?
Posted: 08 January 2017, 00:04
by stst
How to define player who created a table? I didn't find necessary field in 'player' table.
Re: How to define player who created a table?
Posted: 08 January 2017, 12:43
by stst
I found the solution of this problem. The method setupNewGame(initial setup of the game) has '$players' input parameter. This parameter is a associative array and one of element of array specifies administrator of table (table creator): ["player_is_admin"]=> string(1) "1" .