// ---------------------------------------------------------------------------
// StatsMe 2.8.3 Config Pack [16 June, 2004]
// ---------------------------------------------------------------------------
// This file is part of StatsMe (See README for more information).
// Copyright 2002 - 2004 UnitedAdmins (www.unitedadmins.com)
// Project originally created by OLO (http://olo.counter-strike.pl)
// ---------------------------------------------------------------------------
// Please read the manual and the forums carefully before altering this file!
// The Manual is located at http://docs.unitedadmins.com/statsme/
// The Forum can be found at http://forums.unitedadmins.com/
// ---------------------------------------------------------------------------
// Snapshot Taker
// This idea is taken form Kill Camera plugin by Paulo Rodrigues aka [TCSUK]Meddler
// Snapshot is taken on kill from mp5, m4a1, aug, sg552 and ak47

sm_mode2 set op

sm_menu "Snapshot Taker\\y\\R{sm_mode2&op?ON:OFF}" "sm_mode2 {sm_mode2&op?remove:set} op"

sm_reg "DeathMsg o 2" "{k.w.dist>400?#}sm_tell #{v.uid} \'{k.name} took a picture of your death\' 3;sm_tell #{k.uid} \'Snapshot taken from this kill\' 3;sm_clexec2 #{k.uid} snapshot" ade "3=1" "4=m4" "4=mp" "4=ak" "4=sg552" "4=au"
sm_reg "DeathMsg p 2" "{k.w.dist>400?#}sm_clexec2 #{v.uid} snapshot" ade "3=1" "4=m4" "4=mp" "4=ak" "4=sg552" "4=au"