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

Method FormatString

core/sourcemod.cpp:576–585  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

574}
575
576size_t SourceModBase::FormatString(char *buffer, size_t maxlength, IPluginContext *pContext, const cell_t *params, unsigned int param)
577{
578 char *fmt;
579
580 pContext->LocalToString(params[param], &fmt);
581
582 int lparam = ++param;
583
584 return logicore.atcprintf(buffer, maxlength, fmt, pContext, params, &lparam);
585}
586
587const char *SourceModBase::GetSourceModPath() const
588{

Callers 8

PrintToChatFunction · 0.45
PrintCenterTextFunction · 0.45
PrintHintTextFunction · 0.45
sm_ServerCommandExFunction · 0.45
FakeClientCommandExFunction · 0.45
ShowSyncHudTextFunction · 0.45
ShowHudTextFunction · 0.45
TranslateFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected