help error 001,...
#1

Код:
\mysqlGM.pwn(735) : warning 219: local variable "Name" shadows a variable at a preceding level
\mysqlGM.pwn(735) : warning 204: symbol is assigned a value that is never used: "Name"
\mysqlGM.pwn(1376) : error 028: invalid subscript (not an array or too many subscripts): "hInfo"
\mysqlGM.pwn(1376) : warning 215: expression has no effect
\mysqlGM.pwn(1376) : error 001: expected token: ";", but found "]"
\mysqlGM.pwn(1376) : error 029: invalid expression, assumed zero
\mysqlGM.pwn(1376) : fatal error 107: too many error messages on one line
line:
Код:
            if(PlayerToPoint(MAX_DISTANCE_TO_PROP, playerid, hInfo[i][iconx], hInfo[i][icony], hInfo[i][iconz]))
all stock:
Код:
stock GetHouseID(playerid)
{
        for(new i=0; i<MAX_HOUSES; i++)
        {
            if(PlayerToPoint(MAX_DISTANCE_TO_PROP, playerid, hInfo[i][iconx], hInfo[i][icony], hInfo[i][iconz]))
            {
                return i;
                }
        }
        return -255;
}
How to fix it?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)