• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Post your code snippets here
#6
Code:
new vehicleComponentPrices[] =

{

    400, 550, 200, 250, 100, 150, 80, 500, 500, 200, 1000, 220, 250, 100, 400, 500,

    200, 500, 350, 300, 250, 200, 150, 350, 50, 1000, 480, 480, 770, 680, 370, 370,

    170, 120, 790, 150, 500, 690, 190, 390, 500, 390, 1000, 500, 500, 510, 710, 670,

    530, 810, 620, 670, 530, 130, 210, 230, 520, 430, 620, 720, 530, 180, 550, 430,

    830, 850, 750, 250, 200, 550, 450, 550, 450, 1100, 1030, 980, 1560, 1620, 1200,

    1030, 900, 1230, 820, 1560, 1350, 770, 100, 1500, 150, 650, 450, 100, 750, 350,

    450, 350, 1000, 620, 1140, 1000, 940, 780, 830, 3250, 1610, 1540, 780, 780, 780,

    1610, 1540, 0, 0, 3340, 3250, 2130, 2050, 2040, 780, 940, 780, 940, 780, 860, 780,

    1120, 3340, 3250, 3340, 1650, 3380, 3290, 1590, 830, 800, 1500, 1000, 800, 580, 470,

    870, 980, 150, 150, 100, 100, 490, 600, 890, 1000, 1090, 840, 910, 1200, 1030, 1030,

    920, 930, 550, 1050, 1050, 950, 650, 450, 550, 850, 950, 850, 950, 970, 880, 990,

    900, 950, 1000, 900, 1000, 900, 2050, 2150, 2130, 2050, 2130, 2040, 2150, 2040, 2095,

    2175, 2080, 2200, 1200, 1040, 940, 1100

};



stock GetVehicleComponentCost(componentid)

{

    return vehicleComponentPrices[componentid - 1000];

}



I remember spending many hours manually getting all of these component prices.

https://gist.github.com/thecodeah/354a67...adaa947591
  Reply


Messages In This Thread
Post your code snippets here - by DTV - 2019-04-14, 11:04 PM
RE: Post your code snippets here - by iSpark - 2019-04-15, 03:50 AM
RE: Post your code snippets here - by DTV - 2019-04-15, 07:07 AM
RE: Post your code snippets here - by BlackBank - 2019-04-15, 05:17 PM
RE: Post your code snippets here - by Codeah - 2019-04-15, 06:55 PM
RE: Post your code snippets here - by Riddick - 2019-04-16, 06:24 AM
RE: Post your code snippets here - by Y_Less - 2019-04-16, 11:23 AM
RE: Post your code snippets here - by DTV - 2019-04-16, 06:10 PM
RE: Post your code snippets here - by KJason - 2019-04-16, 11:48 AM
RE: Post your code snippets here - by kristo - 2019-04-16, 12:50 PM
RE: Post your code snippets here - by Mike - 2019-04-17, 02:45 AM
RE: Post your code snippets here - by DTV - 2019-04-29, 07:24 PM
RE: Post your code snippets here - by DTV - 2020-01-03, 06:33 PM
RE: Post your code snippets here - by Awide - 2020-10-18, 07:33 PM
RE: Post your code snippets here - by Expert* - 2020-10-24, 12:40 PM
RE: Post your code snippets here - by Virsenas - 2021-02-26, 11:53 PM
RE: Post your code snippets here - by Tama - 2021-10-27, 03:59 PM

Forum Jump: