Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //EOS SYSTEM
- if (isServer) then {
- []execVM "eos\OpenMe.sqf";
- };
- //Towing
- [] execVM "72Tow\tow_init.sqf";
- //Live Feed System
- [] execVM "LiveFeed\LIVE_FEED.sqf";
- [] execVM "LiveFeed\LIVE_FEED_THERMAL.sqf";
- //Civi Kill Counter
- CivilianKillers = [];
- if (isServer) then {
- {
- if (side _x == CIVILIAN) then {
- _x addEventHandler ["Killed", {
- params ["_vct", "_klr"];
- private _dta = CivilianKillers;
- private _rec = {if (_x select 0 isEqualTo _klr) exitWith {_x}} forEach _dta;
- if (isNil {_rec})
- then {_rec = [_klr, 1]; _dta pushBack _rec}
- else {_rec set [1, (_rec select 1) + 1]}
- }]
- }
- } foreach allUnits;
- };
- player addAction ["Count Killed Civilians", {
- private _cnt = 0; {_cnt = _cnt + (_x select 1)} forEach CivilianKillers;
- systemChat format ["Civilians killed: %1", _cnt]
- }];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement