View Single Post
Plugin Info:     Modification:          Category:          Approver:   Arkshine (91)
K.K.Lv
Veteran Member
Join Date: Aug 2008
Location: GameFolder
Old 08-03-2010 , 23: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:	2280
Size:	7.9 KB
ID:	71136   Click image for larger version

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

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

Last edited by K.K.Lv; 08-04-2010 at 23:31.
K.K.Lv is offline
Send a message via MSN to K.K.Lv