Label problem
#1

Hi guys i got this code:

pawn Код:
for(new i = 0; i < MAX_VEHICLES; i++)
    {
    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,,vx, vy, vz+1.5);
    format(vhp, sizeof(vhp), "HP: %.0f", vHealth);
    }
Placed OnPlayerEnterVehicle,but i get this errors:

Код:
error 029: invalid expression, assumed zero
warning 215: expression has no effect
warning 215: expression has no effect
warning 215: expression has no effect
error 001: expected token: ";", but found ")"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line

4 Errors.
That code is to show a textlabel on all vehicles with their HP,but seems don't work.
Reply


Messages In This Thread
Label problem - by Face9000 - 06.06.2011, 21:24
Re: Label problem - by dr.pepper - 06.06.2011, 21:37
Re: Label problem - by Face9000 - 06.06.2011, 21:44
Re: Label problem - by gamer931215 - 06.06.2011, 21:46
Re: Label problem - by Tee - 06.06.2011, 21:47
Re: Label problem - by Face9000 - 06.06.2011, 22:02
Re: Label problem - by PrawkC - 06.06.2011, 22:07
Re: Label problem - by Face9000 - 06.06.2011, 22:11

Forum Jump:


Users browsing this thread: 1 Guest(s)