SA-MP Forums Archive
4 errors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 4 errors (/showthread.php?tid=368755)



4 errors - thefatshizms - 14.08.2012

Код:
C:\Users\iphone\Desktop\SFCNR\gamemodes\Sfcnr.pwn(2889) : error 006: must be assigned to an array
C:\Users\iphone\Desktop\SFCNR\gamemodes\Sfcnr.pwn(2890) : warning 213: tag mismatch
C:\Users\iphone\Desktop\SFCNR\gamemodes\Sfcnr.pwn(2890) : error 006: must be assigned to an array
C:\Users\iphone\Desktop\SFCNR\gamemodes\Sfcnr.pwn(2891) : warning 213: tag mismatch
C:\Users\iphone\Desktop\SFCNR\gamemodes\Sfcnr.pwn(2891) : error 006: must be assigned to an array
C:\Users\iphone\Desktop\SFCNR\gamemodes\Sfcnr.pwn(2892) : warning 213: tag mismatch
C:\Users\iphone\Desktop\SFCNR\gamemodes\Sfcnr.pwn(2892) : error 006: must be assigned to an array
C:\Users\iphone\Desktop\SFCNR\gamemodes\Sfcnr.pwn(2900) : warning 203: symbol is never used: "HouseExit"
C:\Users\iphone\Desktop\SFCNR\gamemodes\Sfcnr.pwn(2900) : warning 203: symbol is never used: "PlayerInHouseID"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
pawn Код:
stock LoadHouses()
{
    new path[60];
    for(new i = 0; i < MAX_HOUSES;i++)
    {
        format(path,sizeof(path),"Sfcnr/Users/Houses/%i.ini",i);
        if(!dini_Exists(path))
        {
            print("[House System] No houses loaded (error: does not exist)");
        }
        else
        {
            HouseInfo[i][Owned] = dini_Get(HouseInfo[i][Owned],"Owned");
            HouseInfo[i][XPos] = dini_Get(HouseInfo[i][XPos],"XPos");
            HouseInfo[i][YPos] = dini_Get(HouseInfo[i][YPos],"YPos");
            HouseInfo[i][ZPos] = dini_Get(HouseInfo[i][ZPos],"ZPos");
            HouseEnterPickup[i]  = CreatePickup(1273,23,HouseInfo[i][XPos],HouseInfo[i][YPos],HouseInfo[i][ZPos],-1);
            HouseCount++;
         }
    }
    return 1;
}



Re : 4 errors - BigBaws - 14.08.2012

Explain more your Problem we can see where the problem exactly