Advertisement
Guest User

AntiSpawnkillhehe

a guest
Apr 15th, 2012
664
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. #define COR 0x9F9F9FAA
  4.  
  5. // FORWARD
  6. forward AntiSpawnKill(playerid);
  7.  
  8. public OnFilterScriptInit()
  9. {
  10. print("\n--------------------------------------");
  11. print(" [FS] - Anti-Spawn Kill By Eduardo");
  12. print(" Não retire os créditos");
  13. print("--------------------------------------\n");
  14. return 1;
  15. }
  16.  
  17. public OnFilterScriptExit()
  18. {
  19. print("\n--------------------------------------");
  20. print(" [FS] - Anti-Spawn Kill By Eduardo");
  21. print(" Não retire os créditos");
  22. print("--------------------------------------\n");
  23. return 1;
  24. }
  25.  
  26. public OnPlayerDeath(playerid, killerid, reason)
  27. {
  28. SetPlayerHealth(playerid, 999999);
  29. SetTimer("AntiSpawnKill", 5000, false);
  30. SendClientMessage(playerid,COR,"O Anti-Spawn kill está ativando dentro de 5 segundos!");
  31. return 1;
  32. }
  33.  
  34. public AntiSpawnKill(playerid)
  35. {
  36. SetPlayerHealth(playerid, 100);
  37. SendClientMessage(playerid,COR,"O Anti-Spawn kill acabou o tempo!");
  38. return 1;
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement