GetCommandOverride Function

Returns a command override.

bool GetCommandOverride(const char[] cmd, OverrideType type, int& flags)

Parameters

const char[] cmd

String containing command name (case sensitive).

OverrideType type

Override type (specific command or group).

int& flags

By-reference cell to store the flag (undefined if not found).

Return Value

True if there is an override, false otherwise.