RequireFeature Function

Requires that a given feature is available. If it is not, SetFailState() is called with the given message.

void RequireFeature(FeatureType type, const char[] name, const char[] fmt, any... ...)

Parameters

FeatureType type

Feature type.

const char[] name

Feature name.

const char[] fmt

Message format string, or empty to use default.

any... ...

Message format parameters, if any.