10.05.2009, 14:54
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; }
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.
DON'T PAY ATTENTION TO THE WARNINGS