Hey again, I have been trying to add a string after another, in one button.
ie I have a button that show the room name on a server, and I’m sure you know when you register a host it asks for a comment as a var.
I want to show the comment in the same button as the room name, as well as others like ping etc. (just the server comment for now).
I managed to put it in a scroll-view, but it cant manage to display the comment.
I’m sure it’s just a symbol, right?
I tried this…I’m just shooting in the dark though.
PS both gamename and comment are Strings
Cheers, Tim.
for (var i:int = 0; i<hostData.length; i++){
if (GUI.Button(Rect(slistx2, slisty2+ (110 * i), 300, 100), hostData*.gameName + comment ))*
JoinServer(hostData*);*
}
##Example 2 heheh
for (var i:int = 0; i<hostData.length; i++){
if (GUI.Button(Rect(slistx2, slisty2+ (110 * i), 300, 100), hostData*.gameName / comment ))*
JoinServer(hostData*);*
}