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

Method BindToSourcemod

public/mms_sample_ext/stub_mm.cpp:83–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83void StubPlugin::BindToSourcemod()
84{
85 char error[256];
86
87 if (!SM_LoadExtension(error, sizeof(error)))
88 {
89 char message[512];
90 UTIL_Format(message, sizeof(message), "Could not load as a SourceMod extension: %s\n", error);
91 engine->LogPrint(message);
92 }
93}
94
95bool StubPlugin::Pause(char *error, size_t maxlen)
96{

Callers

nothing calls this directly

Calls 3

SM_LoadExtensionFunction · 0.85
LogPrintMethod · 0.80
UTIL_FormatFunction · 0.70

Tested by

no test coverage detected