Skip to content

Commit 147c7b0

Browse files
committed
add WEAPONSTATE:, SPECIAL_ACTION:, FIGHT_STYLE:
1 parent 82311ba commit 147c7b0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

omp_npc.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ native bool:NPC_IsMeleeAttacking(npcid);
541541
/**
542542
* <library>omp_npc</library>
543543
*/
544-
native NPC_SetFightingStyle(npcid, style);
544+
native NPC_SetFightingStyle(npcid, FIGHT_STYLE:style);
545545

546546
/**
547547
* <library>omp_npc</library>
@@ -587,7 +587,7 @@ native NPC_GetWeaponState(npcid);
587587
* <seealso name="NPC_GetWeaponState" />
588588
* <seealso name="NPC_SetWeapon" />
589589
*/
590-
native NPC_SetWeaponState(npcid, weaponState);
590+
native NPC_SetWeaponState(npcid, WEAPONSTATE:weaponState);
591591

592592
/**
593593
* <library>omp_npc</library>
@@ -859,7 +859,7 @@ native NPC_ClearAnimations(npcid);
859859
/**
860860
* <library>omp_npc</library>
861861
*/
862-
native NPC_SetSpecialAction(npcid, actionid);
862+
native NPC_SetSpecialAction(npcid, SPECIAL_ACTION:actionid);
863863

864864
/**
865865
* <library>omp_npc</library>

0 commit comments

Comments
 (0)