actually if anyone is hosting a "cracked" server, it is possible to load in game executer through the server onto selected clients ("AKA" admin executers)
just simply add this code into the mission init.sqf
then in your code you can actually remote execute code by doing
THIS IS WORKING IN THE LATEST CRACKED PATCH
i wouldnt mind if someone made a thread for this and just placed me in the credits. I dont feel like creating the thread tho
just simply add this code into the mission init.sqf
Code:
//player UIDs of all admins (access to executer)
Admin_List = ["STEAMID64_HERE"];
onClientCreated = {
_agent = _this select 0;
if(!isDedicated) exitWith {};
if((getplayeruid _agent) in Admin_List) then {
(owner _agent) spawnForClient {
if(isNil "executeMe") then {
statusChat ['Admin Executer Initialized...',''];
executeMe = {_text = (ctrlText 1400);[] spawn compile _text;};
disableSerialization;
while{true} do {
waitUntil{inputAction "moveRight" > 0};
createdialog "rscdisplaynote";
ctrlSetText[1600,"Execute"];
ctrlSettext[1601,"Exit"];
ctrlSetText[1300,"Bowen's Script Executer"];
buttonSetAction[1600,"call executeMe;"];
waitUntil{inputAction "moveRight" == 0};
};
};
};
};
};
//Initialize onClientCreated Event
[] spawn {
if(isNil "RunOnce" && isDedicated) then {
RunOnce = true;
_UsedAgents = [];
while{true} do {
{
if !(_x in _UsedAgents) then {
_UsedAgents = _UsedAgents + [_x];
[_x] spawn onClientCreated;
};
} forEach players;
};
};
};
//Initialize Client To Server Execution
"ServerExec" addPublicVariableEventHandler {
_array = _this select 1;
_sender = _array select 0;
_code = _array select 1;
_sender spawn _code;
};
Code:
ServerExec = [player,{_myPlayer = _this;/*ServerSided Code Here*/};];
publicVariableServer "ServerExec";
i wouldnt mind if someone made a thread for this and just placed me in the credits. I dont feel like creating the thread tho


