11-04-2009, 03:33 AM
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...
It doesnt show anything, any help?
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?