SA-MP Forums Archive
No 3d texts were displayed. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: No 3d texts were displayed. (/showthread.php?tid=429616)



No 3d texts were displayed. - newbienoob - 10.04.2013

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);
    }



Re: No 3d texts were displayed. - [XST]O_x - 10.04.2013

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.


Re: No 3d texts were displayed. - newbienoob - 10.04.2013

._. Totally forgot about that. Thanks!


Re: No 3d texts were displayed. - MarioVPS - 10.04.2013

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