SHARE
TWEET

ApplyAllActorsAnimation

Rhayziin May 11th, 2015 (edited) 255 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //By Rhayziin (http://forum.sa-mp.com/showthread.php?t=573829)
  2.  
  3. stock ApplyAllActorsAnimation(animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time)
  4. {
  5.     for(new i = 0; i <= GetActorPoolSize(); ++i)
  6.     {
  7.         if(IsValidActor(i))
  8.         {
  9.             ApplyActorAnimation(i, animlib, animname, fDelta, loop, lockx, locky, freeze, time);
  10.         }
  11.     }
  12.     return 1;
  13. }
  14.  
  15. /*
  16. ApplyAllActorsAnimation("ROB_BANK","SHP_HandsUp_Scr", 4.0, 0, 1, 1, 1, 0); //HandsUp
  17. ApplyAllActorsAnimation("PED","WALK_drunk",4.1,0,1,1,1,1); //Drunk
  18. ApplyAllActorsAnimation("RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0); // Laugh
  19. ApplyAllActorsAnimation("SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0); // Rob
  20. ApplyAllActorsAnimation("BEACH", "bather", 4.0, 1, 0, 0, 0, 0); // Lay down
  21. ApplyAllActorsAnimation("ON_LOOKERS", "wave_loop", 4.0, 1, 0, 0, 0, 0); // Wave
  22. ApplyAllActorsAnimation("CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0); // Dieing of Crack
  23. ApplyAllActorsAnimation("BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0); // Sit
  24. ApplyAllActorsAnimation("SMOKING", "F_smklean_loop", 4.0, 1, 0, 0, 0, 0); // Female Smoking
  25. ApplyAllActorsAnimation("PED","IDLE_CHAT",4.0, 0, 0, 0, 0, 0); //chat
  26. ApplyAllActorsAnimation("PED","fucku",4.0,0,0,0,0,0); // fucku
  27. ApplyAllActorsAnimation("PARK","Tai_Chi_Loop",4.0,1,0,0,0,0); // taichi
  28. ApplyAllActorsAnimation("SWEET", "sweet_ass_slap", 4.0, 0, 0, 0, 0, 0); // Ass Slapping
  29. ApplyAllActorsAnimation("DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0); // Deal
  30. ApplyAllActorsAnimation("FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0); // Eat Burger
  31. ApplyAllActorsAnimation("ped", "cower", 3.0, 1, 0, 0, 0, 0); // Taking Cover
  32. ApplyAllActorsAnimation("FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0); // Vomit BAH!
  33. ApplyAllActorsAnimation("BOMBER","BOM_Plant_Loop",4.0,1,0,0,1,0); //Plantar Bomba
  34. ApplyAllActorsAnimation("COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1); //Cruzar os Braços
  35. ApplyAllActorsAnimation("BAR", "dnk_stndF_loop", 4.0, 1, 0, 0, 0, 0); //Só observo shauhusa
  36. */
RAW Paste Data
Top