tag mismatch
#1

nvm fixed i put a { the by accendent
Reply
#2

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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)