Results 1 to 6 of 6
  1. #1
    lucasheer715's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    648
    Reputation
    10
    Thanks
    497
    My Mood
    Bored

    Crosshairs for Crossfire (27 Colors/3 Types)

    I thought i would make a tutorial on crosshairs :)

    Now we will need the following:
    5 Buttons
    1 Textbox
    2 Extra forms (Form 1 & Form2)
    2 Timers | Timer1 = (Enabled & Interval = 1) |
    | Timer2 = (Enabled & Interval = 1) |
    2 combobox's
    combobox1 will be colors
    combobox2 will be types

    First Paste This is Combobox1's collection..
    Code:
    Silver
    Black
    Red
    Blue
    Teal
    Gray
    Green
    NeonGreen
    OrangeRed
    DarkBlue
    DarkRed
    Violet
    Tan
    DarkTan
    Brown
    DarkBrown
    DarkGreen
    LightGreen
    Pink
    DarkPink
    HotPink
    DarkTeal
    Orange
    DarkOrange
    Yellow
    YellowGreen
    BrickRed
    Second Paste This is Combobox2's collection..
    Code:
    Regular
    Horizontal
    Vertical
    (Put this is form1_Load)
    Code:
            ComboBox1.Text = "Silver"
            ComboBox2.Text = "Regular"
            TextBox1.Text = 90
    (CAN DO IT URSELF OR PUT IN FORM1_LOAD)
    Code:
    button1.text = "Update Opacity"
    button2.text = "+"
    button3.text = "-"
    button4.text = "Show"
    button5.text = "Hide"
    Double click button1 and put this :
    Code:
            Form2.Opacity = TextBox1.Text
            Form3.Opacity = TextBox1.Text
    Double click button2 and put this :
    Code:
    If TextBox1.Text > 90 Then
                TextBox1.Text = 0
            Else
                TextBox1.Text = TextBox1.Text + 10
            End If
    Double Click Button3 And Put this :
    Code:
    If TextBox1.Text < 10 Then
                TextBox1.Text = 90
            Else
                TextBox1.Text = TextBox1.Text - 10
            End If
    Double Click button4 And put this :
    Code:
    If ComboBox2.Text = "Regular" Then
                Form3.Hide()
                Form2.Hide()
                Form2.Show()
                Form3.Show()
            ElseIf ComboBox2.Text = "Horizontal" Then
                Form2.Hide()
                Form3.Hide()
                Form2.Show()
            ElseIf ComboBox2.Text = "Vertical" Then
                Form2.Hide()
                Form3.Hide()
                Form3.Show()
            End If
    Double Click button5 and put this :
    Code:
            Form2.Hide()
            Form3.Hide()
    Open up your second form and do the following in properties:
    Code:
    size = (1, 50)
    size(max) = (1, 50)
    size(min) = (1, 50)
    startPosition = (Centerscreen)
    topmost = true
    showicon = false
    showinbar = false
    opacity = (40%)
    Open uo your third form and do the following in its properties:
    Code:
    size = (50, 1)
    size(max) = (50, 1)
    size(min) = (50, 1)
    startPosition = (Centerscreen)
    topmost = true
    showicon = false
    showinbar = false
    opacity = (40%)
    Finally open up your timer2 and put this:
    Code:
            If Form2.Visible = True And Form3.Visible = True Then
                Form2.TopMost = True
                Form3.TopMost = True
            ElseIf Form2.Visible = True And Form3.Visible = False Then
                Form2.TopMost = True
            Else
                Form3.TopMost = True
            End If
    Last edited by lucasheer715; 09-18-2012 at 09:52 PM.

  2. The Following 2 Users Say Thank You to lucasheer715 For This Useful Post:

    Battlefieldzocker (09-19-2012),kemper (10-14-2012)

  3. #2
    'Bruno's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Portugal
    Posts
    2,883
    Reputation
    290
    Thanks
    1,036
    My Mood
    Busy
    This is not a tutorial, this is code snippets.

    Also this is not the section for tutorials in case you did not realize. (Belongs to Programming Tutorials, moved)
    Light travels faster than sound. That's why most people seem bright until you hear them speak.

  4. #3
    XXkillerFin's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    0
    My Mood
    Bored
    world sh***est crosshair ever! Sorry

  5. #4
    Biftop.'s Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    Belgium
    Posts
    99
    Reputation
    18
    Thanks
    538
    My Mood
    Inspired
    This is just topmost...Fail. Sorry mate.


  6. #5
    kemper's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Location
    KZ
    Posts
    14
    Reputation
    10
    Thanks
    6
    Можешь сделать готовый исходник и выложить его сюда?
    Can you make ready the source and put it here?

  7. #6
    leejw29's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    221
    Reputation
    10
    Thanks
    2,756
    I doubt using TopMost will work for DirectX games. I've already tried.

Similar Threads

  1. [Help] How to make a Crosshair for Crossfire?
    By kemper in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 8
    Last Post: 12-27-2015, 11:31 AM
  2. [Help] Code Wallhack and Crosshair for Crossfire LA (br)
    By Insane~* in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 15
    Last Post: 03-30-2012, 07:56 AM
  3. [Solved] Crosshair for Crossfire Win 7-64
    By Harmony♫ in forum CrossFire Help
    Replies: 3
    Last Post: 03-19-2012, 06:40 PM
  4. [Release] Crosshair for Crossfire
    By Aldimann in forum CrossFire Spammers, Injectors and Multi Tools
    Replies: 7
    Last Post: 01-26-2011, 10:05 PM
  5. [Release] A Simple Crosshair For Crossfire
    By MOD-Ady in forum CrossFire Hacks & Cheats
    Replies: 60
    Last Post: 04-22-2010, 11:13 AM