[POMOC] Errori

Započeo MaTTaTa, Mart 28, 2011, 14:31:45 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: gtarp

Opis problema: Pate me errori

C:\Documents and Settings\RaKuN\Desktop\Ra[K]uN\SAMP\SAMP modovi\gtarp\gamemodes\CroPletex.pwn(11499) : error 021: symbol already defined: "strtok"
C:\Documents and Settings\RaKuN\Desktop\Ra[K]uN\SAMP\SAMP modovi\gtarp\gamemodes\CroPletex.pwn(11514) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RaKuN\Desktop\Ra[K]uN\SAMP\SAMP modovi\gtarp\gamemodes\CroPletex.pwn(19667) : warning 219: local variable "mod" shadows a variable at a preceding level



Dio skripte:
Citatstrtok(const string[], &index)
redak 11499 {
   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;
redak 11514   return result;
}


Citatredak 19667   new mod = 100;

Slika ili video: //




Obrisi to..
Poslednja Izmena: Mart 28, 2011, 15:03:18 POSLE PODNE od Aleksandar


Obrisem to ali kada obrisem red 19667 pojavi se jos vise errora