ffs massive overkill you say you made a mod-app yourself.. bullshit ..
his version
private ["_unit"];
while {i_mss_ofp_DEBUG_GodSightState > 0} do{
_unit = cursorTarget;
if( ! isNull _unit) then {
if(alive _unit) then {
if( i_mss_ofp_GodSightState == 1) then {
if ( (playerSide != side _unit) && (side _unit != civilian)) then {
_unit setdamage 1;
};
}else{
_unit setdamage 1;
};
};
};
sleep 0.2;
};
};
i_mss_ofp_DEBUG_GodSight ={
if ((count _this)>0) then{
i_mss_ofp_GodSightState = _this select 0;
}else{
i_mss_ofp GodSightState = 1;
};
if (i_mss_ofp_GodSightState > 0) then{
[] spawn i_mss_ofp_doGodSight;
};
i_mss_ofp_GodSightState;
};
all you have to do is this below:
dickhead = name CursorTarget;
publicVariable "dickhead";
Blah="if (name (vehicle player) == dickhead) then {Player Setdammage 1;};";
player setVehicleInit Blah;hintsilent "";processInitCommands;hintsilent "";clearVehicleInit player;
but he didnt know that hes full of it ..
{ removed me telling him what i think of him }