1.1 --- a/plugins/include/string.inc Sat Dec 30 07:23:17 2006 +0000
1.2 +++ b/plugins/include/string.inc Sat Dec 30 19:01:23 2006 +0000
1.3 @@ -57,9 +57,9 @@
1.4 * If false, comparison is case insensitive.
1.5 * @return True if equal, false otherwise.
1.6 */
1.7 -stock StrEqual(const String:str1[], const String:str2[], bool:caseSensitive=true)
1.8 +stock bool:StrEqual(const String:str1[], const String:str2[], bool:caseSensitive=true)
1.9 {
1.10 - return (StrCompare(str1, str2, caseSensitive));
1.11 + return (StrCompare(str1, str2, caseSensitive) == 0);
1.12 }
1.13
1.14 /**
1.15 @@ -107,5 +107,6 @@
1.16 * @param str Buffer to store string in.
1.17 * @param maxlength Maximum length of string buffer.
1.18 * @param num Floating point number to convert.
1.19 + * @return Number of cells written to buffer.
1.20 */
1.21 -native Float:FloatToString(String:str[], maxlength, Float:num);
1.22 +native FloatToString(String:str[], maxlength, Float:num);