war vehicles textlabel
#1

Hi all,i wanna add at this vehicles:

Hunter,Hydra,Rhino,Sea Sparrow

the textlabel "War Vehicles".

How to do it?
Reply
#2

https://sampwiki.blast.hk/wiki/Attach3DTextLabelToVehicle

- Search next time
- This is NOT a script request thread
Reply
#3

Whyuraj?

I was asking for a tip,non a complete code.
Reply
#4

Errr.

pawn Код:
public OnGameModeInit( )
{
    /* Your code on the top! */
   for ( new i; i < MAX_VEHICLES; i ++ )
  {
       switch ( GetVehicleModel( i ) )
       {
           case /*Hunter ID, Rhino ID, Hydra ID, Seasparrow ID */ :
           {
               new Text3D: vehicle3Dtext; // From WIKI
               vehicle3Dtext = Create3DTextLabel( "War Vehicles", 0xFF0000AA, 0.0, 0.0, 0.0, 50.0, 0, 1 );
               Attach3DTextLabelToVehicle( vehicle3Dtext, vehicle_id, 0.0, 0.0, 2.0);
           }
       }
   }
   return 1;
}
Sorry for the indentation -.-
Reply
#5

Thanks lol.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)