GetMapTimeLimit

Last Updated2007-09-23
Created At2007-09-13

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.

native 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

bool True on success, false if operation is not supported.