not work ?
#1

pawn Код:
for(new c = 0; c < MAX_VEHICLES; c++)
    {
        new TextCar[200];
        if (CarInfo[c][cOwned]==1)
        {
            format(TextCar,sizeof(TextCar),"{00FFEE}%s{FFFFFF}'s vehicle",CarInfo[c][cOwner]);
            TextUpCar[c] = CreateDynamic3DTextLabel(TextCar, 0xFFFFFFAA ,0,0,0,20.0,0);
            Attach3DTextLabelToVehicle(TextUpCar[c],c,0.0,0.0,0.0);
        }
        else if(CarInfo[c][cOwned]==0)
        {
            format(TextCar,sizeof(TextCar),"This vehicle is for sale, price: %d",CarInfo[c][cValue]);
            TextUpCar[c] = CreateDynamic3DTextLabel(TextCar, 0xFFFFFFAA ,0,0,0,20.0,0);
            Attach3DTextLabelToVehicle(TextUpCar[c],c,0.0,0.0,0.0);
        }
    }
Not appear text3d. Why ?
Reply
#2

Use Create3dTextLabel and also use streamer.
Reply
#3

no it does not work
Reply
#4

pawn Код:
for(new c = 0; c < MAX_VEHICLES; c++)
    {
        new TextCar[200];
        if (CarInfo[c][cOwned]==1)
        {
            format(TextCar,sizeof(TextCar),"{00FFEE}%s{FFFFFF}'s vehicle",CarInfo[c][cOwner]);
            TextUpCar[c] = CreateDynamic3DTextLabel(TextCar, 0xFFFFFFAA ,0,0,0,20.0,INVALID_PLAYER_ID, c);
            Attach3DTextLabelToVehicle(TextUpCar[c],c,0.0,0.0,0.0);
        }
        else if(CarInfo[c][cOwned]==0)
        {
            format(TextCar,sizeof(TextCar),"This vehicle is for sale, price: %d",CarInfo[c][cValue]);
            TextUpCar[c] = CreateDynamic3DTextLabel(TextCar, 0xFFFFFFAA ,0,0,0,20.0,INVALID_PLAYER_ID, c);
            Attach3DTextLabelToVehicle(TextUpCar[c],c,0.0,0.0,0.0);
        }
    }
try that...

hope it works...
Reply
#5

work thanks rep+
Reply
#6

Quote:
Originally Posted by gabitzu4ever
Посмотреть сообщение
work thanks rep+
No problem



i am still learning
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)