11 warnings
#3

Or you could do it this way (I use this way for my GM because it makes it easier to perform an action on all the cars at once with a loop).

Top of your script
pawn Код:
new intveh[30]; //I don't know how many cars you actually have. Change the number to fit your actual number of cars you're linking.
Then OnGameModeInit
pawn Код:
intveh[1] = AddStaticVehicle(...);
    LinkVehicleToInterior(intveh[1],15);

    intveh[2] = AddStaticVehicle(...);
    LinkVehicleToInterior(intveh[2],15);

    intveh[3] = AddStaticVehicle(...);
    LinkVehicleToInterior(intveh[3],15);
This way in the future if you ever wanna destroy them all you can just use a loop.
Reply


Messages In This Thread
11 warnings - by CAMERON_BANFIELD - 29.03.2009, 19:17
Re: 11 warnings - by Chaprnks - 29.03.2009, 19:21
Re: 11 warnings - by Pyrokid - 29.03.2009, 19:39
Re: 11 warnings - by CAMERON_BANFIELD - 29.03.2009, 20:03

Forum Jump:


Users browsing this thread: 1 Guest(s)