Components
#8

I think he means that he want all in one line.

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
}
Reply


Messages In This Thread
Components - by Dime - 10.09.2010, 17:00
Re: Components - by CAR - 10.09.2010, 17:03
Re: Components - by Dime - 10.09.2010, 22:55
Re: Components - by Dime - 11.09.2010, 10:16
Re: Components - by [Lsrcr]Rafa - 11.09.2010, 10:47
Re: Components - by Dime - 12.09.2010, 00:27
Re: Components - by Retardedwolf - 12.09.2010, 00:36
Re: Components - by LarzI - 12.09.2010, 00:46
Re: Components - by Dime - 12.09.2010, 01:17
Re: Components - by LarzI - 12.09.2010, 10:27

Forum Jump:


Users browsing this thread: 2 Guest(s)