GetMapTimeLeft

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

Returns an estimate of the time left before the map ends. If the server has not processed any frames yet (i.e. no players have joined the map yet), then the time left returned will always be infinite.

native bool GetMapTimeLeft(int& timeleft)

Parameters

int& timeleft
Variable to store the time, in seconds. If the value is less than 0, the time limit is infinite.

Return Value

bool True if the operation is supported, false otherwise.