errors
#1

HTML Code:
D:\GTA\samp03csvr_R5_win32\gamemodes\LVDM-Four.pwn(3476) : error 021: symbol already defined: "strtok"
D:\GTA\samp03csvr_R5_win32\gamemodes\LVDM-Four.pwn(3491) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
HTML Code:
3475 strtok(const string[], &index)
3476 {
3477	new length = strlen(string);
3478	while ((index < length) && (string[index] <= ' '))
3479	{
3480		index++;
3481	}
3482
3483	new offset = index;
3484	new result[20];
3485	while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
3486	{
3487		result[index - offset] = string[index];
3488		index++;
3789	}
3490	result[index - offset] = EOS;
3491	return result;
3492 }
Reply
#2

search in all your #include-d files. iam sure that one .inc already contains the strtok.
or simply remove it from your gamemode, since its defined already, you dont need to paste it a second time in your script.
Reply
#3

Just delete strtok from lines 3475 to 3492
Reply
#4

Please throw off this inkluda if it lacks?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)