something strange happend to my gm?!
#5

Code:
stock strtok(const string[], &index,seperator=' ')
{
	new length = strlen(string);
	new offset = index;
	new result[128];
	while ((index < length) && (string[index] != seperator) && ((index - offset) < (sizeof(result) - 1)))
	{
		result[index - offset] = string[index];
		index++;
	}

	result[index - offset] = EOS;
	if ((index < length) && (string[index] == seperator))
	{
		index++;
	}
	return result;
}
Ok listen it was this function aight? I deleted the function and then i noticed a thing, i tought i would try new tmp and cmd max increase from 128 to 256 in commandtext and i did it, i didn't get any errors but look:
Code:
E:\Games Setup\Gta san andreas server\Install\samp02Xserver.win32\filterscripts\dAdmin.pwn(866) : warning 202: number of arguments does not match definition
E:\Games Setup\Gta san andreas server\Install\samp02Xserver.win32\filterscripts\dAdmin.pwn(867) : warning 202: number of arguments does not match definition
E:\Games Setup\Gta san andreas server\Install\samp02Xserver.win32\filterscripts\dAdmin.pwn(868) : warning 202: number of arguments does not match definition
E:\Games Setup\Gta san andreas server\Install\samp02Xserver.win32\filterscripts\dAdmin.pwn(869) : warning 202: number of arguments does not match definition
E:\Games Setup\Gta san andreas server\Install\samp02Xserver.win32\filterscripts\dAdmin.pwn(870) : warning 202: number of arguments does not match definition
E:\Games Setup\Gta san andreas server\Install\samp02Xserver.win32\filterscripts\dAdmin.pwn(1514) : warning 209: function "OnPlayerConnect" should return a value
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:      3064 bytes
Code size:      118200 bytes
Data size:     1040276 bytes
Stack/heap size:   16384 bytes; estimated max. usage=4436 cells (17744 bytes)
Total requirements: 1177924 bytes

6 Warnings.
Is this normal?

DON'T PAY ATTENTION TO THE WARNINGS
Reply


Messages In This Thread
something strange happend to my gm?! - by Gamer007 - 10.05.2009, 14:09
Re: something strange happend to my gm?! - by Andom - 10.05.2009, 14:21
Re: something strange happend to my gm?! - by Gamer007 - 10.05.2009, 14:23
Re: something strange happend to my gm?! - by Nero_3D - 10.05.2009, 14:51
Re: something strange happend to my gm?! - by Gamer007 - 10.05.2009, 14:54
Re: something strange happend to my gm?! - by Nero_3D - 10.05.2009, 15:15
Re: something strange happend to my gm?! - by Gamer007 - 10.05.2009, 15:28

Forum Jump:


Users browsing this thread: 1 Guest(s)