Array adjustments.
#3

I found another way:
Код:
new const Float:BuyableCars[][5] = {
{ integer as float ( ex: 411.0 ), float, float, float, float },
{ integer as float ( ex: 411.0 ), float, float, float, float }
};
And then you gotta to create cars, you do like this:
Код:
CreateVehicle(floatround(BuyableCars[0][0]),BuyableCars[0][1],BuyableCars[0][2],BuyableCars[0][3],BuyableCars[0][4],-1,-1,-1);
But thanks for help anyway. Appreciate.
Reply


Messages In This Thread
Array adjustments. - by Martin_M - 18.07.2011, 18:16
Re: Array adjustments. - by BuLLeT[LTU] - 18.07.2011, 18:18
Re: Array adjustments. - by Martin_M - 18.07.2011, 18:22
Re: Array adjustments. - by BuLLeT[LTU] - 18.07.2011, 18:24
Re: Array adjustments. - by Martin_M - 18.07.2011, 18:25

Forum Jump:


Users browsing this thread: 1 Guest(s)