records plugin
I made plugin for our community (Russian). Its shows current world record, russian record and difference.
I think, its may be usefull for others communities. U can just go to .sma file and read comments. All u need - just change variable country_tag(need to display) to ur country (example: "Germany") and recompile .sma file.
If u r from Russia - plugin ready to work.
So u need 2 files - demos.txt (http://xtreme-jumps.eu/demos.txt) and records.txt (from ur country web-site).
Its my first work with plugins code, so if u find bugs - post here, and maybe(probably) it can be optimized.
I used code from wr plugin.
plugin - http://www.sendspace.com/file/yewsi7
sor for eng.
<3 all
sorry for Russian becous i cant said it in English )))
Хех тут часть кода моя из плагина maptime )))
токо поменяй format(filename_wr, 127, "addons/amxmodx/configs/demos.txt")
на
new configsdir[64]
get_configsdir (configsdir, sizeof (configsdir))
format (filename_wr,sizeof(gConfigFile),"%s/demos.txt",configsdir)
потому что у некоторых путь до файла может быть к примеру
addons/amxx/configs/demos.txt
)) ok. try it later. thx
The admins of all communities should all have a demo.txt so one good coder can do a whole community.amxx.
Then u could view this records for example with typing /ger /fr /ru.
Would be great so come on community admins =)
Climbers-Germany has such a plugin already with the cg recs made by Schlumpf
i doesn't know. there is little interest to know which records have any another countries, but its hard to watch for every release in countries. its not difficult to overwrite plugin to use number of countries that u want
Please log in to post replies.