STRTOK help
#4

This is what i get
Код:
I:\Programfiler\Rockstar Games\GTA San Andreas\Server\gamemodes\Majatacker.pwn(1374) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Line 1335 - the last line
Код:
				if ( listitem > 5 ) return ShowPlayerDefaultDialog( playerid );

	  	  new
	    	  model_array[] = { 441, 464, 465, 501, 564, 594 };

				return CreatePlayerVehicle( playerid, model_array[ listitem ] );
			}
		}
	}
	return 0;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
	return 1;
}
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;
}
// ----------------------------------What to do--------------------------
// Teleport Menu
// More Races
// /carcolor
// Stunt maps
// Animations
// /vx
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: 2 Guest(s)