SA-MP Forums Archive
[FilterScript] My very first fs: Toilet system - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] My very first fs: Toilet system (/showthread.php?tid=266077)

Pages: 1 2 3


My very first fs: Toilet system - justsomeguy - 03.07.2011

Changelog:
Код:
v0.5: First release.
v1.0: Poop system added(with the help of jamesmkonger
What is this
This is a small and VERY simpel system that makes you HAVE to pee/poop every hour.
It is still very basic sow i am not realy expecting you guys to like it:P

How does it work
Very simpel, every hour you get this message: "Your blather is full! You need to go to a toilet! Quick!((You got 5 minutes))"
Then after five minutes a special action automaticly starts(the pee action).
You wont be able to just press enter and stop peeing, you have to empty your blather(10 seconds).
But ofcourse if you are in a car, you cant pee(you cant perform a specialaction). Sow you get this message:
"You need to get out and pee! You dont want to pee all over the seats do you?"
Sow when you get out you have 5 seconds to find a place to pee. After that you automaticly start to pee.

Sow this is only peeing?
Not anymore, but i am still working on a system wich alows you to go to a bathroom.

Oke i guess i could try it out, where to download?
Here!: pastebin
v1.0(newer): solidfiles
Feel free to mirror btw!

Aditnional information
You dont have to tell me it's crap.
Enjoy!

Credits
Me- for the idea and the base
MasterB- The help with the urinate timer and the/pee command
Jay- For his help in general!


Re: My very first fs: Toilet system - jameskmonger - 03.07.2011

The word is "so", not "sow".


Re: My very first fs: Toilet system - Asta - 03.07.2011

Nice One Bro.


Re: My very first fs: Toilet system - iPLEOMAX - 03.07.2011

Hehe, nice one. Hope to see more fs from you.


Re: My very first fs: Toilet system - Deskoft - 03.07.2011

It's nice, but you need to improve your grammar.


Re: My very first fs: Toilet system - justsomeguy - 03.07.2011

Yeah sorry my english is not very perfectXD


Re: My very first fs: Toilet system - Raimis_R - 03.07.2011

He toilet Nice idea.


Re: My very first fs: Toilet system - int3s0 - 03.07.2011

Man I was always expecting you will create something professional and unique and now you make toilet system(Ok, at least it is unique lol).

Hoping better updates.


Re: My very first fs: Toilet system - [P4] - 03.07.2011

Haha nice one! But maybe you could add that if you're in a car and need to pee, then after X seconds you will be automatically removed from vehicle and animation would be performed :P

Btw I've found this very funny lol XD
Quote:
Sow this is only peeing?
For now, yes. But i am working on adding pooping system aswell.




Re: My very first fs: Toilet system - MasterB - 03.07.2011

Thanks for the credits!
oh wait a second... there aren't any :O


Re: My very first fs: Toilet system - Venice - 03.07.2011

Nice your first FS xD.any Screens ? or Video?


Re: My very first fs: Toilet system - Naruto_Emilio - 03.07.2011

Good job


Re: My very first fs: Toilet system - SchurmanCQC - 03.07.2011

This is a very weird system. I doubt anyone would use something like this.


Re: My very first fs: Toilet system - justsomeguy - 03.07.2011

Could you explain that?

EDIT:
Quote:
Originally Posted by MasterB
Посмотреть сообщение
Thanks for the credits!
oh wait a second... there aren't any :O
Shit i forgot! Hold on!


Re: My very first fs: Toilet system - MasterB - 03.07.2011

Finally


Re: My very first fs: Toilet system - Yagoda - 04.07.2011

Very funny fs =]


Re: My very first fs: Toilet system - Lorenc_ - 04.07.2011

This would not work for multiple people.


Re: My very first fs: Toilet system - Kwarde - 04.07.2011

Just checked that, and it's true. You need SetTimerEx anywhere.
pawn Код:
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)
{

Anyway, nice idea :P - It's different then mine. Mine was (I am re-making the GM) like this: When you are on a toilet, it'll apply an anim which will let the player sit. When you're not near a toilet when you use /gopee, the player'll just stand and pee (just like this one). In a vehicle, the player'll automatic stop (Vehicle Velocity ) and exit the vehicle to pee.
However, this one's also nice.


Re: My very first fs: Toilet system - LZLo - 04.07.2011

epic.


Re: My very first fs: Toilet system - justsomeguy - 04.07.2011

Quote:
Originally Posted by Kwarde
Посмотреть сообщение
Just checked that, and it's true. You need SetTimerEx anywhere.
pawn Код:
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)
{

Anyway, nice idea :P - It's different then mine. Mine was (I am re-making the GM) like this: When you are on a toilet, it'll apply an anim which will let the player sit. When you're not near a toilet when you use /gopee, the player'll just stand and pee (just like this one). In a vehicle, the player'll automatic stop (Vehicle Velocity ) and exit the vehicle to pee.
However, this one's also nice.
Wait you mean like this?
pawn Код:
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))");
    SetTimerEx("Hastogo", 300000, false, "i", playerid);
}
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;
    }
?