Improved private var structure

This commit is contained in:
IT07 2016-04-13 22:26:37 +02:00
parent 5d4851e1d1
commit 7d481d8e49

View File

@ -12,10 +12,11 @@
nothing nothing
*/ */
private ["_msg","_mode"]; private ["_msg"];
_msg = param [0, "", [[],format[""]]]; _msg = param [0, "", [[],format[""]]];
if not(_msg isEqualTo "") then if not(_msg isEqualTo "") then
{ {
private ["_mode"];
_mode = param [1, "", [""]]; _mode = param [1, "", [""]];
if (count allPlayers > 0) then if (count allPlayers > 0) then
{ {