Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3.  
  4. public OnFilterScriptInit()
  5. {
  6. print("\n--------------------------------------");
  7. print(" Anti Crash 0.3Z Carregado ");
  8. print("--------------------------------------\n");
  9. return 1;
  10. }
  11.  
  12. public OnFilterScriptExit()
  13. {
  14. return 1;
  15. }
  16. public OnPlayerWeaponShot( playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ )
  17. {
  18. if( hittype != BULLET_HIT_TYPE_NONE )
  19. {
  20. if( !( -1000.0 <= fX <= 1000.0 ) || !( -1000.0 <= fY <= 1000.0 ) || !( -1000.0 <= fZ <= 1000.0 ) )
  21. {
  22. return 0;
  23. }
  24. }
  25. return 1;
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement