Results 1 to 3 of 3
  1. #1
    ilovepie21's Avatar
    Join Date
    Feb 2007
    Location
    Drunk
    Posts
    388
    Reputation
    11
    Thanks
    134

    [Help] Stamina code freezes to 0

    Code:
    Private Sub Command1_Click()
    Timer1.Enabled = False
    End Sub
    
    Private Sub Command2_Click()
    Timer1.Enabled = True
    End Sub
    
    Private Sub Timer1_Timer()
    If GetKeyPress(vbKeyShift) Then
    Dim STAN As Long
    Dim STAN1 As Long
    Call ReadALong("WarRock", &H13680D8, STAN)
    STAN1 = STAN + &H288
    Call WriteAFloat("WarRock", STAN1, 100)
    End If
    End Sub
    when i use this code stamina freezes to zero instead of full

  2. #2
    gbitz's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    Here.
    Posts
    3,136
    Reputation
    197
    Thanks
    335
    I believe you need to freeze 100 to something else, but you're using WriteAFloat... so I don't know. Use WriteALong and try to find out what to freeze it to. If that doesn't work then I don't know.

  3. #3
    yup's Avatar
    Join Date
    Feb 2008
    Gender
    male
    Posts
    102
    Reputation
    11
    Thanks
    3
    Use WriteAFloat and freeze it to 1120403456, that should work.

Similar Threads

  1. [Help Request] Full Stamina Code
    By - Battery' in forum Combat Arms BR Coding Help
    Replies: 8
    Last Post: 05-18-2011, 04:54 PM
  2. [HELP] I NEED HELP WITH STAMINA CODE
    By ilovepie21 in forum Visual Basic Programming
    Replies: 15
    Last Post: 03-03-2008, 07:41 PM
  3. [ help ] stamina code
    By ilovepie21 in forum Visual Basic Programming
    Replies: 0
    Last Post: 03-02-2008, 03:43 PM
  4. [ HELP ] Stamina Code VB6
    By ilovepie21 in forum Visual Basic Programming
    Replies: 10
    Last Post: 03-02-2008, 06:57 AM
  5. [ HELP ] stamina code
    By ilovepie21 in forum Visual Basic Programming
    Replies: 1
    Last Post: 02-28-2008, 03:35 AM

Tags for this Thread