fork download
  1. local cfg = {}
  2. -- define garage types with their associated vehicles
  3. -- (vehicle list: https://w...content-available-to-author-only...m.net/wiki/Vehicles)
  4.  
  5. -- each garage type is an associated list of veh_name/veh_definition
  6. -- they need a _config property to define the blip and the vehicle type for the garage (each vtype allow one vehicle to be spawned at a time, the default vtype is "default")
  7. -- this is used to let the player spawn a boat AND a car at the same time for example, and only despawn it in the correct garage
  8. -- _config: vtype, blipid, blipcolor, permission (optional, only users with the permission will have access to the shop)
  9.  
  10. cfg.rent_factor = 0.1 -- 10% of the original price if a rent
  11. cfg.sell_factor = 0.75 -- sell for 75% of the original price
  12. local imagelinko = "<img alt='Картинка недоступна...' style='width=45%' src='http://w...content-available-to-author-only...5.com/images/200x80/"
  13. local imagelinkc = ".jpg'></img>"
  14.  
  15. cfg.garage_types = {
  16. ["compacts"] = {
  17. _config = {vtype="car",blipid=50,blipcolor=4},
  18. ["blista"] = {"Blista", 14000, imagelinko.."blistaf"..imagelinkc},
  19. ["brioso"] = {"Brioso R/A", 16350, imagelinko.."brioso"..imagelinkc},
  20. ["dilettante"] = {"Dilettante", 16400, imagelinko.."dilettante1f"..imagelinkc},
  21. ["issi2"] = {"Issi", 12000, imagelinko.."issif"..imagelinkc},
  22. ["panto"] = {"Panto", 10000, imagelinko.."pantof"..imagelinkc},
  23. ["prairie"] = {"Prairie", 18000, imagelinko.."prairief"..imagelinkc},
  24. ["rhapsody"] = {"Rhapsody", 15000, imagelinko.."rhapsodyf"..imagelinkc}
  25. },
  26.  
  27. ["coupe"] = {
  28. _config = {vtype="car",blipid=50,blipcolor=4},
  29. ["cogcabrio"] = {"Cognoscenti Cabrio", 60000, imagelinko.."cognoscenticabriof"..imagelinkc},
  30. ["exemplar"] = {"Exemplar", 38000, imagelinko.."exemplarf"..imagelinkc},
  31. ["f620"] = {"F620", 70000, imagelinko.."f620f"..imagelinkc},
  32. ["felon2"] = {"Felon GT", 30000, imagelinko.."felonf"..imagelinkc},
  33. ["jackal"] = {"Jackal", 25000, imagelinko.."jackalf"..imagelinkc},
  34. ["oracle"] = {"Oracle", 20000, imagelinko.."oracle1f"..imagelinkc},
  35. ["oracle2"] = {"Oracle XS", 25000, imagelinko.."oracle2f"..imagelinkc},
  36. ["sentinel2"] = {"Sentinel XS", 27000, imagelinko.."sentinel2"..imagelinkc},
  37. ["windsor"] = {"Windsor", 70000, imagelinko.."windsorf"..imagelinkc},
  38. ["windsor2"] = {"Windsor Drop", 80000, imagelinko.."windsor2"..imagelinkc},
  39. ["zion2"] = {"Zion Cabrio", 25000, imagelinko.."zionf"..imagelinkc}
  40. },
  41.  
  42. ["sports"] = {
  43. _config = {vtype="car",blipid=50,blipcolor=4},
  44. ["ninef2"] = {"9F Cabrio",60000, imagelinko.."9ff"..imagelinkc},
  45. ["alpha"] = {"Alpha",45000, imagelinko.."alphaf"..imagelinkc},
  46. ["banshee"] = {"Banshee",32000, imagelinko.."banshee900r"..imagelinkc},
  47. ["bestiagts"] = {"Bestia GTS",40000, imagelinko.."bestiagts"..imagelinkc},
  48. ["blista"] = {"Blista Compact",15000, imagelinko.."blistaf"..imagelinkc},
  49. ["buffalo2"] = {"Buffalo S",30000, imagelinko.."buffalo2f"..imagelinkc},
  50. ["carbonizzare"] = {"Carbonizzare",50000, imagelinko.."carbonizzaref"..imagelinkc},
  51. ["comet2"] = {"Comet",30000, imagelinko.."cometf"..imagelinkc},
  52. ["coquette"] = {"Coquette",50000, imagelinko.."coquette1f"..imagelinkc},
  53. ["tampa2"] = {"Drift Tampa",40000, imagelinko.."drift-tampa"..imagelinkc},
  54. ["feltzer2"] = {"Feltzer",35000, imagelinko.."feltzerf"..imagelinkc},
  55. ["jester"] = {"Jester",60324, imagelinko.."jesterf"..imagelinkc},
  56. ["kuruma"] = {"Kuruma",35000, imagelinko.."kuruma"..imagelinkc},
  57. ["lynx"] = {"Lynx",60000, imagelinko.."lynx"..imagelinkc},
  58. ["massacro"] = {"Massacro",60634, imagelinko.."massacrof"..imagelinkc},
  59. ["omnis"] = {"Omnis",26000, imagelinko.."omnis"..imagelinkc},
  60. ["rapidgt2"] = {"Rapid GT Convertible",45000, imagelinko.."rapidgtf"..imagelinkc},
  61. ["schafter3"] = {"Schafter V12",40000, imagelinko.."schafterf"..imagelinkc},
  62. ["sultan"] = {"Sultan",32000, imagelinko.."sultanf"..imagelinkc},
  63. ["surano"] = {"Surano",40000, imagelinko.."suranof2"..imagelinkc},
  64. ["fusilade"] = {"Fusilade",30000, imagelinko.."fusiladef"..imagelinkc},
  65. },
  66.  
  67. ["sportsclassics"] = {
  68. _config = {vtype="car",blipid=50,blipcolor=4},
  69. ["casco"] = {"Casco",160000, imagelinko.."casco"..imagelinkc},
  70. ["coquette2"] = {"Coquette Classic",170000, imagelinko.."coquetteclassic1f"..imagelinkc},
  71. ["pigalle"] = {"Pigalle",143000, imagelinko.."pigallef"..imagelinkc},
  72. ["stinger"] = {"Stinger",148000, imagelinko.."stingerf"..imagelinkc},
  73. ["stingergt"] = {"Stinger GT",160000, imagelinko.."stingergtf"..imagelinkc},
  74. ["ztype"] = {"Z-Type",100000,imagelinko.."ztypef"..imagelinkc},
  75. ["torero"] = {"Z-Type",900000,imagelinko.."ztypef"..imagelinkc},
  76. ["cheetah2"] = {"Z-Type",2325000,imagelinko.."ztypef"..imagelinkc},
  77. ["turismo2"] = {"Z-Type",1525000,imagelinko.."ztypef"..imagelinkc},
  78. ["infernus2"] = {"Z-Type",1325000,imagelinko.."ztypef"..imagelinkc},
  79. },
  80.  
  81. ["supercars"] = {
  82. _config = {vtype="car",blipid=50,blipcolor=4},
  83. ["adder"] = {"Adder",1000000, imagelinko.."adderf"..imagelinkc},
  84. ["banshee2"] = {"Banshee 900R",465000, imagelinko.."bansheef"..imagelinkc},
  85. ["bullet"] = {"Bullet",155000, imagelinko.."bulletf"..imagelinkc},
  86. ["cheetah"] = {"Cheetah",650000, imagelinko.."cheetahf"..imagelinkc},
  87. ["entityxf"] = {"Entity XF",795000, imagelinko.."entityxff"..imagelinkc},
  88. ["sheava"] = {"ETR1",199500, imagelinko.."etr1"..imagelinkc},
  89. ["fmj"] = {"FMJ",1750000, imagelinko.."fmj"..imagelinkc},
  90. ["infernus"] = {"Infernus",440000, imagelinko.."infernusf"..imagelinkc},
  91. ["osiris"] = {"Osiris",1950000, imagelinko.."osirisf"..imagelinkc},
  92. ["le7b"] = {"RE-7B",5075000, imagelinko.."re-7b"..imagelinkc},
  93. ["reaper"] = {"Reaper",1595000, imagelinko.."reaper"..imagelinkc},
  94. ["sultanrs"] = {"Sultan RS",795000, imagelinko.."sultanrs"..imagelinkc},
  95. ["t20"] = {"T20",2200000,imagelinko.."t20"..imagelinkc},
  96. ["turismor"] = {"Turismo R",1500000, imagelinko.."turismorf"..imagelinkc},
  97. ["tyrus"] = {"Tyrus",2550000, imagelinko.."tyrus"..imagelinkc},
  98. ["vacca"] = {"Vacca",240000, imagelinko.."vaccaf"..imagelinkc},
  99. ["voltic"] = {"Voltic",250000, imagelinko.."volticf"..imagelinkc},
  100. ["prototipo"] = {"X80 Proto",2700000, imagelinko.."x80-proto"..imagelinkc},
  101. ["zentorno"] = {"Zentorno",725000,imagelinko.."zentornof"..imagelinkc},
  102. },
  103.  
  104. ["musclecars"] = {
  105. _config = {vtype="car",blipid=50,blipcolor=4},
  106. ["blade"] = {"Blade",35000, imagelinko.."bladef"..imagelinkc},
  107. ["dominator"] = {"Dominator",25000, imagelinko.."sheavaf"..imagelinkc},
  108. ["dukes"] = {"Dukes",25000, imagelinko.."dominatorf"..imagelinkc},
  109. ["gauntlet"] = {"Gauntlet",30000, imagelinko.."gauntletf"..imagelinkc},
  110. ["nightshade"] = {"Nightshade",50000, imagelinko.."nightshadef"..imagelinkc},
  111. ["picador"] = {"Picador",26000, imagelinko.."picadorf"..imagelinkc},
  112. ["sabregt"] = {"Sabre Turbo",32000, imagelinko.."sabref"..imagelinkc},
  113. ["tampa"] = {"Tampa",45000, imagelinko.."tampa"..imagelinkc},
  114. ["virgo"] = {"Virgo",22000, imagelinko.."virgo"..imagelinkc},
  115. ["vigero"] = {"Vigero",19000, imagelinko.."vigerof"..imagelinkc},
  116. ["phoenix"] = {"Phoenix",24000, imagelinko.."phoenixf"..imagelinkc},
  117. ["slamvan"] = {"Slamvan",20000, imagelinko.."slamvanf"..imagelinkc},
  118. ["tornado6"] = {"Tornado Rat Rod",20000, imagelinko.."rattruckf"..imagelinkc},
  119. },
  120.  
  121. ["off-road"] = {
  122. _config = {vtype="car",blipid=50,blipcolor=4},
  123. ["bifta"] = {"Bifta",20000, imagelinko.."biftaf"..imagelinkc},
  124. ["brawler"] = {"Brawler",100000, imagelinko.."brawlerf"..imagelinkc},
  125. ["dubsta3"] = {"Bubsta 6x6",200000, imagelinko.."sheavaf"..imagelinkc},
  126. ["dune"] = {"Dune Buggy",35000, imagelinko..""..imagelinkc},
  127. ["rebel2"] = {"Rebel",28000, imagelinko.."rebel2f"..imagelinkc},
  128. ["sandking"] = {"Sandking",45000, imagelinko.."sandkingf"..imagelinkc},
  129. ["trophy"] = {"Trophy Truck",140000, imagelinko.."trophy-truck"..imagelinkc},
  130. ["mesa"] = {"Mesa",30000, imagelinko.."mesaf"..imagelinkc},
  131. ["contender"] = {"Contender",60000, imagelinko.."contender"..imagelinkc}
  132. },
  133.  
  134. ["suvs"] = {
  135. _config = {vtype="car",blipid=50,blipcolor=4},
  136. ["granger"] = {"Grabger",50000, imagelinko.."grangerf"..imagelinkc},
  137. ["huntley"] = {"Huntley",38000, imagelinko.."huntley"..imagelinkc},
  138. ["rocoto"] = {"Rocoto",25000, imagelinko.."rocotof"..imagelinkc},
  139. ["seminole"] = {"Seminole",35000, imagelinko.."seminolef"..imagelinkc},
  140. ["xls"] = {"XLS",35000, imagelinko.."xls"..imagelinkc},
  141. ["cavalcade2"] = {"Cavalcade",35000, imagelinko.."cavalcade2f"..imagelinkc},
  142. ["baller4"] = {"Baller",45000, imagelinko.."baller4"..imagelinkc},
  143. ["dubsta2"] = {"Dubsta",53000, imagelinko.."dubstaf"..imagelinkc},
  144. ["patriot"] = {"Patriot",53000, imagelinko.."patriotf"..imagelinkc},
  145. },
  146.  
  147. ["truck"] = {
  148. _config = {vtype="car",blipid=50,blipcolor=4},
  149. ["boxville2"] = {"Boxville",100000, imagelinko.."boxvillef"..imagelinkc},
  150. ["rumpo"] = {"Rumpo",60000, imagelinko.."rumpof"..imagelinkc},
  151. ["gburrito2"] = {"Gang Burrito",80000, imagelinko.."gangburritof"..imagelinkc},
  152. ["benson"] = {"Benson",13000, imagelinko.."bensonf"..imagelinkc},
  153. ["mule"] = {"Mule",150000, imagelinko.."mulef"..imagelinkc},
  154. ["pounder"] = {"Pounder",250000, imagelinko.."pounderf"..imagelinkc},
  155. },
  156.  
  157. ["sedans"] = {
  158. _config = {vtype="car",blipid=50,blipcolor=4},
  159. ["asea"] = {"Asea",15000, imagelinko.."aseaf"..imagelinkc},
  160. ["asterope"] = {"Asterope",18000, imagelinko.."asteropef"..imagelinkc},
  161. ["cognoscenti"] = {"Cognoscenti",100000, imagelinko.."cognoscentif"..imagelinkc},
  162. ["fugitive"] = {"Fugitive",50000, imagelinko.."fugitivef"..imagelinkc},
  163. ["tailgater"] = {"Tailgater",0, ""},
  164. ["glendale"] = {"Glendale",60000, imagelinko.."glendalef"..imagelinkc},
  165. ["intruder"] = {"Intruder",35000, imagelinko.."intruderf"..imagelinkc},
  166. ["primo"] = {"Primo",25000, imagelinko.."primof"..imagelinkc},
  167. ["regina"] = {"Regina",20000, imagelinko.."reginaf"..imagelinkc},
  168. ["schafter2"] = {"Schafter",45000, imagelinko.."schafterf"..imagelinkc},
  169. ["stanier"] = {"Stanier",40000, imagelinko.."stanierf"..imagelinkc},
  170. ["stretch"] = {"Stretch",60000, imagelinko.."stretchf"..imagelinkc},
  171. ["superd"] = {"Super Diamond",100000, imagelinko.."superdiamondf"..imagelinkc},
  172. ["warrener"] = {"Warrener",40000, imagelinko.."warrenerf"..imagelinkc},
  173. ["washington"] = {"Washington",30000, imagelinko.."washingtonf"..imagelinkc},
  174. },
  175.  
  176. ["lowriders"] = {
  177. _config = {vtype="car",blipid=50,blipcolor=4},
  178. ["banshee2"] = {"Banshee 900R",100000, imagelinko.."banshee2f"..imagelinkc},
  179. ["comet3"] = {"Comet Custom",100000, imagelinko.."cometf"..imagelinkc},
  180. ["buccaneer2"] = {"Buccaneer Custom",40000, imagelinko.."buccaneerf"..imagelinkc},
  181. ["chino2"] = {"Chino Custom",40000, imagelinko.."chinof"..imagelinkc},
  182. ["diabouls2"] = {"Diabouls Custom",60000, imagelinko.."diabolus-custom"..imagelinkc},
  183. ["elegy"] = {"Elegy Custom",100000, imagelinko.."elegy-retro-custom"..imagelinkc},
  184. ["faction2"] = {"Faction Custom",40000, imagelinko.."faction"..imagelinkc},
  185. ["fcr2"] = {"FCR 1000 Custom",60000, imagelinko.."fcr-1000-custom"..imagelinkc},
  186. ["italigtb2"] = {"italiGTB Custom",350000, imagelinko.."itali-gtb-custom"..imagelinkc},
  187. ["moonbeam2"] = {"MoonBeam Custom",40000, imagelinko.."moonbeam"..imagelinkc},
  188. ["nero2"] = {"Nero Custom",350000, imagelinko.."nero-custom"..imagelinkc},
  189. ["primo2"] = {"Primo Custom",40000, imagelinko.."primof"..imagelinkc},
  190. ["sabregt2"] = {"Saber Turbo Custom",40000, imagelinko.."sabref"..imagelinkc},
  191. ["specter2"] = {"Specter Custom",350000, imagelinko.."specter-custom"..imagelinkc},
  192. ["sultanrs"] = {"SultanRS",100000, imagelinko.."sultanrs"..imagelinkc},
  193. ["tornado5"] = {"Tornado Custom",40000, imagelinko.."tornado-rat-rod"..imagelinkc},
  194. ["voodoo"] = {"Voodoo Custom",40000, imagelinko.."voodoof"..imagelinkc},
  195. ["virgo2"] = {"Vergo Custom",40000, imagelinko.."virgof"..imagelinkc},
  196. ["minivan"] = {"Minivan Custom",40000, imagelinko.."minivanf"..imagelinkc},
  197. },
  198.  
  199. ["trucks"] = {
  200. _config = {vtype="car",blipid=50,blipcolor=4},
  201. ["benson"] = {"Benson",200000, imagelinko.."bensonf"..imagelinkc},
  202. ["rumpo"] = {"Rumpo",60000, imagelinko.."rumpof"..imagelinkc},
  203. ["pounder"] = {"Pounder",250000, imagelinko.."pounderf"..imagelinkc},
  204. ["mule"] = {"Mule",150000, imagelinko.."mulef"..imagelinkc},
  205. ["boxville2"] = {"Boxville",100000, imagelinko.."boxvillef"..imagelinkc},
  206. ["gburrito2"] = {"Gang burrito",80000, imagelinko.."gang-burrito"..imagelinkc},
  207. },
  208.  
  209. ["motorcycles"] = {
  210. _config = {vtype="bike",blipid=226,blipcolor=4},
  211. ["bagger"] = {"Bagger",15000, imagelinko.."baggerf"..imagelinkc},
  212. ["bati"] = {"Bati 801",25000, imagelinko.."bati801f"..imagelinkc},
  213. ["bf400"] = {"BF400",20000, imagelinko.."bf400"..imagelinkc},
  214. ["cliffhanger"] = {"Cliffhanger",15000, imagelinko.."cliffhanger"..imagelinkc},
  215. ["daemon"] = {"Daemon",23000, imagelinko.."daemonf"..imagelinkc},
  216. ["enduro"] = {"Enduro",26000, imagelinko.."endurof"..imagelinkc},
  217. ["faggio2"] = {"Faggio",6000, imagelinko.."faggiof"..imagelinkc},
  218. ["gargoyle"] = {"Gargoyle",26000, imagelinko.."gargoyle"..imagelinkc},
  219. ["hakuchou"] = {"Hakuchou",35000, imagelinko.."hakuchouf"..imagelinkc},
  220. ["hexer"] = {"Hexer",30000, imagelinko.."hexerf"..imagelinkc},
  221. ["lectro"] = {"Lectro",35000, imagelinko.."lectro"..imagelinkc},
  222. ["pcj"] = {"PCJ-600",37000, imagelinko.."pcj600f"..imagelinkc},
  223. ["sanchez"] = {"Sanchez",25000, imagelinko.."sanchez2f"..imagelinkc},
  224. ["sovereign"] = {"Sovereign",29000, imagelinko.."sovereignf"..imagelinkc},
  225. ["thrust"] = {"Thrust",40000, imagelinko.."thrustf"..imagelinkc},
  226. ["vader"] = {"Vader",37000, imagelinko.."vaderf"..imagelinkc},
  227. ["vindicator"] = {"Vindicator",43000,imagelinko.."vindicatorf"..imagelinkc},
  228. },
  229.  
  230. ["policehelicopters"] = {
  231. _config = {vtype="helicopters",permissions={"police.pc"}},
  232. ["polmav"] = {"Полицейский вертолёт",0, imagelinko.."maverickf"..imagelinkc},
  233. },
  234.  
  235. ["policecars"] = {
  236. _config = {vtype="car",permissions={"police.pc"}},
  237. ["police"] = {"Полицейский Stanier",0, imagelinko.."policecruiser1f"..imagelinkc},
  238. ["police2"] = {"Полицейский Buffalo",0, imagelinko.."policecruiserbuffalof"..imagelinkc},
  239. ["police3"] = {"Полицейский Interceptor",0, imagelinko.."policecruiser2f"..imagelinkc},
  240. ["policeb"] = {"Полицейский мотоцикл",0, imagelinko.."policebikef"..imagelinkc},
  241. ["policet"] = {"Полицейский фургон",0, imagelinko.."policetransporterf"..imagelinkc},
  242. ["riot"] = {"Полицейский броневик",0, imagelinko.."policeriotf"..imagelinkc},
  243. ["police4"] = {"Полицейская машина без маркировки",0, imagelinko.."unmarkedcruiserf"..imagelinkc},
  244. ["panto"] = {"ПДД машина",0, "Для практической части теста ПДД"}
  245. },
  246.  
  247. ["taxi"] = {
  248. _config = {vtype="car",permissions={"taxi.service"},blipid=56,blipcolor=47},
  249. ["taxi"] = {"Такси",5000, imagelinko.."taxi2f"..imagelinkc}
  250. },
  251.  
  252. ["repair"] = {
  253. _config = {vtype="car",permissions={"repair.service"}, blipid=67, blipcolor=21},
  254. ["towtruck"] = {"Эвакуатор",0, imagelinko.."towtrucklargef"..imagelinkc}
  255. },
  256.  
  257. ["fuelcarrier"] = {
  258. _config = {vtype="car",permissions={"fuelcarrier.service"}, blipid=67, blipcolor=25},
  259. ["pounder"] = {"Грузовик",5000, imagelinko.."pounderf"..imagelinkc}
  260. },
  261.  
  262. ["bikes"] = {
  263. _config = {vtype="car", blipid=226, blipcolor=26},
  264. ["bmx"] = {"BMX",1000, imagelinko.."bmxf"..imagelinkc},
  265. ["cruiser"] = {"Cruiser",1000, imagelinko.."cruiserf"..imagelinkc},
  266. ["tribike"] = {"Green Whippet Race Bike",2000, imagelinko.."tricyclesf"..imagelinkc},
  267. ["tribike2"] = {"Red Endurex Race Bike",2000, imagelinko.."tricyclesf"..imagelinkc},
  268. ["tribike3"] = {"Blue Tri-Cycles Race Bike",2000, imagelinko.."tricyclesf"..imagelinkc}
  269. },
  270.  
  271. ["boats"] = {
  272. _config = {vtype="car", blipid=371, blipcolor=25},
  273. ["seashark"] = {"Seashark",5000, imagelinko.."seasharkf"..imagelinkc},
  274. ["seashark2"] = {"Seashark 2",5000, imagelinko.."seasharkf"..imagelinkc},
  275. ["seashark3"] = {"Seashark 3",5000, imagelinko.."seasharkf"..imagelinkc},
  276. ["suntrap"] = {"Suntrap",5500, imagelinko.."suntrapf"..imagelinkc},
  277. ["speeder"] = {"Speeder",6000, imagelinko.."speederf"..imagelinkc},
  278. ["speeder2"] = {"Suntrap",6000, imagelinko.."speederf"..imagelinkc},
  279. ["qualo"] = {"Qualo",5500, imagelinko.."qualof"..imagelinkc},
  280. ["marquis"] = {"Marquis",7000, imagelinko.."marquisf"..imagelinkc}
  281. },
  282.  
  283. ["beast"] = {
  284. _config = {vtype="car", permissions={"player.list"}},
  285. ["windsor"] = {"Windsor",0, imagelinko.."windsorf"..imagelinkc},
  286. ["windsor2"] = {"Windsor 2",0, imagelinko.."windsorf"..imagelinkc},
  287. ["monster"] = {"Monster",0, imagelinko.."marshallf"..imagelinkc},
  288. ["dubsta"] = {"Dubsta",0, imagelinko.."dubstaf"..imagelinkc},
  289. ["dubsta2"] = {"Dubsta 2",0, imagelinko.."dubstaf"..imagelinkc},
  290. ["dubsta3"] = {"Dubsta 3",0, imagelinko.."dubstaf"..imagelinkc},
  291. ["stretch"] = {"Stretch",0, imagelinko.."stretchf"..imagelinkc},
  292. ["cog552"] = {"Cog552",0, ""},
  293. ["tourbus"] = {"Tourbus",0, imagelinko.."tourbusf"..imagelinkc},
  294. ["superd"] = {"Superd",0, imagelinko.."superdiamondf"..imagelinkc},
  295. ["volatus"] = {"Volatus",0, imagelinko.."volatusf"..imagelinkc},
  296. ["stalion2"] = {"Stalion 2",0, ""},
  297. ["dominator2"] = {"Dominator 2",0, ""}
  298.  
  299. },
  300.  
  301. ["news"] = {
  302. _config = {vtype="car", permissions={"news.service"}},
  303. ["rumpo"] = {"Новостной фургон",0, imagelinko.."rumpof"..imagelinkc},
  304. ["stanier"] = {"Служебная ммашина",0, imagelinko.."stanierf"..imagelinkc}
  305. },
  306. ["krivetka"] = {
  307. _config = {vtype="boat",},
  308. ["tug"] = {"Рыбатская шхуна",0, imagelinko..""..imagelinkc},
  309. },
  310. ["bandainzise"] = {
  311. _config = {vtype="car", blipid=50, blipcolor=6, permissions={"banda.insize"}},
  312. ["rumpo3"] = {"Фургон",0, imagelinko.."sheavaf"..imagelinkc}
  313. },
  314.  
  315. ["bandaotto"] = {
  316. _config = {vtype="car", permissions={"banda.otto"}},
  317. ["boxville5"] = {"Valkyrie",0, imagelinko.."sheavaf"..imagelinkc},
  318. ["tornado6"] = {"Betty",0, imagelinko.."sheavaf"..imagelinkc}
  319. },
  320. ["bandacloud"] = {
  321. _config = {vtype="car", permissions={"banda.otto"}},
  322. ["rebel"] = {"rebel",0, ""}
  323. },
  324. ["bandalex"] = {
  325. _config = {vtype="car",permissions={"banda.lex"}},
  326. ["schafter3"] = {"Шафтер",0, ""},
  327. ["xls2"] = {"Машна для разборок",0, ""},
  328. ["omnis"] = {"Машина Рыжего",0, ""},
  329. ["cheetah2"] = {"читаННННН",0, ""}
  330. },
  331. ["Прокат лодок"] = {
  332. _config = {vtype="boat",blipid=471,blipcolor=76},
  333. ["seashark"] = {"Seashark",3000, imagelinko.."seashark"..imagelinkc}
  334. },
  335. ["teacher's angar"] = {
  336. _config = {vtype="car",permissions={"pilot.teacher"}},
  337. ["cuban800"] = {"Cuban800",0, ""},
  338. ["mammatus"] = {"Mammatus",0, ""},
  339. ["mallard"] = {"Mallard",0, ""},
  340. ["velum2"] = {"Velum",0, ""},
  341. ["duster"] = {"Duster",0, ""},
  342. ["dodo"] = {"Dodo",0, ""},
  343. ["vestra"] = {"Vestra",0, ""},
  344. ["shamal"] = {"Shamal",0, ""},
  345. ["nimbus"] = {"Nimbus",0, ""},
  346. ["luxor"] = {"Luxor",0, ""}
  347. },
  348. ["teacher's helicopters"] = {
  349. _config = {vtype="car",permissions={"pilot.teacher"}},
  350. ["buzzard2"] = {"Buzzard",0, ""},
  351. ["cargobob2"] = {"Cargobob",0, ""},
  352. ["frogger"] = {"Frogger",0, ""},
  353. ["maverick"] = {"Maverick",0, ""},
  354. ["supervolito"] = {"SuperVolito",0, ""},
  355. ["swift"] = {"Swift",0, ""},
  356. ["volatus"] = {"Volatus",0, ""},
  357. ["skylift"] = {"Skylift",0, ""}
  358. },
  359. ["teacher's garage"] = {
  360. _config = {vtype="car",permissions={"pilot.teacher"}},
  361. ["firetruk"] = {"Пожарная машина",0, ""},
  362. ["airbus"] = {"Автобус аэропорта",0, ""},
  363. ["ripley"] = {"Тягач",0, ""},
  364. ["airtug"] = {"Тягач малый",0, ""},
  365. ["tailgater"] = {"Машина инструктора",0, ""}
  366. },
  367. ["Магазин реактивных самолётов"] = {
  368. _config = {vtype="car",permissions={"pilot.1stclass"},blipid=16,blipcolor=49},
  369. ["vestra"] = {"Vestra",100000, ""},
  370. ["shamal"] = {"Shamal",200000, ""},
  371. ["nimbus"] = {"Nimbus",400000, ""},
  372. ["luxor"] = {"Luxor",300000, ""}
  373. },
  374. ["Магазин вертолётов"] = {
  375. _config = {vtype="car",permissions={"pilot.2ndclass"},blipid=43,blipcolor=49},
  376. ["buzzard2"] = {"Buzzard",100000, ""},
  377. ["cargobob2"] = {"Cargobob",300000, ""},
  378. ["frogger"] = {"Frogger",120000, ""},
  379. ["maverick"] = {"Maverick",80000, ""},
  380. ["supervolito"] = {"SuperVolito",500000, ""},
  381. ["swift2"] = {"Swift",250000, ""},
  382. ["volatus"] = {"Volatus",600000, ""},
  383. ["skylift"] = {"Skylift",400000, ""},
  384. },
  385. ["Магазин турбовинтовых самолётов"] = {
  386. _config = {vtype="car",permissions={"pilot.3edclass"},blipid=251,blipcolor=49},
  387. ["cuban800"] = {"Cuban800",70000, ""},
  388. ["mammatus"] = {"Mammatus",90000, ""},
  389. ["mallard"] = {"Mallard",100000, ""},
  390. ["velum2"] = {"Velum",130000, ""},
  391. ["duster"] = {"Duster",25000, ""},
  392. ["dodo"] = {"Dodo",40000, ""}
  393. }
  394. }
  395.  
  396. -- {garage_type,x,y,z}
  397. cfg.garages = {
  398. {"off-road", -1142.05334472656, -1987.70251464844, 13.1646347045898},
  399. {"news", -1100.16613769531, -260.355316162109, 37.6789283752441},
  400. {"lowriders", -187.530944824219, -1291.3505859375, 31.2959632873535},
  401. {"suvs", 816.878723144531,-919.560424804688,25.8802738189697},
  402. {"trucks", -882.533325195313,-2730.81713867188,13.8284845352173},
  403. {"sedans", -222.03498840332, -1163.18615722656, 23.0203742980957},
  404. {"compacts", -363.554107666016, -131.989105224609, 38.6802215576172},
  405. {"coupe", 717.084655761719, -1088.55786132813, 22.3606491088867},
  406. {"musclecars", -1435.86059570313,-885.975646972656,10.8264465332031},
  407. {"sports", -18.3933048248291, -1083.96936035156, 26.6590614318848},
  408. {"sportsclassics", 366.165466308594, -77.181526184082, 67.3357696533203},
  409. {"supercars", -225.890853881836, -270.875, 49.0356330871582},
  410. {"motorcycles", -65.3580169677734, 82.2283630371094, 71.5605239868164},
  411. {"policehelicopters", 449.15,-981.23,43.69},
  412. {"policecars", 453.463,-1018.83258056641,28.41},
  413. {"taxi", 914.832153320313,-166.791458129883,74.3813705444336},
  414. {"repair", 492.556854248047,-1331.68994140625,29.3385353088379},
  415. {"repair", -461.492523193359,-1718.67980957031,18.6391544342041},
  416. {"repair", 1181.82507324219,2653.32958984375,37.809928894043},
  417. {"fuelcarrier", 2666.20288085938,1662.3525390625,24.4885864257813},
  418. {"boats", -1631.29614257813,-1159.62170410156,1.46207177639008},
  419. {"beast", -1002.53973388672,-523.4814453125,36.8210754394531},
  420. {"bandainzise", -1152.24621582031,-1547.74768066406,4.2493634223938},
  421. {"bandaotto", 1985.53747558594,3824.69506835938,32.3465347290039},
  422. {"frank", 821.8896484375,-2141.36254882813,28.9469223022461},
  423. {"Прокат лодок", -1525.01879882813,1487.27673339844,109.950492858887},
  424. {"Прокат лодок", -1602.54284667969,5260.89306640625,-0.39981997013092},
  425. {"Прокат лодок", 3854.83471679688,4453.54052734375,-0.399885207414627},
  426. {"Прокат лодок", 2841.50341796875,-665.580444335938,0.0411129668354988},
  427. {"Прокат лодок", -2083.8408203125,2602.89501953125,-0.39757713675499},
  428. {"bikes", -1045.47668457031,-2726.70141601563,20.1692714691162},
  429. {"bikes", 318.47216796875,-1367.55847167969,31.8096466064453},
  430. {"bikes", 505.078216552734,5537.091796875,777.878234863281},
  431. {"bikes", 182.601486206055,4414.41650390625,74.3924255371094},
  432. {"bikes", -384.627105712891,1238.93811035156,326.018218994141},
  433. {"bikes", 2700.82080078125,5136.41650390625,44.4120025634766},
  434. {"bandalex", 16.0490283966064,547.977783203125,176.186126708984},
  435. {"bandacloud", -591.992309570313,-1586.46533203125,26.7511386871338},
  436. {"krivetka", -80.2506790161133,-2771.5498046875,0.251619458198547},
  437. {"teacher's angar", -1669.009765625,-3162.32788085938,13.9921293258667},
  438. {"teacher's helicopters", -1178.4853515625,-2845.80493164063,13.9457626342773},
  439. {"Магазин вертолётов", -1112.53918457031,-2883.83740234375,13.9460201263428},
  440. {"Магазин реактивных самолётов", -962.230590820313,-2985.13940429688,13.9450616836548},
  441. {"Магазин турбовинтовых самолётов", -977.886108398438,-3017.4765625,13.9450750350952},
  442. {"teacher's garage", -1647.99645996094,-3176.02026367188,13.9919662475586}
  443. }
  444.  
  445. return cfg
Success #stdin #stdout 0s 5280KB
stdin
@page
@model NameTransformerModel
@{
    ViewData["Title"] = "Name Transformer";
}

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>@ViewData["Title"]</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            text-align: center;
            margin-top: 50px;
        }
        input, button {
            padding: 10px;
            font-size: 16px;
        }
        .result {
            margin-top: 20px;
            font-size: 20px;
            font-weight: bold;
        }
    </style>
</head>
<body>
    <h1>Name Transformer</h1>
    <form method="post">
        <p>Enter your first name:</p>
        <input type="text" name="FirstName" placeholder="First Name" required />
        <button type="submit">Transform</button>
    </form>

    @if (!string.IsNullOrEmpty(Model.TransformedName))
    {
        <div class="result">
            Transformed Name: <strong>@Model.TransformedName</strong>
        </div>
    }
</body>
</html>
stdout
Standard output is empty