SA-MP Forums Archive
[FilterScript] [FS] Alarm clock - 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] [FS] Alarm clock (/showthread.php?tid=485183)



[FS] Alarm clock - Tomop - 03.01.2014

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 (http://www.mediafire.com/download/ma...AlarmClock.pwn)




IF you like, please rep


Re: [FS] Alarm clock - AIped - 03.01.2014

nice idea this should actually be integrated in any game..or just use your own phone..but im sure ingame is better.

Edit: if its copied ..shame on you


Re: [FS] Alarm clock - J4mmyHD - 03.01.2014

Amazing good idea.

Edit: Copied.


Re: [FS] Alarm clock - Emmet_ - 03.01.2014

This is copied...

https://sampforum.blast.hk/showthread.php?tid=32631

Not only that, but you left the original author's credits at the top!

Код:
/*===================================================================================================*\
||===================================================================================================||
||	              ________    ________    ___    _    ______     ______     ________                 ||
||	        \    |   _____|  |  ____  |  |   \  | |  |   _  \   |  _   \   |  ____  |    /           ||
||	======== \   |  |_____   | |____| |  | |\ \ | |  |  | |  |  | |_|  /   | |____| |   / ========   ||
||	          |  | _____  |  |  ____  |  | | \ \| |  |  | |  |  |  _  \    |  ____  |  |             ||
||	======== /    ______| |  | |    | |  | |  \ \ |  |  |_|  |  | |  \ \   | |    | |   \ ========   ||
||	        /    |________|  |_|    |_|  |_|   \__|  |______/   |_|   \_|  |_|    |_|    \           ||
||                                                                                                   ||
||===================================================================================================||
||                          Created on the 31th of March 2008 by =>Sandra<=                          ||
||                                    Do NOT remove any credits!!                                    ||
\*===================================================================================================*/



Re: [FS] Alarm clock - Tomop - 03.01.2014

Pardon? Don't know what you mean. by copyed, But anyways thanks for the good comments, I'll add more


Re: [FS] Alarm clock - LMagnifico - 05.01.2014

brilliant idea


Re: [FS] Alarm clock - J4mmyHD - 05.01.2014

Quote:
Originally Posted by Tomop
Посмотреть сообщение
Pardon? Don't know what you mean. by copyed, But anyways thanks for the good comments, I'll add more
This is not your Filterscript. You have took it from someone else. You have Copied it. You cant deny it, as you have left the original Authors credits at the top.

Good Day.


Re: [FS] Alarm clock - Voxel - 05.01.2014

Good job sandra and to you Tomop... you will probably be banned or something.