MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / SetNextMap

Method SetNextMap

core/NextMap.cpp:100–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100bool NextMapManager::SetNextMap(const char *map)
101{
102 if (!g_HL2.IsMapValid(map))
103 {
104 return false;
105 }
106
107 sm_nextmap.SetValue(map);
108
109 return true;
110}
111
112static char g_nextMap[PLATFORM_MAX_PATH];
113

Callers 1

sm_SetNextMapFunction · 0.80

Calls 2

IsMapValidMethod · 0.80
SetValueMethod · 0.80

Tested by

no test coverage detected