Help 3D text
#1

I try to make under "OnGameModeInit()" loop for 3d text on house pickup, this code

pawn Код:
for(new h = 0; h < sizeof(HouseInfo); h++)
    {
        if(HouseInfo[h][hOwned] == 0)
        {
            format(string1, sizeof(string), "[Za prodaju]\n %d$",HouseInfo[h][hValue]);
            housesale = Create3DTextLabel(string1,0xFF0000FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,15,0,1);
            pickups++;
        }
        if(HouseInfo[h][hOwned] == 1)
        {
            format(string1, sizeof(string), "[Vlasnik]\n%s",HouseInfo[h][hOwner]);
            Create3DTextLabel(string1,0xFF0000FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,15,0,1);
            pickups++;
        }
    }
And i press F5 and i compile mode and when i join game and go on first house i dont see any text :S can someone help ? Please
Reply
#2

Basically, you're not loading anything, you're only creating the string that contains the house file location.

Do you have any LoadHouse code?
Reply
#3

Thank you i know what are you trying to say, i will make this under code what lodas houses ( propery ) tnx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)