remoteExec – Talk
Jump to navigation
Jump to search
m (Added my name) |
Lou Montana (talk | contribs) m (Text replacement - "<code>" to "<code style="display: block">") |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
In my humble opinion, it would be senseful to call this command "remoteExec'''Spawn'''" since the other one is "remoteExec'''Call'''" and it would be clearer to the user that this command is actually spawning the remotely executed code. --Johnny | In my humble opinion, it would be senseful to call this command "remoteExec'''Spawn'''" since the other one is "remoteExec'''Call'''" 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? --[[User:RHfront|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]]: <code style="display: block">class Commands <br>{<br> mode = 1; // whitelist only<br> jip = 0;<br><br> class sideChat {};<br>};</code> --[[User:AgentRev|AgentRev]] 06:42, 3 October 2019 (CEST) |
Latest revision as of 11:52, 11 January 2023
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
--AgentRev 06:42, 3 October 2019 (CEST)
{
mode = 1; // whitelist only
jip = 0;
class sideChat {};
};