how to get is key currently pressed menu

User Tag List

Results 1 to 2 of 2
  1. #1
    Chas3down's Avatar Member
    Reputation
    2
    Join Date
    Feb 2012
    Posts
    41
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to get is key currently pressed

    Trying to get something to happen in a rotation and for the condition I want it to happen when a key is pressed (not toggled) how would I do this?

    how to get is key currently pressed
  2. #2
    MrTheSoulz's Avatar Contributor
    Reputation
    143
    Join Date
    Nov 2013
    Posts
    192
    Thanks G/R
    19/32
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If your using a generic unlocker you can only make use of shift; control; alt.
    You can make use of them by using the already existing conditions like "modifer.control"; "modifer.shift"; etc...
    You can also do "modifier.lshift" this means left shift only or "modifier.rshift" for the right shift key.

    If your using FH things get alot more interesting, with FH you can make use of ALL keys.
    It does require you to know a bit of lua, heres a example i use to know if i'm moving in-game:

    Code:
    local function _manualMoving()
    	if FireHack then
    		local a, _ = GetKeyState('65')
    		local s, _ = GetKeyState('83')
    		local d, _ = GetKeyState('68')
    		local w, _ = GetKeyState('87') 
    		if a or s or d or w then
    			return true
    		end
    	end
    	
    	-- There are no other unlocker wich can get key states yet...
    	return false
    end
    Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety.

Similar Threads

  1. How to get 2x Key to the Palace of Lei Shen every week easily
    By ShinjidaiNoKami in forum World of Warcraft Exploits
    Replies: 5
    Last Post: 10-25-2013, 06:02 PM
  2. [SCAM] How to get Glider Keys
    By AwokenEye in forum WoW Scam Prevention
    Replies: 9
    Last Post: 08-01-2008, 02:36 PM
  3. [How To] Get Free Gametime and CD Keys
    By Aerolon in forum WoW Scam Prevention
    Replies: 56
    Last Post: 05-19-2008, 05:31 PM
All times are GMT -5. The time now is 05:26 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search