05.12.2011, 20:22
pawn Код:
C:\Users\pc\Desktop\Untitled.pwn(113) : error 039: constant symbol has no size
C:\Users\pc\Desktop\Untitled.pwn(115) : error 028: invalid subscript (not an array or too many subscripts): "HeroinInfo"
C:\Users\pc\Desktop\Untitled.pwn(115) : warning 215: expression has no effect
C:\Users\pc\Desktop\Untitled.pwn(115) : error 001: expected token: ";", but found "]"
C:\Users\pc\Desktop\Untitled.pwn(115) : error 029: invalid expression, assumed zero
C:\Users\pc\Desktop\Untitled.pwn(115) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
public Ordering()//linha 111
{ //linha 112
for(new b = 0; b < sizeof(HeroinInfo); b++)//linha 113
{ //linha 114
if(HeroinInfo[b][WeedTime] > 0 && HeroinInfo[b][HeroinOrdered] == 1) //linha 115
{ //linha 116
HeroinInfo[b][HeroinTime] -= 1; //linha 117
} //linha 118
} //linha 119
return 1; //linha 120
} //linha 121