Signature
public __reapi_version_check(const majorVersion, const minorVersion){ if(majorVersion != REAPI_VERSION_MAJOR) { new temp[512]; formatex(temp, sizeof temp - 1, "[ReAPI]: Api major version mismatch; expected %d, real %d", REAPI_VERSION_MAJOR, majorVersion); set_fail_state(temp); return; } if(minorVersion < REAPI_VERSION_MINOR) { new temp[512]; formatex(temp, sizeof temp - 1, "[ReAPI]: Api minor version mismatch; expected at least %d, real %d", REAPI_VERSION_MINOR, minorVersion); set_fail_state(temp); return; }}
Description
This is the callback from the module that gives major/minor versions for verifying compatibility for ReAPI versions.
If an AMXX plugin gets a failure, then you do need to upgrade to the latest version of the ReAPI module or update the files included for AMXX plugins.
Do not modify this!