Heey immer wenn ich Compile kommen diese Errors:
C:\Users\Dominik Binder\Desktop\Server Backup\gamemodes\GNE.pwn(65) : error 017: undefined symbol "strlen"
C:\Users\Dominik Binder\Desktop\Server Backup\gamemodes\GNE.pwn(65) : warning 215: expression has no effect
C:\Users\Dominik Binder\Desktop\Server Backup\gamemodes\GNE.pwn(65) : error 001: expected token: ";", but found ")"
C:\Users\Dominik Binder\Desktop\Server Backup\gamemodes\GNE.pwn(65) : error 029: invalid expression, assumed zero
C:\Users\Dominik Binder\Desktop\Server Backup\gamemodes\GNE.pwn(65) : fatal error 107: too many error messages on one line
ich hoffe ihr wisst wieso...
strtok(const string[], &index)
{
new length = strlen(string);//Davon kommen die Errors
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;
}