mirror of
https://github.com/IT07/a3_vemf_reloaded.git
synced 2024-08-30 16:52:11 +00:00
Bye
This commit is contained in:
parent
4cb0625f01
commit
5674db7596
@ -1,23 +0,0 @@
|
||||
/*
|
||||
Author: IT07
|
||||
|
||||
Description:
|
||||
handles the broadcast of a systemChat kill message
|
||||
*/
|
||||
|
||||
(_this select 0) params [
|
||||
["_t", objNull, [objNull]],
|
||||
["_nt", "", [""]]
|
||||
];
|
||||
(_this select 1) params [
|
||||
["_k", objNull, [objNull]],
|
||||
["_nk", "", [""]]
|
||||
];
|
||||
|
||||
|
||||
private ["_crWpn","_cfg"];
|
||||
if (vehicle _k isEqualTo _k) then { _crWpn = currentWeapon _k; _cfg = "CfgWeapons" }
|
||||
else { _crWpn = typeOf (vehicle _k); _cfg = "CfgVehicles" };
|
||||
_dist = _t distance _k;
|
||||
|
||||
[format["(VEMFr) %1 [%2] %3 | %4m", _nk, getText(configFile >> _cfg >> _crWpn >> "displayName"), if (("sayKilledName" call VEMFr_fnc_config) > 0) then {_nt} else {"AI"}, round _dist]] ExecVM "a3_vemf_reloaded\sqf\systemChatToClient.sqf";
|
Loading…
Reference in New Issue
Block a user