SA-MP Forums Archive
Problem textlabel - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Problem textlabel (/showthread.php?tid=259918)



Problem textlabel - Face9000 - 06.06.2011

Hi guys,i've added HP textlabel to any vehicles but this don't show.

pawn Код:
new Float:vx, Float:vy, Float:vz, Float:vHealth;
    GetVehicleHealth(vehicleid, vHealth);
    new vhp[128];
    new Text3D:V3D = Create3DTextLabel(vhp,COLOR_GREEN,vx,vy,vz, 50, 0,0);
    Attach3DTextLabelToVehicle(V3D,vehicleid,vx, vy, vz+1.5);
    format(vhp, sizeof(vhp), "HP: %.0f", vHealth);
What's wrong?


Re: Problem textlabel - Face9000 - 06.06.2011

Fixed.