Random trailer
#2

remove
pawn Код:
new randomtrailer;
pawn Код:
//change
AttachTrailerToVehicle(CreateVehicle(randomtrailer, 0.0, 0.0, 0.0, 0.0, -1, -1, 60) , vehicleid);
//to
AttachTrailerToVehicle(CreateVehicle(Trailers[randtrailer][0], 0.0, 0.0, 0.0, 0.0, -1, -1, 60) , vehicleid);
One question though? Why multidimensional array? If you won't add any new info, change it simply to one dimensional.
Reply


Messages In This Thread
Random trailer - by kalanerik99 - 28.03.2013, 18:51
Re: Random trailer - by Misiur - 28.03.2013, 18:54
Re: Random trailer - by kalanerik99 - 28.03.2013, 19:18
Re: Random trailer - by kalanerik99 - 29.03.2013, 05:08
Re: Random trailer - by Vince - 29.03.2013, 06:03
Re: Random trailer - by kalanerik99 - 29.03.2013, 15:35

Forum Jump:


Users browsing this thread: 1 Guest(s)