ZDaemon ACS Extensions - ZD_GetGameInfo

ZD_GetGameInfo() function

This function will return certain game info depending on the 'info' integer that has been entered. The syntax is:
int ZD_GetGameInfo(int info)
    Depending on the 'info' integer entered it returns:
    
     0 ZD_GAMEINFO_SURVIVALRESET All players failed in Survival.
     1 ZD_GAMEINFO_IN_OVERTIME   Game is in overtime.
     2 ZD_GAMEINFO_IN_WARMUP     Warmup in Duel is active. Server only.
     3 ZD_GAMEINFO_IN_LOBBY      Game is in map00 and Lobby is active.
                                 Server only.

This function is similar to GetLevelInfo in that it will return an integer value.

In this case, a value of 0 or 1 will be returned depending on the 'info' integer that is entered.

The value of 0 or 1 will be the game state of whether the server as an example is in overtime.