SA-MP Forums Archive
[FilterScript] Simple Sleep System (Useful for RP) - 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] Simple Sleep System (Useful for RP) (/showthread.php?tid=464229)

Pages: 1 2


Simple Sleep System (Useful for RP) - Frederico - 15.09.2013

.:: Simple Sleep System ::.

Hello, this is my first FilterScript, I made this script so easy and simple.
I liked to share with you and also would like to know what you think about my script.

The Script is a system designed to make the player feel sleepy. If he does not sleep will end up sleeping on the street (or wherever you are), the screen will flash convey the effect of the character's eyes flickering caused by fatigue.
When the player get to level 5 sleep (maximum ProgressBar), he will be at the highest level of sleep.
If the character is generally put to sleep, causing the control command '/ sleep', the level of sleep back to 0, but if he falls asleep at the location finding will reduce to 3.

Command: /sleep - for when the player is sleepy.

I used a progressbar to show the level of sleep that the player has, as shown in print.


When the player writes the command / sleep, the player will appear lying on a bed.


Download Link:
(ProgressBar Include added to folder)
(Alternative Link: Download)





Re: Simple Sleep System (Useful for RP) - Mark_Samp - 15.09.2013

Very good work!
Nice idea and cool bar


Re: Simple Sleep System (Useful for RP) - Frederico - 15.09.2013

Quote:
Originally Posted by Mark_Samp
Посмотреть сообщение
Very good work!
Nice idea and cool bar
Thank you =D


Re: Simple Sleep System (Useful for RP) - DreyPT - 15.09.2013

Nice work guy


Re: Simple Sleep System (Useful for RP) - DanishHaq - 15.09.2013

Great for your first filterscript.


Re: Simple Sleep System (Useful for RP) - Frederico - 15.09.2013

Quote:
Originally Posted by DreyPT
Посмотреть сообщение
Nice work guy
Quote:
Originally Posted by DanishHaq
Посмотреть сообщение
Great for your first filterscript.
Thanks guys


Re: Simple Sleep System (Useful for RP) - StreetGT - 16.09.2013

Pretty simple but works.
GJ mate.

PS: You forgot to include <progress> at RAR file. I recommend you change that.


Re: Simple Sleep System (Useful for RP) - Frederico - 16.09.2013

Quote:
Originally Posted by StreetGT
Посмотреть сообщение
Pretty simple but works.
GJ mate.

PS: You forgot to include <progress> at RAR file. I recommend you change that.
Thanks, I completely forgot about it xD. I will now reupload including the Progress INC.


Respuesta: Simple Sleep System (Useful for RP) - Swedky - 16.09.2013

Good!!!!!!

+Rep!!.



Re: Respuesta: Simple Sleep System (Useful for RP) - Frederico - 16.09.2013

Quote:
Originally Posted by EnzoMetlc
Посмотреть сообщение
Good!!!!!!

+Rep!!.
Thanks!!


Re: Simple Sleep System (Useful for RP) - d0nTtoucH - 16.09.2013

nice work .. !! keep it up


Re: Simple Sleep System (Useful for RP) - Frederico - 16.09.2013

Quote:
Originally Posted by d0nTtoucH
View Post
nice work .. !! keep it up
Thanks man


Re: Simple Sleep System (Useful for RP) - Unitblu3 - 16.09.2013

Nice work and it works well
and keep up with the good work


Re: Simple Sleep System (Useful for RP) - Frederico - 16.09.2013

Hello, I've been reviewing the script and I came across some BUGs, I fix them and uploaded again.

The BUGs were:
- The timer to fill the fatigue bar and add more level of sleep was just giving to ID 0.
- After the player rest the screen kept flashing.

Quote:
Originally Posted by Unitblu3
View Post
Nice work and it works well
and keep up with the good work
Thanks mate


Re : Simple Sleep System (Useful for RP) - Wisdom - 13.10.2013

Nice +rep for you


Re: Re : Simple Sleep System (Useful for RP) - Frederico - 13.10.2013

Quote:
Originally Posted by Wisdom
View Post
Nice +rep for you
Thanks =DD


Re: Simple Sleep System (Useful for RP) - MorcegoPT - 27.11.2013

Very Good Job, Men!!

I Love This System! I Like!

+Rep!!!


Re: Simple Sleep System (Useful for RP) - ***Niko*** - 27.11.2013

I've tested it.. Good job,looks great


Re: Simple Sleep System (Useful for RP) - ReD_DeVi - 27.11.2013

Awesome and amazing job.


Re: Simple Sleep System (Useful for RP) - michaelcosyns - 27.11.2013

Awesome