not work ?
#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


Messages In This Thread
not work ? - by gabitzu4ever - 21.09.2012, 04:51
Re: not work ? - by Lordzy - 21.09.2012, 05:00
Re: not work ? - by gabitzu4ever - 21.09.2012, 05:02
Re: not work ? - by Danyal - 21.09.2012, 05:32
Re: not work ? - by gabitzu4ever - 21.09.2012, 05:40
Re: not work ? - by Danyal - 21.09.2012, 05:51

Forum Jump:


Users browsing this thread: 1 Guest(s)