Zaključano

[POMOC] eror

Započeo Gandy
pre 11 godina
223
pregleda
8
postova
Ova tema je zaključana. Samo moderatori i administratori mogu odgovarati.
Gandy
Shot Caller
pre 11 godina
Skripta koju koristim:  moja od 0
Detaljan opis problema: error
Dio skripte: /
Neke slike/video za lakse dobivanje pomoci(neobavezno): /

Eror koji izbacuje (1227) : error 029: invalid expression, assumed zero

1225 strtok(const string[], &index) {
1226 new length = strlen(string);
1227 while ((index < length) && (string <= ' ')) } index++;
1228 new offset = index, result;
1229 while ((index < length) && (string > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string; index++; }
1230 result[index - offset] = EOS;
1231 return result; }
seiz
Enforcer
pre 11 godina
Taj error znaci da imas negde viska zagrada, zareza i slicno.
Gandy
Shot Caller
pre 11 godina
sve je to lepo samo je problem sto ne znam gde su te visak zagrade eto ti skripta pa vidi
strtok(const string[], &index) {
new length = strlen(string);
while ((index < length) && (string <= ' ')) } index++;
new offset = index, result;
while ((index < length) && (string > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string; index++; }
result[index - offset] = EOS;
return result; }
seiz
Enforcer
pre 11 godina
Stavi umesto tog ovako:
strtok(const string[], &index) {
new length = strlen(string);
while ((index < length) && (string < ' ')) } index++;
new offset = index, result;
while ((index < length) && (string > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string; index++; }
result[index - offset] = EOS;
return result; }
Gandy
Shot Caller
pre 11 godina
Seiz wrote on October 10, 2014, 3:40 pm:
Stavi umesto tog ovako:
strtok(const string[], &index) {
new length = strlen(string);
while ((index < length) && (string < ' ')) } index++;
new offset = index, result;
while ((index < length) && (string > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string; index++; }
result[index - offset] = EOS;
return result; }


isto
Gandy
Shot Caller
pre 11 godina
bump
seiz
Enforcer
pre 11 godina
Zameni sa ovim:
strtok(const string[], &index) {
new length = strlen(string);
while ((index < length) && (string < ' ')) index++;
new offset = index, result;
while ((index < length) && (string > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string; index++; }
result[index - offset] = EOS;
return result; }
Gandy
Shot Caller
pre 11 godina
reseno hvala brate

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava