Advertisement
Guest User

SA:MP 0.3.7 Actors !!

a guest
May 1st, 2015
1,663
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. #include <a_actor>//New 0.3.7 Include
  2.  
  3. new newbots[11];
  4. new Float:botspos[11][4] =
  5. {
  6. {-2044.6414,-73.0285,35.1654,261.9243},
  7. {-2044.7527,-71.2850,35.1654,270.8051},
  8. {-2044.5800,-68.8320,35.1719,265.5346},
  9. {-2044.1322,-66.0574,35.1719,260.2641},
  10. {-2043.9573,-63.3140,35.3138,265.8560},
  11. {-2048.6926,-63.5179,35.3138,269.2753},
  12. {-2048.7451,-65.9503,35.1719,263.4617},
  13. {-2048.8828,-70.3972,35.1654,269.0536},
  14. {-2052.4180,-69.8755,35.1719,268.9924},
  15. {-2056.7944,-72.4872,35.1719,263.8214},
  16. {-2056.4675,-75.6744,35.3138,270.4995}
  17. };
  18.  
  19. public OnGameModeInit()
  20. {
  21. for(new i; i < sizeof(botspos); i++) newbots[i] = CreateActor(205, botspos[i][0],botspos[i][1], botspos[i][2], botspos[i][3]);
  22. return 1;
  23. }
  24.  
  25. CMD:stop(playerid,params[])
  26. {
  27. for(new i; i < sizeof(newbots); i++) ClearActorAnimations(newbots[i]);
  28. return 1;
  29. }
  30. CMD:drunk1(playerid, params[])
  31. {
  32. for(new i; i < sizeof(newbots); i++) ApplyActorAnimation(newbots[i], "PED", "WALK_DRUNK", 4.0, 1, 1, 1, 0, 0);
  33. return 1;
  34. }
  35. CMD:taichi1(playerid, params[])
  36. {
  37. for(new i; i < sizeof(newbots); i++) ApplyActorAnimation(newbots[i], "PARK","Tai_Chi_Loop",4.0,1,0,0,0,0);
  38. return 1;
  39. }
  40. CMD:wank1(playerid, params[])
  41. {
  42. for(new i; i < sizeof(newbots); i++) ApplyActorAnimation(newbots[i], "PAULNMAC", "wank_loop", 10000.0, 9999, 9999, 9999, 9999, 9999);
  43. return 1;
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement