Sneax x 4 Posted September 1, 2019 Hi, i need help with a script: ( addMissionEventHandler ["EntityKilled", { params ["_killed", "_killer", "_killerID"]; if ((isPlayer _killer) && (alive _killer)) then {execVM "shop\kill.sqf"}; }]; it exec a script to a person who killed somebody... the problem is : the script is not local so every time player1 kills player2 the script also get executed on player1,player2,player3,player4.... i what it only for the player who killed somebody! THX for your Help! Share this post Link to post Share on other sites
killzone_kid 1326 Posted September 1, 2019 Add condition if (_killer != player) exitWith {} after params line Share this post Link to post Share on other sites