-
Notifications
You must be signed in to change notification settings - Fork 32
Actor Alternatives
Freaksken edited this page Sep 16, 2018
·
9 revisions
Home ▸ Actor Alternatives
- SA-MP wiki: http://wiki.sa-mp.com/wiki/OnPlayerGiveDamageActor
- Description: Gets called when a player gives damage to an actor.
- FCNPC equivalent: None, not needed, use OnPlayerGiveDamage.
- SA-MP wiki: http://wiki.sa-mp.com/wiki/OnActorStreamIn
- Description: Gets called when an actor is streamed in by a player.
- FCNPC equivalent: FCNPC_OnStreamIn
- SA-MP wiki: http://wiki.sa-mp.com/wiki/OnActorStreamOut
- Description: Gets called when an actor is streamed out by a player.
- FCNPC equivalent: FCNPC_OnStreamOut
- SA-MP wiki: http://wiki.sa-mp.com/wiki/CreateActor
- Description: Create an actor.
- FCNPC equivalent: FCNPC_Create with FCNPC_SetPosition and FCNPC_SetAngle
- SA-MP wiki: http://wiki.sa-mp.com/wiki/DestroyActor
- Description: Destroy an actor.
- FCNPC equivalent: FCNPC_Destroy
- SA-MP wiki: http://wiki.sa-mp.com/wiki/IsValidActor
- Description: Checks wether a given ID is a valid actor.
- FCNPC equivalent: FCNPC_IsValid
- SA-MP wiki: http://wiki.sa-mp.com/wiki/GetActorPos
- Description: Get the position of an actor.
- FCNPC equivalent: FCNPC_GetPosition
- SA-MP wiki: http://wiki.sa-mp.com/wiki/SetActorPos
- Description: Set the position of an actor.
- FCNPC equivalent: FCNPC_SetPosition
- SA-MP wiki: http://wiki.sa-mp.com/wiki/GetActorFacingAngle
- Description: Get the facing angle of an actor.
- FCNPC equivalent: FCNPC_GetAngle
- SA-MP wiki: http://wiki.sa-mp.com/wiki/SetActorFacingAngle
- Description: Set the facing angle of an actor.
- FCNPC equivalent: FCNPC_SetAngle
- SA-MP wiki: http://wiki.sa-mp.com/wiki/GetActorHealth
- Description: Get the health of an actor.
- FCNPC equivalent: FCNPC_GetHealth
- SA-MP wiki: http://wiki.sa-mp.com/wiki/SetActorHealth
- Description: Set the health of an actor.
- FCNPC equivalent: FCNPC_SetHealth
- SA-MP wiki: http://wiki.sa-mp.com/wiki/GetActorVirtualWorld
- Description: Get the virtual world of an actor.
- FCNPC equivalent: FCNPC_GetVirtualWorld
- SA-MP wiki: http://wiki.sa-mp.com/wiki/SetActorVirtualWorld
- Description: Set the virtual world of an actor.
- FCNPC equivalent: FCNPC_SetVirtualWorld
- SA-MP wiki: http://wiki.sa-mp.com/wiki/IsActorInvulnerable
- Description: Checks whether an actor is invulnerable.
- FCNPC equivalent: FCNPC_IsInvulnerable
- SA-MP wiki: http://wiki.sa-mp.com/wiki/SetActorInvulnerable
- Description: Set the invulnerability of an actor.
- FCNPC equivalent: FCNPC_SetInvulnerable
- SA-MP wiki: http://wiki.sa-mp.com/wiki/IsActorStreamedIn
- Description: Checks whether an actor is streamed in for a player.
- FCNPC equivalent: FCNPC_IsStreamedIn
- SA-MP wiki: http://wiki.sa-mp.com/wiki/ApplyActorAnimation
- Description: Apply an animation to an actor.
- FCNPC equivalent: FCNPC_ApplyAnimation
- SA-MP wiki: http://wiki.sa-mp.com/wiki/ClearActorAnimations
- Description: Clear any animations applied to an actor.
- FCNPC equivalent: FCNPC_ClearAnimations
- SA-MP wiki: http://wiki.sa-mp.com/wiki/GetPlayerTargetActor
- Description: Get the ID of the actor which is aimed at by a player.
- FCNPC equivalent: None, not needed, use GetPlayerTargetPlayer.
- SA-MP wiki: http://wiki.sa-mp.com/wiki/GetPlayerCameraTargetActor
- Description: Get the ID of the actor which is being looked at by a player.
- FCNPC equivalent: None, not needed, use GetPlayerCameraTargetPlayer.
- SA-MP wiki: http://wiki.sa-mp.com/wiki/GetActorPoolSize
- Description: Get the highest actorid created on the server.
- FCNPC equivalent: None, not needed since the NPC IDs start from the top. If you really need it, use GetPlayerPoolSize or FCNPC_GetValidArray.
Wiki written by Freaksken.