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

Function SM_ExecuteConfigFile

core/CoreConfig.cpp:471–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

469}
470
471inline void SM_ExecuteConfigFile(const char *file)
472{
473 char cmd[255];
474 ke::SafeSprintf(cmd, sizeof(cmd), "exec %s\n", file);
475 engine->ServerCommand(cmd);
476}
477
478bool SM_GenerateConfigFile(
479 IPlugin *pl,

Callers 1

SM_ExecuteConfigFunction · 0.85

Calls 1

ServerCommandMethod · 0.45

Tested by

no test coverage detected