[FilterScript] [FS] CountDown, Freeze! by Thomas_Conroy
#1

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!
Reply
#2

Nice!

Thanks very much, I will use this
Reply
#3

Good to hear >.>
Reply
#4

yo thiz iz a relly good script...but I got some questions dat I wanted to ask some1 but culdnt ...hope u culd answer em...

1.how do I create a ".pwn" file in filterscripts folder to put all the info from the pastebin file into there....

2.and by ANYWAY do u know how to make the filterscripts line bigger so more filterscripts wuld load at 1 time...

example:I got like 16 filterscripts but at the end when I compile my server I look under "Filterscripts" at the very end 2-3 filterscripts culd not load prob becuz its out of space n shit.... I jus want my server good plz...

ty m8 hope u keep up the good work
Reply
#5

Well, thanks for your interest. To answer the questions:

1. In your sa-mp server package there should be a folder called pawno. Look in there and load pawno.exe. This is where you paste the pastebin code and save it. Once saved, there is a button somewhere in the lists that says compile. This automatically makes a .amx with the same name as the .pwn.

2. Since the release of version 0.2x you cannot have more than 16 FS's at a time. There is no way round this so you better start merging your maps together etc.
Reply
#6

Quote:
Originally Posted by Weirdosport
Well, thanks for your interest. To answer the questions:

1. In your sa-mp server package there should be a folder called pawno. Look in there and load pawno.exe. This is where you paste the pastebin code and save it. Once saved, there is a button somewhere in the lists that says compile. This automatically makes a .amx with the same name as the .pwn.

2. Since the release of version 0.2x you cannot have more than 16 FS's at a time. There is no way round this so you better start merging your maps together etc.
thnx bro for all ur help u make nice ass scripts and hope u keep up the good work bro :P
Reply
#7

Good luck.
Reply
#8

not really intersted
Reply
#9

Quote:
Originally Posted by James_Alex
not really intersted
Why are you posting then? To get your post count up!

Anyways, back on topic, good FS, little advice: countdown freeze should be for admins only, players can abuse it (if you didn't make'd it for admins.)
Reply
#10

I appreciate your concern, but it is awkward catering for people who use different admin scripts. The majority with any kind of admin system don't bother with rcon administration. Adding your own admin check wouldn't really be too difficult if you were bothered.

Quote:
Originally Posted by James_Alex
not really intersted
This comment doesn't really help at all, it's neither negative nor positive.... It is kind of pointless, and it does appear that you posted for the sake of posting, but I guess you inadvertently bumped my thread, so thank you...
Reply
#11

Quote:
Originally Posted by James_Alex
not really intersted
editry, from the first look i thing it's not useful, but i try it and it is good
good job
Reply
#12

When it was just a countdown it was pretty crappy, but it definitely improved with the addition on freezing locally and globally.
Reply
#13

Thanks, I searched for this.
Reply
#14

Very useful filterscript, i'll test it
Reply
#15

Quote:
Originally Posted by milkshake333
Thanks, I searched for this.
Quote:
Originally Posted by pehapx
Very useful filterscript, i'll test it
Thanks, all good I presume?
Reply
#16

Nice. GJ
Reply
#17

Amazing script!!!


Thanks
Reply
#18

Quote:
Originally Posted by tehroxor
Quote:
Originally Posted by James_Alex
not really intersted
Why are you posting then? To get your post count up!

Anyways, back on topic, good FS, little advice: countdown freeze should be for admins only, players can abuse it (if you didn't make'd it for admins.)
lol just do this:

if(IsPlayerAdmin)
{
}

Then only the ones who got RCON PW can acces this =p
Reply
#19

well done
Reply
#20

Errors:

Код:
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(338) : error 010: invalid function or declaration
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(3) : error 010: invalid function or declaration
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(5) : error 010: invalid function or declaration
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(7) : error 010: invalid function or declaration
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(9) : warning 215: expression has no effect
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(9) : error 001: expected token: ";", but found "."
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(18) : error 010: invalid function or declaration
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(25) : error 010: invalid function or declaration
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(27) : error 010: invalid function or declaration
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(29) : error 010: invalid function or declaration
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(31) : error 010: invalid function or declaration
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(33) : error 010: invalid function or declaration
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(35) : error 010: invalid function or declaration
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(37) : error 010: invalid function or declaration
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(39) : error 010: invalid function or declaration
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(41) : error 010: invalid function or declaration
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(43) : error 010: invalid function or declaration
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(65) : error 010: invalid function or declaration
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(67) : error 010: invalid function or declaration
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(69) : warning 215: expression has no effect
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(69) : error 001: expected token: ";", but found "."
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(72) : error 010: invalid function or declaration
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(76) : error 010: invalid function or declaration
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(88) : error 010: invalid function or declaration
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(94) : error 010: invalid function or declaration
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(102) : error 010: invalid function or declaration
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(110) : error 010: invalid function or declaration
C:\Users\Gianmarco\Desktop\AmericanCityPack\sa-mp 0.3a Server\sa-mp 0.3a Server\sa-mp 0.3a Server\filterscripts\counthomasconroy.pwn(120) : error 010: invalid function or declaration

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)