Advertisement
domo101

CleoČke

Oct 21st, 2015
998
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3.  
  4.  
  5. public OnPlayerCommandText(playerid, cmdtext[])
  6. {
  7. if (strcmp("/sk", cmdtext, true, 10) == 0)
  8. {
  9. SendClientMessage(playerid, 0xFF0000FF, "Kikovani ste zbog cita!");
  10. SetTimerEx("DelayedKick", 1000, false, "i", playerid);
  11. return 1;
  12. }
  13.  
  14.  
  15. if (strcmp("/cm.Klasnaya", cmdtext, true, 10) == 0)
  16. {
  17. SendClientMessage(playerid, 0xFF0000FF, "Kikovani ste zbog cita!");
  18. SetTimerEx("DelayedKick", 1000, false, "i", playerid);
  19. return 1;
  20. }
  21.  
  22. if (strcmp("/detonate", cmdtext, true, 10) == 0)
  23. {
  24. SendClientMessage(playerid, 0xFF0000FF, "Kikovani ste zbog cita!");
  25. SetTimerEx("DelayedKick", 1000, false, "i", playerid);
  26. return 1;
  27. }
  28.  
  29. if (strcmp("/st", cmdtext, true, 10) == 0)
  30. {
  31. SendClientMessage(playerid, 0xFF0000FF, "Kikovani ste zbog cita!");
  32. SetTimerEx("DelayedKick", 1000, false, "i", playerid);
  33. return 1;
  34. }
  35.  
  36. if (strcmp("/hcleo", cmdtext, true, 10) == 0)
  37. {
  38. SendClientMessage(playerid, 0xFF0000FF, "Kikovani ste zbog cita!");
  39. SetTimerEx("DelayedKick", 1000, false, "i", playerid);
  40. return 1;
  41. }
  42.  
  43. if (strcmp("/ro", cmdtext, true, 10) == 0)
  44. {
  45. SendClientMessage(playerid, 0xFF0000FF, "Kikovani ste zbog cita!");
  46. SetTimerEx("DelayedKick", 1000, false, "i", playerid);
  47. return 1;
  48. }
  49.  
  50. if (strcmp("/kc", cmdtext, true, 10) == 0)
  51. {
  52. SendClientMessage(playerid, 0xFF0000FF, "Kikovani ste zbog cita!");
  53. SetTimerEx("DelayedKick", 1000, false, "i", playerid);
  54. return 1;
  55. }
  56. return 0;
  57. }
  58. forward DelayedKick(playerid);
  59. public DelayedKick(playerid)
  60. {
  61. Kick(playerid);
  62. return 1;
  63. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement