clawhammer 10 Posted February 21, 2013 Hello! i know that i can use this command to give a player score points: http://community.bistudio.com/wiki/addScore Now i want to make it that if a player (Multiplayer) kill the target person he becomes additional score. How can i create such a Trigger? Thanks for help! Share this post Link to post Share on other sites
clawhammer 10 Posted February 24, 2013 UPDATE: This comes into the unit that get killed in the init field: _index = VIP01 addMPEventHandler [""mpkilled"", {Null = _this execVM ""Scripts\VIP\VIP.sqf"";}]; Code of the VIP.sqf: Hint "Test"; Killer = _this select 1; if (isServer) then { Killer addScore 100; // for hosted environment } else { paddscore = [Killer, 100]; publicVariable "paddscore"; }; It works but it has one mistake, i dont get just 100 Points! I get 200 Points and i have no clue why!? I belive it has something to do with the player on the server, if there are more the script gets executed at every player. Any idea how to fix this? Share this post Link to post Share on other sites