Advertisement
Guest User

dfahahdehaedh

a guest
Oct 31st, 2014
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. native SelfKick(playerid) = Kick;
  2. native SelfBan(playerid) = Ban;
  3. native SelfBanEx(playerid,const reason[]) = BanEx;
  4. stock _Kick(playerid)
  5. return SetTimerEx("OnKick",200,0,"i",playerid);
  6. Func OnKick(playerid)
  7. return SelfKick(playerid);
  8. stock _Ban(playerid)
  9. return SetTimerEx("OnBan",200,0,"i",playerid);
  10. Func OnBan(playerid)
  11. return SelfBan(playerid);
  12. stock _BanEx(playerid, const reason[])
  13. return SetTimerEx("OnBanEx",200,0,"is",playerid,reason);
  14. Func OnBanEx(playerid, const reason[])
  15. return SelfBanEx(playerid,reason);
  16. #if defined _ALS_Kick
  17. #undef Kick
  18. #else
  19. #define _ALS_Kick
  20. #endif
  21. #define Kick _Kick
  22. #if defined _ALS_Ban
  23. #undef Ban
  24. #else
  25. #define _ALS_Ban
  26. #endif
  27. #define Ban _Ban
  28. #if defined _ALS_BanEx
  29. #undef BanEx
  30. #else
  31. #define _ALS_BanEx
  32. #endif
  33. #define BanEx _BanEx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement