3DText spawns on the wrong vehicle.
#1

Alright, so I have a system to place 3DText on the vehicle, with it's price.
However, if VID 3 is forsale, the Text spawns on Vehicle ID 4. And so on.
pawn Код:
if(DynamicVehicles[idx][CarPrice] != 0)
{
    new str[64];
    format(str, sizeof(str), "Price: ${F81414} %d", DynamicVehicles[idx][CarPrice]);
    DynamicVehicles[idx][Price] = Create3DTextLabel(str, C_WHITE, 0.00, 0.00, 0.00, 20.0, 0, 0);
    Attach3DTextLabelToVehicle(DynamicVehicles[idx][Price], idx, 0.00, 0.00, 1.0);
}
It's very annoying, and I've tried multiple things but it didn't work out overall.
Reply


Messages In This Thread
3DText spawns on the wrong vehicle. - by Lynn - 06.01.2013, 05:32
Re: 3DText spawns on the wrong vehicle. - by ajam123 - 06.01.2013, 05:46
Re: 3DText spawns on the wrong vehicle. - by InActtive™ - 06.01.2013, 05:50
Re: 3DText spawns on the wrong vehicle. - by Lynn - 06.01.2013, 05:54
Re: 3DText spawns on the wrong vehicle. - by InActtive™ - 06.01.2013, 05:56
Re: 3DText spawns on the wrong vehicle. - by Lynn - 06.01.2013, 05:57
Re: 3DText spawns on the wrong vehicle. - by InActtive™ - 06.01.2013, 05:58

Forum Jump:


Users browsing this thread: 2 Guest(s)