28.05.2016, 05:35
As the title says. Here's the code for the createvehicle and the text label.
.
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.
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.