06.06.2011, 16:26
Hi guys,i've added HP textlabel to any vehicles but this don't show.
What's wrong?
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);