Jump to content

Recommended Posts

What's wrong?

 

description.ext


class CfgCommunicationMenu
{
    class car
    {
        text = "Actives requests";
        submenu = "#USER:carm";
        expression = "";
        icon = "\a3\Ui_f\data\GUI\Cfg\CommunicationMenu\call_ca.paa";
        cursor = "\a3\Ui_f\data\IGUI\Cfg\Cursors\iconCursorSupport_ca.paa";
        enable = "1";
        removeAfterExpressionCall = 0;
    };

	carm =
	[
		["Actives requests",false],
		["Infantry requests", [1], "carmi", -5, [["expression", "Hint 'Option 1';"]], "1", "1"],
		["Vehicle requests", [2], "carmv", -5, [["expression", "Hint 'Option 2';"]], "1", "1"],
		["Armor requests", [3], "carma", -5, [["expression", "Hint 'Option 3';"]], "1", "1"]
	];
	carmi =
	[
		["Infantry requests",false],
		["Request fiteteam", [1], "", -5, [["expression", "Hint 'Option 1';"]], "1", "1"],
		["Request rifle squad", [2], "", -5, [["expression", "Hint 'Option 2';"]], "1", "1"],
		["Option 3", [3], "", -5, [["expression", "Hint 'Option 3';"]], "1", "1"]
	];
	carmv =
	[
		["Vehicle requests",false],
		["Request MRAP", [1], "", -5, [["expression", "Hint 'Option 1';"]], "1", "1"],
		["Request HMETT", [2], "", -5, [["expression", "Hint 'Option 2';"]], "1", "1"],
		["Option 3", [3], "", -5, [["expression", "Hint 'Option 3';"]], "1", "1"]
	];
	carma =
	[
		["Armor requests",false],
		["Request AVM-7", [1], "", -5, [["expression", "Hint 'Option 1';"]], "1", "1"],
		["Request Panther", [2], "", -5, [["expression", "Hint 'Option 2';"]], "1", "1"],
		["Request Slammer", [3], "", -5, [["expression", "Hint 'Option 3';"]], "1", "1"]
	];
};

Share this post


Link to post
Share on other sites

Please, 'help' or 'question' aren't valid topic titles. How useful such titles are when we make a search ?

  • Like 1

Share this post


Link to post
Share on other sites

What's wrong? You could start by providing more information, use -showScriptErrors and enable log files and post the errors here.

  • Like 1

Share this post


Link to post
Share on other sites
  On 9/14/2015 at 8:02 PM, R3vo said:

What's wrong? You could start by providing more information, use -showScriptErrors and enable log files and post the errors here.

He says:

 

removeAfterExpressionCall = 0;

};

//here

    carm =

    [

 

need to be ] , not "" .

Share this post


Link to post
Share on other sites

description.ext

class CfgCommunicationMenu
{
    class car
    {
        text = "Actives requests";
        submenu = "#USER:carm";
        expression = "";
        icon = "\a3\Ui_f\data\GUI\Cfg\CommunicationMenu\call_ca.paa";
        cursor = "\a3\Ui_f\data\IGUI\Cfg\Cursors\iconCursorSupport_ca.paa";
        enable = "1";
        removeAfterExpressionCall = 0;
    };
};

 

init.sqf

carm =
[
    ["Actives requests",false],
    ["Infantry requests", [2], "#USER:carmi", -5, [["expression", "Hint 'Option 1';"]], "1", "1"], //#USER:GLOBALVARIABLE
    ["Vehicle requests", [3], "#USER:carmv", -5, [["expression", "Hint 'Option 2';"]], "1", "1"],
    ["Armor requests", [4], "#USER:carma", -5, [["expression", "Hint 'Option 3';"]], "1", "1"]
];
carmi =
[
    ["Infantry requests",false],
    ["Request fiteteam", [2], "", -5, [["expression", "Hint 'Option 1';"]], "1", "1"],
    ["Request rifle squad", [3], "", -5, [["expression", "Hint 'Option 2';"]], "1", "1"],
    ["Option 3", [4], "", -5, [["expression", "Hint 'Option 3';"]], "1", "1"]
];
carmv =
[
    ["Vehicle requests",false],
    ["Request MRAP", [2], "", -5, [["expression", "Hint 'Option 1';"]], "1", "1"],
    ["Request HMETT", [3], "", -5, [["expression", "Hint 'Option 2';"]], "1", "1"],
    ["Option 3", [4], "", -5, [["expression", "Hint 'Option 3';"]], "1", "1"]
];
carma =
[
    ["Armor requests",false],
    ["Request AVM-7", [2], "", -5, [["expression", "Hint 'Option 1';"]], "1", "1"],
    ["Request Panther", [3], "", -5, [["expression", "Hint 'Option 2';"]], "1", "1"],
    ["Request Slammer", [4], "", -5, [["expression", "Hint 'Option 3';"]], "1", "1"]
];
And please start making your thread titles more descriptive. Someone else may also be searching for the same information.
  • Like 1

Share this post


Link to post
Share on other sites
  On 9/15/2015 at 12:22 AM, Larrow said:

 

description.ext

class CfgCommunicationMenu
{
    class car
    {
        text = "Actives requests";
        submenu = "#USER:carm";
        expression = "";
        icon = "\a3\Ui_f\data\GUI\Cfg\CommunicationMenu\call_ca.paa";
        cursor = "\a3\Ui_f\data\IGUI\Cfg\Cursors\iconCursorSupport_ca.paa";
        enable = "1";
        removeAfterExpressionCall = 0;
    };
};

init.sqf

carm =
[
    ["Actives requests",false],
    ["Infantry requests", [2], "#USER:carmi", -5, [["expression", "Hint 'Option 1';"]], "1", "1"], //#USER:GLOBALVARIABLE
    ["Vehicle requests", [3], "#USER:carmv", -5, [["expression", "Hint 'Option 2';"]], "1", "1"],
    ["Armor requests", [4], "#USER:carma", -5, [["expression", "Hint 'Option 3';"]], "1", "1"]
];
carmi =
[
    ["Infantry requests",false],
    ["Request fiteteam", [2], "", -5, [["expression", "Hint 'Option 1';"]], "1", "1"],
    ["Request rifle squad", [3], "", -5, [["expression", "Hint 'Option 2';"]], "1", "1"],
    ["Option 3", [4], "", -5, [["expression", "Hint 'Option 3';"]], "1", "1"]
];
carmv =
[
    ["Vehicle requests",false],
    ["Request MRAP", [2], "", -5, [["expression", "Hint 'Option 1';"]], "1", "1"],
    ["Request HMETT", [3], "", -5, [["expression", "Hint 'Option 2';"]], "1", "1"],
    ["Option 3", [4], "", -5, [["expression", "Hint 'Option 3';"]], "1", "1"]
];
carma =
[
    ["Armor requests",false],
    ["Request AVM-7", [2], "", -5, [["expression", "Hint 'Option 1';"]], "1", "1"],
    ["Request Panther", [3], "", -5, [["expression", "Hint 'Option 2';"]], "1", "1"],
    ["Request Slammer", [4], "", -5, [["expression", "Hint 'Option 3';"]], "1", "1"]
];
And please start making your thread titles more descriptive. Someone else may also be searching for the same information.

 

 

Thanks

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×