[18118-screenshot+(386).png*_|18118]Hey again ![]()
I have one more problem :\
I have a screen displaying the amount of servers available, if there is more than one, they will overlap with each other.
I was wondering how I would make it automatically place the next gui button under the one above it?
if there is 5 servers, there should be 5 buttons, one under the other.
I attached a screenshot to show what its doing, there are 2 servers available that are overlapping.
I don’t have much experience with this part. Cheers, Tim.
Here’s the part where it loads the buttons if it helps.
function OnGUI (){
for (var i:int = 0; i<hostData.length; i++){
if( GUI.Button(Rect(110, 155, 300, 100),hostData *.gameName)){*
if (!Network.isServer && !Network.isClient){
Network.Connect(hostData*);*
}
}
}
_*
cheers I will give it ago
– ODNSEV7N