[Ajuda] Como arrumar estes arros
#1

admin.pwn(1870) : error 021: symbol already defined: "strtok"
admin.pwn(1884) : error 047: array sizes do not match, or destination array is too small

Код:
     strtok(const string[], &index)
linha:1870 {
	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;
linha: 1884	return result;
}
Reply


Messages In This Thread
Como arrumar estes arros - by Linux17 - 04.05.2017, 18:32
Re: Como arrumar estes arros - by CZ - 04.05.2017, 18:55
Respuesta: Re: Como arrumar estes arros - by Linux17 - 04.05.2017, 19:05
Re: Como arrumar estes arros - by LosHermanos - 04.05.2017, 19:21
Re: Respuesta: Re: Como arrumar estes arros - by CZ - 04.05.2017, 20:02

Forum Jump:


Users browsing this thread: 1 Guest(s)