27.09.2009, 20:36
C:\Users\brian d to the j\Desktop\workin on parno\pTc0.1x.pwn(1199) : warning 219: local variable "string" shadows a variable at a preceding level on this not sure wat is causing it
Код:
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;
}

