Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VERY wierd bug...
#3
Well it stopped, I did what you aid alreday, but idk it was so random... anyways, I got another question, I wanna vlt something small, a 16x16 Bitmap above the players head, but I cant get it to work...

Code:
Sub BltWait(ByVal index As Long)
Dim X As Long, Y As Long
    
    With rec
        .top = 16
        .Bottom = .top + 16
        .Left = 0
        .Right = .Left + 16
    End With
    
    X = GetPlayerX(index) * PIC_X + Player(index).XOffset
    Y = GetPlayerY(index) * PIC_Y + Player(index).YOffset - 4

    Call DD_BackBuffer.BltFast(X, Y, DD_WaitSurf, rec, DDBLTFAST_WAIT Or DDBLTFAST_SRCCOLORKEY)
End Sub

Code:
For i = 1 To MAX_PLAYERS
          
                Call BltWait(i)
          
        Next i

It doesnt show anything, any help?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)