House icon problem rep+
#1

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++;
        }
    }
Reply
#2

Do you have HouseInfo in your enum?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)