hardgame Posted April 14, 2012 Report Share 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] Link to comment Share on other sites More sharing options...
hardgame Posted April 14, 2012 Author Report Share Posted April 14, 2012 Ma ajuta cineva va rog .. ? Link to comment Share on other sites More sharing options...
gunskill Posted April 14, 2012 Report Share Posted April 14, 2012 2x postschimba numele Link to comment Share on other sites More sharing options...
hardgame Posted April 14, 2012 Author Report Share Posted April 14, 2012 Nume schimbat.. ma ajutati ? Link to comment Share on other sites More sharing options...
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]
Link to comment
Share on other sites
3 answers to this question
Recommended Posts