MarkNativeAsOptional Function

Sets a native as optional, such that if it is unloaded, removed, or otherwise non-existent, the plugin will still work. Calling removed natives results in a run-time error.

void MarkNativeAsOptional(const char[] name)

Parameters

const char[] name

Native name.