STRTOK help
#1

Okey i need STRTOK but when i search all i see is put
Код:
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;
}
under your script.. jesus christ! Where is the "Under your Script" at the bottom or what? ... i really need it for /carcolor... and https://sampwiki.blast.hk/wiki/Strtok didnt help me this time D:
Reply


Messages In This Thread
STRTOK help - by Majataka - 25.02.2010, 22:06
Re: STRTOK help - by Torran - 25.02.2010, 22:06
Re: STRTOK help - by GaGlets(R) - 25.02.2010, 22:17
Re: STRTOK help - by Majataka - 26.02.2010, 08:52
Re: STRTOK help - by BlackFoX - 26.02.2010, 09:04
Re: STRTOK help - by Majataka - 26.02.2010, 09:28
Re: STRTOK help - by [LSR]State_Trooper - 26.02.2010, 09:31
Re: STRTOK help - by VonLeeuwen - 26.02.2010, 10:26
Re: STRTOK help - by DarkPower - 26.02.2010, 10:28
Re: STRTOK help - by BlackFoX - 26.02.2010, 10:30
Re: STRTOK help - by Correlli - 26.02.2010, 10:30
Re: STRTOK help - by Niixie - 26.02.2010, 10:31

Forum Jump:


Users browsing this thread: 1 Guest(s)