09.06.2011, 21:32
Hi all,i wanna add at this vehicles:
Hunter,Hydra,Rhino,Sea Sparrow
the textlabel "War Vehicles".
How to do it?
Hunter,Hydra,Rhino,Sea Sparrow
the textlabel "War Vehicles".
How to do it?
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;
}