-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
de2ed6d
commit 7b19498
Showing
6 changed files
with
122 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* SA-MP Actor Functions | ||
* | ||
* (c) Copyright 2015, SA-MP Team | ||
* | ||
*/ | ||
|
||
#if defined _actor_included | ||
#endinput | ||
#endif | ||
#define _actor_included | ||
#pragma library actors | ||
|
||
native CreateActor(modelid, Float:X, Float:Y, Float:Z, Float:Rotation); | ||
native DestroyActor(actorid); | ||
|
||
native IsActorStreamedIn(actorid, forplayerid); | ||
|
||
native SetActorVirtualWorld(actorid, vworld); | ||
native GetActorVirtualWorld(actorid); | ||
|
||
native ApplyActorAnimation(actorid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time); | ||
native ClearActorAnimations(actorid); | ||
|
||
native SetActorPos(actorid, Float:X, Float:Y, Float:Z); | ||
native GetActorPos(actorid, &Float:X, &Float:Y, &Float:Z); | ||
native SetActorFacingAngle(actorid, Float:ang); | ||
native GetActorFacingAngle(actorid, &Float:ang); | ||
|
||
native SetActorHealth(actorid, Float:health); | ||
native GetActorHealth(actorid, &Float:health); | ||
native SetActorInvulnerable(actorid, invulnerable = true); | ||
native IsActorInvulnerable(actorid); | ||
|
||
native IsValidActor(actorid); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters