Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Limb_Tracker_Target()
- Limb_Tracker_Target_RLeg()
- Limb_Tracker_Target_LLeg()
- Limb_Tracker_Target_Head()
- Limb_Tracker_Target_LArm()
- Limb_Tracker_Target_RArm()
- Limb_Tracker_Target_Torso()
- end
- function Limb_Tracker_Target_Head()
- createMiniConsole("thead",WindowWidth-100,0,100,500)
- setBackgroundColor("thead",200,200,200,255)
- setMiniConsoleFontSize("thead", 8)
- setWindowWrap("thead", 5)
- setTextFormat("thead",0,35,255,50,50,50,0,0,0)
- moveWindow("thead", 1156,WindowHeight-68)
- handleWindowResizeEvent()
- resizeWindow("thead",20,12)
- if tlimbs.aiming == "head" then
- setBackgroundColor("thead",0,255,0,255)
- else
- end
- if tlimbs.head <= (hitsneeded -1) then
- clearWindow("thead")
- cecho("thead", "<red>" .. tlimbs.head)
- elseif tlimbs.head >= hitsneeded then
- clearWindow("thead")
- setBackgroundColor("thead",255,0,0,0)
- cecho("thead", "<red>" .. tlimbs.head)
- end
- end
- function Limb_Tracker_Target_RArm()
- createMiniConsole("trarm",WindowWidth-100,0,100,500)
- setBackgroundColor("trarm",200,200,200,255)
- setMiniConsoleFontSize("trarm", 8)
- setWindowWrap("trarm", 2)
- setTextFormat("trarm",0,35,255,50,50,50,0,0,0)
- moveWindow("trarm", 1179,WindowHeight-55)
- handleWindowResizeEvent()
- resizeWindow("trarm",11,30)
- clearWindow("trarm")
- if tlimbs.aiming == "right arm" then
- setBackgroundColor("trarm",0,255,0,255)
- else
- end
- if tlimbs.rarm <= (hitsneeded -1) then
- clearWindow("trarm")
- cecho("trarm", "<red>" .. tlimbs.rarm)
- elseif tlimbs.rarm >= hitsneeded then
- clearWindow("trarm")
- cecho("trarm", "\n<red>" .. tlimbs.rarm)
- setBackgroundColor("trarm",255,0,0,0)
- end
- end
- function Limb_Tracker_Target_LArm()
- createMiniConsole("tlarm",WindowWidth-100,0,100,500)
- setBackgroundColor("tlarm",200,200,200,255)
- setMiniConsoleFontSize("tlarm", 8)
- setWindowWrap("tlarm", 2)
- setTextFormat("tlarm",0,35,255,50,50,50,0,0,0)
- moveWindow("tlarm", 1142,WindowHeight-55)
- handleWindowResizeEvent()
- resizeWindow("tlarm",11,30)
- clearWindow("tlarm")
- if tlimbs.larm <= (hitsneeded -1) then
- clearWindow("tlarm")
- cecho("tlarm", "<red>" .. tlimbs.larm)
- elseif tlimbs.larm >= hitsneeded then
- clearWindow("tlarm")
- cecho("tlarm", "\n<red>" .. tlimbs.larm)
- setBackgroundColor("tlarm",255,0,0,0)
- end
- if tlimbs.aiming == "left arm" then
- setBackgroundColor("tlarm",0,255,0,255)
- else
- end
- end
- function Limb_Tracker_Target_RLeg()
- createMiniConsole("trleg",WindowWidth-100,0,100,500)
- setBackgroundColor("trleg",200,200,200,255)
- setMiniConsoleFontSize("trleg", 8)
- setWindowWrap("trleg", 2)
- setTextFormat("trleg",0,35,255,50,50,50,0,0,0)
- moveWindow("trleg", 1166,WindowHeight-30)
- handleWindowResizeEvent()
- resizeWindow("trleg",11,30)
- clearWindow("trleg")
- if tlimbs.rleg <= (hitsneeded -1) then
- clearWindow("trleg")
- cecho("trleg", "<red>" .. tlimbs.rleg)
- elseif tlimbs.rleg >= hitsneeded then
- clearWindow("trleg")
- cecho("trleg", "\n<red>" .. tlimbs.rleg)
- setBackgroundColor("trleg",255,0,0,0)
- end
- if tlimbs.aiming == "right leg" then
- setBackgroundColor("trleg",0,255,0,255)
- else
- end
- end
- function Limb_Tracker_Target_LLeg()
- createMiniConsole("tlleg",WindowWidth-100,0,100,500)
- setBackgroundColor("tlleg",200,200,200,255)
- setMiniConsoleFontSize("tlleg", 8)
- setWindowWrap("tlleg", 2)
- setTextFormat("tlleg",0,35,255,50,50,50,0,0,0)
- moveWindow("tlleg", 1154,WindowHeight-30)
- handleWindowResizeEvent()
- resizeWindow("tlleg",11,30)
- if tlimbs.lleg <= (hitsneeded -1) then
- clearWindow("tlleg")
- cecho("tlleg", "<red>" .. tlimbs.lleg)
- elseif tlimbs.lleg >= hitsneeded then
- clearWindow("tlleg")
- cecho("tlleg", "\n<red>" .. tlimbs.lleg)
- setBackgroundColor("tlleg",255,0,0,255)
- end
- if tlimbs.aiming == "left leg" then
- setBackgroundColor("tlleg",0,255,0,255)
- else
- end
- end
- function Limb_Tracker_Target_Torso()
- createMiniConsole("ttorso",WindowWidth-100,0,100,500)
- setBackgroundColor("ttorso",200,200,200,255)
- setMiniConsoleFontSize("ttorso", 8)
- setWindowWrap("ttorso", 20)
- setTextFormat("ttorso",0,35,255,50,50,50,0,0,0)
- moveWindow("ttorso", 1154,WindowHeight-55)
- handleWindowResizeEvent()
- resizeWindow("ttorso",23,23)
- clearWindow("ttorso")
- if tlimbs.torso <= (hitsneeded -1) then
- clearWindow("ttorso")
- cecho("ttorso", "<red>" .. tlimbs.torso)
- elseif tlimbs.torso >= hitsneeded then
- clearWindow("ttorso")
- cecho("ttorso", "<red>" .. tlimbs.torso)
- setBackgroundColor("ttorso",255,0,0,0)
- end
- if tlimbs.aiming == "torso" then
- setBackgroundColor("ttorso",0,255,0,255)
- else
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement