evandrocoan / MultiModServer

It is a Multi-Mod plugin's configurations for Amx Mod X - https://forums.alliedmods.net/showthread.php?t=273018
GNU General Public License v3.0
17 stars 17 forks source link

Compiling error with this plugin using git-5132 #76

Closed evandrocoan closed 7 years ago

evandrocoan commented 7 years ago

[QUOTE=Ricky;2540976]I am getting this compiling error with this plugin using git-5132. Need help.

Invalid function or declaration. Tag mismatch on line 11123.

Code:

[CODE]return strcmp( map1, map2, 1 );[/CODE][/QUOTE]

https://forums.alliedmods.net/showpost.php?p=2540976&postcount=826

regener commented 7 years ago

This is caused by the change in string.inc: Before it was an integer: native strcmp(const string1[], const string2[], ignorecase=0); Now it is a boolean: native strcmp(const string1[], const string2[], bool:ignorecase = false);

So you have to simply change the "1" to "true": return strcmp( map1, map2, true ); Yet both older and new version compiles successfully, but I don't know what value will the older compilers read from a word instead a number.