Added ExpGamingAdmin

This commit is contained in:
Cooldude2606 committed 2018-08-26 17:28:18 +01:00
1 parent 121d983b08
commit 95233ebb40
48 files changed
+1410 -604

No files matched your search

+3 -3
View File
@@ -12,7 +12,7 @@ local confirm_report = Gui.inputs.add{
type='button',
name='admin-report-confirm',
caption='utility/spawn_flag',
tooltip={'reports.name'}
tooltip={ExpGamingAdmin@4-0-0.name'}
}:on_event('click',function(event)
local parent = event.element.parent
local player = Game.get_player(parent.player.caption)
@@ -25,7 +25,7 @@ Admin.report_btn = Gui.inputs.add{
type='button',
name='admin-report',
caption='utility/spawn_flag',
tooltip={'reports.name'}
tooltip={ExpGamingAdmin@4-0-0.name'}
}:on_event('click',function(event)
local parent = event.element.parent
local player = Game.get_player(parent.children[1].name)
@@ -37,7 +37,7 @@ Admin.report_btn = Gui.inputs.add{
name='report-gui'
}
_player.opened=frame
frame.caption={'reports.name'}
frame.caption={ExpGamingAdmin@4-0-0.name'}
frame.add{
type='textfield',
name='reason'