We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b158128 commit 47f842dCopy full SHA for 47f842d
1 file changed
omp_npc.inc
@@ -474,7 +474,7 @@ native bool:NPC_IsInvulnerable(npcid);
474
* <seealso name="NPC_IsDead" />
475
* <seealso name="NPC_SetHealth" />
476
*/
477
-native NPC_Kill(npcid, killerid = INVALID_PLAYER_ID, WEAPON:reason = 255);
+native NPC_Kill(npcid, killerid = INVALID_PLAYER_ID, WEAPON:reason = REASON_SUICIDE);
478
479
/*
480
native # Weapons & Combat();
0 commit comments