mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
StatsX: Add is_user_alive check to eventSpawn
This commit is contained in:
parent
2fb232ee68
commit
25f507c5e3
@ -1378,6 +1378,9 @@ public eventStartRound()
|
|||||||
// Reset killer info on round restart.
|
// Reset killer info on round restart.
|
||||||
public eventSpawn(id)
|
public eventSpawn(id)
|
||||||
{
|
{
|
||||||
|
if (!is_user_alive(id))
|
||||||
|
return HAM_IGNORED
|
||||||
|
|
||||||
new args[1]
|
new args[1]
|
||||||
args[0] = id
|
args[0] = id
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user