Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #file "wanking.amx"
- #include a_samp
- public OnFilterScriptInit() print("> Wanking Filterscript by Bob_Marley and Exclusive. Status: ON.");
- public OnFilterScriptExit() print("> Wanking Filterscript by Bob_Marley and Exclusive. Status: OFF.");
- new bool:wanking[MAX_PLAYERS char];
- public OnPlayerCommandText(playerid, cmdtext[]) {
- if(strcmp(cmdtext, "/wanking", true) == 0){
- if(!IsPlayerInRangeOfPoint(playerid,6.0,597.1277,-1248.6479,18.2734)) return SendClientMessage(playerid,-1,"You are not the hospital!");
- if(!wanking{playerid}){
- ApplyAnimation(playerid,"PAULNMAC","wank_loop",4.1,1,0,0,1,0);
- SetTimerEx("wankings", 10000, 0, "i", playerid);
- SendClientMessage(playerid, -1, "You are taking a load in the analysis.");
- wanking{playerid} = true;
- }
- else SendClientMessage(playerid,-1,"You've already handed sperm. We no longer need.");
- }
- return 1;
- }
- public wankings(playerid);
- public wankings(playerid) IsPlayerWanking(playerid);
- IsPlayerWanking(playerid)
- {
- #define Text GameTextForPlayer
- ClearAnimations(playerid);
- new IsPlayerRandom=random(2);
- switch (IsPlayerRandom)
- {
- case 0: wanking{playerid} = false,Text(playerid, "~y~ You do not pass the sperm!", 5000, 1);
- case 1: Text(playerid, "~y~ You took the sperm. You earn +$10!", 5000, 1),GivePlayerMoney(playerid, 10);
- }
- return false;
- }
- #endscript
Advertisement
Add Comment
Please, Sign In to add comment