Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

CreateDynamic3DTextLabel attach to vehicle isn't working.

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

Code:

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.

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>