CreateDynamic3DTextLabel attach to vehicle isn't working.
#1

As the title says. Here's the code for the createvehicle and the text label.

pawn Код:
Dealership[id][DealerVehID] = CreateVehicle(Dealership[id][DealerModel], Dealership[id][DealerVehPos][0], Dealership[id][DealerVehPos][1], Dealership[id][DealerVehPos][2], Dealership[id][DealerVehPos][3], 0, 0, 0);
Dealership[id][DealerTextID] = CreateDynamic3DTextLabel(Array, WHITE, Dealership[id][DealerVehPos][0], Dealership[id][DealerVehPos][1], Dealership[id][DealerVehPos][2], 7.0, INVALID_PLAYER_ID, Dealership[id][DealerVehID], 0, Dealership[id][DealerVehVW], Dealership[id][DealerVehInt]);
.

No errors. It just doesn't attach to the car in game.

Edit: I just did a print test and it is indeed getting the right vehicle ID. So am I just using the wrong syntax or? - Because it's just not creating in game.
Reply
#2

PHP код:
Dealership[id][DealerTextID] = CreateDynamic3DTextLabel(Array, WHITE0.00.00.07.0INVALID_PLAYER_IDDealership[id][DealerVehID], 0Dealership[id][DealerVehVW], Dealership[id][DealerVehInt]); 
Position 3Dtext changeg to offset when attached
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)