Hi
I have another half working idea that I need some help with.
A couple of vehicles disappeared on my server, and the owner are pretty surprised since I have indestructible locked vehicles.
But hotwirekits are extremely rare, so I want to monitor the use of them on vehicles.
This is what I did with the hotwire_veh.sqf
private ["_vehicle","_removed","_positionVeh","_positionPlayer","_vehiclediscrib","_logcursorTarget","_logcursorTargetType","_logplayerName","_logplayerID","_logplayerPos","_logvehicle","_logvehicleType","_logvehicleID","_logvehiclePos"]; _vehicle = _this select 3; _positionVeh = getposATL _vehicle; _positionPlayer = getposATL player; _vehiclediscrib = _this; if(DZE_ActionInProgress) exitWith { cutText [(localize "str_epoch_player_32") , "PLAIN DOWN"]; }; DZE_ActionInProgress = true; {player removeAction _x} count s_player_lockunlock;s_player_lockunlock = []; s_player_lockUnlock_crtl = 1; _removed = ([player,"ItemHotwireKit",1] call BIS_fnc_invRemove); if (_removed == 1) then { if((random 20) > 15) then { PVDZE_veh_Lock = [_vehicle,false]; if(player distance _vehicle < 10) then { if (local _vehicle) then { PVDZE_veh_Lock spawn local_lockUnlock } else { publicVariable "PVDZE_veh_Lock"; }; }; } else { cutText [(localize "str_epoch_player_33") , "PLAIN DOWN"]; }; }; _logplayerName = name player; _logplayerID = (getPlayerUID player); _logplayerPos = getposATL player; _logvehicle = _vehicle; _logvehicleID = _logvehicle getVariable ["CharacterID","0"]; _logvehiclePos = getposATL _vehicle; diag_log format ["ATTENTION POSSIBLE-HOTWIREKIT-USE : %1 %2 %3 %4 %5 %6",_logplayerName,_logplayerID,_logplayerPos,_logvehicle,_logvehicleID,_logvehiclePos]; s_player_lockUnlock_crtl = -1; DZE_ActionInProgress = false;
This gives out the diag_log line but only clientside, how do I get this to return the line serverside, so I can see it in the serverlog instead of in the local arma2oa.rpt file?