mirror of
https://github.com/rehlds/reapi.git
synced 2024-12-28 15:45:31 +03:00
Fix typo version
This commit is contained in:
parent
3714590434
commit
136efa87ab
@ -116,18 +116,18 @@ native SetHookChainArg(number, AType:type, any:...);
|
||||
*/
|
||||
public __reapi_version_check(const majorVersion, const minorVersion)
|
||||
{
|
||||
if (majorVersion != REAPI_VERISON_MAJOR)
|
||||
if (majorVersion != REAPI_VERSION_MAJOR)
|
||||
{
|
||||
new temp[512];
|
||||
formatex(temp, sizeof temp - 1, "[ReAPI]: Api major version mismatch; expected %d, real %d", REAPI_VERISON_MAJOR, majorVersion);
|
||||
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_VERISON_MINOR)
|
||||
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_VERISON_MINOR, minorVersion);
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user