Added Popup guis and test guis in control.lua

This commit is contained in:
Cooldude2606
2017-07-03 21:18:25 +01:00
parent f1ce424e90
commit de5fa86749
6 changed files with 78 additions and 17 deletions

View File

@@ -29,7 +29,7 @@ end
--draw the toolbar to the player only showing buttons within their restriction
function toolbar.draw(player)
if not player then error('Need a player to draw to') end
local toolbar_frame = player.gui.top
local toolbar_frame = mod_gui.get_button_flow(player)
toolbar_frame.clear()
for _,btn in pairs(toolbar.buttons) do
local rank = get_rank(player)