[FS]AlarmClock =>Don't forget the time anymore<= -
Sandra18[NL] - 01.04.2008
AlarmClock
Introduction:
I think this is recognizable: You're playing Sa:mp hours after hours, you totally forget the time.
From now on you don't have to worry, because new there is the Sa:mp alarmclock!
What is the AlarmClock?:
This is a filterscript that checks the server time (local time of the host), every player can set an alarm for example on 11:30
When an alarm is set, the filterscript will check if the local time match with the time the player has set on his/her alarm.
If it matches, an alarm will go off.
A flashing (red-white) message will display and you will hear a beeping sound.
A menu will apear with 2 options:
- Snooze: This will turn the alarm off for 7 minutes. (Just like real alarmclocks )
- Turn off: This will turn off your alarm completely
How to instal:
- Download AlarmClock.pwn and put it in your filterscripts-folder
- Open it in Pawno, you can ajust the snooze-time (optional)
- Complile it, and run it as a Filterscript
How to set an alarm:
Ingame you type
/alarm a menu will open looking like this:
As you can see, you have 5 options:
- Turn On/Off = With this option you can turn the alarm on or off
- Set Hour = With this option you can set a hour for your alarm
- Set Minute = With this option you can set a minute for your alarm
- Set Message = Use this option to set a message that will appear when alarm goes off.
- Exit = To exit this menu
To set the hour en minute, a new menu will be shown, containing the opions:
And finally, to set the message, you'll be asked to type the new message in the chat and thats all
Download:
-
AlarmClock.pwn (MediaFire)
-
AlarmClock.pwn (MyFreeFileHosting.com)
Notes:
- Do not remove credits
- Enjoy
=>Sandra<=
Re: [FS]AlarmClock =>Don't forget the time anymore<= -
yom - 01.04.2008
Lol i will never use it, but it's a good idea
Re: [FS]AlarmClock =>Don't forget the time anymore<= -
Woet - 01.04.2008
You should make that every player can set his own time(zone).
Good script besides that
Re: [FS]AlarmClock =>Don't forget the time anymore<= -
Sandra18[NL] - 01.04.2008
Quote:
Originally Posted by yom
Lol i will never use it
|
Me neither :P
It was just an idea
Quote:
Originally Posted by Woet
You should make that every player can set his own time(zone).
Good script besides that
|
Yeah i know, maybe next version (if i will continue with this script)
Re: [FS]AlarmClock =>Don't forget the time anymore<= -
[LDT]LuxurY - 01.04.2008
funny.
Re: [FS]AlarmClock =>Don't forget the time anymore<= -
Rks25 - 01.04.2008
Nice Sandra..
Re: [FS]AlarmClock =>Don't forget the time anymore<= -
Zh3r0 - 01.04.2008
Nice 1 sandra this will be useful for me
coz sometimes i forgot to go to the bed LOL
Thx a lot sandra
Re: [FS]AlarmClock =>Don't forget the time anymore<= -
arnutisz - 01.04.2008
WOW
very nice
Re: [FS]AlarmClock =>Don't forget the time anymore<= -
blewert - 01.04.2008
nice, yet i won't use it ..
PS: its funny, lol
Re: [FS]AlarmClock =>Don't forget the time anymore<= -
Gutoo - 01.04.2008
Very nice idea!
But when I type "/ alarm" the server automatically closes