This plugin will only work for BrainBread
Description:
This plugin will save all of your stats to a MySQL server, which multiple servers can use w/o needing to copy players.lvl.
Tested on:
* brainbread v1.2 (metamod v1.21p37 + amxmodx 1.8.2)
Server requirements:
* brainbread
* amxmodx 1.8x
* mysqld
Client commands:
/autoload -- Will auto load the skills
/reset -- Resets your skills and in return it converts them back to points.
/loadpoints -- Load your points if you don't have autoload enabled
How it works:
Simply copy the bb_stats.amxx to your plugins folder and add bb_stats.amxx under configs/plugins.ini file.
Now open configs/sql.cfg and add the new commands:
bb_host "127.0.0.1"
bb_user "root"
bb_pass ""
bb_type "mysql"
bb_dbname "my_database"
bb_table "bb_stats"
Special Thanks:
* Noname for helping me fix the EXP bug
* XxAvalanchexX for his amazing brainbread include file
changelog:
v1.2 [2015-01-06]
* Added a new client command "load points"
* Fixed some minor bugs
* It will now always start with "autoload" disabled when a new user has been created on the SQL.
v1.1 [2015-01-06]
* Fixed some typos on the SMA
* Added concommands
v1.0 [2015-01-06]
* Initial release
Notes:
This plugin is similar to noname's SQL plugin, but he never released it due to a HDD crash. And I want to thank him for helping me fixing the EXP bug! And I have also updated XxAvalanchexX brainbread.inc file, so now it can get and set/add new EXP.
download:
GitHub
or look on the attachments below!
Attached Files a class= brainbread.inc(12.6 KB) a class= GetPlugin or GetSource (bb_stats.sma - 11.8 KB) Wyświetl pełny artykuł
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse

BrainBread Stats
Temat rozp. Adminek AMXX.PL, 06.01.2015 12:00
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych