12.09.2010, 00:46
I think he means that he want all in one line.
If I'm correct, here's how:
If I'm correct, here's how:
pawn Код:
//on top
new infernus[ number_of_infernus's_ingame ];
pawn Код:
//gamemodeinit
infernus[ 0 ] = AddStaticVehicle( ... );
infernus[ 1 ] = AddStaticVehicle( ... );
pawn Код:
//where you want the components to be added
for( new i = 0; i < sizeof( infernus ); i++ )
{
AddVehicleComponent( infernus[ i ], component );
//more if you want
}