Advertisement
Guest User

Untitled

a guest
Jul 7th, 2018
328
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.62 KB | None | 0 0
  1. hook.Add( "Initialize", "CS_CONFIG_Initialize_Hook", function()
  2. // MAIN CONFIG
  3.  
  4. -- Main
  5. CreditShop_Config.UseDarkRP = true -- Whether or not you are using DarkRP.
  6. CreditShop_Config.UseWorkshop = true -- True uses WorkShop (ID: 1378473140), false uses FastDL (Remember to sync it).
  7.  
  8. -- Themes
  9. CreditShop_Config.Theme = "Blur" -- Options: "Blur", "Flat" can be used with the skin.
  10.  
  11. -- Menu Configs
  12. CreditShop_Config.ShopName = "Донат" -- The name of the shop, e.g. "CREDIT STORE"
  13. CreditShop_Config.ShopName3DEffect = false -- Whether or not the shop title should have a 3D effect
  14. CreditShop_Config.ShopUseCommand = true -- Whether or not the shop can be opened through a command (command can be changed below)
  15. CreditShop_Config.ShopCommand = "/creditstore" -- The command used to open the shop
  16. CreditShop_Config.ShopOpenWith = "F1" -- Can the shop be opened by a key Options: ( "NONE" = can't be opened using a key, "F1", "F2", "F3", "F4" )
  17.  
  18. CreditShop_Config.ExchangeName = "CREDIT EXCHANGE" -- The name of the exchange, e.g. "CREDIT EXCHANGE"
  19. CreditShop_Config.ExchangeName3DEffect = true -- Whether or not the exchange title should have a 3D effect
  20.  
  21. -- SQL
  22. CreditShop_Config.UseSQL = false -- Whether or not an SQL should be used (recommended true if you have a database)
  23. CreditShop_Config.CSDATABASE_HOST = "HOST" -- The host of the SQL database ( an IP ).
  24. CreditShop_Config.CSDATABASE_USERNAME = "USERNAME" -- The username for the SQL database.
  25. CreditShop_Config.CSDATABASE_PASSWORD = "PASSWORD" -- The password for the SQL database.
  26. CreditShop_Config.CSDATABASE_DATABASENAME = "DATABASENAME" -- The databasename of the SQL database.
  27. CreditShop_Config.CSDATABASE_DATABASEPORT = 3306 -- The DatabasePort, normally 3306.
  28.  
  29. --Paydays and Credit System
  30. CreditShop_Config.STARTCREDITS = 5 -- This is the amount of credits that players start with.
  31. CreditShop_Config.ENABLE_SIMPLE_HUD = false -- Whether or not the simple HUD should be enabled - only draws credits
  32. CreditShop_Config.PAYDAYS = false -- Whether or not paydays should occur
  33. CreditShop_Config.PAYDAY_AMOUNT = 1000 -- How much credits a person should be given every PAYDAY_INTERVALS.
  34. CreditShop_Config.PAYDAY_INTERVALS = 120 -- In seconds, how often should the player receive the PAYDAY_AMOUNT.
  35.  
  36. CreditShop_Config.CdDrpRate = 100 -- The amount of darkrp currency you get from 1 credit, and therefore how many dollars it takes to get 1 credit.
  37.  
  38. CreditShop_Config.SaveStatsTime = 10 -- How often a player's credit stats should be saved.
  39.  
  40. --PAGES--
  41.  
  42. CreditShop_ExtraPages[1] = {
  43. Name = "DsAdmin",
  44. Website = "https://vk.com/gmodla?w=product-121556822_1773003%2Fquery",
  45. Icon = ""
  46. }
  47.  
  48. CreditShop_ExtraPages[2] = {
  49. Name = "Premium",
  50. Website = "https://vk.com/gmodla?w=product-121556822_1773034%2Fquery",
  51. Icon = ""
  52. }
  53.  
  54. CreditShop_ExtraPages[3] = {
  55. Name = "VIP",
  56. Website = "https://vk.com/gmodla?w=product-121556822_1773058%2Fquery",
  57. Icon = ""
  58. }
  59.  
  60.  
  61. // ADD ITEM CONFIG
  62. local ItemSort = "Random" -- Options: "High_Low", "Low_High", "Random"
  63. --[[--
  64. CreditShop_Items["health"] = { -- Unique name
  65. Name = "200 Health", -- Name shown in shop
  66. Description = "Gives you 200 HP. (Maximum 200 HP allowed)", -- The description shown in the shop
  67. InDepthDescription = "Sets your player model until your next death/job change!", -- A description shown in the about menu
  68. Model = "models/props_junk/GlassBottle01a.mdl", -- The model of the product
  69. Price = 1, -- the price of the product
  70. PM = false, -- whether the product is a player model or not, do not set this to true aswell as icon
  71. Icon = true, -- whether you want to use an icon or not
  72. IconImg = "materials/dark_matter/health.png", -- if Icon = true, then what image shoud it use
  73. OnPurFunction = -- the function to be called when a player buys it!
  74. function(ply,item)
  75. local HealthToGive = 200
  76. local MaxHealth = 200
  77.  
  78. if ply:Health() + HealthToGive < MaxHealth then
  79. ply:SetHealth(ply:Health() + HealthToGive)
  80. else
  81. ply:SetHealth(MaxHealth)
  82. end
  83. end,
  84. }
  85. --]]--
  86.  
  87. -- User group example
  88. CreditShop_Items["vip2"] = {
  89. Name = "VIP На 30дн.",
  90. Description = "",
  91. InDepthDescription = "",
  92. Model = "models/player/lulsec.mdl",
  93. Price = 150,
  94. PM = false,
  95. Icon = false,
  96. IconImg = "icon16/award_star_silver_2.png",
  97. OnPurFunction =
  98. function(ply,item)
  99. RunConsoleCommand("ulx", "tempadduserid", ply:SteamID(), "vip", "43200", "user")
  100. end,
  101. }
  102.  
  103. CreditShop_Items["vip"] = {
  104. Name = "VIP НаВсегда",
  105. Description = "",
  106. InDepthDescription = "",
  107. Model = "models/player/lulsec.mdl",
  108. Price = 300,
  109. PM = false,
  110. Icon = false,
  111. IconImg = "icon16/award_star_silver_1.png",
  112. OnPurFunction =
  113. function(ply,item)
  114. RunConsoleCommand("ulx", "adduserid", ply:SteamID(), "vip")
  115. end,
  116. }
  117.  
  118. CreditShop_Items["premium2"] = {
  119. Name = "Premium На 30дн.",
  120. Description = "",
  121. InDepthDescription = "",
  122. Model = "models/half-dead/gopniks/extra/playermodelonly.mdl",
  123. Price = 450,
  124. PM = false,
  125. Icon = false,
  126. IconImg = "icon16/award_star_gold_2.png",
  127. OnPurFunction =
  128. function(ply,item)
  129. RunConsoleCommand("ulx", "tempadduserid", ply:SteamID(), "premium", "43200", "user")
  130. end,
  131. }
  132.  
  133. CreditShop_Items["premium"] = {
  134. Name = "Premium НаВсегда",
  135. Description = "",
  136. InDepthDescription = "",
  137. Model = "models/half-dead/gopniks/extra/playermodelonly.mdl",
  138. Price = 850,
  139. PM = false,
  140. Icon = false,
  141. IconImg = "icon16/award_star_gold_1.png",
  142. OnPurFunction =
  143. function(ply,item)
  144. RunConsoleCommand("ulx", "adduserid", ply:SteamID(), "premium")
  145. end,
  146. }
  147.  
  148. CreditShop_Items["dsadmin2"] = {
  149. Name = "DsAdmin На 30дн.",
  150. Description = "",
  151. InDepthDescription = "",
  152. Model = "models/buggy.mdl",
  153. Price = 1200,
  154. PM = false,
  155. Icon = true,
  156. IconImg = "materials/credit_shop/armor.png",
  157. OnPurFunction =
  158. function(ply,item)
  159. RunConsoleCommand("ulx", "tempadduserid", ply:SteamID(), "dsadmin", "43200", "user")
  160. end,
  161. }
  162.  
  163. CreditShop_Items["dsadmin"] = {
  164. Name = "DsAdmin НаВсегда",
  165. Description = "",
  166. InDepthDescription = "",
  167. Model = "models/buggy.mdl",
  168. Price = 3000,
  169. PM = false,
  170. Icon = true,
  171. IconImg = "materials/credit_shop/armor.png",
  172. OnPurFunction =
  173. function(ply,item)
  174. RunConsoleCommand("ulx", "adduserid", ply:SteamID(), "dsadmin")
  175. end,
  176. }
  177.  
  178. if( CreditShop_Config.UseDarkRP == true ) then
  179. -- Icon (Money) examples
  180. CreditShop_Items["dollars"] = {
  181. Name = "$1,000,000",
  182. Description = "",
  183. InDepthDescription = "",
  184. Model = "models/props/cs_assault/Dollar.mdl",
  185. Price = 100,
  186. PM = false,
  187. Icon = false,
  188. IconImg = "materials/dark_matter/minigun.png",
  189. OnPurFunction =
  190. function(ply,item)
  191. ply:addMoney(1000000)
  192. end,
  193. }
  194.  
  195. CreditShop_Items["dollars2"] = {
  196. Name = "$5,000,000",
  197. Description = "",
  198. InDepthDescription = "",
  199. Model = "models/props/cs_assault/money.mdl",
  200. Price = 400,
  201. PM = false,
  202. Icon = false,
  203. IconImg = "materials/dark_matter/minigun.png",
  204. OnPurFunction =
  205. function(ply,item)
  206. ply:addMoney(5000000)
  207. end,
  208. }
  209.  
  210. CreditShop_Items["dollars3"] = {
  211. Name = "$10,000,000",
  212. Description = "",
  213. InDepthDescription = "",
  214. Model = "models/cash/stack.mdl",
  215. Price = 600,
  216. PM = false,
  217. Icon = false,
  218. IconImg = "materials/dark_matter/minigun.png",
  219. OnPurFunction =
  220. function(ply,item)
  221. ply:addMoney(10000000)
  222. end,
  223. }
  224.  
  225. CreditShop_Items["dollars4"] = {
  226. Name = "$50,000,000",
  227. Description = "",
  228. InDepthDescription = "",
  229. Model = "models/cash/stack.mdl",
  230. Price = 1200,
  231. PM = false,
  232. Icon = false,
  233. IconImg = "materials/dark_matter/minigun.png",
  234. OnPurFunction =
  235. function(ply,item)
  236. ply:addMoney(50000000)
  237. end,
  238. }
  239.  
  240. CreditShop_Items["dollars5"] = {
  241. Name = "$100,000,000",
  242. Description = "",
  243. InDepthDescription = "",
  244. Model = "models/props/cs_assault/MoneyPallet.mdl",
  245. Price = 2000,
  246. PM = false,
  247. Icon = false,
  248. IconImg = "materials/dark_matter/minigun.png",
  249. OnPurFunction =
  250. function(ply,item)
  251. ply:addMoney(100000000)
  252. end,
  253. }
  254.  
  255. CreditShop_Items["perm_beretta"] = {
  256. Name = "M92 beretta",
  257. Description = "Оружие навсегда",
  258. InDepthDescription = "Оружие навсегда",
  259. Model = "models/weapons/w_beretta_m92.mdl",
  260. PermClass = "m9k_m92beretta",
  261. PermWep = true,
  262. Price = 200,
  263. PM = true,
  264. Icon = false,
  265. OnPurFunction =
  266. function(ply,item)
  267. ply:Give( "m9k_m92beretta" )
  268. ply:CS_AddPermWep( "m9k_m92beretta" )
  269. end,
  270. }
  271.  
  272. CreditShop_Items["perm_model627"] = {
  273. Name = "Model 1627",
  274. Description = "Оружие навсегда",
  275. InDepthDescription = "",
  276. Model = "models/weapons/w_sw_model_627.mdl",
  277. PermClass = "m9k_model627",
  278. PermWep = true,
  279. Price = 380,
  280. PM = true,
  281. Icon = false,
  282. OnPurFunction =
  283. function(ply,item)
  284. ply:Give( "m9k_model627" )
  285. ply:CS_AddPermWep( "m9k_model627" )
  286. end,
  287. }
  288.  
  289. CreditShop_Items["perm_p90"] = {
  290. Name = "UZI",
  291. Description = "Оружие навсегда",
  292. InDepthDescription = "",
  293. Model = "models/weapons/w_fn_p90.mdl",
  294. PermClass = "m9k_smgp90",
  295. PermWep = true,
  296. Price = 500,
  297. PM = true,
  298. Icon = false,
  299. OnPurFunction =
  300. function(ply,item)
  301. ply:Give( "m9k_smgp90" )
  302. ply:CS_AddPermWep( "m9k_smgp90" )
  303. end,
  304. }
  305.  
  306. CreditShop_Items["perm_MP5SD"] = {
  307. Name = "MP5SD",
  308. Description = "Оружие навсегда",
  309. InDepthDescription = "",
  310. Model = "models/weapons/w_hk_mp5sd.mdl",
  311. PermClass = "m9k_mp5sd",
  312. PermWep = true,
  313. Price = 650,
  314. PM = true,
  315. Icon = false,
  316. OnPurFunction =
  317. function(ply,item)
  318. ply:Give( "m9k_mp5sd" )
  319. ply:CS_AddPermWep( "m9k_mp5sd" )
  320. end,
  321. }
  322.  
  323. CreditShop_Items["perm_MP9"] = {
  324. Name = "MP9 (с прицелом)",
  325. Description = "Оружие навсегда",
  326. InDepthDescription = "",
  327. Model = "models/weapons/w_brugger_thomet_mp9.mdl",
  328. PermClass = "m9k_mp9",
  329. PermWep = true,
  330. Price = 750,
  331. PM = true,
  332. Icon = false,
  333. OnPurFunction =
  334. function(ply,item)
  335. ply:Give( "m9k_mp9" )
  336. ply:CS_AddPermWep( "m9k_mp9" )
  337. end,
  338. }
  339.  
  340. CreditShop_Items["perm_thompson"] = {
  341. Name = "Tommy Gun",
  342. Description = "Оружие навсегда",
  343. InDepthDescription = "",
  344. Model = "models/weapons/w_tommy_gun.mdl",
  345. PermClass = "m9k_thompson",
  346. PermWep = true,
  347. Price = 850,
  348. PM = true,
  349. Icon = false,
  350. OnPurFunction =
  351. function(ply,item)
  352. ply:Give( "m9k_thompson" )
  353. ply:CS_AddPermWep( "m9k_thompson" )
  354. end,
  355. }
  356.  
  357. CreditShop_Items["perm_hkmp7"] = {
  358. Name = "Hk MP7",
  359. Description = "Оружие навсегда",
  360. InDepthDescription = "",
  361. Model = "models/weapons/w_mp7_silenced.mdl",
  362. PermClass = "m9k_mp7",
  363. PermWep = true,
  364. Price = 950,
  365. PM = true,
  366. Icon = false,
  367. OnPurFunction =
  368. function(ply,item)
  369. ply:Give( "m9k_mp7" )
  370. ply:CS_AddPermWep( "m9k_mp7" )
  371. end,
  372. }
  373.  
  374. CreditShop_Items["perm_vector"] = {
  375. Name = "Vector (с прицелом )",
  376. Description = "Оружие навсегда",
  377. InDepthDescription = "",
  378. Model = "models/weapons/w_kriss_vector.mdl",
  379. PermClass = "m9k_vector",
  380. PermWep = true,
  381. Price = 1300,
  382. PM = true,
  383. Icon = false,
  384. OnPurFunction =
  385. function(ply,item)
  386. ply:Give( "m9k_vector" )
  387. ply:CS_AddPermWep( "m9k_vector" )
  388. end,
  389. }
  390.  
  391. CreditShop_Items["perm_M82"] = {
  392. Name = "Barret M82",
  393. Description = "Оружие навсегда",
  394. InDepthDescription = "",
  395. Model = "models/weapons/w_barret_m82.mdl",
  396. PermClass = "m9k_barret_m82",
  397. PermWep = true,
  398. Price = 2300,
  399. PM = true,
  400. Icon = false,
  401. OnPurFunction =
  402. function(ply,item)
  403. ply:Give( "m9k_barret_m82" )
  404. ply:CS_AddPermWep( "m9k_barret_m82" )
  405. end,
  406. }
  407.  
  408. CreditShop_Items["perm_m1918bar"] = {
  409. Name = "M1918 BAR",
  410. Description = "Оружие навсегда",
  411. InDepthDescription = "",
  412. Model = "models/weapons/w_m1918_bar.mdl",
  413. PermClass = "m9k_m1918bar",
  414. PermWep = true,
  415. Price = 2600,
  416. PM = true,
  417. Icon = false,
  418. OnPurFunction =
  419. function(ply,item)
  420. ply:Give( "m9k_m1918bar" )
  421. ply:CS_AddPermWep( "m9k_m1918bar" )
  422. end,
  423. }
  424.  
  425. CreditShop_Items["perm_M60"] = {
  426. Name = "M60",
  427. Description = "Оружие навсегда",
  428. InDepthDescription = "",
  429. Model = "models/weapons/w_m60_machine_gun.mdl",
  430. PermClass = "m9k_m60",
  431. PermWep = true,
  432. Price = 3500,
  433. PM = true,
  434. Icon = false,
  435. OnPurFunction =
  436. function(ply,item)
  437. ply:Give( "m9k_m60" )
  438. ply:CS_AddPermWep( "m9k_m60" )
  439. end,
  440. }
  441.  
  442. CreditShop_Items["perm_M134"] = {
  443. Name = "M134 MiniGun",
  444. Description = "Оружие навсегда",
  445. InDepthDescription = "",
  446. Model = "models/weapons/w_m134_minigun.mdl",
  447. PermClass = "m9k_minigun",
  448. PermWep = true,
  449. Price = 5000,
  450. PM = true,
  451. Icon = false,
  452. OnPurFunction =
  453. function(ply,item)
  454. ply:Give( "m9k_minigun" )
  455. ply:CS_AddPermWep( "m9k_minigun" )
  456. end,
  457. }
  458.  
  459. CreditShop_Items["perm_gutknifecrimson"] = {
  460. Name = "Gut Knife - Кровавая Паутина",
  461. Description = "Нож навсегда",
  462. InDepthDescription = "",
  463. Model = "models/weapons/w_csgo_gut.mdl",
  464. PermClass = "csgo_gut_crimsonwebs",
  465. PermWep = true,
  466. Price = 70,
  467. PM = false,
  468. Icon = false,
  469. OnPurFunction =
  470. function(ply,item)
  471. ply:Give( "csgo_gut_crimsonwebs" )
  472. ply:CS_AddPermWep( "csgo_gut_crimsonwebs" )
  473. end,
  474.  
  475. }
  476.  
  477. CreditShop_Items["perm_gutknifegrad"] = {
  478. Name = "Gut Knife - Градиент",
  479. Description = "Нож навсегда",
  480. InDepthDescription = "",
  481. Model = "models/weapons/w_csgo_gut.mdl",
  482. PermClass = "csgo_gut_fade",
  483. PermWep = true,
  484. Price = 70,
  485. PM = false,
  486. Icon = false,
  487. OnPurFunction =
  488. function(ply,item)
  489. ply:Give( "csgo_gut_fade" )
  490. ply:CS_AddPermWep( "csgo_gut_fade" )
  491. end,
  492.  
  493. }
  494.  
  495. CreditShop_Items["perm_gutknifemfade"] = {
  496. Name = "Gut Knife - Мраморный Градиент",
  497. Description = "Нож навсегда",
  498. InDepthDescription = "",
  499. Model = "models/weapons/w_csgo_gut.mdl",
  500. PermClass = "csgo_gut_marblefade",
  501. PermWep = true,
  502. Price = 70,
  503. PM = false,
  504. Icon = false,
  505. OnPurFunction =
  506. function(ply,item)
  507. ply:Give( "csgo_gut_marblefade" )
  508. ply:CS_AddPermWep( "csgo_gut_marblefade" )
  509. end,
  510.  
  511. }
  512.  
  513. CreditShop_Items["perm_gutknifepc"] = {
  514. Name = "Gut Knife - Поверхностная Закалка",
  515. Description = "Нож навсегда",
  516. InDepthDescription = "",
  517. Model = "models/weapons/w_csgo_gut.mdl",
  518. PermClass = "csgo_gut_case",
  519. PermWep = true,
  520. Price = 70,
  521. PM = false,
  522. Icon = false,
  523. OnPurFunction =
  524. function(ply,item)
  525. ply:Give( "csgo_gut_case" )
  526. ply:CS_AddPermWep( "csgo_gut_case" )
  527. end,
  528. }
  529.  
  530. CreditShop_Items["perm_falchioncw"] = {
  531. Name = "Falchion Knife - Кровавая Паутина",
  532. Description = "Нож навсегда",
  533. InDepthDescription = "",
  534. Model = "models/weapons/w_csgo_falchion.mdl",
  535. PermClass = "csgo_falchion_crimsonwebs",
  536. PermWep = true,
  537. Price = 100,
  538. PM = false,
  539. Icon = false,
  540. OnPurFunction =
  541. function(ply,item)
  542. ply:Give( "csgo_falchion_crimsonwebs" )
  543. ply:CS_AddPermWep( "csgo_falchion_crimsonwebs" )
  544. end,
  545. }
  546.  
  547. CreditShop_Items["perm_falchiong"] = {
  548. Name = "Falchion Knife - Градиент",
  549. Description = "Нож навсегда",
  550. InDepthDescription = "",
  551. Model = "models/weapons/w_csgo_falchion.mdl",
  552. PermClass = "csgo_falchion_fade",
  553. PermWep = true,
  554. Price = 100,
  555. PM = false,
  556. Icon = false,
  557. OnPurFunction =
  558. function(ply,item)
  559. ply:Give( "csgo_falchion_fade" )
  560. ply:CS_AddPermWep( "csgo_falchion_fade" )
  561. end,
  562. }
  563.  
  564. CreditShop_Items["perm_falchionmg"] = {
  565. Name = "Falchion Knife - Мраморный Градиент",
  566. Description = "Нож навсегда",
  567. InDepthDescription = "",
  568. Model = "models/weapons/w_csgo_falchion.mdl",
  569. PermClass = "csgo_falchion_marblefade",
  570. PermWep = true,
  571. Price = 100,
  572. PM = false,
  573. Icon = false,
  574. OnPurFunction =
  575. function(ply,item)
  576. ply:Give( "csgo_falchion_marblefade" )
  577. ply:CS_AddPermWep( "csgo_falchion_marblefade" )
  578. end,
  579. }
  580.  
  581. CreditShop_Items["perm_falchionpz"] = {
  582. Name = "Falchion Knife - Поверхностная Закалка",
  583. Description = "Нож навсегда",
  584. InDepthDescription = "",
  585. Model = "models/weapons/w_csgo_falchion.mdl",
  586. PermClass = "csgo_falchion_case",
  587. PermWep = true,
  588. Price = 100,
  589. PM = false,
  590. Icon = false,
  591. OnPurFunction =
  592. function(ply,item)
  593. ply:Give( "csgo_falchion_case" )
  594. ply:CS_AddPermWep( "csgo_falchion_case" )
  595. end,
  596. }
  597.  
  598. CreditShop_Items["perm_hutsmancw"] = {
  599. Name = "Hutsman Knife - Кровавая Паутина",
  600. Description = "Нож навсегда",
  601. InDepthDescription = "",
  602. Model = "models/weapons/w_csgo_tactical.mdl",
  603. PermClass = "csgo_huntsman_crimsonwebs",
  604. PermWep = true,
  605. Price = 150,
  606. PM = false,
  607. Icon = false,
  608. OnPurFunction =
  609. function(ply,item)
  610. ply:Give( "csgo_huntsman_crimsonwebs" )
  611. ply:CS_AddPermWep( "csgo_huntsman_crimsonwebs" )
  612. end,
  613. }
  614.  
  615. CreditShop_Items["perm_hutsmang"] = {
  616. Name = "Hutsman Knife - Градиент",
  617. Description = "Нож навсегда",
  618. InDepthDescription = "",
  619. Model = "models/weapons/w_csgo_tactical.mdl",
  620. PermClass = "csgo_huntsman_fade",
  621. PermWep = true,
  622. Price = 150,
  623. PM = false,
  624. Icon = false,
  625. OnPurFunction =
  626. function(ply,item)
  627. ply:Give( "csgo_huntsman_fade" )
  628. ply:CS_AddPermWep( "csgo_huntsman_fade" )
  629. end,
  630. }
  631.  
  632. CreditShop_Items["perm_hutsmanmg"] = {
  633. Name = "Hutsman Knife - Мраморный Градиент",
  634. Description = "Нож навсегда",
  635. InDepthDescription = "",
  636. Model = "models/weapons/w_csgo_tactical.mdl",
  637. PermClass = "csgo_huntsman_marblefade",
  638. PermWep = true,
  639. Price = 150,
  640. PM = false,
  641. Icon = false,
  642. OnPurFunction =
  643. function(ply,item)
  644. ply:Give( "csgo_huntsman_marblefade" )
  645. ply:CS_AddPermWep( "csgo_huntsman_marblefade" )
  646. end,
  647. }
  648.  
  649. CreditShop_Items["perm_hutsman"] = {
  650. Name = "Hutsman Knife - Поверхностная Закалка",
  651. Description = "Нож навсегда",
  652. InDepthDescription = "",
  653. Model = "models/weapons/w_csgo_tactical.mdl",
  654. PermClass = "csgo_huntsman_case",
  655. PermWep = true,
  656. Price = 150,
  657. PM = false,
  658. Icon = false,
  659. OnPurFunction =
  660. function(ply,item)
  661. ply:Give( "csgo_huntsman_case" )
  662. ply:CS_AddPermWep( "csgo_huntsman_case" )
  663. end,
  664. }
  665.  
  666. CreditShop_Items["perm_flipcw"] = {
  667. Name = "Flip Knife - Кровавая Паутина",
  668. Description = "Нож навсегда",
  669. InDepthDescription = "",
  670. Model = "models/weapons/w_csgo_flip.mdl",
  671. PermClass = "csgo_flip_crimsonwebs",
  672. PermWep = true,
  673. Price = 200,
  674. PM = false,
  675. Icon = false,
  676. OnPurFunction =
  677. function(ply,item)
  678. ply:Give( "csgo_flip_crimsonwebs" )
  679. ply:CS_AddPermWep( "csgo_flip_crimsonwebs" )
  680. end,
  681.  
  682. }
  683.  
  684. CreditShop_Items["perm_flipg"] = {
  685. Name = "Flip Knife - Градиент",
  686. Description = "Нож навсегда",
  687. InDepthDescription = "",
  688. Model = "models/weapons/w_csgo_flip.mdl",
  689. PermClass = "csgo_flip_fade",
  690. PermWep = true,
  691. Price = 200,
  692. PM = false,
  693. Icon = false,
  694. OnPurFunction =
  695. function(ply,item)
  696. ply:Give( "csgo_flip_fade" )
  697. ply:CS_AddPermWep( "csgo_flip_fade" )
  698. end,
  699.  
  700. }
  701.  
  702. CreditShop_Items["perm_flipmg"] = {
  703. Name = "Flip Knife - Мраморный Градиент",
  704. Description = "Нож навсегда",
  705. InDepthDescription = "",
  706. Model = "models/weapons/w_csgo_flip.mdl",
  707. PermClass = "csgo_flip_marblefade",
  708. PermWep = true,
  709. Price = 200,
  710. PM = false,
  711. Icon = false,
  712. OnPurFunction =
  713. function(ply,item)
  714. ply:Give( "csgo_flip_marblefade" )
  715. ply:CS_AddPermWep( "csgo_flip_marblefade" )
  716. end,
  717.  
  718. }
  719.  
  720. CreditShop_Items["perm_flippz"] = {
  721. Name = "Flip Knife - Поверхностная Закалка",
  722. Description = "Нож навсегда",
  723. InDepthDescription = "",
  724. Model = "models/weapons/w_csgo_flip.mdl",
  725. PermClass = "csgo_flip_case",
  726. PermWep = true,
  727. Price = 200,
  728. PM = false,
  729. Icon = false,
  730. OnPurFunction =
  731. function(ply,item)
  732. ply:Give( "csgo_flip_case" )
  733. ply:CS_AddPermWep( "csgo_flip_case" )
  734. end,
  735. }
  736.  
  737. CreditShop_Items["perm_bowiecw"] = {
  738. Name = "Bowie Knife - Кровавая Паутина",
  739. Description = "Нож навсегда",
  740. InDepthDescription = "",
  741. Model = "models/weapons/w_csgo_bowie.mdl",
  742. PermClass = "csgo_bowie_crimsonwebs",
  743. PermWep = true,
  744. Price = 250,
  745. PM = false,
  746. Icon = false,
  747. OnPurFunction =
  748. function(ply,item)
  749. ply:Give( "csgo_bowie_crimsonwebs" )
  750. ply:CS_AddPermWep( "csgo_bowie_crimsonwebs" )
  751. end,
  752. }
  753.  
  754. CreditShop_Items["perm_bowieg"] = {
  755. Name = "Bowie Knife - Градиент",
  756. Description = "Нож навсегда",
  757. InDepthDescription = "",
  758. Model = "models/weapons/w_csgo_bowie.mdl",
  759. PermClass = "csgo_bowie_fade",
  760. PermWep = true,
  761. Price = 250,
  762. PM = false,
  763. Icon = false,
  764. OnPurFunction =
  765. function(ply,item)
  766. ply:Give( "csgo_bowie_fade" )
  767. ply:CS_AddPermWep( "csgo_bowie_fade" )
  768. end,
  769. }
  770.  
  771. CreditShop_Items["perm_bowiemg"] = {
  772. Name = "Bowie Knife - Мраморный Градиент",
  773. Description = "Нож навсегда",
  774. InDepthDescription = "",
  775. Model = "models/weapons/w_csgo_bowie.mdl",
  776. PermClass = "csgo_bowie_marblefade",
  777. PermWep = true,
  778. Price = 250,
  779. PM = false,
  780. Icon = false,
  781. OnPurFunction =
  782. function(ply,item)
  783. ply:Give( "csgo_bowie_marblefade" )
  784. ply:CS_AddPermWep( "csgo_bowie_marblefade" )
  785. end,
  786. }
  787.  
  788. CreditShop_Items["perm_bowiepz"] = {
  789. Name = "Bowie Knife - Поверхностная Закалка",
  790. Description = "Нож навсегда",
  791. InDepthDescription = "",
  792. Model = "models/weapons/w_csgo_bowie.mdl",
  793. PermClass = "csgo_bowie_case",
  794. PermWep = true,
  795. Price = 250,
  796. PM = false,
  797. Icon = false,
  798. OnPurFunction =
  799. function(ply,item)
  800. ply:Give( "csgo_bowie_case" )
  801. ply:CS_AddPermWep( "csgo_bowie_case" )
  802. end,
  803. }
  804.  
  805. CreditShop_Items["perm_bayonetcw"] = {
  806. Name = "Bayonet Knife - Кровавая Паутина",
  807. Description = "Нож навсегда",
  808. InDepthDescription = "",
  809. Model = "models/weapons/w_csgo_bayonet.mdl",
  810. PermClass = "csgo_bayonet_crimsonwebs",
  811. PermWep = true,
  812. Price = 300,
  813. PM = false,
  814. Icon = false,
  815. OnPurFunction =
  816. function(ply,item)
  817. ply:Give( "csgo_bayonet_crimsonwebs" )
  818. ply:CS_AddPermWep( "csgo_bayonet_crimsonwebs" )
  819. end,
  820. }
  821.  
  822. CreditShop_Items["perm_bayonetg"] = {
  823. Name = "Bayonet Knife - Градиент",
  824. Description = "Нож навсегда",
  825. InDepthDescription = "",
  826. Model = "models/weapons/w_csgo_bayonet.mdl",
  827. PermClass = "csgo_bayonet_fade",
  828. PermWep = true,
  829. Price = 300,
  830. PM = false,
  831. Icon = false,
  832. OnPurFunction =
  833. function(ply,item)
  834. ply:Give( "csgo_bayonet_fade" )
  835. ply:CS_AddPermWep( "csgo_bayonet_fade" )
  836. end,
  837. }
  838.  
  839. CreditShop_Items["perm_bayonetmg"] = {
  840. Name = "Bayonet Knife - Мраморный Градиент",
  841. Description = "Нож навсегда",
  842. InDepthDescription = "",
  843. Model = "models/weapons/w_csgo_bayonet.mdl",
  844. PermClass = "csgo_bayonet_marblefade",
  845. PermWep = true,
  846. Price = 300,
  847. PM = false,
  848. Icon = false,
  849. OnPurFunction =
  850. function(ply,item)
  851. ply:Give( "csgo_bayonet_marblefade" )
  852. ply:CS_AddPermWep( "csgo_bayonet_marblefade" )
  853. end,
  854. }
  855.  
  856. CreditShop_Items["perm_bayonetpz"] = {
  857. Name = "Bayonet Knife - Поверхностная Закалка",
  858. Description = "Нож навсегда",
  859. InDepthDescription = "",
  860. Model = "models/weapons/w_csgo_bayonet.mdl",
  861. PermClass = "csgo_bayonet_case",
  862. PermWep = true,
  863. Price = 300,
  864. PM = false,
  865. Icon = false,
  866. OnPurFunction =
  867. function(ply,item)
  868. ply:Give( "csgo_bayonet_case" )
  869. ply:CS_AddPermWep( "csgo_bayonet_case" )
  870. end,
  871. }
  872.  
  873. CreditShop_Items["perm_m9cw"] = {
  874. Name = "M9 Bayonet Knife - Кровавая Паутина",
  875. Description = "Нож навсегда",
  876. InDepthDescription = "",
  877. Model = "models/weapons/w_csgo_m9.mdl",
  878. PermClass = "csgo_m9_crimsonwebs",
  879. PermWep = true,
  880. Price = 350,
  881. PM = false,
  882. Icon = false,
  883. OnPurFunction =
  884. function(ply,item)
  885. ply:Give( "csgo_m9_crimsonwebs" )
  886. ply:CS_AddPermWep( "csgo_m9_crimsonwebs" )
  887. end,
  888.  
  889. }
  890.  
  891. CreditShop_Items["perm_m9g"] = {
  892. Name = "M9 Bayonet Knife - Градиент",
  893. Description = "Нож навсегда",
  894. InDepthDescription = "",
  895. Model = "models/weapons/w_csgo_m9.mdl",
  896. PermClass = "csgo_m9_fade",
  897. PermWep = true,
  898. Price = 350,
  899. PM = false,
  900. Icon = false,
  901. OnPurFunction =
  902. function(ply,item)
  903. ply:Give( "csgo_m9_fade" )
  904. ply:CS_AddPermWep( "csgo_m9_fade" )
  905. end,
  906.  
  907. }
  908.  
  909. CreditShop_Items["perm_m9mg"] = {
  910. Name = "M9 Bayonet Knife - Мраморный Градиент",
  911. Description = "Нож навсегда",
  912. InDepthDescription = "",
  913. Model = "models/weapons/w_csgo_m9.mdl",
  914. PermClass = "csgo_m9_marblefade",
  915. PermWep = true,
  916. Price = 350,
  917. PM = false,
  918. Icon = false,
  919. OnPurFunction =
  920. function(ply,item)
  921. ply:Give( "csgo_m9_marblefade" )
  922. ply:CS_AddPermWep( "csgo_m9_marblefade" )
  923. end,
  924.  
  925. }
  926.  
  927. CreditShop_Items["perm_m9pz"] = {
  928. Name = "M9 Bayonet Knife - Поверхностная Закалка",
  929. Description = "Нож навсегда",
  930. InDepthDescription = "",
  931. Model = "models/weapons/w_csgo_m9.mdl",
  932. PermClass = "csgo_m9_case",
  933. PermWep = true,
  934. Price = 350,
  935. PM = false,
  936. Icon = false,
  937. OnPurFunction =
  938. function(ply,item)
  939. ply:Give( "csgo_m9_case" )
  940. ply:CS_AddPermWep( "csgo_m9_case" )
  941. end,
  942. }
  943.  
  944. CreditShop_Items["perm_karambitcw"] = {
  945. Name = "Karambit Knife - Кровавая Паутина",
  946. Description = "Нож навсегда",
  947. InDepthDescription = "",
  948. Model = "models/weapons/w_csgo_karambit.mdl",
  949. PermClass = "csgo_karambit_crimsonwebs",
  950. PermWep = true,
  951. Price = 400,
  952. PM = false,
  953. Icon = false,
  954. OnPurFunction =
  955. function(ply,item)
  956. ply:Give( "csgo_karambit_crimsonwebs" )
  957. ply:CS_AddPermWep( "csgo_karambit_crimsonwebs" )
  958. end,
  959. }
  960.  
  961. CreditShop_Items["perm_karambitg"] = {
  962. Name = "Karambit Knife - Градиент",
  963. Description = "Нож навсегда",
  964. InDepthDescription = "",
  965. Model = "models/weapons/w_csgo_karambit.mdl",
  966. PermClass = "csgo_karambit_fade",
  967. PermWep = true,
  968. Price = 400,
  969. PM = false,
  970. Icon = false,
  971. OnPurFunction =
  972. function(ply,item)
  973. ply:Give( "csgo_karambit_fade" )
  974. ply:CS_AddPermWep( "csgo_karambit_fade" )
  975. end,
  976. }
  977.  
  978. CreditShop_Items["perm_karambitmg"] = {
  979. Name = "Karambit Knife - Мраморный Градиент",
  980. Description = "Нож навсегда",
  981. InDepthDescription = "",
  982. Model = "models/weapons/w_csgo_karambit.mdl",
  983. PermClass = "csgo_karambit_marblefade",
  984. PermWep = true,
  985. Price = 400,
  986. PM = false,
  987. Icon = false,
  988. OnPurFunction =
  989. function(ply,item)
  990. ply:Give( "csgo_karambit_marblefade" )
  991. ply:CS_AddPermWep( "csgo_karambit_marblefade" )
  992. end,
  993. }
  994.  
  995. CreditShop_Items["perm_karambitpz"] = {
  996. Name = "Karambit Knife - Поверхностная Закалка",
  997. Description = "Нож навсегда",
  998. InDepthDescription = "",
  999. Model = "models/weapons/w_csgo_karambit.mdl",
  1000. PermClass = "csgo_karambit_case",
  1001. PermWep = true,
  1002. Price = 400,
  1003. PM = false,
  1004. Icon = false,
  1005. OnPurFunction =
  1006. function(ply,item)
  1007. ply:Give( "csgo_karambit_case" )
  1008. ply:CS_AddPermWep( "csgo_karambit_case" )
  1009. end,
  1010. }
  1011.  
  1012. CreditShop_Items["perm_butterflycw"] = {
  1013. Name = "ButterFly Knife - Кровавая Паутина",
  1014. Description = "Нож навсегда",
  1015. InDepthDescription = "",
  1016. Model = "models/weapons/w_csgo_butterfly.mdl",
  1017. PermClass = "csgo_butterfly_crimsonwebs",
  1018. PermWep = true,
  1019. Price = 450,
  1020. PM = false,
  1021. Icon = false,
  1022. OnPurFunction =
  1023. function(ply,item)
  1024. ply:Give( "csgo_butterfly_crimsonwebs" )
  1025. ply:CS_AddPermWep( "csgo_butterfly_crimsonwebs" )
  1026. end,
  1027. }
  1028.  
  1029. CreditShop_Items["perm_butterflyg"] = {
  1030. Name = "ButterFly Knife - Градиент",
  1031. Description = "Нож навсегда",
  1032. InDepthDescription = "",
  1033. Model = "models/weapons/w_csgo_butterfly.mdl",
  1034. PermClass = "csgo_butterfly_fade",
  1035. PermWep = true,
  1036. Price = 450,
  1037. PM = false,
  1038. Icon = false,
  1039. OnPurFunction =
  1040. function(ply,item)
  1041. ply:Give( "csgo_butterfly_fade" )
  1042. ply:CS_AddPermWep( "csgo_butterfly_fade" )
  1043. end,
  1044. }
  1045.  
  1046. CreditShop_Items["perm_butterflymg"] = {
  1047. Name = "ButterFly Knife - Мраморный Градиент",
  1048. Description = "Нож навсегда",
  1049. InDepthDescription = "",
  1050. Model = "models/weapons/w_csgo_butterfly.mdl",
  1051. PermClass = "csgo_butterfly_marblefade",
  1052. PermWep = true,
  1053. Price = 450,
  1054. PM = false,
  1055. Icon = false,
  1056. OnPurFunction =
  1057. function(ply,item)
  1058. ply:Give( "csgo_butterfly_marblefade" )
  1059. ply:CS_AddPermWep( "csgo_butterfly_marblefade" )
  1060. end,
  1061. }
  1062.  
  1063. CreditShop_Items["perm_butterflypz"] = {
  1064. Name = "ButterFly Knife - Поверхностная Закалка",
  1065. Description = "Нож навсегда",
  1066. InDepthDescription = "",
  1067. Model = "models/weapons/w_csgo_butterfly.mdl",
  1068. PermClass = "csgo_butterfly_case",
  1069. PermWep = true,
  1070. Price = 450,
  1071. PM = false,
  1072. Icon = false,
  1073. OnPurFunction =
  1074. function(ply,item)
  1075. ply:Give( "csgo_butterfly_case" )
  1076. ply:CS_AddPermWep( "csgo_butterfly_case" )
  1077. end,
  1078. }
  1079.  
  1080. CreditShop_Items["perm_beatbox"] = {
  1081. Name = "БитБокс",
  1082. Description = "Гаджет навсегда",
  1083. InDepthDescription = "",
  1084. Model = "models/player/voikanaa/snoop_dogg.mdl",
  1085. PermClass = "beatbox",
  1086. PermWep = true,
  1087. Price = 200,
  1088. PM = false,
  1089. Icon = false,
  1090. OnPurFunction =
  1091. function(ply,item)
  1092. ply:Give( "beatbox" )
  1093. ply:CS_AddPermWep( "beatbox" )
  1094. end,
  1095.  
  1096. }
  1097.  
  1098. CreditShop_Items["perm_lockpick"] = {
  1099. Name = "Lock Pick",
  1100. Description = "Гаджет навсегда",
  1101. InDepthDescription = "",
  1102. Model = "models/weapons/c_crowbar.mdl",
  1103. PermClass = "lockpick",
  1104. PermWep = true,
  1105. Price = 350,
  1106. PM = false,
  1107. Icon = false,
  1108. OnPurFunction =
  1109. function(ply,item)
  1110. ply:Give( "lockpick" )
  1111. ply:CS_AddPermWep( "lockpick" )
  1112. end,
  1113.  
  1114. }
  1115.  
  1116. CreditShop_Items["perm_cracker"] = {
  1117. Name = "Кейпад Cracker",
  1118. Description = "Гаджет навсегда",
  1119. InDepthDescription = "",
  1120. Model = "models/weapons/w_c4.mdl",
  1121. PermClass = "keypad_cracker",
  1122. PermWep = true,
  1123. Price = 500,
  1124. PM = false,
  1125. Icon = false,
  1126. OnPurFunction =
  1127. function(ply,item)
  1128. ply:Give( "keypad_cracker" )
  1129. ply:CS_AddPermWep( "keypad_cracker" )
  1130. end,
  1131.  
  1132. }
  1133.  
  1134. CreditShop_Items["perm_medkit"] = {
  1135. Name = "МедКит",
  1136. Description = "Гаджет навсегда",
  1137. InDepthDescription = "",
  1138. Model = "models/weapons/w_medkit.mdl",
  1139. PermClass = "weapon_medkit",
  1140. PermWep = true,
  1141. Price = 700,
  1142. PM = false,
  1143. Icon = false,
  1144. OnPurFunction =
  1145. function(ply,item)
  1146. ply:Give( "weapon_medkit" )
  1147. ply:CS_AddPermWep( "weapon_medkit" )
  1148. end,
  1149.  
  1150. }
  1151.  
  1152. CreditShop_Items["perm_repair"] = {
  1153. Name = "Repair tool ( для машин )",
  1154. Description = "Гаджет навсегда",
  1155. InDepthDescription = "",
  1156. Model = "models/vcmod/vcmod_wrench.mdl",
  1157. PermClass = "vc_wrench",
  1158. PermWep = true,
  1159. Price = 900,
  1160. PM = false,
  1161. Icon = false,
  1162. OnPurFunction =
  1163. function(ply,item)
  1164. ply:Give( "vc_wrench" )
  1165. ply:CS_AddPermWep( "vc_wrench" )
  1166. end,
  1167.  
  1168. }
  1169.  
  1170. CreditShop_Items["perm_tazer"] = {
  1171. Name = "Тазер",
  1172. Description = "Гаджет навсегда",
  1173. InDepthDescription = "",
  1174. Model = "models/weapons/w_pistol.mdl",
  1175. PermClass = "weapon_stungun",
  1176. PermWep = true,
  1177. Price = 1200,
  1178. PM = false,
  1179. Icon = false,
  1180. OnPurFunction =
  1181. function(ply,item)
  1182. ply:Give( "weapon_stungun" )
  1183. ply:CS_AddPermWep( "weapon_stungun" )
  1184. end,
  1185.  
  1186. }
  1187.  
  1188. CreditShop_Items["perm_hack"] = {
  1189. Name = "Телефон хакера",
  1190. Description = "Гаджет навсегда",
  1191. InDepthDescription = "",
  1192. Model = "models/inside/iiphone5.mdl",
  1193. PermClass = "weapon_hack_phone",
  1194. PermWep = true,
  1195. Price = 1500,
  1196. PM = false,
  1197. Icon = false,
  1198. OnPurFunction =
  1199. function(ply,item)
  1200. ply:Give( "weapon_hack_phone" )
  1201. ply:CS_AddPermWep( "weapon_hack_phone" )
  1202. end,
  1203. }
  1204. end
  1205.  
  1206. if( ItemSort == "High_Low" ) then
  1207. table.sort(CreditShop_Items, function(a, b) return a.Price > b.Price end);
  1208. elseif( ItemSort == "Low_High" ) then
  1209. table.sort(CreditShop_Items, function(a, b) return a.Price < b.Price end);
  1210. end
  1211.  
  1212. // PRESET CONFIG
  1213.  
  1214. --PRESETS--
  1215.  
  1216. --[[--
  1217. CreditShop_Presets[1] = {
  1218. Name = "Tropical Preset", --Preset Name
  1219. TextColor = Color(120,120,120,255), --Preset Text color
  1220. ThemeColor = Color(0,238,255,150) --Preset Theme color
  1221. }
  1222.  
  1223. CreditShop_Presets[5] = {
  1224. Name = "Rainbow Preset", --Preset Name
  1225. Flash = true, --Should the preset constantly change colors
  1226. TextColor = Color(255,255,255,255), --Preset Text Color
  1227. minRed = 0, -- Minimum Red
  1228. maxRed = 255, -- Maximum Red
  1229. minGreen = 0, -- Minimum Green
  1230. maxGreen = 255, -- Maximum Green
  1231. minBlue = 0, -- Minimum Blue
  1232. maxBlue = 255, -- Maximum Blue
  1233. Alpha = 200 -- Alpha ( opacity )
  1234. }
  1235. --]]--
  1236.  
  1237.  
  1238. CreditShop_Presets = {} --IGNORE
  1239.  
  1240. CreditShop_Presets[1] = {
  1241. Name = "Red Preset",
  1242. TextColor = Color(255,174,174,255),
  1243. ThemeColor = Color(255,0,0,150)
  1244. }
  1245.  
  1246. CreditShop_Presets[2] = {
  1247. Name = "Orange Preset",
  1248. TextColor = Color(255,234,174,255),
  1249. ThemeColor = Color(255,144,0,175)
  1250. }
  1251.  
  1252. CreditShop_Presets[3] = {
  1253. Name = "Yellow Preset",
  1254. TextColor = Color(255,255,196,255),
  1255. ThemeColor = Color(255,255,0,184)
  1256. }
  1257.  
  1258. CreditShop_Presets[4] = {
  1259. Name = "Green Preset",
  1260. TextColor = Color(211,255,210,255),
  1261. ThemeColor = Color(12,255,0,200)
  1262. }
  1263.  
  1264. CreditShop_Presets[5] = {
  1265. Name = "Light Blue Preset",
  1266. TextColor = Color(255,255,255,255),
  1267. ThemeColor = Color(0,255,242,200)
  1268. }
  1269.  
  1270. CreditShop_Presets[6] = {
  1271. Name = "Blue Preset",
  1272. TextColor = Color(142,142,255,255),
  1273. ThemeColor = Color(0,4,255,200)
  1274. }
  1275.  
  1276. CreditShop_Presets[7] = {
  1277. Name = "Pink Preset",
  1278. TextColor = Color(251,160,255,255),
  1279. ThemeColor = Color(255,0,238,200)
  1280. }
  1281.  
  1282. CreditShop_Presets[8] = {
  1283. Name = "Purple Preset",
  1284. TextColor = Color(178,0,157,236),
  1285. ThemeColor = Color(126,0,161,236)
  1286. }
  1287.  
  1288. CreditShop_Presets[9] = {
  1289. Name = "Sun Preset",
  1290. TextColor = Color(255,0,0,255),
  1291. ThemeColor = Color(198,66,0,150)
  1292. }
  1293.  
  1294. CreditShop_Presets[10] = {
  1295. Name = "Dark Preset",
  1296. TextColor = Color(255,255,255,255),
  1297. ThemeColor = Color(0,0,0,255)
  1298. }
  1299.  
  1300. CreditShop_Presets[11] = {
  1301. Name = "Tropical Preset",
  1302. TextColor = Color(120,120,120,255),
  1303. ThemeColor = Color(0,238,255,150)
  1304. }
  1305.  
  1306. CreditShop_Presets[12] = {
  1307. Name = "Rainbow Preset",
  1308. Flash = true,
  1309. TextColor = Color(255,255,255,255),
  1310. minRed = 0,
  1311. maxRed = 255,
  1312. minGreen = 0,
  1313. maxGreen = 255,
  1314. minBlue = 0,
  1315. maxBlue = 255,
  1316. Alpha = 200
  1317. }
  1318.  
  1319. CreditShop_Presets[13] = {
  1320. Name = "Red Mayhem Preset",
  1321. Flash = true,
  1322. TextColor = Color(255,255,255,255),
  1323. minRed = 0,
  1324. maxRed = 255,
  1325. minGreen = 0,
  1326. maxGreen = 0,
  1327. minBlue = 0,
  1328. maxBlue = 0,
  1329. Alpha = 200
  1330. }
  1331.  
  1332. CreditShop_Presets[14] = {
  1333. Name = "Green Mayhem Preset",
  1334. Flash = true,
  1335. TextColor = Color(255,255,255,255),
  1336. minRed = 0,
  1337. maxRed = 0,
  1338. minGreen = 0,
  1339. maxGreen = 255,
  1340. minBlue = 0,
  1341. maxBlue = 0,
  1342. Alpha = 200
  1343. }
  1344.  
  1345. CreditShop_Presets[15] = {
  1346. Name = "Blue Mayhem Preset",
  1347. Flash = true,
  1348. TextColor = Color(255,255,255,255),
  1349. minRed = 0,
  1350. maxRed = 0,
  1351. minGreen = 0,
  1352. maxGreen = 0,
  1353. minBlue = 0,
  1354. maxBlue = 255,
  1355. Alpha = 200
  1356. }
  1357.  
  1358. CreditShop_Presets[16] = {
  1359. Name = "White Mayhem Preset",
  1360. Flash = true,
  1361. TextColor = Color(255,255,255,255),
  1362. minRed = 200,
  1363. maxRed = 255,
  1364. minGreen = 200,
  1365. maxGreen = 255,
  1366. minBlue = 200,
  1367. maxBlue = 255,
  1368. Alpha = 200
  1369. }
  1370.  
  1371. //IGNORE
  1372. function formatCredits( num ) -- Formats a number like this "10,000 Credits", saves space
  1373. return string.Comma(num).." Руб."
  1374. end
  1375.  
  1376. end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement