Page 1 of 1

Get table owner

Posted: 05 June 2020, 19:28
by LaszloK
Is there a way to identify the table owner (the player who created the table) in-game?

(If anyone is curious - I would use this to add training features such as the option to replay the exact same hand again. Ideally I would have the table owner decide on this.)

Re: Get table owner

Posted: 06 June 2020, 17:53
by Benoit314
There is a function called self::getTableAdminPlayerId(), I didn't try it, but maybe it returns the game owner ID.
Otherwise, I would check in the database, there could be a global variable used for this. Maybe the global variable with ID 5.