mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
probable fix for RTE in tfc stats.sma: amb1642
This commit is contained in:
parent
0a38ef831f
commit
01f3d729de
@ -630,6 +630,10 @@ public client_death(killer,victim,wpnindex,hitplace,TK){
|
||||
public showDoubleKill(){
|
||||
new pos = g_KillCount - 2
|
||||
if ( pos > 2 ) pos = 2
|
||||
|
||||
if (pos < 0)
|
||||
return PLUGIN_CONTINUE
|
||||
|
||||
if ( DoubleKill ) {
|
||||
new name[32],message[128]
|
||||
get_user_name(g_prevKillerId,name,31)
|
||||
|
Loading…
Reference in New Issue
Block a user