31.01.2015, 16:27
It's up to you to create it yourself, but I can give you some functions that should get you on the way. Read their wiki's including their underlying pages.
- Create a variable for each gamemode that holds the current amount of players
- CreatePlayerTextdraw To create your lobby and the buttons.
- PlayerTextDrawSetSelectable to make the buttons selectable.
- PlayerTextDrawSetString to display the current amount of players in the gamemodes.
- SelectTextdraw to display the cursor to the player, making him able to click the buttons.
- OnPlayerClickPlayerTextDraw will be called when the player clicks one of the textdraws.
- Teleport the player to the desired location, increase the playercount-variable and hide the textdraws.
This should get you going I think..
- Create a variable for each gamemode that holds the current amount of players
- CreatePlayerTextdraw To create your lobby and the buttons.
- PlayerTextDrawSetSelectable to make the buttons selectable.
- PlayerTextDrawSetString to display the current amount of players in the gamemodes.
- SelectTextdraw to display the cursor to the player, making him able to click the buttons.
- OnPlayerClickPlayerTextDraw will be called when the player clicks one of the textdraws.
- Teleport the player to the desired location, increase the playercount-variable and hide the textdraws.
This should get you going I think..
