Započeo Gandy
•10. Okt. 2014.• Zaključano[POMOC] eror
262
pregleda
8
postova
Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
108
Postovi:
43
Teme:
Pridružio se:Apr. 2014
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; }
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; }
Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
108
Postovi:
43
Teme:
Pridružio se:Apr. 2014
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; }Enforcer
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
349
Postovi:
32
Teme:
Pridružio se:Dec. 2013
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; }Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
108
Postovi:
43
Teme:
Pridružio se:Apr. 2014
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
Enforcer
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
349
Postovi:
32
Teme:
Pridružio se:Dec. 2013
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; }Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava