TheDanutzelu Posted June 29, 2011 Posted June 29, 2011 D:\Easy DeAMX\Easy DeAMX\Createclan.pwn(10) : warning 217: loose indentationD:\Easy DeAMX\Easy DeAMX\Createclan.pwn(15) : error 017: undefined symbol "bigstrtok"D:\Easy DeAMX\Easy DeAMX\Createclan.pwn(24) : error 030: compound statement not closed at the end of file (started at line 12)Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase2 Errors.
shaun Posted June 29, 2011 Posted June 29, 2011 Da-ne liniile... de unde vrei sa stim noi cum sa ti le reparam? .... da-le azi nu maine ca yo plec ) CHECK MY CHANNEL!http://www.youtube.com/user/amysoica
IstuntmanI Posted June 29, 2011 Posted June 29, 2011 Prima eroare, pune sus in script:#pragma tabsize 0 A 2-a eroare, pune asta undeva in script: bigstrtok(const stringstrtok[], &index) { new length = strlen(stringstrtok); while ((index < length) && (stringstrtok[index] <= ' ')) { index++; } new offset = index, result[20]; while ((index < length) && (stringstrtok[index] > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = stringstrtok[index]; index++; } result[index - offset] = EOS; return result; } A treia eroare, nu ai inchis undeva o #if defined ... se inchide cu #endifEDIT: Cookie, daca pleci asta e, NU NE PASA, il ajuta altcineva, spre exemplu: eu !EDIT2: AcSy, daca nu stii, nu te baga, nu e bine ce ai zis.
AcSy Posted June 29, 2011 Posted June 29, 2011 Baga asta in GM pentru prima eroare :strtok(const string[], &index) { 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; return result; }Nu este definit strtok. Iar la a doua eroare posibil sa fie o paranteza uitata deschisa . Believe in yourself !
Question
TheDanutzelu
D:\Easy DeAMX\Easy DeAMX\Createclan.pwn(10) : warning 217: loose indentation
D:\Easy DeAMX\Easy DeAMX\Createclan.pwn(15) : error 017: undefined symbol "bigstrtok"
D:\Easy DeAMX\Easy DeAMX\Createclan.pwn(24) : error 030: compound statement not closed at the end of file (started at line 12)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
3 answers to this question
Recommended Posts