Jump to content
Sneax x

Eventhandler that exec a script on Killer

Recommended Posts


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

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now