Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /// Special Actions Piss & Shit script by Pottus shit offsets by Kanada ///
- #include <a_samp>
- #include <zcmd>
- #define PISS_DIST 2.0
- #define SHIT_DIST 2.0
- #define EXCREMENT_DELAY 3000
- stock const ShitList[24][] = {
- { "shit all over" },
- { "dropped a bomb on" },
- { "released a lincoln log on" },
- { "pinched a loaf on" },
- { "showed the hershey highway to" },
- { "defecated all over the face of" },
- { "blasted a dookie on" },
- { "went boom boom on" },
- { "showed his steamer to" },
- { "dropped a duece all over" },
- { "gave a dirty squirty to" },
- { "downloaded a brownload to the face of" },
- { "gave birth to an African on" },
- { "let Mr. Hanky have a little chat with" },
- { "lost some weight on" },
- { "released the hostages all over" },
- { "let Cosby kids meet" },
- { "birthed a brown bear all over" },
- { "made a deposit on the chest of" },
- { "ferilized the corpse of" },
- { "turdzilla had a fight with" },
- { "squeezed some cheese on" },
- { "showed their diarrhea to" },
- { "gave a corn on the log to" }
- };
- stock const PissList[9][] = {
- { "pissed all over" },
- { "gave a golden shower to" },
- { "urinated on the face of" },
- { "took a leak on the body of" },
- { "had a wizz on" },
- { "broke his seal on" },
- { "drained the main vein all over" },
- { "had to take number one on" },
- { "pissed like a race horse on" }
- };
- enum POSDATA { Float:DeathPosX, Float:DeathPosY, Float:DeathPosZ }
- new ExcrementTime[MAX_PLAYERS];
- new bool:PlayerIsDead[MAX_PLAYERS];
- new MyDeathLoc[MAX_PLAYERS][POSDATA];
- public OnFilterScriptInit()
- {
- print("---------------------------------");
- print("--- DEFECATE BY POTTUS LOADED ---");
- print("---------------------------------");
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- PlayerIsDead[playerid] = true;
- GetPlayerPos(playerid, MyDeathLoc[playerid][DeathPosX], MyDeathLoc[playerid][DeathPosY], MyDeathLoc[playerid][DeathPosZ]);
- }
- public OnPlayerSpawn(playerid)
- {
- PlayerIsDead[playerid] = false;
- ApplyAnimation(playerid,"ped","null",0.0,0,0,0,0,0);
- }
- public OnPlayerDisconnect(playerid)
- {
- PlayerIsDead[playerid] = false;
- }
- stock PlayAnimation(playerid,alib[32],aname[32],Float:fDelta, loop, lockx, locky, freeze, time)
- {
- ApplyAnimation(playerid,alib,aname,fDelta,loop,lockx,locky,freeze,time);
- ApplyAnimation(playerid,alib,aname,fDelta,loop,lockx,locky,freeze,time);
- ApplyAnimation(playerid,alib,aname,fDelta,loop,lockx,locky,freeze,time);
- ApplyAnimation(playerid,alib,aname,fDelta,loop,lockx,locky,freeze,time);
- return 1;
- }
- CMD:s(playerid, arg[]) { shiton(playerid); return 1; }
- CMD:shit(playerid, arg[]) { shiton(playerid); return 1; }
- shiton(playerid)
- {
- if(GetTickCount() - ExcrementTime[playerid] > EXCREMENT_DELAY)
- {
- if(!IsPlayerInAnyVehicle(playerid))
- {
- ExcrementTime[playerid] = GetTickCount();
- new line[128];
- if(PlayerIsDead[playerid])
- {
- format(line, sizeof(line), "%s {5C3317}shit themselves", ReturnName(playerid));
- SendClientMessageToAll(0x33DD1100, line);
- }
- else
- {
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(!IsPlayerConnected(i)) continue;
- if(!PlayerIsDead[i]) continue;
- if(IsPlayerInRangeOfPoint(playerid, SHIT_DIST, MyDeathLoc[i][DeathPosX], MyDeathLoc[i][DeathPosY], MyDeathLoc[i][DeathPosZ]))
- {
- format(line, sizeof(line), "%s {5C3317}%s {33DD11}%s", ReturnName(playerid), ShitList[random(23)], ReturnName(i));
- SendClientMessageToAll(0x33DD1100, line);
- break;
- }
- }
- }
- PlayAnimation(playerid,"ped","cower",4.1, 0, 1, 1, 1, 1);
- SetPlayerAttachedObject(playerid, 9,
- 18722,
- 1,
- -1.773999,
- 0.234999,
- -0.091000,
- 2.300002,
- 88.499984,
- 0.0,
- 1.0,
- 1.0,
- 1.0);
- SetTimerEx("WipeAss", 2000, false, "i", playerid);
- }
- }
- return 1;
- }
- forward WipeAss(playerid);
- public WipeAss(playerid) { RemovePlayerAttachedObject(playerid, 9); return 1; }
- CMD:p(playerid, arg[]) { pisson(playerid); return 1; }
- CMD:piss(playerid, arg[]) { pisson(playerid); return 1; }
- pisson(playerid)
- {
- if(GetTickCount() - ExcrementTime[playerid] > EXCREMENT_DELAY)
- {
- if(!IsPlayerInAnyVehicle(playerid))
- {
- ExcrementTime[playerid] = GetTickCount();
- new line[128];
- if(PlayerIsDead[playerid])
- {
- format(line, sizeof(line), "%s {FFFF00}pissed their pants", ReturnName(playerid));
- SendClientMessageToAll(0x33DD1100, line);
- }
- else
- {
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(!IsPlayerConnected(i)) continue;
- if(!PlayerIsDead[i]) continue;
- if(IsPlayerInRangeOfPoint(playerid, PISS_DIST, MyDeathLoc[i][DeathPosX], MyDeathLoc[i][DeathPosY], MyDeathLoc[i][DeathPosZ]))
- {
- format(line, sizeof(line), "%s {FFFF00}%s {33DD11}%s", ReturnName(playerid), PissList[random(9)], ReturnName(i));
- SendClientMessageToAll(0x33DD1100, line);
- break;
- }
- }
- SetPlayerSpecialAction(playerid,68);
- }
- }
- }
- return 1;
- }
- stock ReturnName(playerid)
- {
- new Pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, Pname, sizeof(Pname));
- return Pname;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement