21.02.2009, 22:08
CountDown, Freeze! by Thomas_Conroy
Introduction:
After seeing the script by Fumis it inspired me to create my own, with fewer timers and more functionality. Credit goes to Fumis for the original idea, and some basic elements of the script (variable names, sound effect and the actual GameTexts)
Description:
The Script allows any player to start a countdown at any time. The countdown compromises of a 3, 2, 1 Start, at which point a sound effect is played. When the CountDown is running it cannot be interrupted by a new one.
As of version 2 there is now the option of freezing players within a certain distance of the original countdown starter. This can be changed in the .pwn, as it is defined at the top of the script.
Version 3 introduces the ability to choose who will see the countdown. If "Locality" is set to 1, only people within the given radius of the countdown starter will see the countdown and potentially be frozen by it. People outside the radius will not know anything has happened, as the messages and effects only apply to people within the radius at the time of starting. If "Locality" is set to 0, the entire server will be told of the countdown, and may all be frozen, depending on the status of "Freeze".
If "Freeze" is set to 0, nobody will be frozen, whereas when set to 1, the people concerned will be frozen. Both of these variables can be controlled while on the server with the use of the commands listed below! If you do not understand this description please post a question, as I feel it quite a hard concept to describe!
Commands:
/count - starts countdown (All versions)
/togfreeze - toggles player freezing on/off (Versions 2 + 3)
/toglocal - toggles whether the entire server is effected, or just players within defined radius (Version 3)
Download: (Old Downloads left for continuity)
Version 1: 58 lines
Host: PasteBin
Version 2: 99 lines
Host: PasteBin
Version 3: 182 lines
Host: PasteBin
Screenshot:
Usage:
Feel free to modify the script as you wish, and please post news of your modifications so I could potentially incorporate them.
Thanks:
Thanks to Zoidberg, for allowing me to use her Photobucket space!
Thanks to Zoidberg for testing it with me and for Deixel also for posing. :P
Thanks to Dchidell for humoring me during my period of /fail
Thanks to those who designed sa-mp and those who contribute with their knowledge on the forums.
Please enjoy using this script, and if you wish to praise/criticize me please post. I may update the script in the future, so if you have any ideas please post them. This is my second release so if there are any problems please post.
Thank you, Thomas_Conroy
P.S if you enjoyed this (or didn't for that matter), please check out the other script(s) in my signature!
Introduction:
After seeing the script by Fumis it inspired me to create my own, with fewer timers and more functionality. Credit goes to Fumis for the original idea, and some basic elements of the script (variable names, sound effect and the actual GameTexts)
Description:
The Script allows any player to start a countdown at any time. The countdown compromises of a 3, 2, 1 Start, at which point a sound effect is played. When the CountDown is running it cannot be interrupted by a new one.
As of version 2 there is now the option of freezing players within a certain distance of the original countdown starter. This can be changed in the .pwn, as it is defined at the top of the script.
Version 3 introduces the ability to choose who will see the countdown. If "Locality" is set to 1, only people within the given radius of the countdown starter will see the countdown and potentially be frozen by it. People outside the radius will not know anything has happened, as the messages and effects only apply to people within the radius at the time of starting. If "Locality" is set to 0, the entire server will be told of the countdown, and may all be frozen, depending on the status of "Freeze".
If "Freeze" is set to 0, nobody will be frozen, whereas when set to 1, the people concerned will be frozen. Both of these variables can be controlled while on the server with the use of the commands listed below! If you do not understand this description please post a question, as I feel it quite a hard concept to describe!
Commands:
/count - starts countdown (All versions)
/togfreeze - toggles player freezing on/off (Versions 2 + 3)
/toglocal - toggles whether the entire server is effected, or just players within defined radius (Version 3)
Download: (Old Downloads left for continuity)
Version 1: 58 lines
Host: PasteBin
Version 2: 99 lines
Host: PasteBin
Version 3: 182 lines
Host: PasteBin
Screenshot:
Usage:
Feel free to modify the script as you wish, and please post news of your modifications so I could potentially incorporate them.
Thanks:
Thanks to Zoidberg, for allowing me to use her Photobucket space!
Thanks to Zoidberg for testing it with me and for Deixel also for posing. :P
Thanks to Dchidell for humoring me during my period of /fail
Thanks to those who designed sa-mp and those who contribute with their knowledge on the forums.
Please enjoy using this script, and if you wish to praise/criticize me please post. I may update the script in the future, so if you have any ideas please post them. This is my second release so if there are any problems please post.
Thank you, Thomas_Conroy
P.S if you enjoyed this (or didn't for that matter), please check out the other script(s) in my signature!