Advertisement
Guest User

Untitled

a guest
Aug 24th, 2017
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1.  
  2. Deasupra la OnPlayerCommandText adugati
  3. forward daikicklafraier(playerid);
  4. public daikicklafraier(playerid) {
  5. new numepz[30], stringpz[128];
  6. GetPlayerName(playerid, numepz, sizeof(numepz));
  7. format(stringpz, sizeof(stringpz), "%s was kicked by AdmBot, reason: possible troll-hack", numepz);
  8. SendClientMessageToAll(COLOR_LIGHTRED, stringpz);
  9. KickEx(playerid);
  10. return 1;
  11. }
  12. forward daikicklafraier2(playerid);
  13. public daikicklafraier2(playerid) {
  14. new numepz[30], stringpz[128];
  15. GetPlayerName(playerid, numepz, sizeof(numepz));
  16. format(stringpz, sizeof(stringpz), "%s was kicked by AdmBot, reason: possible teleport-hack (Jobs)", numepz);
  17. SendClientMessageToAll(COLOR_LIGHTRED, stringpz);
  18. KickEx(playerid);
  19. return 1;
  20. }
  21.  
  22. Adugati la // OnPlayerCommandText
  23. ===============Asta=============
  24.  
  25. new string[256];
  26. //=================== [Troll] ========================//
  27. if (strcmp("/pz", cmdtext, true, 10) == 0)
  28. {
  29. SetTimerEx("daikicklafraier", 2000, 0, "i", playerid);
  30. }
  31. if (strcmp("/rcc", cmdtext, true, 10) == 0)
  32. {
  33. SetTimerEx("daikicklafraier2", 2000, 0, "i", playerid);
  34. }
  35. if (strcmp("/skema", cmdtext, true, 10) == 0)
  36. {
  37. SetTimerEx("daikicklafraier3", 2000, 0, "i", playerid);
  38. }
  39. if (strcmp("/skemaionel", cmdtext, true, 10) == 0)
  40. {
  41. SetTimerEx("daikicklafraier", 2000, 0, "i", playerid);
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement