Thread: VB Help!!!

Results 1 to 6 of 6
  1. #1
    nub_g0t_high's Avatar
    Join Date
    Aug 2007
    Location
    How the fuck should i know?
    Posts
    242
    Reputation
    10
    Thanks
    15

    VB Help!!!

    How do i make it so that when i zoom in, i press the right mouse button, and also use right mouse button for zoom out?

  2. #2
    ZeaS's Avatar
    Join Date
    Feb 2007
    Posts
    738
    Reputation
    15
    Thanks
    265
    if getkeypress(vbKeyRButton) then
    call writealong ("warrock", &HAdress, 1)
    else:
    call writealong ("warrock", &HAdress, 0)
    end if

    i think this work :P

  3. The Following User Says Thank You to ZeaS For This Useful Post:

    nub_g0t_high (11-04-2007)

  4. #3
    wr194t's Avatar
    Join Date
    Jul 2007
    Gender
    male
    Location
    Guess.
    Posts
    3,016
    Reputation
    21
    Thanks
    361
    My Mood
    Hot
    Quote Originally Posted by ZeaS View Post
    if getkeypress(vbKeyRButton) then
    call writealong ("warrock", &HAdress, 1)
    else:
    call writealong ("warrock", &HAdress, 0)
    end if

    i think this work :P
    That's hold right click on/off. He is asking for click on then click again for off.

  5. #4
    ZeaS's Avatar
    Join Date
    Feb 2007
    Posts
    738
    Reputation
    15
    Thanks
    265
    Quote Originally Posted by wr194t View Post
    That's hold right click on/off. He is asking for click on then click again for off.
    omg i see it now amm
    timer1: (interval = 100)
    if getkeypress(vbKeyRbutton) then
    call writealong("warrock", &HAdress, 1)
    timer2.interval = 100
    timer1.interval = 0
    end if
    end sub

    timer2: (intervall = 0 )
    if getkeypress(vbkeyRButton) then
    call writealong("warrock", &HAdress, 0)
    timer1.interval = 100
    timer2.interval = 0
    end if
    end sub

    maby this :P

  6. The Following User Says Thank You to ZeaS For This Useful Post:

    nub_g0t_high (11-04-2007)

  7. #5
    radnomguywfq3's Avatar
    Join Date
    Jan 2007
    Gender
    male
    Location
    J:\E\T\A\M\A\Y.exe
    Posts
    8,858
    Reputation
    381
    Thanks
    1,823
    My Mood
    Sad
    Thats vary risky code, as the mechine could record the mouse press two times in a row, you better sleeping it for 1 second after click.



    There are two types of tragedies in life. One is not getting what you want, the other is getting it.

    If you wake up at a different time in a different place, could you wake up as a different person?


  8. #6
    pbsucks's Avatar
    Join Date
    Sep 2007
    Location
    univers
    Posts
    65
    Reputation
    10
    Thanks
    4
    or just make everythink with low risk in another way:

    timer1 has interval 1 from the beginning

    if GetKeyPressed(vbKeyRButton) and Timer2.Enabled=False then Timer2.Enabled=True

    if GetKeyPressed(vbKeyRButton) and Timer2.Enabled=True then Timer2.Enabled=False

    timer2 has interval 1, too, but disabled

    call writealong("warrock", Adress, Value);

Similar Threads

  1. [Help Request] Combat arms Vid help
    By djw111 in forum Combat Arms Help
    Replies: 4
    Last Post: 12-24-2011, 05:06 PM
  2. [Help Request] AFK Bot [help]
    By fet in forum Combat Arms Help
    Replies: 7
    Last Post: 04-28-2011, 03:17 AM
  3. [Help Request] Injector Admin help
    By asdfgas in forum Combat Arms Help
    Replies: 4
    Last Post: 04-27-2011, 06:12 PM
  4. [Help Request] Ajuda / Help
    By - Battery' in forum Combat Arms BR Coding Help
    Replies: 3
    Last Post: 04-22-2011, 07:15 PM
  5. [Help Request] Help my!
    By Windowns7 in forum Combat Arms BR Coding Help
    Replies: 2
    Last Post: 04-18-2011, 01:41 PM