We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b158128 + e473228 commit 5ee4da0Copy full SHA for 5ee4da0
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();
@@ -833,7 +833,7 @@ native NPC_SetVehicleGearState(npcid, gearState);
833
/**
834
* <library>omp_npc</library>
835
836
-native NPC_GetVehicleGearState(npcid);
+native LANDING_GEAR_STATE:NPC_GetVehicleGearState(npcid);
837
838
839
0 commit comments