Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Function problem
#2
Code:
Function GetPlayerClassSprite(ByVal Index As Long) As Long
    If Player(Index).Char(Player(Index).CharNum).Sex = 0 Then
        GetPlayerClassSprite = Int(Class(GetPlayerClass(Index)).MSprite)
    Else
        GetPlayerClassSprite = Int(Class(GetPlayerClass(Index)).FSprite)
    End If
End Function
Thats should be correct Tongue
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)