#include "script_component.hpp" #include "..\defines.hpp" /* * Author: Alganthe * Toggle the stats control group * * Arguments: * 0: Arsenal display * 1: Button control * * Return Value: * None * * Public: No */ params ["_display"]; (_display displayCtrl IDC_statsButton) ctrlShow GVAR(showStats); GVAR(showStats) = !GVAR(showStats); { (_display displayCtrl _x) ctrlShow GVAR(showStats); } foreach [ IDC_statsBox, IDC_statsPreviousPage, IDC_statsNextPage, IDC_statsCurrentPage, IDC_statsButtonClose ];