How do i do a queue system? For example:
A “Killer” queue, when you enter the game you will join the queue and everytime the round ends you climb up on the queue untils its your turn.
How do i do a queue system? For example:
A “Killer” queue, when you enter the game you will join the queue and everytime the round ends you climb up on the queue untils its your turn.
put the players in a table and use table.remove() to remove the player first in line and table.insert() to put them to the back of the line
a data structure that already does this is stacks