Droge Worst

[SOLVED] Infistar veh-explosion log?

6 posts in this topic

So why is there no logs of vehicle explosions in the surveillance log? There is other things, but when a vehicle explode it's not logged. It used to be logged in A2. 

Is there any way to enable this feature? 

Share this post


Link to post
Share on other sites

I have no log for that, you're right

I may implement it again :)

Share this post


Link to post
Share on other sites
Advertisement

@infiSTAR Has this feature been enabled again? I was looking through the logs but couldn't find it straight away.

Share this post


Link to post
Share on other sites

Guys if you look in the addons / script section there are some extended logging scripts that will give you a log for destroyed vehicles if implemented on your server

Share this post


Link to post
Share on other sites
/*
	ExileServer_object_vehicle_event_onMPKilled.sqf
*/
if !(isServer) exitWith {true};
params['_unit','_killer','_instigator'];

_killerName = if(alive _killer)then{_killer setVariable['ExileName',name _killer];name _killer}else{_killer getVariable['ExileName','']};
_killerUID = _killer getVariable ['ExileOwnerUID',getPlayerUID _killer];

_log = format['%1 @%2 killed by %3(%4) %5',
	typeOf _unit,
	getPos _unit,
	_killerName,
	_killerUID,
	typeOf _killer
];

_unit call ExileServer_object_vehicle_remove;
_unit setVariable ['ExileDiedAt', time];

['VEHICLE_DESTROYED',_log] call FNC_A3_CUSTOMLOG;
true

 

2 people like this

Share this post


Link to post
Share on other sites

We have closed this thread and marked it as solved.

2 people like this

Share this post


Link to post
Share on other sites
Advertisement
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.