Guest User

Untitled

a guest
May 2nd, 2016
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. #define FILTERSCRIPT
  2.  
  3. #include <a_samp>
  4. #include <OPSP>
  5.  
  6. #if defined FILTERSCRIPT
  7.  
  8. public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
  9. {
  10. if(issuerid != INVALID_PLAYER_ID && weaponid == 34 && bodypart == 9)
  11. {
  12. SetPlayerHealth(playerid, 0.0);
  13. }
  14. if(bodypart == 7)
  15. {
  16. if(IsPlayerInAnyVehicle(playerid)
  17. }
  18. else
  19. {
  20. ApplyAnimation(playerid, "ped", "FALL_collapse", 4.1, 0, 0, 0, 0, 0, 1);
  21. }
  22. if(bodypart == 8)
  23. {
  24. if(IsPlayerInAnyVehicle(playerid)
  25. }
  26. else
  27. {
  28. ApplyAnimation(playerid, "ped", "FALL_collapse", 4.1, 0, 0, 0, 0, 0, 1);
  29. }
  30. return 1;
  31. }
Advertisement
Add Comment
Please, Sign In to add comment