Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- //by Bob_Marley
- //Update Exclusive
- new bool:wp[MAX_PLAYERS char];
- public OnFilterScriptInit();
- 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(!wp{playerid})
- {
- ApplyAnimation(playerid,"PAULNMAC","wank_loop",4.1,1,0,0,1,0);
- SetTimerEx("wanking", 0x3a98, 0, "i", playerid);
- SendClientMessage(playerid, -1, "You are taking a load in the analysis.");
- SetPlayerAttachedObject(playerid,0,323,1,-0.319998,0.282999,0.030001,-87.999931,59.200107,-31.099962,1.000000,1.000000,1.000000);
- wp{playerid} = true;
- }
- else SendClientMessage(playerid,-1,"You've already handed sperm. We no longer need.");
- }
- return 1;
- }
- public wanking(playerid);
- public wanking(playerid)
- {
- ClearAnimations(playerid);
- #define TEXT(%1) GameTextForPlayer(%1, "~y~ You have passed!", 5000, 1)
- switch (random(2))
- {
- case 0: wp{playerid} = false;
- case 1: TEXT(playerid),GivePlayerMoney(playerid, random(8*8+10/2+300));
- }
- RemovePlayerAttachedObject(playerid, 0);
- return 1,printf("wanking( %d )", playerid);
- }
Advertisement
Add Comment
Please, Sign In to add comment