Advertisement
VanGans

FS Colay

Jul 18th, 2020
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. /*
  2. Credit:
  3.  
  4. - Powered By VANGANS
  5.  
  6. Keep The Credits Please :)
  7. */
  8. #include <a_samp>
  9. #include <zcmd>
  10. #define SPECIAL_ACTION_PISSING 68
  11.  
  12. new coli[MAX_PLAYERS];
  13.  
  14. forward waktucoli(playerid);
  15.  
  16. public OnFilterScriptInit()
  17. {
  18. printf("> -- Coli system Loaded -- <");
  19. return 1;
  20. }
  21.  
  22. public OnFilterScriptExit()
  23. {
  24. printf("> -- Coli system UnLoaded -- <");
  25. return 1;
  26. }
  27.  
  28. public OnPlayerConnect(playerid)
  29. {
  30. coli[playerid] = 0;
  31. return 1;
  32. }
  33.  
  34. public OnPlayerDisconnect(playerid, reason)
  35. {
  36. coli[playerid] = 0;
  37. return 1;
  38. }
  39.  
  40. CMD:coli(playerid, params)
  41. {
  42. if(coli[playerid] == 1) return SendClientMessage(playerid, 0xFFFFFF, "Kau sudah coli, dan gak boleh coli lagi");
  43. new name[MAX_PLAYER_NAME], string[50];
  44. GetPlayerName(playerid, name, sizeof(name));
  45. format(string, sizeof(string), ">> %s sekarang lagi coli <<", name);
  46. SendClientMessageToAll(0xFFFFFFFF, string);
  47. SendClientMessage(playerid, 0xFFFFFF, "** Ah... Ah... Ah...");
  48. ApplyAnimation(playerid, "PAULNMAC", "wank_loop", 4.1, 0, 1, 1, 1, 5, 1);
  49. SetTimer("waktucoli", 3000, false);
  50. coli[playerid] = 1;
  51. return 1;
  52. }
  53.  
  54. public waktucoli(playerid)
  55. {
  56. ClearAnimations(playerid);
  57. SendClientMessage(playerid, 0xFFFFFF, "** Croot.. Croot Croot..");
  58. SetPlayerSpecialAction(playerid, SPECIAL_ACTION_PISSING);
  59. coli[playerid] = 0;
  60. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement