Nike.lua
-
Автор темы
- #21
Ебать код мусорный, не пИздитеCорри, но ты можешь вырезать инд по середенике из сверху JS? Если не лень?) Пожалуйста
JavaScript:
function drawIndicators() {
var screenSize = Global.GetScreenSize()
//variables
isIdealYaw = UI.IsHotkeyActive('Misc', 'JAVASCRIPT', 'Script items', '[-] Ideal Yaw')
isInverted = UI.IsHotkeyActive('Anti-Aim', 'Fake angles', 'Inverter')
isSafePoints = UI.IsHotkeyActive('Rage', 'General', 'Force safe point')
isOnshot = UI.IsHotkeyActive('Rage', 'Exploits', 'Hide shots')
isDoubletap = UI.IsHotkeyActive('Rage', 'Exploits', 'Doubletap')
isBodyAim = UI.IsHotkeyActive('Rage', 'GENERAL', 'General', 'Force body aim')
isRealColor = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Real arrow color')
isDamageIndicator = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Enable Display Indicator')
font = Render.AddFont('Verdana', 8, 700)
isPistolDamage = 'DMG: ' + UI.GetValue('Rage', 'PISTOL', 'Targeting', 'Minimum damage')
isHeavyPistolDamage = 'DMG: ' + UI.GetValue('Rage', 'HEAVY PISTOL', 'Targeting', 'Minimum damage')
isScoutDamage = 'DMG: ' + UI.GetValue('Rage', 'SCOUT', 'Targeting', 'Minimum damage')
isAWPDamage = 'DMG: ' + UI.GetValue('Rage', 'AWP', 'Targeting', 'Minimum damage')
isAutosniperDamage = 'DMG: ' + UI.GetValue('Rage', 'AUTOSNIPER', 'Targeting', 'Minimum damage')
//Anti-Aim or Keybinds
var keybindIndicatorsActive = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Keybinds Indicators') && !UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Anti-Aim Indicators')
&& UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Enable Indicators')
var antiAimIndicatorsActive = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Anti-Aim Indicators') && !UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Keybinds Indicators')
&& UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Enable Indicators')
var keybindAntiAimIndicatorsActive = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Keybinds Indicators') && UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Anti-Aim Indicators')
&& UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Enable Indicators')
if (keybindIndicatorsActive == true) {
Render.StringCustom(screenSize[0] /2 -35, screenSize[1] /2 +25, 0, isSafePoints ? 'SAFEPOINT' : 'SAFEPOINT', isSafePoints ? [ 0, 0, 0, 255 ] : [ 0, 0, 0, 255 ], font)
Render.StringCustom(screenSize[0] /2 -35, screenSize[1] /2 +23, 0, isSafePoints ? 'SAFEPOINT' : 'SAFEPOINT', isSafePoints ? [ 162, 250, 40, 255 ] : [ 17, 180, 250, 255 ], font)
Render.StringCustom(screenSize[0] /2 -30, screenSize[1] /2 +39, 0, isBodyAim ? 'BODY AIM' : 'BODY AIM', isBodyAim ? [ 0, 0, 0, 255 ] : [ 0, 0, 0, 255 ], font)
Render.StringCustom(screenSize[0] /2 -30, screenSize[1] /2 +37, 0, isBodyAim ? 'BODY AIM' : 'BODY AIM', isBodyAim ? [ 162, 250, 40, 255 ] : [ 17, 170, 250, 255 ], font)
Render.StringCustom(screenSize[0] /2 -14, screenSize[1] /2 +52, 0, isOnshot ? 'HIDE' : '', isOnshot ? [ 0, 0, 0, 255 ] : [ 0, 0, 0, 255 ], font) //Тень Hide
Render.StringCustom(screenSize[0] /2 -16, screenSize[1] /2 +52, 0, isOnshot ? '' : 'ANIM', isOnshot ? [ 0, 0, 0, 255 ] : [ 0, 0, 0, 255 ], font) //Тень Anim
Render.StringCustom(screenSize[0] /2 -16, screenSize[1] /2 +50, 0, isOnshot ? '' : 'ANIM', isOnshot ? [ 162, 250, 40, 255 ] : [ 17, 180, 250, 255 ], font) //Текст Anim
Render.StringCustom(screenSize[0] /2 -14, screenSize[1] /2 +50, 0, isOnshot ? 'HIDE' : '', isOnshot ? [ 162, 250, 40, 255 ] : [ 17, 180, 250, 255 ], font) //Текст Hide
Render.StringCustom(screenSize[0] /2 -6, screenSize[1] /2 +65, 0, isDoubletap ? 'DT' : 'DT', isDoubletap ? [ 0, 0, 0, 255 ] : [ 0, 0, 0, 255 ], font)
Render.StringCustom(screenSize[0] /2 -6, screenSize[1] /2 +63, 0, isDoubletap ? 'DT' : 'DT', isDoubletap ? [ 162, 250, 40, 255 ] : [ 17, 180, 250, 255 ], font)
}
if (antiAimIndicatorsActive == true) {
//Стрелочки
Render.StringCustom(screenSize[0] /2 -58, screenSize[1] /2 -12, 0, isInverted ? '<' : '<', isInverted ? [ 255, 255, 255, 255 ] : isRealColor, 10)
Render.StringCustom(screenSize[0] /2 +44, screenSize[1] /2 -12, 0, isInverted ? '>' : '>', isInverted ? isRealColor : [ 255, 255, 255, 255], 10)
//Ideal Yaw/Fake Yaw
Render.StringCustom(screenSize[0] /2 -35, screenSize[1] /2 +23, 0, isIdealYaw ? "IDEAL YAW" : "", isIdealYaw ? [ 0, 0, 0, 255 ] : [ 0, 0, 0, 255 ], font) //Тень Ideal Yaw
Render.StringCustom(screenSize[0] /2 -32, screenSize[1] /2 +23, 0, isIdealYaw ? "" : "FAKE YAW", isIdealYaw ? [ 0, 0, 0, 255 ] : [ 0, 0, 0, 255 ], font) //Тень Fake Yaw
Render.StringCustom(screenSize[0] /2 -32, screenSize[1] /2 +21, 0, isIdealYaw ? "" : "FAKE YAW", isIdealYaw ? [ 250, 62, 10, 255 ] : [ 247, 82, 82, 255 ], font)
Render.StringCustom(screenSize[0] /2 -35, screenSize[1] /2 +21, 0, isIdealYaw ? "IDEAL YAW" : "", isIdealYaw ? [ 255, 68, 0, 255 ] : [ 17, 180, 250, 255 ], font)
}
if (keybindAntiAimIndicatorsActive == true) {
//Стрелочки
Render.StringCustom(screenSize[0] /2 -58, screenSize[1] /2 -12, 0, isInverted ? '<' : '<', isInverted ? [ 255, 255, 255, 255] : isRealColor, 10)
Render.StringCustom(screenSize[0] /2 +44, screenSize[1] /2 -12, 0, isInverted ? '>' : '>', isInverted ? isRealColor : [ 255, 255, 255, 255 ], 10)
//Ideal Yaw/Fake Yaw
Render.StringCustom(screenSize[0] /2 -35, screenSize[1] /2 +23, 0, isIdealYaw ? "IDEAL YAW" : "", isIdealYaw ? [ 0, 0, 0, 255 ] : [ 0, 0, 0, 255 ], font) //Тень Ideal Yaw
Render.StringCustom(screenSize[0] /2 -32, screenSize[1] /2 +23, 0, isIdealYaw ? "" : "FAKE YAW", isIdealYaw ? [ 0, 0, 0, 255 ] : [ 0, 0, 0, 255 ], font) //Тень Fake Yaw
Render.StringCustom(screenSize[0] /2 -32, screenSize[1] /2 +21, 0, isIdealYaw ? "" : "FAKE YAW", isIdealYaw ? [ 250, 62, 10, 255 ] : [ 247, 82, 82, 255 ], font) //Текст Fake Yaw
Render.StringCustom(screenSize[0] /2 -35, screenSize[1] /2 +21, 0, isIdealYaw ? "IDEAL YAW" : "", isIdealYaw ? [ 255, 68, 0, 255 ] : [ 17, 180, 250, 255 ], font) //Текст Ideal Yaw
//SafePoint
Render.StringCustom(screenSize[0] /2 -35, screenSize[1] /2 +38, 0, isSafePoints ? 'SAFEPOINT' : 'SAFEPOINT', isSafePoints ? [0, 0, 0, 255] : [0, 0, 0, 255], font)
Render.StringCustom(screenSize[0] /2 -35, screenSize[1] /2 +36, 0, isSafePoints ? 'SAFEPOINT' : 'SAFEPOINT', isSafePoints ? [ 162, 250, 40, 255] : [ 17, 180, 250, 255 ], font)
//BodyAim
Render.StringCustom(screenSize[0] /2 -30, screenSize[1] /2 +52, 0, isBodyAim ? 'BODY AIM' : 'BODY AIM', isBodyAim ? [ 0, 0, 0, 255 ] : [ 0, 0, 0, 255 ], font)
Render.StringCustom(screenSize[0] /2 -30, screenSize[1] /2 +50, 0, isBodyAim ? 'BODY AIM' : 'BODY AIM', isBodyAim ? [ 162, 250, 40, 255 ] : [ 17, 170, 250, 255 ], font)
//Onshot
Render.StringCustom(screenSize[0] /2 -14, screenSize[1] /2 +65, 0, isOnshot ? 'HIDE' : '', isOnshot ? [ 0, 0, 0, 255 ] : [ 0, 0, 0, 255 ], font) //Тень Hide
Render.StringCustom(screenSize[0] /2 -16, screenSize[1] /2 +65, 0, isOnshot ? '' : 'ANIM', isOnshot ? [ 0, 0, 0, 255 ] : [ 0, 0, 0, 255 ], font) //Тень Anim
Render.StringCustom(screenSize[0] /2 -16, screenSize[1] /2 +63, 0, isOnshot ? '' : 'ANIM', isOnshot ? [ 162, 250, 40, 255 ] : [ 17, 180, 250, 255 ], font) //Текст Anim
Render.StringCustom(screenSize[0] /2 -14, screenSize[1] /2 +63, 0, isOnshot ? 'HIDE' : '', isOnshot ? [ 162, 250, 40, 255 ] : [ 17, 180, 250, 255 ], font) //Ткест Hide
//Doubletap
Render.StringCustom(screenSize[0] /2 -6, screenSize[1] /2 +78, 0, isDoubletap ? 'DT' : 'DT', isDoubletap ? [ 0, 0, 0, 255 ] : [ 0, 0, 0, 255 ], font)
Render.StringCustom(screenSize[0] /2 -6, screenSize[1] /2 +76, 0, isDoubletap ? 'DT' : 'DT', isDoubletap ? [ 162, 250, 40, 255 ] : [ 17, 180, 250, 255 ], font)
}
if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Enable Display Indicator') && UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Enable MinDamage override')) {
var DlocalPlayer = Entity.GetLocalPlayer()
var DlocalPlayerWeapon = Entity.GetWeapon(DlocalPlayer)
var DlocalPlayerWeaponName = Entity.GetName(DlocalPlayerWeapon)
if (DlocalPlayerWeaponName == 'r8 revolver' || DlocalPlayerWeaponName == 'desert eagle') {
Render.StringCustom(screenSize[0] /2 -6, screenSize[1] /2 +124, 0, isHeavyPistolDamage, [ 255, 255, 255, 255 ], font)
}
if (DlocalPlayerWeaponName == 'ssg 08') {
Render.StringCustom(screenSize[0] /2 -6, screenSize[1] /2 +124, 0, isScoutDamage, [ 255, 255, 255, 255], font)
}
if (DlocalPlayerWeaponName == 'awp') {
Render.StringCustom(screenSize[0] /2 -6, screenSize[1] /2 +124, 0, isAWPDamage, [ 255, 255, 255, 255], font)
}
if (DlocalPlayerWeaponName == 'scar 20' || DlocalPlayerWeaponName == 'g3sg1') {
Render.StringCustom(screenSize[0] /2 -6, screenSize[1] /2 +124, 0, isAutosniperDamage, [ 255, 255, 255, 255], font)
}
if (DlocalPlayerWeaponName == 'usp s' || DlocalPlayerWeaponName == 'glock 18' || DlocalPlayerWeaponName == 'p2000' || DlocalPlayerWeaponName == 'cz75 auto' || DlocalPlayerWeaponName == 'p250'
|| DlocalPlayerWeaponName == 'five seven' || DlocalPlayerWeaponName == 'dual berettas' || DlocalPlayerWeaponName == 'tec9') {
Render.StringCustom(screenSize[0] /2 -6, screenSize[1] /2 +124, 0, isPistolDamage, [ 255, 255, 255, 255], font)
}
}
}
Cheat.RegisterCallback('Draw', 'drawIndicators')