Guest User

WeeDarr

a guest
Mar 2nd, 2008
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. #include <a_samp>
  2. #include <w_Gates>
  3.  
  4. // This is a comment
  5. // uncomment the line below if you want to write a filterscript
  6. #define FILTERSCRIPT
  7.  
  8. #if defined FILTERSCRIPT
  9.  
  10. public OnFilterScriptInit()
  11. {
  12. print("\n--------------------------------------");
  13. print(" Blank Filterscript by your name here");
  14. print("--------------------------------------\n");
  15. AddLVPDGate();
  16. AddLSPDGate();
  17. AddSFPDGate();
  18. return 1;
  19. }
  20.  
  21. public OnPlayerCommandText(playerid, cmdtext[])
  22. {
  23. if (strcmp("/openlv", cmdtext, true, 7) == 0)
  24. {
  25. OpenLVPDGate(playerid,3.0,1,8000);
  26. return 1;
  27. }
  28.  
  29. if (strcmp("/closelv", cmdtext, true, 8) == 0)
  30. {
  31. CloseLVPDGate(playerid,3.0);
  32. return 1;
  33. }
  34.  
  35. if (strcmp("/openls", cmdtext, true, 7) == 0)
  36. {
  37. OpenLSPDGate(playerid,3.0,0,0);
  38. return 1;
  39. }
  40.  
  41. if (strcmp("/closels", cmdtext, true, 8) == 0)
  42. {
  43. CloseLSPDGate(playerid,3.0);
  44. return 1;
  45. }
  46.  
  47. if (strcmp("/opensf", cmdtext, true, 7) == 0)
  48. {
  49. OpenSFPDGate(playerid,3.0,1,20000);
  50. return 1;
  51. }
  52.  
  53. if (strcmp("/closesf", cmdtext, true, 8) == 0)
  54. {
  55. CloseSFPDGate(playerid,3.0);
  56. return 1;
  57. }
  58. return 0;
  59. }
Add Comment
Please, Sign In to add comment