Salut am si eu o problema cand compilez gamemodul primesc erorile astea:
C:\Documents and Settings\Demogorgon666\Desktop\samp03\gamemodes\HGZ.pwn(10047) : error 021: symbol already defined: "strtok"
C:\Documents and Settings\Demogorgon666\Desktop\samp03\gamemodes\HGZ.pwn(10062) : error 047: array sizes do not match, or destination array is too small
Question
Slipknot
Salut am si eu o problema cand compilez gamemodul primesc erorile astea:
Linia:strtok(const string[], &index) { new length = strlen(string); while ((index < length) && (string[index] <= ' ')) { index++; } new offset = index; new result[50]; while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string[index]; index++; } result[index - offset] = EOS; return result; }Vrei ceva? [email protected]
4 answers to this question
Recommended Posts