Pytelek

Ban fix by Pytelek

Dec 7th, 2013
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.41 KB | None | 0 0
  1. //include naprawiający ban i kick w samp 0.3x
  2. #include <a_samp>
  3.  
  4. forward fx1(playerid);
  5. forward fx2(playerid);
  6.  
  7. stock fix_Ban(playerid)
  8. {
  9.     SetTimerEx("fx1", 300, false, "i", playerid);
  10.     return 1;
  11. }
  12.  
  13. stock fix_Kick(playerid)
  14. {
  15.     SetTimerEx("fx2", 300, false, "i", playerid);
  16.     return 1;
  17. }
  18.  
  19. public fx1(playerid)
  20. {
  21.     Ban(playerid);
  22.     return 1;
  23. }
  24.  
  25. public fx2(playerid)
  26. {
  27.     Kick(playerid);
  28.     return 1;
  29. }
Advertisement
Add Comment
Please, Sign In to add comment