|
mplay_session_status() |
|
No arguments
Very simple function, just returns the status of the session:
So, for example, if you want to change the host before leaving you can use this function to determine first if this game is the host, for example:
Example
The above example uses what the function returned to determine if the game is the host or not, and take action accordingly. Can’t be easier.
gml_josea – Revision #1 |