Guest User

[FS]Restarting - by rockline.tk

a guest
Mar 5th, 2010
454
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.75 KB | None | 0 0
  1. // |- Gtaf.nl/rockline -|
  2. // |- Rockline.tk -|
  3.  
  4. #include <a_samp>
  5. #define FILTERSCRIPT
  6. #if defined FILTERSCRIPT
  7.  
  8. new restarting = 100000; // 10 minutes and 40 seconds - this can you changed!
  9. forward restart(playerid);
  10.  
  11. public OnFilterScriptInit()
  12. {
  13.     print("Gemaakt door Gtaf.nl/rockline");
  14.     print("Made by Rockline.tk");
  15.     return 1;
  16. }
  17.  
  18. public restart(playerid)
  19. {
  20.     SetTimer("restart", restarting, true);
  21.     SendRconCommand("gmx");
  22.     GameTextForPlayer(playerid, "~r~Automatic restarting!!!", 4740, 5);
  23.     return 1;
  24. }
  25.  
  26. public OnFilterScriptExit()
  27. {
  28.     return 1;
  29. }
  30.  
  31. #else
  32.  
  33. main()
  34. {
  35.     print("\n----------------------------------");
  36.     print("Made by Rockline.tk - Gtaf.nl/rockline");
  37.     print("----------------------------------\n");
  38. }
  39.  
  40. #endif
Advertisement
Add Comment
Please, Sign In to add comment