SA-MP Forums Archive
3DTEXTLABELS HELP - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 3DTEXTLABELS HELP (/showthread.php?tid=193682)



3DTEXTLABELS HELP - Jacob_Venturas - 27.11.2010

pawn Код:
for(new h = 0; h < sizeof(Houses); h++)
    {
        if(Houses[h][Owned] == 0)
        {
            Create3DTextLabel("[Property]",0x00AE00FF,Houses[h][EnterX], Houses[h][EnterY], Houses[h][EnterZ]+0.75,20.0,0,1);
            //House[h][hPickupID]=CreatePickup(1273, 1, Houses[h][hEnterx], Houses[h][hEntery], Houses[h][hEnterz]);
            //pickups++;
        }
        if(Houses[h][Owned] == 1)
        {
            Create3DTextLabel("[Property]",0x00AE00FF,Houses[h][EnterX], Houses[h][EnterY], Houses[h][EnterZ]+0.75,20.0,0,1);
            //House[h][hPickupID]=CreatePickup(1239, 1, Houses[h][hEnterx], Houses[h][hEntery], Houses[h][hEnterz]);
            //pickups++;
        }
    }
Under OnGameModInit, I put this. I want all of my houses to have 3D Text Labels. They don't. I get no errors. Please fix this!