From f0c8c46320a66d106948bcf10369a675d6f847c9 Mon Sep 17 00:00:00 2001 From: ChronosXYZ Date: Tue, 19 Mar 2024 04:44:27 +0300 Subject: [PATCH] Fix build issues regarding FCNPC --- gamemodes/irresistible/cnr/features/robbery/clerks.pwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gamemodes/irresistible/cnr/features/robbery/clerks.pwn b/gamemodes/irresistible/cnr/features/robbery/clerks.pwn index 7069306..b0e9510 100644 --- a/gamemodes/irresistible/cnr/features/robbery/clerks.pwn +++ b/gamemodes/irresistible/cnr/features/robbery/clerks.pwn @@ -424,8 +424,8 @@ stock FCNPC_ShootAtPlayer( playerid, npcid, weaponid = 25, clerkid = -1, bool: w FCNPC_ResetAnimation( npcid ); FCNPC_ClearAnimations( npcid ); FCNPC_SetWeapon( npcid, weaponid ); - FCNPC_ToggleInfiniteAmmo( npcid ); - FCNPC_AimAtPlayer( npcid, playerid, .shoot = true, .shoot_delay = -1, .setangle = true, .offset_x = 0.0, .offset_y = 0.0, .offset_z = 0.6 ); + FCNPC_UseInfiniteAmmo( npcid ); + FCNPC_AimAtPlayer( npcid, playerid, .shoot = true, .shoot_delay = -1, .set_angle = true, .offset_x = 0.0, .offset_y = 0.0, .offset_z = 0.6 ); return 1; }