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


Messages In This Thread
errors - by hillko - 02.02.2012, 12:38
Re: errors - by Babul - 02.02.2012, 12:41
Re: errors - by Konstantinos - 02.02.2012, 12:44
Re: errors - by hillko - 02.02.2012, 12:49

Forum Jump:


Users browsing this thread: 3 Guest(s)