Guest User

Untitled

a guest
Mar 11th, 2011
1,233
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <a_samp>
  2.  
  3. new Money[MAX_PLAYERS];
  4. /* ВНЕСТИ В МОД!!!!
  5. public OnGameModeInit()
  6. {
  7.     print("Античит Денежный Встроен В Мод Успешно");
  8.     print("Копирайты все дела и прочее Alex_Trigger(Tracker1)");
  9.     print("АЛЬФА версия");
  10.     SetTimer("Loshadka",2000,1);
  11.     return 1;
  12. }
  13. */
  14.  
  15. forward Loshadka();
  16. public Loshadka()
  17. {
  18.     for(new i =0;i<MAX_PLAYERS;i++)
  19.     {
  20.         if(GetPlayerMoney(i) != Money[i])
  21.         {
  22.             GivePlayerMoney(i,Money[i]-GetPlayerMoney(i));
  23.             //SendClientMessage(i,0xFEFEFEFF,"Не шали с читами тута");
  24.         }
  25.     }
  26. }
  27. stock ResetPlMon(playerid)
  28. {
  29.     Money[playerid] =0;
  30.     GivePlayerMoney(playerid,0-GetPlayerMoney(playerid));
  31.     return 1;
  32. }
  33. stock GiveMoney(playerid,a)
  34. {
  35.     Money[playerid] += a;
  36.     GivePlayerMoney(playerid,a);
  37.     return 1;
  38. }
RAW Paste Data