Migrate to FCNPC 2.0.8
This commit is contained in:
parent
27de63bc67
commit
227877ebc5
@ -143,7 +143,7 @@ hook OnNpcConnect( npcid )
|
||||
return 1;
|
||||
}
|
||||
|
||||
hook FCNPC_OnDeath( npcid, killerid, weaponid )
|
||||
hook FCNPC_OnDeath( npcid, killerid, reason )
|
||||
{
|
||||
if ( !IsPlayerConnected( killerid ) )
|
||||
return 1;
|
||||
@ -204,7 +204,7 @@ hook FCNPC_OnSpawn( npcid )
|
||||
return 1;
|
||||
}
|
||||
|
||||
hook FCNPC_OnTakeDamage( npcid, damagerid, weaponid, bodypart, Float: health_loss )
|
||||
hook FCNPC_OnTakeDamage( npcid, damagerid, weaponid, bodypart )
|
||||
{
|
||||
new civilianid = GetCivilianNpcFromPlayer( npcid );
|
||||
new clerkid = GetRobberyNpcFromPlayer( npcid );
|
||||
@ -424,7 +424,7 @@ stock FCNPC_ShootAtPlayer( playerid, npcid, weaponid = 25, clerkid = -1, bool: w
|
||||
FCNPC_ResetAnimation( npcid );
|
||||
FCNPC_ClearAnimations( npcid );
|
||||
FCNPC_SetWeapon( npcid, weaponid );
|
||||
FCNPC_ToggleInfiniteAmmo( npcid, true );
|
||||
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 );
|
||||
return 1;
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ dependencies:
|
||||
- Y-Less/sscanf:v2.8.2
|
||||
- samp-incognito/samp-streamer-plugin:v2.9.3
|
||||
- Southclaws/samp-whirlpool:v1.0.0
|
||||
- ziggi/FCNPC:v1.8.2
|
||||
- ziggi/FCNPC:v2.0.8
|
||||
- philip1337/samp-plugin-mapandreas:v1.2.1
|
||||
- JaTochNietDan/SA-MP-FileManager:1.5.1
|
||||
- pawn-lang/YSI-Includes:v4.0.0
|
||||
|
Loading…
Reference in New Issue
Block a user