02.06.2010, 14:10
D:\GTA San Andreas\Gamemodes\newcnr.pwn(7) : fatal error 100: cannot read from file: "gl_common"
errr? How 2 fix?
errr? How 2 fix?
#include "../include/gl_common.inc"
Originally Posted by ViruZZzZ_ChiLLL
It should be included like this :
pawn Код:
|
../include/gl_common.inc(116) : error 021: symbol already defined: "isNumeric" D:\GTA San Andreas\Gamemodes\newcnr.pwn(845) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(847) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(849) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(851) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(853) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(855) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(857) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(859) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(860) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(862) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(864) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(866) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(868) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(870) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(1927) : 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.
stock isNumeric(const string[]) { new length=strlen(string); if (length==0) return false; for (new i = 0; i < length; i++) { if ( (string[i] > '9' || string[i] < '0' && string[i]!='-' && string[i]!='+') // Not a number,'+' or '-' || (string[i]=='-' && i!=0) // A '-' but not at first. || (string[i]=='+' && i!=0) // A '+' but not at first. ) return false; } if (length==1 && (string[0]=='-' || string[0]=='+')) return false; return true; }
D:\GTA San Andreas\Gamemodes\newcnr.pwn(845) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(847) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(849) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(851) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(853) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(855) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(857) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(859) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(860) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(862) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(864) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(866) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(868) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(870) : warning 202: number of arguments does not match definition D:\GTA San Andreas\Gamemodes\newcnr.pwn(1927) : error 047: array sizes do not match, or destination array is too small Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.