hardgame Posted April 14, 2012 Posted April 14, 2012 C:\Documents and Settings\Anton\Desktop\NvlSSSS\gamemodes\NVL.pwn(12620) : error 021: symbol already defined: "strtok"C:\Documents and Settings\Anton\Desktop\NvlSSSS\gamemodes\NVL.pwn(12635) : error 047: array sizes do not match, or destination array is too smallC:\Documents and Settings\Anton\Desktop\NvlSSSS\gamemodes\NVL.pwn(21591) : error 047: array sizes do not match, or destination array is too smallImi spuneti si mie va rog dece imi dau erorile astea cand compilez .. ?Eroarea a doua cu 12635 linia :[pawn] result[index - offset] = string[index]; index++; } result[index - offset] = EOS; return result;}[/pawn]Prima eroare [pawn]}strtok(const string[], &index){ new length = strlen(string); while ((index < length) && (string[index] <= ' ')) {[/pawn]Ultima eroare[pawn] new x_nr[64]; x_nr = strtok(cmdtext, idx); if(!strlen(x_nr)) {[/pawn]
Question
hardgame
C:\Documents and Settings\Anton\Desktop\NvlSSSS\gamemodes\NVL.pwn(12620) : error 021: symbol already defined: "strtok"
C:\Documents and Settings\Anton\Desktop\NvlSSSS\gamemodes\NVL.pwn(12635) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Anton\Desktop\NvlSSSS\gamemodes\NVL.pwn(21591) : error 047: array sizes do not match, or destination array is too small
Imi spuneti si mie va rog dece imi dau erorile astea cand compilez .. ?
Eroarea a doua cu 12635 linia :
[pawn] result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}[/pawn]
Prima eroare
[pawn]}
strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{[/pawn]
Ultima eroare
[pawn] new x_nr[64];
x_nr = strtok(cmdtext, idx);
if(!strlen(x_nr))
{[/pawn]
3 answers to this question
Recommended Posts