Skip to content

Commit 5ee4da0

Browse files
authored
Merge pull request #56 from itsneufox/patch-1
Change NPC_Kill reason from 255 to REASON_SUICIDE in omp_npc.inc
2 parents b158128 + e473228 commit 5ee4da0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

omp_npc.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ native bool:NPC_IsInvulnerable(npcid);
474474
* <seealso name="NPC_IsDead" />
475475
* <seealso name="NPC_SetHealth" />
476476
*/
477-
native NPC_Kill(npcid, killerid = INVALID_PLAYER_ID, WEAPON:reason = 255);
477+
native NPC_Kill(npcid, killerid = INVALID_PLAYER_ID, WEAPON:reason = REASON_SUICIDE);
478478

479479
/*
480480
native # Weapons & Combat();
@@ -833,7 +833,7 @@ native NPC_SetVehicleGearState(npcid, gearState);
833833
/**
834834
* <library>omp_npc</library>
835835
*/
836-
native NPC_GetVehicleGearState(npcid);
836+
native LANDING_GEAR_STATE:NPC_GetVehicleGearState(npcid);
837837

838838
/**
839839
* <library>omp_npc</library>

0 commit comments

Comments
 (0)