SetNextMap Function

Sets SourceMod's internal nextmap. Equivalent to changing sm_nextmap but with an added validity check.

bool SetNextMap(const char[] map)

Parameters

const char[] map

Next map to set.

Return Value

True if the nextmap was set, false if map was invalid.