textlabel problem
#7

Try This. I think you're creating the same textdraw and then attaching it to different vehicles, so its never on the same vehicle.

pawn Код:
//Outside of your function:
new Text3D: WarLabel[MAX_WAR_VEHICLES]; //You would have to count how many vehicles you have and define it,
//or you can use MAX_VEHICLES too.

for ( new i; i < MAX_VEHICLES; i ++ )
  {
       switch ( GetVehicleModel( i ) )
       {
           case 432,447,520,425:
           {
               WarLabel[i] = Create3DTextLabel( "War Vehicle", 0xFF0000AA, 0.0, 0.0, 0.0, 50.0, 0, 1 );
               Attach3DTextLabelToVehicle( WarLabel[i], i, 0.0, 0.0, 2.0);
           }
       }
   }
Reply


Messages In This Thread
textlabel problem - by Face9000 - 10.06.2011, 13:10
Re: textlabel problem - by randomkid88 - 10.06.2011, 14:38
Re: textlabel problem - by Face9000 - 10.06.2011, 14:48
Re: textlabel problem - by Face9000 - 11.06.2011, 08:41
Re: textlabel problem - by DRIFT_HUNTER - 11.06.2011, 09:09
Re: textlabel problem - by Face9000 - 11.06.2011, 10:16
Re: textlabel problem - by randomkid88 - 11.06.2011, 16:58
Re: textlabel problem - by Face9000 - 11.06.2011, 17:14
Re: textlabel problem - by randomkid88 - 11.06.2011, 18:22

Forum Jump:


Users browsing this thread: 3 Guest(s)