Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GetPlayerClass(MyIndex) in a label.
#2
You need to convert the number to text, for example (not complete at all, just an example):

Code:
.caption = ConvertToText(GetPlayerClass(Index), CTT_CLASS)

Function ConvertToText(value, type) As String
   If type = CTT_CLASS Then
         select case value
                case 0
                       ConvertToText =  "warrior"
                case 1
                       ConvertToText = "mage"
                ...
          end select
    ElseIf type = CTT_PLROPTION Then
          ...
    Else
         ...
    EndIf
End Function
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)