: fatal error 100: cannot read from file: "gl_common" (POWNO)
#5

I ca use ither 1 but i stil have this

Код:
../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.
In That gl_ file i took out
Код:
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;
}
and when i compile i only have 1 error:

Код:
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.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)