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

Aurelijus1

Members
  • Posts

    67
  • Joined

  • Last visited

    Never

Posts posted by Aurelijus1

  1. where did you get that 3rd letter is **T**.

    P.S it's not my fault that you imagined some of bad words.(anyway calling derp, stupid and other almost the same as other insulting words, so start punishing other members)

    * * *

    @'Mohenjo:

    > Aurelijus1, here's a tip, try to solve an issue first, then come here with your attempts, don't be an asshole to people trying to help you. The issue that you need help with could be a lot of things, so just asking why it's there doesn't help. Try telling us when it showed up, what you've tried to fix it, and what line it's putting the error.

    I gave that line already and I get that error when I added hungry system.
  2. there is no tiny picture below the buttons it's DX8 NOT DX7

    * * *

    and no matter how I put those buttons in the corner they work perfect, but then I move when further from corner them stops working. **I can change them places with other buttons and they still works the same, if there is tiny buttons below picture, then, then I change them places they should open different gui but they don't. If anyone have suggestion how can i fix it please tell my without calling my derp**

    * * *

    @'BeNjO':

    > Another thread relating to this?

    no another relate to frmMain
  3. Why first 4 (case1, case2, case3, case4) not working but other 2 (case5, case6) works fine. I only changed those 4 buttons positions in modGeneral.
    Code:
    ```
    ' Menu
    Public Sub Menu_MouseUp()
    Dim i As Long, X As Long, Y As Long, buffer As clsBuffer

       ' find out which button we're clicking
       For i = 1 To 6
    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
                   Select Case i
                       Case 1
                           ' open window
                           OpenGuiWindow 1
                       Case 2
                           ' open window
                           OpenGuiWindow 2
                       Case 3
                           ' open window
                           OpenGuiWindow 3
                       Case 4
                           ' open window
                           OpenGuiWindow 4
                       Case 5
                           If myTargetType = TARGET_TYPE_PLAYER And myTarget <> MyIndex Then
                               SendTradeRequest
                           Else
                               AddText "Invalid trade target.", BrightRed
                           End If
                       Case 6
                           ' open window
                           OpenGuiWindow 6
                   End Select
                   ' play sound
                   PlaySound Sound_ButtonClick, -1, -1
               End If
           End If
       Next
    ```
×
×
  • Create New...