No 3d texts were displayed.
#1

I wanted to attach a 3d text label to vehicles. But it didn't show ingame. What am I doing wrong?

pawn Код:
hotvehicles[0] = AddStaticVehicleEx(432,-1386.3043000,-205.0058000,14.1932000,-115.4400000,-1,-1,60);
    hotvehicles[1] = AddStaticVehicleEx(432,-1389.5714000,-212.2321000,14.1932000,-115.4400000,-1,-1,60);
    hotvehicles[2] = AddStaticVehicleEx(520,-1378.5237000,-195.2514000,15.7809000,-115.4400000,-1,-1,60);
    hotvehicles[3] = AddStaticVehicleEx(520,-1372.6018000,-182.3923000,15.7809000,-115.4400000,-1,-1,60);
    hotvehicles[4] = AddStaticVehicleEx(425,-1391.8990000,-222.5184000,14.7985000,-115.4400000,-1,-1,60);
    hotvehicles[5] = AddStaticVehicleEx(425,-1396.5870000,-233.5245000,14.7985000,-115.4400000,-1,-1,60);
    for(new hv = 0; hv < sizeof(hotvehicles); hv++)
    {
        HVText = CreateDynamic3DTextLabel("testttttttttt", red, 0,0,0, 50, .attachedvehicle = hv, .worldid = 0, .testlos = 1, .interiorid = 0);
    }
Reply
#2

pawn Код:
for(new hv = 0; hv < sizeof(hotvehicles); hv++)
    {
        HVText = CreateDynamic3DTextLabel("testttttttttt", red, 0,0,0, 50, .attachedvehicle = hotvehicles[hv], .worldid = 0, .testlos = 1, .interiorid = 0);
    }
Should fix it up for you.
Reply
#3

._. Totally forgot about that. Thanks!
Reply
#4

Ok now you get help , but someone will think you are spamming you must see yourself if you was know the problem
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)