Raised This Month: $94 Target: $400
 23% 

New Way for Count Down Special Day


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   Arkshine (91)
K.K.Lv
Veteran Member
Join Date: Aug 2008
Location: GameFolder
Old 08-04-2010 , 00:15   New Way for Count Down Special Day
Reply With Quote #1

First of all, this plugin is different from CountDown for Specified Event.

just see the code carefully.

you should add a line like this:
Code:
"New Year" "20110101" "125090125" "2" "There is(are) %daynum% day(s) to %event%."
into the cd_time.ini.

Note that :you can add more special days as you like .

somebody said I copy anothe code, so, I want to say if you don't like this plugin, this not for you ,!

any suggestions, please post here !

cvars:
Code:
week_name_utf8 1 //for cn version, 默认为开启,把英文转换为中文
 
time_interval 30 //this is like the imessage's cvar amx_freq_imessage
usage:
"Event" "event date" "HUD text color" "HUD text effect(0,1,2)" "Text"

Code:
%year% -- year
%month% -- month
%day% -- day
%hour% -- hour
%minute% -- minute
%second% -- second
%weekname% -- week name
%event% -- event name
%map% -- current map name
%daynum% -- for count down day num


changelog:
Code:
1.0 -- First release
1.1 -- fixed the count down way
1.2 -- fixed some error code
Attached Thumbnails
Click image for larger version

Name:	cd1.jpg
Views:	2051
Size:	7.9 KB
ID:	71136   Click image for larger version

Name:	cd2.jpg
Views:	2089
Size:	7.4 KB
ID:	71137   Click image for larger version

Name:	cd3.jpg
Views:	2051
Size:	6.4 KB
ID:	71138  
Attached Files
File Type: sma Get Plugin or Get Source (countdown_cn.sma - 938 views - 4.6 KB)
File Type: sma Get Plugin or Get Source (countdown_en.sma - 1023 views - 3.9 KB)
File Type: ini cd_time.ini (450 Bytes, 416 views)
__________________
QQ:116268742

Last edited by K.K.Lv; 08-05-2010 at 00:31.
K.K.Lv is offline
Send a message via MSN to K.K.Lv
xakintosh
I run no-steam servers!
Join Date: Feb 2010
Location: Edge of nowhere
Old 08-04-2010 , 03:49   Re: New Way for Count Down Special Day
Reply With Quote #2

nice one ;]
xakintosh is offline
Send a message via Yahoo to xakintosh Send a message via Skype™ to xakintosh
FragOwn
Senior Member
Join Date: Jun 2010
Old 08-04-2010 , 07:18   Re: New Way for Count Down Special Day
Reply With Quote #3

Quote:
Originally Posted by xakintosh View Post
nice one ;]
__________________
We can't aim, but we can kill.
FragOwn is offline
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 08-04-2010 , 15:37   Re: New Way for Count Down Special Day
Reply With Quote #4

Quote:
Originally Posted by FragOwn View Post
nice one ;]
__________________
Retired.

Last edited by Xalus; 08-04-2010 at 15:46.
Xalus is offline
Vechta
Veteran Member
Join Date: Jun 2010
Old 08-04-2010 , 15:37   Re: New Way for Count Down Special Day
Reply With Quote #5

Quote:
Originally Posted by xakintosh View Post
nice one ;]
Vechta is offline
a.aqua
Senior Member
Join Date: Jul 2009
Location: Russia
Old 08-04-2010 , 15:51   Re: New Way for Count Down Special Day
Reply With Quote #6

Quote:
Originally Posted by xakintosh View Post
good job ;]
__________________
a.aqua is offline
Send a message via ICQ to a.aqua
a.aqua
Senior Member
Join Date: Jul 2009
Location: Russia
Old 08-04-2010 , 15:54   Re: New Way for Count Down Special Day
Reply With Quote #7

Mmm.. Maybe MySQL?
__________________
a.aqua is offline
Send a message via ICQ to a.aqua
K.K.Lv
Veteran Member
Join Date: Aug 2008
Location: GameFolder
Old 08-05-2010 , 00:30   Re: New Way for Count Down Special Day
Reply With Quote #8

Quote:
Originally Posted by a.aqua View Post
Mmm.. Maybe MySQL?

but I have not SQL server to test it !!
so ,,,,,,,,,,
__________________
QQ:116268742
K.K.Lv is offline
Send a message via MSN to K.K.Lv
a.aqua
Senior Member
Join Date: Jul 2009
Location: Russia
Old 08-05-2010 , 06:34   Re: New Way for Count Down Special Day
Reply With Quote #9

Quote:
Originally Posted by K.K.Lv View Post
but I have not SQL server to test it !!
so ,,,,,,,,,,
Steam profile? I can provide for you.
__________________
a.aqua is offline
Send a message via ICQ to a.aqua
K.K.Lv
Veteran Member
Join Date: Aug 2008
Location: GameFolder
Old 08-05-2010 , 08:14   Re: New Way for Count Down Special Day
Reply With Quote #10

Quote:
Originally Posted by a.aqua View Post
Steam profile? I can provide for you.
i remake a code support the SQL and file !

but the SQL way i have not test it !
this the source for you , open the source and enable this line
PHP Code:
//#define USING_SQL 
tell me if it work ,and I will post it on the topic
Attached Files
File Type: sma Get Plugin or Get Source (countdown_en_sql.sma - 716 views - 6.9 KB)
__________________
QQ:116268742
K.K.Lv is offline
Send a message via MSN to K.K.Lv
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:06.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode