Help me please :)
#1

Hello , i got the problem when i combine FS LuxAdmin in My Gamemode .
Here this error



error 017: undefined symbol "reason"
error 021: symbol already defined: "strtok"
error 047: array sizes do not match, or destination array is too small
Please help me thanks Before .
And Sory my bad english xD
Reply
#2

Show your #include's... which are on top of script..
This forum requires that you wait 120 seconds between posts. Please try again in 48 seconds.
Reply
#3

Put this at the bottom of your script.

Код:
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;
}
And #define reason at the top of your script.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)