modifying script
This is a script from rustler v4 that kicks the selected player from the server by making it look like they are hacking with a remote execution error.
Trying to configure it with the infistar_ssh menu, but I can't seem to get it working.
I've tried changing both scr\exec.sqf lines to infiSTAR_SSH/exec.sqf, but it won't work for some reason. Pretty new to this could anyone explain to me what I'm doing wrong? Do I need to change one of the lines to a detected exec, and the other line to the working one?
Code:
_name = _this select 0;
hint format ["Kicking %1", _name];
_lolfuckubish = "if (isServer) then
{
invisibruh =
{
_invisibruh = format [""{if (getPlayerUID _x == '%1') then {call compile '(vehicle _x) hideObject true;';};} forEach (entities 'CAManBase');"", getPlayerUID player];
player setVehicleInit _invisibruh;
processInitCommands;
clearVehicleInit player;
};
publicVariable ""invisibruh"";
};";
[_lolfuckubish] execVM "scr\exec.sqf";
sleep 3;
_fuckubishlol = format ["if (name player == '%1') then {call invisibruh;};", _name];
[_fuckubishlol] execVM "scr\exec.sqf";
Trying to configure it with the infistar_ssh menu, but I can't seem to get it working.
I've tried changing both scr\exec.sqf lines to infiSTAR_SSH/exec.sqf, but it won't work for some reason. Pretty new to this could anyone explain to me what I'm doing wrong? Do I need to change one of the lines to a detected exec, and the other line to the working one?
