IsMapValid Function

Returns whether a map is valid or not.

bool IsMapValid(const char[] map)

Parameters

const char[] map

Map name, excluding .bsp extension.

Return Value

True if valid, false otherwise.