Jump to content
Welcome, Guest
Existing user? Sign In

Sign In



Sign Up
The MatriX
  • Welcome To Ghbsys
  • CS GO Streaming Version is released. Have fun streaming while cheating!
  • Have a Payment Issue? Send us a Support ticket.
  • Make a thread if you need support or join our discord for live support.
  • Have Suggestions? Make a thread and you'll earn Ghbsys Points for implemented suggestions.
  • Join our discord to stay well connected! Don't forget to integrate your discord to the site
  • Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum

    Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of [GHB] - GAmEhAcKbAsTaRdS Forum by signing in or creating an account.
    • Start new topics and reply to others
    • Subscribe to topics and forums to get email updates
    • Get your own profile page and make new friends
    • Send personal messages to other members.

    [Source] Making FPS Counter


    Jabooty
     Share

    Recommended Posts

    Hello ;) This is my first topic i did on this site.. i registered today and wanted to start make some OpenSource threads / Tutorial Threads!

    This topic is only about a simple FPS Counting Source (1 line Source).

    Only to get started.

     

    _______________________________

     

    KnowHow: FPS Counter

     

    What to do?:

    1. Create new Project
    2. Add Timer
    3. Add Label

    Do double Click on timer to get Code and Enter this:

    Label1.Text = Environment.TickCount / 1000

    And yes thats everything! You can change much Properties.

    Dont forget to start the Timer!

    The full Code of the form should be looking like this:

    Public Class Form1
       Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
           Timer1.Start()
       End Sub
    
       Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
           Label1.Text = Environment.TickCount / 1000
       End Sub
    End Class

    Of course much other ways exist.

    This is one of it (/1000).

    • Upvote 1
    Link to comment
    Share on other sites

    Guest
    This topic is now closed to further replies.
     Share

    • Recently Browsing   0 members

      • No registered users viewing this page.
    ×
    ×
    • Create New...