Hallo erhalte seit neuem diesen fehler:
C:\GTA SA MP\samp02Xserver.win32\gamemodes\xgf2.pwn(8744) : error 021: symbol already defined: "strtok"
C:\GTA SA MP\samp02Xserver.win32\gamemodes\xgf2.pwn(8758) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
Im script sieht das so aus...
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;
}
wARUM ?