Detaljan opis problema:Nznm dodju mi ova 2 errora
Dio skripte: /
Neke slike/video za lakse dobivanje pomoci(neobavezno): /
C:\Users\USER\Desktop\SAMP Server\gamemodes\untrp.pwn(17606) : error 021: symbol already defined: "strtok"
C:\Users\USER\Desktop\SAMP Server\gamemodes\untrp.pwn(17621) : 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.
eo ovo je kod cijeli al su tu ova dva errora
strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string <= ' '))
{
index++;
}
new offset = index;
new result;
while ((index < length) && (string > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string;
index++;
}
result[index - offset] = EOS;
return result;
}