02.07.2015, 18:31
Код:
(2987) : error 021: symbol already defined: "StripNewLine"
#include <F_AntiCheat>
then i got error
(2987) : error 021: symbol already defined: "StripNewLine"
stock StripNewLine(string[]) line 2987 ------------ > { new len = strlen(string); // Get the length of the given string if (string[0] == 0) return ; // If the given string is empty, exit the function if ((string[len - 1] == '\n') || (string[len - 1] == '\r')) // If the string ends with \n or \r { string[len - 1] = 0; // Replace the \n or \r with a 0 character if (string[0]==0) return ; // If the string became empty, exit the function if ((string[len - 2] == '\n') || (string[len - 2] == '\r')) // Check again if the string ends with \n or \r string[len - 2] = 0; // Replace the \n or \r again with a 0 character } } |