How can I get this working? [Detailed][Vortex 1]
#2

pawn Код:
stock Create3DHouse()
{
    for(new NewHouseID; NewHouseID<sizeof(Houses); NewHouseID++)
    {
        if(!Houses[NewHouseID][hExteriorY]) continue;
        new string[ 96 ];
        if(Houses[NewHouseID][HousePrice] == -1)
        {
            format(string, sizeof(string), "House %d", h);
            Create3DTextLabel(string,RED,Houses[NewHouseID][hExteriorX],Houses[NewHouseID][hExteriorY],Houses[NewHouseID][hExteriorZ],30.0,0,1);
        }
        else
        {
            format(string, sizeof(string), "House %d\n Price: %d", h, Houses[h][HousePrice]);
            Create3DTextLabel(string,ADMIN_GREEN,Houses[NewHouseID][hExteriorX],Houses[NewHouseID][hExteriorY],Houses[NewHouseID][hExteriorZ],30.0,0);
        }
    }
    return 1;
}
Give that a go.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)