you can check weapon
in event curWeapon
new weapon = get_user_weapon(id)
case CSW_DEAGLE : client_cmd(id,"say oops I have deagle")
some thing like that , also check buttons && IN_ATTACK
I have another questionn how to check If player killed some one with one bullet and then again the second with another bullet to give him reward * ( similar to awp kills - 1st and 2nd)
lets see I have AWP
PHP Code:
if (weapon == AWP) {
new iKiller = read_data( 1 );
new iVictim = read_data( 2 );
if(get_user_team(iVictim) != get_user_team(iKiller)) {
// got kill ..
but how to count 2 -3-4-5-6 kills in a row. to give him medal or something
do I need to store his result and do +1 ?
Ok I will use miscstats and put AWP condition there.
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc