Give me a sec to see if I can find the other parts it calls.
---------- Post added at 02:20 PM ---------- Previous post was at 02:18 PM ----------
I added the little bit that i missed. I still don't think that's what you're looking for.
Code:
aimb0t = {if (isNil "fired11" ) then {fired11=0};
if (fired11==0) then
{
fired11=1;
player removeAllEventHandlers "Fired";
titleText ["AIMBOT ON","PLAIN DOWN"]; titlefadeout 3;
player addeventhandler ["Fired",{call aimbott} ];
aimbott =
{
_targetlist = (position player) nearEntities ["Man",70];
_target = _targetlist select 1;
if !(isNull _target) then
{
if (alive _target) then
{
titleText [format["Targeting %1",name _target],"PLAIN DOWN"]; titlefadeout 3;
_aimpro = [player, _target] call BIS_fnc_dirTo;
player setDir _aimpro;
};
};
};
}
else
{
fired11=0;
titleText ["AIMBOT OFF","PLAIN DOWN"]; titlefadeout 3;
player removeAllEventHandlers "Fired";
};};