SetCommandFlags Function

Sets the bitstring of flags of a command.

bool SetCommandFlags(const char[] name, int flags)

Parameters

const char[] name

Name of the command.

int flags

A bitstring containing the FCVAR_* flags to enable.

Return Value

True on success, otherwise false.