03.07.2014, 16:22
I want to fix this error in my admin system pls help me.
Errors while compiling
Код:
#include <a_samp> #include <core> #include <float> #include <string> #include <file> #include <time> #include <a_players> #include <a_vehicles> #include <a_objects> #include <dini> #include <sscanf> #include <strlib>
Код:
strtok(const string[], &index) { new length = strlen(string); while ((index < length) && (string[index] <= ' ')) { index++; } new offset = index; new result[20]; while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string[index]; index++; } result[index - offset] = EOS; return result; }
Errors while compiling
Код:
F:\server\Cops and robbers\arjanzadmin.pwn(274) : error 021: symbol already defined: "strtok"