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

Function SetCommandFlags

core/smn_console.cpp:1117–1123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1115}
1116
1117static cell_t SetCommandFlags(IPluginContext *pContext, const cell_t *params)
1118{
1119 char *name;
1120 pContext->LocalToString(params[1], &name);
1121
1122 return (s_CommandFlagsHelper.SetFlags(name, params[2])) ? 1 : 0;
1123}
1124
1125static cell_t GetCommandFlags(IPluginContext *pContext, const cell_t *params)
1126{

Callers

nothing calls this directly

Calls 1

SetFlagsMethod · 0.80

Tested by

no test coverage detected