Advertisement
Guest User

Untitled

a guest
Jan 18th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. if( hittype != BULLET_HIT_TYPE_NONE )
  2. {
  3. if( !( -1000.0 <= fX <= 1000.0 ) || !( -1000.0 <= fY <= 1000.0 ) || !( -1000.0 <= fZ <= 1000.0 ) )
  4. {
  5. if(IsPlayerNPC(playerid))
  6. {
  7. return 1;
  8. }
  9. new StrAntiCresher[350];
  10. format(StrAntiCresher,sizeof(StrAntiCresher),""CRVENA"[RCA] "ZUTA"%s je kikovan od strane ANTI-CRASHER!",GetName(playerid));
  11. AdminSupport(-1, StrAntiCresher);
  12. return 0;
  13. }
  14. }
  15. if( hittype == BULLET_HIT_TYPE_PLAYER )
  16. {
  17. if(hitid == playerid)
  18. {
  19. if(IsPlayerNPC(playerid))
  20. {
  21. return 1;
  22. }
  23. new StrAntiCresher[350];
  24. format(StrAntiCresher,sizeof(StrAntiCresher),""CRVENA"[RCA] "ZUTA"%s je kikovan od strane ANTI-CRASHER!",GetName(playerid));
  25. AdminSupport(-1, StrAntiCresher);
  26. return 0;
  27. }
  28. }
  29. if( hittype == BULLET_HIT_TYPE_PLAYER )
  30. {
  31. if( fX == 0.000000 && fY == 0.000000 && fZ == 0.500000 && weaponid == 0)
  32. {
  33. if(IsPlayerNPC(playerid))
  34. {
  35. return 1;
  36. }
  37. new StrAntiCresher[350];
  38. format(StrAntiCresher,sizeof(StrAntiCresher),""CRVENA"[RCA] "ZUTA"%s je kikovan od strane ANTI-CRASHER!",GetName(playerid));
  39. AdminSupport(-1, StrAntiCresher);
  40. return 0;
  41. }
  42. }
  43. if( hittype == 0 && !IsValidWeapon(weaponid) )
  44. {
  45. if( fX == 0.000000 && fY == 0.000000 && fZ == 0.000000 )
  46. {
  47. if(IsPlayerNPC(playerid))
  48. {
  49. return 1;
  50. }
  51. new StrAntiCresher[350];
  52. format(StrAntiCresher,sizeof(StrAntiCresher),""CRVENA"[RCA] "ZUTA"%s je kikovan od strane ANTI-CRASHER!",GetName(playerid));
  53. AdminSupport(-1, StrAntiCresher);
  54. return 0;
  55. }
  56. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement