13-08-2008, 04:22 PM
Code:
If GetPlayerClass(Index) = 0 Then
picBackground.Picture = LoadPicture(App.Path & "\gfx\gui\ingame\warrior\ingame.bmp")
End If
Change the if statement to:
Code:
If GetPlayerClass(MyIndex) = 0
Not sure if that's the problem exactly, but it's a start.