GetMapTimeLimit Function

Retrieves the current map time limit. If the server has not processed any frames yet (i.e. no players have joined the map yet), then the time limit returned will always be 0.

bool GetMapTimeLimit(int& time)

Parameters

int& time

Set to the number of total seconds in the map time limit, or 0 if there is no time limit set.

Return Value

True on success, false if operation is not supported.