Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

PD

Members
  • Posts

    1028
  • Joined

  • Last visited

    Never

Posts posted by PD

  1. My VB6 setup files are also in one folder. Try this one instead: https://www.raymond.cc/blog/install-visual-basic-6-vb6-in-windows-7-without-microsoft-virtual-machine-for-java/
    Make sure you follow the MSJAVA instructions and it should work.
  2. Are you using EFF or another engine? The "thing" the button does is in this code, specifically the **OpenGuiWindow 10** line.

    ```
    ' friend button
    I = 65
    x = GUIWindow(GUI_MENU).x + Buttons(I).x
    y = GUIWindow(GUI_MENU).y + Buttons(I).y
    ' check if we're on the button
    If (GlobalX >= x And GlobalX <= x + Buttons(I).Width) And (GlobalY >= y And GlobalY <= y + Buttons(I).Height) Then
        If Buttons(I).state = 2 Then
            ' do stuffs
    OpenGuiWindow 10
            ' play sound
            PlaySound Sound_ButtonClick, -1, -1
        End If
    End If

    ```
    You need to go into the **OpenGuiWindow** function and see what values it accepts. It maybe that **10** isn't accepted in your version of the engine. You can try changing the number to something else or putting in some other code under **' do stuffs**.
×
×
  • Create New...