CreateNative Function

Creates a dynamic native. This should only be called in AskPluginLoad(), or else you risk not having your native shared with other plugins.

void CreateNative(const char[] name, NativeCall func)

Parameters

const char[] name

Name of the dynamic native; must be unique among all other registered dynamic natives.

NativeCall func

Function to use as the dynamic native.