SAMP Gitlab CI Test
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1015 B

  1. /* SA-MP Actor Functions
  2. *
  3. * (c) Copyright 2015, SA-MP Team
  4. *
  5. */
  6. #if defined _actor_included
  7. #endinput
  8. #endif
  9. #define _actor_included
  10. #pragma library actors
  11. native CreateActor(modelid, Float:X, Float:Y, Float:Z, Float:Rotation);
  12. native DestroyActor(actorid);
  13. native IsActorStreamedIn(actorid, forplayerid);
  14. native SetActorVirtualWorld(actorid, vworld);
  15. native GetActorVirtualWorld(actorid);
  16. native ApplyActorAnimation(actorid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time);
  17. native ClearActorAnimations(actorid);
  18. native SetActorPos(actorid, Float:X, Float:Y, Float:Z);
  19. native GetActorPos(actorid, &Float:X, &Float:Y, &Float:Z);
  20. native SetActorFacingAngle(actorid, Float:ang);
  21. native GetActorFacingAngle(actorid, &Float:ang);
  22. native SetActorHealth(actorid, Float:health);
  23. native GetActorHealth(actorid, &Float:health);
  24. native SetActorInvulnerable(actorid, invulnerable = true);
  25. native IsActorInvulnerable(actorid);
  26. native IsValidActor(actorid);