GetNextMap Function

Returns SourceMod's internal nextmap.

bool GetNextMap(char[] map, int maxlen)

Parameters

char[] map

Buffer to store the nextmap name.

int maxlen

Maximum length of the map buffer.

Return Value

True if a Map was found and copied, false if no nextmap is set (map will be unchanged).