Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Credit:
- - Powered By VANGANS
- Keep The Credits Please :)
- */
- #include <a_samp>
- #include <zcmd>
- #define SPECIAL_ACTION_PISSING 68
- new coli[MAX_PLAYERS];
- forward waktucoli(playerid);
- public OnFilterScriptInit()
- {
- printf("> -- Coli system Loaded -- <");
- return 1;
- }
- public OnFilterScriptExit()
- {
- printf("> -- Coli system UnLoaded -- <");
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- coli[playerid] = 0;
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- coli[playerid] = 0;
- return 1;
- }
- CMD:coli(playerid, params)
- {
- if(coli[playerid] == 1) return SendClientMessage(playerid, 0xFFFFFF, "Kau sudah coli, dan gak boleh coli lagi");
- new name[MAX_PLAYER_NAME], string[50];
- GetPlayerName(playerid, name, sizeof(name));
- format(string, sizeof(string), ">> %s sekarang lagi coli <<", name);
- SendClientMessageToAll(0xFFFFFFFF, string);
- SendClientMessage(playerid, 0xFFFFFF, "** Ah... Ah... Ah...");
- ApplyAnimation(playerid, "PAULNMAC", "wank_loop", 4.1, 0, 1, 1, 1, 5, 1);
- SetTimer("waktucoli", 3000, false);
- coli[playerid] = 1;
- return 1;
- }
- public waktucoli(playerid)
- {
- ClearAnimations(playerid);
- SendClientMessage(playerid, 0xFFFFFF, "** Croot.. Croot Croot..");
- SetPlayerSpecialAction(playerid, SPECIAL_ACTION_PISSING);
- coli[playerid] = 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement