SA-MP Forums Archive
[ERROR] Help whats wrong ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [ERROR] Help whats wrong ? (/showthread.php?tid=131961)



[ERROR] Help whats wrong ? - tony_fitto - 05.03.2010

Hey guys i have a huge problem here

Look at this error
Код:
error 021: symbol already defined: "strtok"
But the thing is that i dont have more the one of 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;
}



Re: [ERROR] Help whats wrong ? - [HiC]TheKiller - 05.03.2010

Then delete that function because it's probably already in one of your includes.


Re: [ERROR] Help whats wrong ? - tony_fitto - 06.03.2010

Quote:
Originally Posted by [HiC
TheKiller ]
Then delete that function because it's probably already in one of your includes.
Yeah well might bee but i think thats one part of an other error that i am trying to find out, but i never get it to work
You know anything about the ownable vehicles on LA:RP ? i have them in my own but i have a huge problem there.