10-06-2008, 11:36 PM
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