fixed bug at25751 (zor)
This commit is contained in:
parent
b9ed05f38b
commit
c49bff54b1
|
@ -550,12 +550,12 @@ public client_damage(attacker,victim,damage,wpnindex,hitplace,TA)
|
||||||
/* save state at death */
|
/* save state at death */
|
||||||
public client_death(killer,victim,wpnindex,hitplace,TK)
|
public client_death(killer,victim,wpnindex,hitplace,TK)
|
||||||
{
|
{
|
||||||
new killer_name[32]
|
|
||||||
get_user_name(killer,killer_name,31)
|
|
||||||
|
|
||||||
if (!is_user_connected(killer) || !is_user_connected(victim))
|
if (!is_user_connected(killer) || !is_user_connected(victim))
|
||||||
return PLUGIN_CONTINUE
|
return PLUGIN_CONTINUE
|
||||||
|
|
||||||
|
new killer_name[32]
|
||||||
|
get_user_name(killer,killer_name,31)
|
||||||
|
|
||||||
new enemygre = ( ( (wpnindex == DODW_HANDGRENADE || wpnindex == DODW_MILLS_BOMB) && get_user_team(killer) == 2 ) || ( wpnindex == DODW_STICKGRENADE && get_user_team(killer) == 1 ) ) ? 1:0
|
new enemygre = ( ( (wpnindex == DODW_HANDGRENADE || wpnindex == DODW_MILLS_BOMB) && get_user_team(killer) == 2 ) || ( wpnindex == DODW_STICKGRENADE && get_user_team(killer) == 1 ) ) ? 1:0
|
||||||
|
|
||||||
if ( KillingStreak || KillingStreakSound ){
|
if ( KillingStreak || KillingStreakSound ){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user