Смотрите видео ниже, чтобы узнать, как установить наш сайт в качестве веб-приложения на домашнем экране.
Примечание: Эта возможность может быть недоступна в некоторых браузерах.
Был, но уже не работает, надо обновить под новую версиюПомню, где-то был визуальный хелпер без авто трува
Апи не апдейтили же :/Был, но уже не работает, надо обновить под новую версию
Сам такой, не буду ничего тебе фикситьАпи не апдейтили же :/
Мне бы даже не работающий найти, у меня есть личный раб пастер, он починит
--main instances
local config = fatality.config
local menu = fatality.menu
local render = fatality.render
local globalVars = csgo.interface_handler:get_global_vars()
local entityList = csgo.interface_handler:get_entity_list()
local engineClient = csgo.interface_handler:get_engine_client()
local smallestPixel7 = render:create_font('smallest pixel-7', 15, 0, false)
local iconFont = render:create_font( 'undefeated', 30, 0, false )
local debug = csgo.interface_handler:get_debug_overlay()
local screensize = render:screen_size()
local colors = {
white = csgo.color(255,255,255,255),
red = csgo.color(255,0,0,255),
green = csgo.color(0,255,0,255),
blue = csgo.color(0,50,255,255),
black = csgo.color(0,0,0,255),
orange = csgo.color(252, 82, 3,255),
purple = csgo.color(197, 66, 245, 255),
darkBlue = csgo.color(80, 19, 186, 255)
}
--main instances
local config = {
waterMarkButton = config:add_item( 'watermarkButton', 1 ),
distance = config:add_item( 'nadeHelperDistance', 100 ),
maps = config:add_item( 'nadeHelperCombo', 1 ),
iconFontConfig = config:add_item( 'nadeHelperIconFont', 1 )
}
local menu = {
menu:add_button( 'Nade Helper', 'visuals', 'misc', 'various', config.waterMarkButton ),
menu:add_checkbox( 'Icon Font', 'visuals', 'misc', 'various', config.iconFontConfig),
mapCombo = menu:add_combo( 'Map', 'visuals', 'misc', 'various', config.maps),
menu:add_slider( 'Min Render Distance', 'visuals', 'misc', 'various', config.distance, 0, 1000, 1),
}
menu.mapCombo:add_item('Mirage', config.maps)
menu.mapCombo:add_item('Tulip', config.maps)
menu.mapCombo:add_item('shortdust', config.maps)
menu.mapCombo:add_item('Inferno', config.maps)
menu.mapCombo:add_item('Train', config.maps)
menu.mapCombo:add_item('cache', config.maps)
menu.mapCombo:add_item('overpass', config.maps)
menu.mapCombo:add_item('vertigo', config.maps)
menu.mapCombo:add_item('bank', config.maps)
menu.mapCombo:add_item('aztec', config.maps)
menu.mapCombo:add_item('cbble', config.maps)
menu.mapCombo:add_item('agency', config.maps)
menu.mapCombo:add_item('dust2', config.maps)
function getDistance(x,y,z,x2,y2,z2)
local distance = math.sqrt((x - x2)^2 + (y - y2)^2 + (z - z2)^2)/6
return distance
end
local angle = 0
function updateAngle()
if angle < 360 then
angle = angle + 0.02
else
angle = 0
end
end
function drawMarker(standLoc, lookLoc, style, nades, minDist, description, desX, aimX, nadeX, size)
local localPos = entityList:get_localplayer():get_var_vector(('CBaseEntity->m_vecOrigin'))
local radius = 10
local x2, y2
local x = standLoc.x --x coordinate of circle center
local y = standLoc.y --y coordinate of circle center
local z = standLoc.z --z corrdinate of circle center
local X = lookLoc.x
local Y = lookLoc.y
local Z = lookLoc.z
local min = csgo.vector3(0,0,0)
local max = csgo.vector3(1,1,1)
local angleVec = csgo.angle(0,0,0)
local lookLoc2Screen = csgo.vector3(X, Y, Z)
lookLoc2Screen:to_screen() --for text
local staticColor
local whatToDO
local nadeType
if style == 'run' then --less messyness in main code
staticColor = colors.blue
whatToDO = 'run throw'
elseif style == 'jump' then
staticColor = colors.orange
whatToDO = 'jump throw'
elseif style == 'crouch' then
whatToDO = 'crouch throw'
staticColor = colors.darkBlue
elseif style == 'runjump' then
whatToDO = 'run jump throw'
staticColor = colors.purple
else
whatToDO = 'throw'
staticColor = colors.white
end
if nades == 'molly' then
nadeType = 'l'
elseif nades == 'smoke' then
nadeType = 'k'
elseif nades == 'he' then
nadeType = 'j'
elseif nades =='hemolly' then
nadeType = 'jl'
else
nadeType = ' '
end
if getDistance(x,y,z,localPos.x,localPos.y,localPos.z) < config.distance:get_int() then
x2 = x + radius*math.cos(angle)
y2 = y + radius*math.sin(angle)
if getDistance(x,y,localPos.z,localPos.x,localPos.y,localPos.z) < minDist then
debug:add_box_overlay(csgo.vector3(x2,y2,z), min, max, angleVec, colors.green, 0.3)
render:text( smallestPixel7, lookLoc2Screen.x + aimX, lookLoc2Screen.y + 10, 'Aim here and ' .. whatToDO, colors.white )
if config.iconFontConfig:get_bool() then
render:text( iconFont, lookLoc2Screen.x + nadeX, lookLoc2Screen.y + 20, nadeType, colors.white )
end
render:text( smallestPixel7, lookLoc2Screen.x + desX, lookLoc2Screen.y, description, colors.white )
debug:add_box_overlay(csgo.vector3(X ,Y,Z), min, csgo.vector3(size,size,size), angleVec, colors.blue, 0.1)
else
debug:add_box_overlay(csgo.vector3(x2,y2,z), min, max, angleVec, staticColor, 0.3)
end
debug:add_box_overlay(csgo.vector3(x,y,z), min, max, angleVec, csgo.color(255,255,255,100), 0.1)
end
end
function get_map()
end
function round(num, numDecimalPlaces) --Rounding function so we dont have long ass decimal place values
local mult = 10^(numDecimalPlaces or 0)
if numDecimalPlaces == 1 then --If it is a whole number then round it
return math.ceil(math.floor(num * mult + 0.5) / mult)
else --Otherwise set it to 2 decimal points
return math.floor(num * mult + 0.5) / mult
end
end
function paint()
updateAngle()
if config.maps:get_int() == 0 then
--mirage
drawMarker(csgo.vector3(-722, -1309, -160), csgo.vector3(-531,-1531, 0), 'run', 'hemolly', 1, 'Nade Palace', - 40,- 75, -25, 2)
drawMarker(csgo.vector3(-807, -1545, -160), csgo.vector3(-535,-1547, -55), 'stand', 'hemolly', 1, 'A Ramp', - 25, -75, -25, 2)
drawMarker(csgo.vector3(-450, -1547, -31), csgo.vector3(850.12,-1547, 490), 'stand', 'molly', 1, 'Molly Ledge', -30, -60, -10, 6)
drawMarker(csgo.vector3(393.5, -1711.97, -208.72), csgo.vector3(195.62, -1431.67, -75), 'run', 'hemolly', 3, 'Molly FD Box', -30, -60, -5, 2)
drawMarker(csgo.vector3(16.0, -2299.59, -39.97), csgo.vector3(95.97, -2245.91, 23), 'run', 'hemolly', 1, 'Short Run Molly Default', -82, -80, -20, 1)
drawMarker(csgo.vector3(854.16, -1256.78, -108.97), csgo.vector3(545.14, -1341.95, 63.21), 'stand', 'molly', 1, 'Molly Sandwich/Stairs', -63, -58, -5, 3)
drawMarker(csgo.vector3(650, -1128.03, -127.97), csgo.vector3(561.02, -1215, -45), 'jump', 'molly', 0.3, 'Molly Default |Very Touchy|', -85, -80, -10, 1)
drawMarker(csgo.vector3(-2302.85, 805.49, -121.36), csgo.vector3(-2303.5, 739.83, -39.97), 'stand', 'molly', 0.5, 'Molly Market', -40, -63, -10, 0.5)
drawMarker(csgo.vector3(-2302.85, 805.49, -121.36), csgo.vector3(-1763.9, -661.93, 450.04), 'stand', 'molly', 0.5, 'Molly Market Window', -70, -63, -10, 6)
drawMarker(csgo.vector3(-1119.97, -1527.07, -156.07), csgo.vector3(-200.43, -1532.44, 205), 'stand', 'molly', 1, 'Molly A Ramp', -45, -63, -12, 6)
drawMarker(csgo.vector3(-1119.97, -1527.07, -156.07), csgo.vector3(-464.4, -1532.44, 66), 'stand', 'hemolly', 1, 'Molly Top Sandwich', -65, -63, -17, 5)
elseif config.maps:get_int() == 1 then
--tulip
drawMarker(csgo.vector3(6249.320801, 4487.204590, -120.850731), csgo.vector3(6031, 4244.699421, 68.733322), 'run', 'hemolly', 2, 'Boost', - 40,- 75, -25, 2)
drawMarker(csgo.vector3(5880.03, 2748.62, -60.850731), csgo.vector3(5698, 3000.699421, 10.733322), 'stand', 'hemolly', 2, 'Nade Palace', - 40,- 75, -25, 2)
elseif config.maps:get_int() == 2 then
--shortdust
drawMarker(csgo.vector3(-309.406403, 1933.314819, 32.031250), csgo.vector3(140, 1460.699421, 155.733322), 'run', 'hemolly', 2, 'Tunnel', - 20,- 75, -25, 3)
drawMarker(csgo.vector3(-450.279297, 780.684265, 40.753510), csgo.vector3(-218, 485.699421, 240.533322), 'stand', 'molly', 2, 'CT spawn', - 29,- 75, -25, 3)
drawMarker(csgo.vector3(-891.402405, 954.262512, 35.031250), csgo.vector3(-222, 485.699421, 155.733322), 'run', 'hemolly', 2, 'Car #1', - 15,- 75, -25, 3)
drawMarker(csgo.vector3(-1279.968750, 1039.968750, -170.329315), csgo.vector3(-600, 780.699421, 265.733322), 'run', 'molly', 2, 'Car #2', - 15,- 75, -15, 3)
elseif config.maps:get_int() == 3 then
--Inferno
drawMarker(csgo.vector3(664.97, 1873.00, 187.09), csgo.vector3(462.74, 2178.08, 373.87), 'stand', 'hemolly', 1, 'fountain', -20, -60, -15, 2)
drawMarker(csgo.vector3(470.83, 2026.89, 207.09), csgo.vector3(462.74, 2221.08, 340.87), 'stand', 'hemolly', 1, 'coffins', -20, -60, -15, 2)
drawMarker(csgo.vector3(1517.97, 792.03, 139.95), csgo.vector3(1354.61, 920.97, 240.44), 'jump', 'hemolly', 1, 'Awp Cubby', -33, -80, -3, 2)
drawMarker(csgo.vector3(2137.67, 1225.9, 171.63), csgo.vector3(2145.34, 1007.54, 415), 'runjump', 'molly', 1, 'Molly Back Box', -50, -95, -12, 2)
drawMarker(csgo.vector3(1985.52, 1223, 174.03), csgo.vector3(1987.34, 1013.73, 418), 'jump', 'molly', 0.5, 'Molly Mid/Front Site', -75, -87, -12, 2)
drawMarker(csgo.vector3(1763.07, 1388.34, 174.03), csgo.vector3(1987.34, 1075.73, 350), 'stand', 'molly', 1, 'Jail', -15, -57, -20, 3)
drawMarker(csgo.vector3(1314.46, 324.22, 129.03), csgo.vector3(1705.64, -106.48, 430), 'run', 'molly', 1, 'Molly Back Box', -50, -85, -12, 2)
drawMarker(csgo.vector3(2297.95, 282.06, 128.16), csgo.vector3(1830, -107.02, 300), 'run', 'molly', 3, 'Molly Left Corner', -50, -85, -12, 2)
drawMarker(csgo.vector3(2317.87, 946.47, 160.03), csgo.vector3(1740.46, 1244.43, 350), 'run', 'molly', 3, 'Molly right Corner', -60, -73, -12, 2)
elseif config.maps:get_int() == 4 then
--Train
drawMarker(csgo.vector3(-773.21, 304.01, -215.97), csgo.vector3(-534.03, 581.45, -140), 'runjump', 'molly', 1, 'Molly E-box/Red Cart', -60, -73, -12, 2)
drawMarker(csgo.vector3(-783.97, 607.9, -215.97), csgo.vector3(400, -15.98, 314.47), 'run', 'molly', 1, 'Molly Site', -40, -80, -12, 8)
drawMarker(csgo.vector3(-803.57, 388.28, -215.97 ), csgo.vector3(7.96, 617.16, 127.36), 'stand', 'molly', 1, 'Molly Sandwich', -50, -65, -12, 4)
drawMarker(csgo.vector3(-943.96, 496.26, -219.97), csgo.vector3(-423.86, 495.26, -106), 'runjump', 'molly', 2, 'Molly Green Cart', -50, -86, -12, 3)
drawMarker(csgo.vector3(723.47, 731.82, -211.97), csgo.vector3(733.06, 556.62, -40), 'stand', 'molly', 1, 'Molly Heaven', -45, -60, -12, 2)
elseif config.maps:get_int() == 5 then
--cache
drawMarker(csgo.vector3(910.649597, -1235.031250, 1614.093750), csgo.vector3(744.06, -1236.62, 1752), 'stand', 'molly', 2, 'Bombsite B One-Way #1', -45, -50, -5, 1.5)
drawMarker(csgo.vector3(403.649597, -318.031250, 1614.093750), csgo.vector3(222.06, -630.62, 1742), 'run', 'hemolly', 2, 'Bombsite B One-Way #2', -45, -50, -5, 1.5)
drawMarker(csgo.vector3(-120.183487, 424.871674, 1620.031250), csgo.vector3(64.06, 440.62, 1760), 'stand', 'molly', 0.5, 'midBoost down', -40, -65, -16, 1.5)
drawMarker(csgo.vector3(-198.205246, 418.773346, 1620.031250), csgo.vector3(64.06, 445.62, 1796), 'stand', 'hemolly', 1, 'midBoost up', -33, -59, -21, 1.5)
drawMarker(csgo.vector3(-982.153381, 971.216309, 1679.831909), csgo.vector3(-651.06, 1265.62, 1887), 'run', 'molly', 2, 'Squeaky', -22, -60, -11, 2)
drawMarker(csgo.vector3(11.759085, -148.994904, 1613.093750), csgo.vector3(300.06, 115.62, 1915), 'stand', 'molly', 2, 'Boost mid', -22, -60, -11, 2)
elseif config.maps:get_int() == 6 then
--overpass
drawMarker(csgo.vector3(-2351.968750, -392.031250, 438.562317), csgo.vector3(-2301.06, -173.62, 599), 'run', 'molly', 2, 'A one-way WALK + THROW', -68, -60, -11, 2)
drawMarker(csgo.vector3(-3382.332520, 35.247875, 516.906006), csgo.vector3(-3180.06, 173.62, 645), 'run', 'molly', 2, 'A one-way', -35, -74, -11, 2)
drawMarker(csgo.vector3(-1276.541260, -964.551147, 10.933800), csgo.vector3(-1281.06, -503.62, 279), 'stand', 'molly', 2, 'Water #1', -11, -60, -8, 2)
drawMarker(csgo.vector3(-1300.968750, -1087.984619, 0.093811), csgo.vector3(-1330.06, -603.62, 280), 'stand', 'molly', 2, 'Water #2', -18, -55, -8, 2.5)
drawMarker(csgo.vector3(-1580.517578, -710.171814, 135.334778), csgo.vector3(-1450.06, -503.62, 267), 'stand', 'hemolly', 2, 'Barrels', -19, -55, -18, 1.5)
drawMarker(csgo.vector3(-856.031311, -639.968750, 105.031250), csgo.vector3(-1200.06, -205.62, 150), 'jump', 'molly', 2, 'Heaven Walk + JumpThrow', -61, -60, -8, 2)
drawMarker(csgo.vector3(-2021.28, 544.38, 515.093810), csgo.vector3(-1919.06, 425.62, 603), 'stand', 'molly', 2, 'B push', -26, -60, -15, 1.5)
drawMarker(csgo.vector3(-859.968750, -630.785583, 101.574355), csgo.vector3(-1200.06, -180.62, 395), 'run', 'molly', 2, 'Heaven #2', -30, -70, -8, 3)
drawMarker(csgo.vector3(-329.999390, -941.285339, 20.421722), csgo.vector3(-880.06, -635.62, 434), 'run', 'molly', 2, 'Gustella', -20, -70, -8, 3)
drawMarker(csgo.vector3(-442.186157, -1551.968750, 140.031250), csgo.vector3(-531.06, -1105.62, 335), 'run', 'molly', 2, 'Barrels', -18, -66, -8, 2)
elseif config.maps:get_int() == 7 then
--vertigo
drawMarker(csgo.vector3(-540.693604, -1216.081177, 11690.464844), csgo.vector3(-465.06, -1100.62, 11820), 'stand', 'molly', 2, 'A BoxUp one-way', -40, -55, -15, 1)
drawMarker(csgo.vector3(-540.693604, -1216.081177, 11690.464844), csgo.vector3(-467.06, -1120.62, 11783.5), 'stand', 'molly', 2, 'A BoxDown one-way', -50, -55, -15, 1)
drawMarker(csgo.vector3(-1722.622314, -515.357117, 11780.031250), csgo.vector3(-1761, -425.62, 11897), 'stand', 'molly', 1, 'esp one-way', -26, -54, -3, 0.7)
drawMarker(csgo.vector3(-2037.912964, -590.725769, 11780.031250), csgo.vector3(-1964, -450.62, 11902), 'stand', 'molly', 1, 'Up one-way', -26, -54, -3, 1)
elseif config.maps:get_int() == 8 then
--bank
drawMarker(csgo.vector3(-314.515381, -635.069336, 192.031250), csgo.vector3(146.06, -556.62, 303), 'stand', 'molly', 2, 'Car One-Way', -40, -55, -15, 2)
drawMarker(csgo.vector3(-463.293304, -596.599365, 192.031250), csgo.vector3(-45.06, -570.62, 336), 'run', 'molly', 2, 'FBICar One-Way', -40, -55, -15, 2)
drawMarker(csgo.vector3(-314.515381, -552.069336, 192.031250), csgo.vector3(-60.06, -587.62, 285), 'stand', 'molly', 2, 'Track One-Way', -40, -55, -15, 2)
drawMarker(csgo.vector3(-314.515381, -635.069336, 192.031250), csgo.vector3(146.06, -556.62, 303), 'stand', 'molly', 2, 'Car One-Way', -40, -55, -15, 2)
elseif config.maps:get_int() == 9 then
--aztec
drawMarker(csgo.vector3(-948.39, -623.48, -325.52), csgo.vector3(-1012.18, -77.19, -19.5), 'crouch', 'hemolly', 2, 'Boost', -40, -55, -15, 3)
drawMarker(csgo.vector3(-696.39, -780.48, -365.52), csgo.vector3(-988.18, -70.19, 58.5), 'stand', 'hemolly', 2, 'Boost', -40, -55, -15, 4)
drawMarker(csgo.vector3(-1368.66, -561.74 , -199.52), csgo.vector3(-1002.18, -337.60, 47), 'stand', 'molly', 2, 'stairs', -20, -55, -15, 3)
drawMarker(csgo.vector3(-2105.79, 699.01 , -135.52), csgo.vector3(-1702.18, 446.60, 245), 'stand', 'smoke', 2, 'Boost help', -40, -65, -15, 3)
elseif config.maps:get_int() == 10 then
--cbble
drawMarker(csgo.vector3(-155.970673, -16.010778, -31.906188), csgo.vector3(48, -248.90, 229.09), 'stand', 'hemolly', 2, 'esp one-way', -20, -55, -15, 3)
drawMarker(csgo.vector3(-521, -512.74 , -31.906188), csgo.vector3(-584.18, -786.60, 285), 'stand', 'hemolly', 2, 'stone', -20, -55, -15, 3)
drawMarker(csgo.vector3(-3325.28, -44.30, -31.906188), csgo.vector3(-3069.18, -275.60, 226), 'stand', 'molly', 2, 'one-way ramp', -20, -55, -15, 3)
elseif config.maps:get_int() == 11 then
--agency
drawMarker(csgo.vector3(-1186.566406, 217.027771, 322.031250), csgo.vector3(-1150, 472.90, 520.09), 'stand', 'hemolly', 2, 'esp one-way', -20, -55, -15, 1.5)
drawMarker(csgo.vector3(-975.54, 239.36, 322.031250), csgo.vector3(-759, 472.90, 550.09), 'stand', 'molly', 2, 'boost', -20, -55, -15, 2)
drawMarker(csgo.vector3(-929.33, -169.90, 520), csgo.vector3(-1096, 472.90, 695.09), 'stand', 'molly', 2, 'one-way esp', -32, -55, -15, 3)
drawMarker(csgo.vector3(-929.33, -169.90, 520), csgo.vector3(-652, 472.90, 732.09), 'stand', 'molly', 2, 'fakeduck', -32, -55, -15, 3)
drawMarker(csgo.vector3(-437.61, 941.59, 322.031250), csgo.vector3(-340.33, 899, 455), 'crouch', 'molly', 1, 'Up', -12, -75, -15, 1)
elseif config.maps:get_int() == 12 then
--dust2
drawMarker(csgo.vector3(-112.864204, 1350.943115, 1.341919), csgo.vector3(-365.62, 1578.48, 114), 'stand', 'hemolly', 2, 'CT spawn', -20, -55, -15, 2)
drawMarker(csgo.vector3(-1070.03, 2694 , 140), csgo.vector3(-1273, 2490.60, 246), 'stand', 'hemolly', 2, 'tunnel', -20, -55, -15, 1.5)
drawMarker(csgo.vector3(347.28, 1808.30, 99), csgo.vector3(493.67, 2044, 226), 'run', 'hemolly', 2, 'A plant', -20, -55, -15, 2)
drawMarker(csgo.vector3(955.28, 1161.30, 40), csgo.vector3(697, 1075, 247), 'stand', 'molly', 1, 'short', -20, -55, -15, 2)
drawMarker(csgo.vector3(-1000.28, -496.30, 186), csgo.vector3(-1140, -232, 320), 'stand', 'molly', 2, 'tunnel', -12, -55, -15, 2)
elseif config.maps:get_int() == 13 then
end
end
local callbacks = fatality.callbacks
callbacks:add('paint', paint)
вроде работаетКод:--main instances local config = fatality.config local menu = fatality.menu local render = fatality.render local globalVars = csgo.interface_handler:get_global_vars() local entityList = csgo.interface_handler:get_entity_list() local engineClient = csgo.interface_handler:get_engine_client() local smallestPixel7 = render:create_font('smallest pixel-7', 15, 0, false) local iconFont = render:create_font( 'undefeated', 30, 0, false ) local debug = csgo.interface_handler:get_debug_overlay() local screensize = render:screen_size() local colors = { white = csgo.color(255,255,255,255), red = csgo.color(255,0,0,255), green = csgo.color(0,255,0,255), blue = csgo.color(0,50,255,255), black = csgo.color(0,0,0,255), orange = csgo.color(252, 82, 3,255), purple = csgo.color(197, 66, 245, 255), darkBlue = csgo.color(80, 19, 186, 255) } --main instances local config = { waterMarkButton = config:add_item( 'watermarkButton', 1 ), distance = config:add_item( 'nadeHelperDistance', 100 ), maps = config:add_item( 'nadeHelperCombo', 1 ), iconFontConfig = config:add_item( 'nadeHelperIconFont', 1 ) } local menu = { menu:add_button( 'Nade Helper', 'visuals', 'misc', 'various', config.waterMarkButton ), menu:add_checkbox( 'Icon Font', 'visuals', 'misc', 'various', config.iconFontConfig), mapCombo = menu:add_combo( 'Map', 'visuals', 'misc', 'various', config.maps), menu:add_slider( 'Min Render Distance', 'visuals', 'misc', 'various', config.distance, 0, 1000, 1), } menu.mapCombo:add_item('Mirage', config.maps) menu.mapCombo:add_item('Tulip', config.maps) menu.mapCombo:add_item('shortdust', config.maps) menu.mapCombo:add_item('Inferno', config.maps) menu.mapCombo:add_item('Train', config.maps) menu.mapCombo:add_item('cache', config.maps) menu.mapCombo:add_item('overpass', config.maps) menu.mapCombo:add_item('vertigo', config.maps) menu.mapCombo:add_item('bank', config.maps) menu.mapCombo:add_item('aztec', config.maps) menu.mapCombo:add_item('cbble', config.maps) menu.mapCombo:add_item('agency', config.maps) menu.mapCombo:add_item('dust2', config.maps) function getDistance(x,y,z,x2,y2,z2) local distance = math.sqrt((x - x2)^2 + (y - y2)^2 + (z - z2)^2)/6 return distance end local angle = 0 function updateAngle() if angle < 360 then angle = angle + 0.02 else angle = 0 end end function drawMarker(standLoc, lookLoc, style, nades, minDist, description, desX, aimX, nadeX, size) local localPos = entityList:get_localplayer():get_var_vector(('CBaseEntity->m_vecOrigin')) local radius = 10 local x2, y2 local x = standLoc.x --x coordinate of circle center local y = standLoc.y --y coordinate of circle center local z = standLoc.z --z corrdinate of circle center local X = lookLoc.x local Y = lookLoc.y local Z = lookLoc.z local min = csgo.vector3(0,0,0) local max = csgo.vector3(1,1,1) local angleVec = csgo.angle(0,0,0) local lookLoc2Screen = csgo.vector3(X, Y, Z) lookLoc2Screen:to_screen() --for text local staticColor local whatToDO local nadeType if style == 'run' then --less messyness in main code staticColor = colors.blue whatToDO = 'run throw' elseif style == 'jump' then staticColor = colors.orange whatToDO = 'jump throw' elseif style == 'crouch' then whatToDO = 'crouch throw' staticColor = colors.darkBlue elseif style == 'runjump' then whatToDO = 'run jump throw' staticColor = colors.purple else whatToDO = 'throw' staticColor = colors.white end if nades == 'molly' then nadeType = 'l' elseif nades == 'smoke' then nadeType = 'k' elseif nades == 'he' then nadeType = 'j' elseif nades =='hemolly' then nadeType = 'jl' else nadeType = ' ' end if getDistance(x,y,z,localPos.x,localPos.y,localPos.z) < config.distance:get_int() then x2 = x + radius*math.cos(angle) y2 = y + radius*math.sin(angle) if getDistance(x,y,localPos.z,localPos.x,localPos.y,localPos.z) < minDist then debug:add_box_overlay(csgo.vector3(x2,y2,z), min, max, angleVec, colors.green, 0.3) render:text( smallestPixel7, lookLoc2Screen.x + aimX, lookLoc2Screen.y + 10, 'Aim here and ' .. whatToDO, colors.white ) if config.iconFontConfig:get_bool() then render:text( iconFont, lookLoc2Screen.x + nadeX, lookLoc2Screen.y + 20, nadeType, colors.white ) end render:text( smallestPixel7, lookLoc2Screen.x + desX, lookLoc2Screen.y, description, colors.white ) debug:add_box_overlay(csgo.vector3(X ,Y,Z), min, csgo.vector3(size,size,size), angleVec, colors.blue, 0.1) else debug:add_box_overlay(csgo.vector3(x2,y2,z), min, max, angleVec, staticColor, 0.3) end debug:add_box_overlay(csgo.vector3(x,y,z), min, max, angleVec, csgo.color(255,255,255,100), 0.1) end end function get_map() end function round(num, numDecimalPlaces) --Rounding function so we dont have long ass decimal place values local mult = 10^(numDecimalPlaces or 0) if numDecimalPlaces == 1 then --If it is a whole number then round it return math.ceil(math.floor(num * mult + 0.5) / mult) else --Otherwise set it to 2 decimal points return math.floor(num * mult + 0.5) / mult end end function paint() updateAngle() if config.maps:get_int() == 0 then --mirage drawMarker(csgo.vector3(-722, -1309, -160), csgo.vector3(-531,-1531, 0), 'run', 'hemolly', 1, 'Nade Palace', - 40,- 75, -25, 2) drawMarker(csgo.vector3(-807, -1545, -160), csgo.vector3(-535,-1547, -55), 'stand', 'hemolly', 1, 'A Ramp', - 25, -75, -25, 2) drawMarker(csgo.vector3(-450, -1547, -31), csgo.vector3(850.12,-1547, 490), 'stand', 'molly', 1, 'Molly Ledge', -30, -60, -10, 6) drawMarker(csgo.vector3(393.5, -1711.97, -208.72), csgo.vector3(195.62, -1431.67, -75), 'run', 'hemolly', 3, 'Molly FD Box', -30, -60, -5, 2) drawMarker(csgo.vector3(16.0, -2299.59, -39.97), csgo.vector3(95.97, -2245.91, 23), 'run', 'hemolly', 1, 'Short Run Molly Default', -82, -80, -20, 1) drawMarker(csgo.vector3(854.16, -1256.78, -108.97), csgo.vector3(545.14, -1341.95, 63.21), 'stand', 'molly', 1, 'Molly Sandwich/Stairs', -63, -58, -5, 3) drawMarker(csgo.vector3(650, -1128.03, -127.97), csgo.vector3(561.02, -1215, -45), 'jump', 'molly', 0.3, 'Molly Default |Very Touchy|', -85, -80, -10, 1) drawMarker(csgo.vector3(-2302.85, 805.49, -121.36), csgo.vector3(-2303.5, 739.83, -39.97), 'stand', 'molly', 0.5, 'Molly Market', -40, -63, -10, 0.5) drawMarker(csgo.vector3(-2302.85, 805.49, -121.36), csgo.vector3(-1763.9, -661.93, 450.04), 'stand', 'molly', 0.5, 'Molly Market Window', -70, -63, -10, 6) drawMarker(csgo.vector3(-1119.97, -1527.07, -156.07), csgo.vector3(-200.43, -1532.44, 205), 'stand', 'molly', 1, 'Molly A Ramp', -45, -63, -12, 6) drawMarker(csgo.vector3(-1119.97, -1527.07, -156.07), csgo.vector3(-464.4, -1532.44, 66), 'stand', 'hemolly', 1, 'Molly Top Sandwich', -65, -63, -17, 5) elseif config.maps:get_int() == 1 then --tulip drawMarker(csgo.vector3(6249.320801, 4487.204590, -120.850731), csgo.vector3(6031, 4244.699421, 68.733322), 'run', 'hemolly', 2, 'Boost', - 40,- 75, -25, 2) drawMarker(csgo.vector3(5880.03, 2748.62, -60.850731), csgo.vector3(5698, 3000.699421, 10.733322), 'stand', 'hemolly', 2, 'Nade Palace', - 40,- 75, -25, 2) elseif config.maps:get_int() == 2 then --shortdust drawMarker(csgo.vector3(-309.406403, 1933.314819, 32.031250), csgo.vector3(140, 1460.699421, 155.733322), 'run', 'hemolly', 2, 'Tunnel', - 20,- 75, -25, 3) drawMarker(csgo.vector3(-450.279297, 780.684265, 40.753510), csgo.vector3(-218, 485.699421, 240.533322), 'stand', 'molly', 2, 'CT spawn', - 29,- 75, -25, 3) drawMarker(csgo.vector3(-891.402405, 954.262512, 35.031250), csgo.vector3(-222, 485.699421, 155.733322), 'run', 'hemolly', 2, 'Car #1', - 15,- 75, -25, 3) drawMarker(csgo.vector3(-1279.968750, 1039.968750, -170.329315), csgo.vector3(-600, 780.699421, 265.733322), 'run', 'molly', 2, 'Car #2', - 15,- 75, -15, 3) elseif config.maps:get_int() == 3 then --Inferno drawMarker(csgo.vector3(664.97, 1873.00, 187.09), csgo.vector3(462.74, 2178.08, 373.87), 'stand', 'hemolly', 1, 'fountain', -20, -60, -15, 2) drawMarker(csgo.vector3(470.83, 2026.89, 207.09), csgo.vector3(462.74, 2221.08, 340.87), 'stand', 'hemolly', 1, 'coffins', -20, -60, -15, 2) drawMarker(csgo.vector3(1517.97, 792.03, 139.95), csgo.vector3(1354.61, 920.97, 240.44), 'jump', 'hemolly', 1, 'Awp Cubby', -33, -80, -3, 2) drawMarker(csgo.vector3(2137.67, 1225.9, 171.63), csgo.vector3(2145.34, 1007.54, 415), 'runjump', 'molly', 1, 'Molly Back Box', -50, -95, -12, 2) drawMarker(csgo.vector3(1985.52, 1223, 174.03), csgo.vector3(1987.34, 1013.73, 418), 'jump', 'molly', 0.5, 'Molly Mid/Front Site', -75, -87, -12, 2) drawMarker(csgo.vector3(1763.07, 1388.34, 174.03), csgo.vector3(1987.34, 1075.73, 350), 'stand', 'molly', 1, 'Jail', -15, -57, -20, 3) drawMarker(csgo.vector3(1314.46, 324.22, 129.03), csgo.vector3(1705.64, -106.48, 430), 'run', 'molly', 1, 'Molly Back Box', -50, -85, -12, 2) drawMarker(csgo.vector3(2297.95, 282.06, 128.16), csgo.vector3(1830, -107.02, 300), 'run', 'molly', 3, 'Molly Left Corner', -50, -85, -12, 2) drawMarker(csgo.vector3(2317.87, 946.47, 160.03), csgo.vector3(1740.46, 1244.43, 350), 'run', 'molly', 3, 'Molly right Corner', -60, -73, -12, 2) elseif config.maps:get_int() == 4 then --Train drawMarker(csgo.vector3(-773.21, 304.01, -215.97), csgo.vector3(-534.03, 581.45, -140), 'runjump', 'molly', 1, 'Molly E-box/Red Cart', -60, -73, -12, 2) drawMarker(csgo.vector3(-783.97, 607.9, -215.97), csgo.vector3(400, -15.98, 314.47), 'run', 'molly', 1, 'Molly Site', -40, -80, -12, 8) drawMarker(csgo.vector3(-803.57, 388.28, -215.97 ), csgo.vector3(7.96, 617.16, 127.36), 'stand', 'molly', 1, 'Molly Sandwich', -50, -65, -12, 4) drawMarker(csgo.vector3(-943.96, 496.26, -219.97), csgo.vector3(-423.86, 495.26, -106), 'runjump', 'molly', 2, 'Molly Green Cart', -50, -86, -12, 3) drawMarker(csgo.vector3(723.47, 731.82, -211.97), csgo.vector3(733.06, 556.62, -40), 'stand', 'molly', 1, 'Molly Heaven', -45, -60, -12, 2) elseif config.maps:get_int() == 5 then --cache drawMarker(csgo.vector3(910.649597, -1235.031250, 1614.093750), csgo.vector3(744.06, -1236.62, 1752), 'stand', 'molly', 2, 'Bombsite B One-Way #1', -45, -50, -5, 1.5) drawMarker(csgo.vector3(403.649597, -318.031250, 1614.093750), csgo.vector3(222.06, -630.62, 1742), 'run', 'hemolly', 2, 'Bombsite B One-Way #2', -45, -50, -5, 1.5) drawMarker(csgo.vector3(-120.183487, 424.871674, 1620.031250), csgo.vector3(64.06, 440.62, 1760), 'stand', 'molly', 0.5, 'midBoost down', -40, -65, -16, 1.5) drawMarker(csgo.vector3(-198.205246, 418.773346, 1620.031250), csgo.vector3(64.06, 445.62, 1796), 'stand', 'hemolly', 1, 'midBoost up', -33, -59, -21, 1.5) drawMarker(csgo.vector3(-982.153381, 971.216309, 1679.831909), csgo.vector3(-651.06, 1265.62, 1887), 'run', 'molly', 2, 'Squeaky', -22, -60, -11, 2) drawMarker(csgo.vector3(11.759085, -148.994904, 1613.093750), csgo.vector3(300.06, 115.62, 1915), 'stand', 'molly', 2, 'Boost mid', -22, -60, -11, 2) elseif config.maps:get_int() == 6 then --overpass drawMarker(csgo.vector3(-2351.968750, -392.031250, 438.562317), csgo.vector3(-2301.06, -173.62, 599), 'run', 'molly', 2, 'A one-way WALK + THROW', -68, -60, -11, 2) drawMarker(csgo.vector3(-3382.332520, 35.247875, 516.906006), csgo.vector3(-3180.06, 173.62, 645), 'run', 'molly', 2, 'A one-way', -35, -74, -11, 2) drawMarker(csgo.vector3(-1276.541260, -964.551147, 10.933800), csgo.vector3(-1281.06, -503.62, 279), 'stand', 'molly', 2, 'Water #1', -11, -60, -8, 2) drawMarker(csgo.vector3(-1300.968750, -1087.984619, 0.093811), csgo.vector3(-1330.06, -603.62, 280), 'stand', 'molly', 2, 'Water #2', -18, -55, -8, 2.5) drawMarker(csgo.vector3(-1580.517578, -710.171814, 135.334778), csgo.vector3(-1450.06, -503.62, 267), 'stand', 'hemolly', 2, 'Barrels', -19, -55, -18, 1.5) drawMarker(csgo.vector3(-856.031311, -639.968750, 105.031250), csgo.vector3(-1200.06, -205.62, 150), 'jump', 'molly', 2, 'Heaven Walk + JumpThrow', -61, -60, -8, 2) drawMarker(csgo.vector3(-2021.28, 544.38, 515.093810), csgo.vector3(-1919.06, 425.62, 603), 'stand', 'molly', 2, 'B push', -26, -60, -15, 1.5) drawMarker(csgo.vector3(-859.968750, -630.785583, 101.574355), csgo.vector3(-1200.06, -180.62, 395), 'run', 'molly', 2, 'Heaven #2', -30, -70, -8, 3) drawMarker(csgo.vector3(-329.999390, -941.285339, 20.421722), csgo.vector3(-880.06, -635.62, 434), 'run', 'molly', 2, 'Gustella', -20, -70, -8, 3) drawMarker(csgo.vector3(-442.186157, -1551.968750, 140.031250), csgo.vector3(-531.06, -1105.62, 335), 'run', 'molly', 2, 'Barrels', -18, -66, -8, 2) elseif config.maps:get_int() == 7 then --vertigo drawMarker(csgo.vector3(-540.693604, -1216.081177, 11690.464844), csgo.vector3(-465.06, -1100.62, 11820), 'stand', 'molly', 2, 'A BoxUp one-way', -40, -55, -15, 1) drawMarker(csgo.vector3(-540.693604, -1216.081177, 11690.464844), csgo.vector3(-467.06, -1120.62, 11783.5), 'stand', 'molly', 2, 'A BoxDown one-way', -50, -55, -15, 1) drawMarker(csgo.vector3(-1722.622314, -515.357117, 11780.031250), csgo.vector3(-1761, -425.62, 11897), 'stand', 'molly', 1, 'esp one-way', -26, -54, -3, 0.7) drawMarker(csgo.vector3(-2037.912964, -590.725769, 11780.031250), csgo.vector3(-1964, -450.62, 11902), 'stand', 'molly', 1, 'Up one-way', -26, -54, -3, 1) elseif config.maps:get_int() == 8 then --bank drawMarker(csgo.vector3(-314.515381, -635.069336, 192.031250), csgo.vector3(146.06, -556.62, 303), 'stand', 'molly', 2, 'Car One-Way', -40, -55, -15, 2) drawMarker(csgo.vector3(-463.293304, -596.599365, 192.031250), csgo.vector3(-45.06, -570.62, 336), 'run', 'molly', 2, 'FBICar One-Way', -40, -55, -15, 2) drawMarker(csgo.vector3(-314.515381, -552.069336, 192.031250), csgo.vector3(-60.06, -587.62, 285), 'stand', 'molly', 2, 'Track One-Way', -40, -55, -15, 2) drawMarker(csgo.vector3(-314.515381, -635.069336, 192.031250), csgo.vector3(146.06, -556.62, 303), 'stand', 'molly', 2, 'Car One-Way', -40, -55, -15, 2) elseif config.maps:get_int() == 9 then --aztec drawMarker(csgo.vector3(-948.39, -623.48, -325.52), csgo.vector3(-1012.18, -77.19, -19.5), 'crouch', 'hemolly', 2, 'Boost', -40, -55, -15, 3) drawMarker(csgo.vector3(-696.39, -780.48, -365.52), csgo.vector3(-988.18, -70.19, 58.5), 'stand', 'hemolly', 2, 'Boost', -40, -55, -15, 4) drawMarker(csgo.vector3(-1368.66, -561.74 , -199.52), csgo.vector3(-1002.18, -337.60, 47), 'stand', 'molly', 2, 'stairs', -20, -55, -15, 3) drawMarker(csgo.vector3(-2105.79, 699.01 , -135.52), csgo.vector3(-1702.18, 446.60, 245), 'stand', 'smoke', 2, 'Boost help', -40, -65, -15, 3) elseif config.maps:get_int() == 10 then --cbble drawMarker(csgo.vector3(-155.970673, -16.010778, -31.906188), csgo.vector3(48, -248.90, 229.09), 'stand', 'hemolly', 2, 'esp one-way', -20, -55, -15, 3) drawMarker(csgo.vector3(-521, -512.74 , -31.906188), csgo.vector3(-584.18, -786.60, 285), 'stand', 'hemolly', 2, 'stone', -20, -55, -15, 3) drawMarker(csgo.vector3(-3325.28, -44.30, -31.906188), csgo.vector3(-3069.18, -275.60, 226), 'stand', 'molly', 2, 'one-way ramp', -20, -55, -15, 3) elseif config.maps:get_int() == 11 then --agency drawMarker(csgo.vector3(-1186.566406, 217.027771, 322.031250), csgo.vector3(-1150, 472.90, 520.09), 'stand', 'hemolly', 2, 'esp one-way', -20, -55, -15, 1.5) drawMarker(csgo.vector3(-975.54, 239.36, 322.031250), csgo.vector3(-759, 472.90, 550.09), 'stand', 'molly', 2, 'boost', -20, -55, -15, 2) drawMarker(csgo.vector3(-929.33, -169.90, 520), csgo.vector3(-1096, 472.90, 695.09), 'stand', 'molly', 2, 'one-way esp', -32, -55, -15, 3) drawMarker(csgo.vector3(-929.33, -169.90, 520), csgo.vector3(-652, 472.90, 732.09), 'stand', 'molly', 2, 'fakeduck', -32, -55, -15, 3) drawMarker(csgo.vector3(-437.61, 941.59, 322.031250), csgo.vector3(-340.33, 899, 455), 'crouch', 'molly', 1, 'Up', -12, -75, -15, 1) elseif config.maps:get_int() == 12 then --dust2 drawMarker(csgo.vector3(-112.864204, 1350.943115, 1.341919), csgo.vector3(-365.62, 1578.48, 114), 'stand', 'hemolly', 2, 'CT spawn', -20, -55, -15, 2) drawMarker(csgo.vector3(-1070.03, 2694 , 140), csgo.vector3(-1273, 2490.60, 246), 'stand', 'hemolly', 2, 'tunnel', -20, -55, -15, 1.5) drawMarker(csgo.vector3(347.28, 1808.30, 99), csgo.vector3(493.67, 2044, 226), 'run', 'hemolly', 2, 'A plant', -20, -55, -15, 2) drawMarker(csgo.vector3(955.28, 1161.30, 40), csgo.vector3(697, 1075, 247), 'stand', 'molly', 1, 'short', -20, -55, -15, 2) drawMarker(csgo.vector3(-1000.28, -496.30, 186), csgo.vector3(-1140, -232, 320), 'stand', 'molly', 2, 'tunnel', -12, -55, -15, 2) elseif config.maps:get_int() == 13 then end end local callbacks = fatality.callbacks callbacks:add('paint', paint)
Проект предоставляет различный материал, относящийся к сфере киберспорта, программирования, ПО для игр, а также позволяет его участникам общаться на многие другие темы. Почта для жалоб: admin@yougame.biz