UI Queue System

Yo wassup guys. I wanna create a UI queue system in my game, but I don’t know where to start:

You see, I created already a Gui with a SinglePlayer and a MultiPlayer buttons, but then… I didn’t have any braincells to make a script, but don’t look at me as a non scripter, I do know how to script, but this specific thing I don’t know? Should I just get from the toolbox or I will wait for an answer?

Best, XMLcard

(wouhuhuhuhu first time creating a topic :slight_smile: )

1 Like

Player creates a “match” → server registers it → server sends table of matches to all clients
Client can join the match → join → server registers → server sends table of matches to all clients again

refer to UI Queue System - #3 by tannnxr aswell

Adding onto what i said just to help a bit more:

This would be an ideal structure i believe?


local matches = {
   Player = {
       matchmakingData = {};
        Players = {};
   }
}

Where Player is the person who created it,
MatchmakingData would be data about the match created
Players would be players who are in the match

3 Likes

To add onto this, it’s best to have the client query for available matches, rather than the server immediately updating matches/servers. This way you can actually limit any strain on the server itself, and it will encourage best practices.

2 Likes

Agreed completely
3,0,c,h,a,r,s

2 Likes

Thank’s boys and girls. (wow that fast so fast, thank you :slight_smile: )

Thank you, I wish I could also mark as the solution but I can’t so I’ll mark it myself: :white_check_mark: Solution

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.