22.08.2018, 13:39
Thank you everyone. I'm trying to attach a 3dTextLabel to this vehicles i created:
Getting tag mismatch, what's wrong?
pawn Код:
for(new i = 0; i < sizeof(CarRentLs); i++)
{
new nrinmatric[50];
format(nrinmatric, sizeof(nrinmatric), "{FF0033}RNT - 0%d", i);
SetVehicleNumberPlate(CarRentLs[i], nrinmatric);
SetVehicleToRespawn(CarRentLs[i]);
RentCarLabel[i] = Create3DTextLabel( "Rental Car", 0xFF0000AA, 0.0, 0.0, 0.0, 50.0, 0, 1);
Attach3DTextLabelToVehicle(RentCarLabel[CarRentLs] , vehicle_id, 0.0, 0.0, 2.0);
}