[FS] GameModeChanger(by time) -
G_ROW_Chez - 11.04.2009
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
Re: [FS] GameModeChanger(by time) -
G_ROW_Chez - 11.04.2009
So... any problems? or advises? or script good and don't needed in to modifying?
Re: [FS] GameModeChanger(by time) -
James_Alex - 11.04.2009
good job
Re: [FS] GameModeChanger(by time) -
odyvan - 11.04.2009
nice work)
hi chez)
Re: [FS] GameModeChanger(by time) -
G_ROW_Chez - 16.04.2009
any ideas?
Re: [FS] GameModeChanger(by time) -
G_ROW_Chez - 24.05.2009
up, comments or advises?
Re: [FS] GameModeChanger(by time) -
G_ROW_Chez - 06.07.2009
up
Re: [FS] GameModeChanger(by time) -
Lorenc_ - 21.05.2011
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.