[POMOC] eror

Započeo Gandy
10. Okt. 2014. Zaključano
241
pregleda
8
postova
Gandy
4
Shot Caller
10. Okt. 2014.
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
4
Enforcer
10. Okt. 2014.
Taj error znaci da imas negde viska zagrada, zareza i slicno.
Gandy
4
Shot Caller
10. Okt. 2014.
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
4
Enforcer
10. Okt. 2014.
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
4
Shot Caller
10. Okt. 2014.
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
4
Shot Caller
10. Okt. 2014.
bump
seiz
4
Enforcer
10. Okt. 2014.
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
4
Shot Caller
10. Okt. 2014.
reseno hvala brate

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha