Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Have fun with this toilet system!
- //Do whatever you want!
- //PS:
- //The stamp to make it look cool -,-.
- /*****************************************************************
- *******************************000000*****************************
- *****************************000####000***************************
- ***************************000####==#000**************************
- **************************000#########000*************************
- *************************000####=====##000************************
- ************************000######==#####000***********************
- ************************000##==##==#####000***********************
- ************************000##=====######000***********************
- *************************000##===######000************************
- **************************000#########000*************************
- ***************************000#######000**************************
- ****************************000#####000***************************
- *****************************000000000****************************
- ******************************************************************
- */
- #define FILTERSCRIPT
- #include <a_samp>
- #pragma tabsize 0
- #if defined FILTERSCRIPT
- #define COLOR_WHITE 0xFFFFFFFF
- #define COLOR_RED 0xE60000FF
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Blank Filterscript by your name here");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- #endif
- public OnPlayerSpawn(playerid)
- {
- SetTimer("toilet", 3600000, true);
- return 1;
- }
- forward UrinateTimer(playerid);
- public UrinateTimer(playerid)
- {
- TogglePlayerControllable(playerid, 1);
- SendClientMessage(playerid, COLOR_WHITE, "You are done urinating");
- return 1;
- }
- CMD:pee(playerid, params[])
- {
- TogglePlayerControllable(playerid, 0);
- SetTimerEx("UrinateTimer", 10000, false, "i", playerid);
- SetPlayerSpecialAction(playerid, 68);
- return 1;
- }
- new Toilet[MAX_PLAYERS];
- public OnPlayerExitVehicle(playerid)
- {
- if(Toilet[playerid] == 1)
- {
- SetTimer("Toilet", 5000, false);
- SetPlayerSpecialAction(playerid, 68);
- }
- return 1;
- }
- forward toilet(playerid);
- public toilet(playerid)
- {
- SendClientMessage(playerid, COLOR_RED, "Your blather is full, you need to go to the toilet quick!((You got 5 minutes))");
- SetTimer("Hastogo", 300000, false);
- }
- forward Hastogo(playerid);
- public Hastogo(playerid)
- {
- SendClientMessage(playerid, COLOR_RED, "You could not hold it in anylonger! You've started to urinate!");
- SetPlayerSpecialAction(playerid, 68);
- TogglePlayerControllable(playerid, 0);
- SetTimerEx("UrinateTimer", 10000, false, "i", playerid);
- if(IsPlayerInAnyVehicle(playerid))
- {
- SendClientMessage(playerid, COLOR_RED, "Quick, get out! You dont want to pee all over de car seat dont you?");
- }
- else
- {
- SetPlayerSpecialAction(playerid, 68);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement