Quote:
Originally Posted by grand.Theft.Otto
You should have this stock in the script:
pawn Код:
stock strtok(const string[], &idx) { new length = strlen(string); while ((idx < length) && (string[idx] <= ' ')) { idx++; } new offset = idx; new result[128]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = string[idx]; idx++; } result[idx - offset] = EOS; return result; }
Look for it, if it is not there or commented out, uncomment it or add the above one to the bottom of LAdmin.
I have no idea for the error "array must be indexed: (variable tmp3)"
|
PMG thanks dude!worked 100%! Rep for u+