Advertisement
Guest User

Untitled

a guest
Dec 1st, 2012
487
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. #include <a_samp>
  2. forward plata();
  3. forward porez();
  4.  
  5. public OnGameModeInit()
  6. {
  7. SetTimer("plata",3600,1);
  8. SetTimer("porez",3600,1);
  9. return 1;
  10. }
  11.  
  12. public OnGameModeExit()
  13. {
  14. return 1;
  15. }
  16.  
  17. public plata() {
  18. for (new i = 0; i < MAX_PLAYERS; i++) {
  19. ShowPlayerDialog(i, 1, DIALOG_STYLE_MSGBOX, "Plata", "Iznos plate:2500$ \n Iznos sljedece plate:2500$ \n Express City Centralna Banka", "Uredu", "Izadji");
  20. GivePlayerMoney(i,2500);
  21. }
  22. return 1;
  23. }
  24.  
  25. public porez() {
  26. for (new i = 0; i < MAX_PLAYERS; i++) {
  27. ShowPlayerDialog(i, 1, DIALOG_STYLE_MSGBOX, "Porez", "Iznos poreza:350$ \n Express City Opstina", "Uredu", "Izadji");
  28. GivePlayerMoney(i,-350);
  29. }
  30. return 1;
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement