Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function printPos() {
- local = Entity.GetLocalPlayer();
- flags = Entity.GetProp(local, "CBasePlayer", "m_fFlags");
- isDucking = false;
- isFakeDucking = false;
- isHoldingE = false;
- isOverriding = false;
- if(Input.IsKeyPressed(0x45)) {
- isHoldingE = true;
- }
- if(UI.IsHotkeyActive("Anti-Aim", "Extra", "Fake duck")) {
- isFakeDucking = true;
- }
- if(flags & (1<<2) && !isFakeDucking) {
- isDucking = true;
- }
- if(UI.IsHotkeyActive("Rage", "GENERAL", "Accuracy", "Minimum damage (on key)")) {
- isOverriding = true;
- }
- stance = "";
- stance += isFakeDucking ? stance += "Fake duck " : isDucking ? "Crouch " : "Stand ";
- stance += isHoldingE ? "+ E" : "";
- dmg = isOverriding;
- string = "[ " + "\"location\", \"" + stance + "\", " + dmg + ", [" + Entity.GetHitboxPosition(local, 0) + "], [" + Local.GetViewAngles() + " ], \"Wallbang/Oneway\" ]\n";
- Cheat.Print(string);
- }
- UI.AddHotkey("Location Dev Tool");
- function check_key() {
- if(UI.IsHotkeyActive("Script items", "Location Dev Tool"))
- printPos();
- }
- Cheat.RegisterCallback("Draw", "check_key");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement