diff --git a/StuckRequest/scripting/StuckRequest.sp b/StuckRequest/scripting/StuckRequest.sp index 03e616fe..54772fc2 100644 --- a/StuckRequest/scripting/StuckRequest.sp +++ b/StuckRequest/scripting/StuckRequest.sp @@ -59,7 +59,10 @@ public Action OnPlayerDeath(Event event, const char[] name, bool dontBroadcast) { int client = GetClientOfUserId(GetEventInt(event, "userid")); - if(g_iStuckRequester == client) + char sWepName[64]; + GetEventString(event, "weapon", sWepName, sizeof(sWepName)); + + if(g_iStuckRequester == client && !StrEqual(sWepName, "knife")) { CPrintToChat(client, "{lightgreen}[StuckRequest]{yellow} You died while the Request was pending! Request aborted.");