remoteExec – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search

Naming comventions

In my humble opinion, it would be senseful to call this command "remoteExecSpawn" since the other one is "remoteExecCall" and it would be clearer to the user that this command is actually spawning the remotely executed code. --Johnny

Question

[_unit, "sendSideChat works"] remoteExec ["sideChat", _owner, false]; I receive: "Scripting function 'bis_fnc_execvm' is not allowed to be remotely executed." I understand that bis_fnc_execvm should not be whitelisted. Any solutions? --RHfront

The game complains about bis_fnc_execvm everytime someone joins the server, that log message is not related to your code. What you need is something like this in your CfgRemoteExec: class Commands
{
mode = 1; // whitelist only
jip = 0;

class sideChat {};
};
--AgentRev 06:42, 3 October 2019 (CEST)