Fix build issues regarding FCNPC

This commit is contained in:
ChronosXYZ 2024-03-19 04:44:27 +03:00
parent 227877ebc5
commit f0c8c46320
Signed by: ChronosXYZ
GPG Key ID: 189BF50EBD342791

View File

@ -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;
}