records plugin

Started by poison_art
31/03/2008 18:23
Page 1 of 1
poison_art31/03/2008 18:23(edited 31/03/2008 18:24)

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

MaHy31/03/2008 21:55(edited 01/04/2008 11:59)

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

poison_art31/03/2008 22:15

)) ok. try it later. thx

StormZz01/04/2008 14:36

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

poison_art01/04/2008 15:09

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

Page 1 of 1

Please log in to post replies.