[FilterScript] [FS] GameModeChanger(by time)
#1

Hello, guys! I make this FS for one man, who really wants to change gamemode, password without admin, and at some time periods.
Sorry fi filterscript like this already exists.
So, how it works?
At first you should create folder "timers", and make a file "gamemodes.cfg"
Then you will open it and add string, like this:
gamemodename|password|hour|minute|timetodeletepass

MAX strings 16, but you can just make massive Changer[16][infoS] make to Changer[YOUR VALUE][infoS]
As example, my string:
TDM|27772S|20|4|1800000
TDM -gamemodename
2772S - password for this gamemode
20 - hour, when timer must load this GM
4 - minute, like in gettime func
1800000 - timer for password clearing. if i wasn't wrong, it is 20 minutes in miliseconds. Time here only in miliseconds =)
here some logs
Quote:

[21:50:02] Loading filter script 'TGC.amx'...
[21:50:02] ==================================================
[21:50:02] ==========Changing Gamemodes by [RD]Chez==========
[21:50:02] ==================================================
[21:50:02] Loaded 2 filter scripts.
[21:50:02] Table: Create Table.
[21:50:02] ----------------------------------
[21:50:02] Blank Gamemode by your name here
[21:50:02] ----------------------------------
[21:50:50] ---- Time is: 21:50:50
[21:50:50] ---- It's time to start: "sniper" gamemode
[21:50:50] ---- Starting gamemode: "sniper"
[21:50:50] ------------------------- Wait Please ----------------------
[21:50:50] Setting server password to: "noob"
[21:50:50] ---- The server's password is now: "noob" ----
[21:51:02] ----------------------------------
[21:51:02] Sniper Madness! By Mike
[21:51:02] ----------------------------------

Plz report any bugs.
And sorry for my english =)

Pastebin link
Reply
#2

So... any problems? or advises? or script good and don't needed in to modifying?
Reply
#3

good job
Reply
#4

nice work)
hi chez)
Reply
#5

any ideas?
Reply
#6

up, comments or advises?
Reply
#7

up
Reply
#8

07/07/2009, 04:02 AM - LAST POST.
22/05/2011, 09:07 AM - TODAYS POST.

Now lets see how old it is.

15 days 2 months and 3 years. Thats fairly old. HOPE YOU get a response.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)