[Help] Personal Messages command error
#5

Quote:
Originally Posted by aircombat
Посмотреть сообщение
this will fix it :
bottom of script :
Код:
stock strrest(const string[], &index)
{
	new length = strlen(string);
	while ((index < length) && (string[index] <= ' '))
	{
		index++;
	}
	new offset = index;
	new result[128];
	while ((index < length) && ((index - offset) < (sizeof(result) - 1)))
	{
		result[index - offset] = string[index];
		index++;
	}
	result[index - offset] = EOS;
	return result;
}
sry dont works for me, the compiler crashes whatever where I put that sh*t
Reply


Messages In This Thread
[Help] Personal Messages command error - by johnnyc - 26.04.2010, 21:35
Re: [Help] Personal Messages command error - by johnnyc - 27.04.2010, 11:22
Re: [Help] Personal Messages command error - by aircombat - 27.04.2010, 13:47
Re: [Help] Personal Messages command error - by johnnyc - 27.04.2010, 15:32
Re: [Help] Personal Messages command error - by xZacharias - 16.08.2010, 18:52

Forum Jump:


Users browsing this thread: 1 Guest(s)