draoth 13 Posted February 14, 2018 Hey everyone, I've got a script that is running on server only, but i need to create a action that passes arguments from that script. When i try it online only the server host gets the action. So how can i create an action that passes arguments on a server script that everybody can use? Code: _veh addaction ["Stop here","Stop.sqf",[_veh,_pass,_AI],0,false,false,"",""]; Share this post Link to post Share on other sites
Fr3eMan 16 Posted February 14, 2018 Use remote execution https://community.bistudio.com/wiki/Arma_3_Remote_Execution https://community.bistudio.com/wiki/remoteExec Have to work as below, but I never use with addActions additional arrays, so you have to test [_veh, ["Stop here", "Stop.sqf", [_veh, _pass, _AI], 0, false, false, "", ""]] remoteExec ["addAction", 0, false]; 1 Share this post Link to post Share on other sites
draoth 13 Posted February 14, 2018 10 minutes ago, Fr3eMan said: Use remote execution https://community.bistudio.com/wiki/Arma_3_Remote_Execution https://community.bistudio.com/wiki/remoteExec Have to work as below, but I never use with addActions additional arrays, so you have to test [_veh, ["Stop here", "Stop.sqf", [_veh, _pass, _AI], 0, false, false, "", ""]] remoteExec ["addAction", 0, false]; Thanks, ill try it! Have a good day! Share this post Link to post Share on other sites