Guest User

Untitled

a guest
Dec 10th, 2013
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. #define FILTERSCRIPT
  4.  
  5. //--------Forwards--------//
  6. forward Payday();
  7.  
  8. public OnFilterScriptInit()
  9. {
  10. SetTimer("Payday",3600,1);
  11.  
  12. print("\n--------------------------------------");
  13. print("PayDay System Ligado");
  14. print("--------------------------------------\n");
  15. return 1;
  16. }
  17.  
  18. public OnFilterScriptExit()
  19. {
  20. print("\n--------------------------------------");
  21. print("PayDay System Desligado");
  22. print("--------------------------------------\n");
  23. return 1;
  24. }
  25.  
  26. public Payday()
  27. {
  28. new string[128];
  29. for(new i = 0; i < MAX_PLAYERS; i++)
  30. {
  31. format(string,sizeof(string),"~b~Payday: ~p~$3500");
  32. GameTextForAll(string, 5000, 5);
  33. GivePlayerMoney(i,3500);
  34. }
  35. return 1;
  36. }
Advertisement
Add Comment
Please, Sign In to add comment