SA-MP Forums Archive
House icon problem rep+ - 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: House icon problem rep+ (/showthread.php?tid=318957)



House icon problem rep+ - N0FeaR - 17.02.2012

Error i get
Код:
C:\Users\Robin\Desktop\New folder\pawno\include\/CRP/Publics/OnGameModeInit.pwn(2364) : error 017: undefined symbol "HouseInfo"
C:\Users\Robin\Desktop\New folder\pawno\include\/CRP/Publics/OnGameModeInit.pwn(2364) : error 036: empty statement
C:\Users\Robin\Desktop\New folder\pawno\include\/CRP/Publics/OnGameModeInit.pwn(2364) : error 017: undefined symbol "h"
C:\Users\Robin\Desktop\New folder\pawno\include\/CRP/Publics/OnGameModeInit.pwn(2364) : fatal error 107: too many error messages on one line

house code
pawn Код:
for(new h = 0; h < sizeof(HouseInfo); h++)
    {
        if(HouseInfo[h][Owned] == 0)
        {
            Create3DTextLabel("[Property]",0x00AE00FF,Houses[h][EnterX], Houses[h][EnterY], Houses[h][EnterZ]+0.75, 25.0, 0);
            HouseInfo[h][hPickupID]=CreateDynamicPickup(1273, 1, Houses[h][EnterX], Houses[h][EnterY], Houses[h][EnterZ]);
            pickups++;
        }
        if(HouseInfo[h][Owned] == 1)
        {
            Create3DTextLabel("[Property]",0x00AE00FF,Houses[h][EnterX], Houses[h][EnterY], Houses[h][EnterZ]+0.75, 25.0, 0);
            HouseInfo[h][hPickupID]=CreateDynamicPickup(1239, 1, Houses[h][EnterX], Houses[h][EnterY], Houses[h][EnterZ]);
            pickups++;
        }
    }



Re: House icon problem rep+ - MikeMike1997 - 17.02.2012

Do you have HouseInfo in your enum?