GetCommandFlags Function

Returns the bitstring of flags of a command.

int GetCommandFlags(const char[] name)

Parameters

const char[] name

Name of the command.

Return Value

A bitstring containing the FCVAR_* flags that are enabled or INVALID_FCVAR_FLAGS if command not found.