RSSy MYGO.pl Opublikowano Październik 8, 2018 o 12:17 RSSy Udostępnij Opublikowano Październik 8, 2018 o 12:17 [Retake RWS] Hello guys, I'm SoLo. Currently running A CS:GO Community Server in Hong Kong called HKHBC. I made my very first plugin called Round Win Share for Retake. It's a Rating System based on the Damage done by the player. Compared to other rating systems, RWS is more suitable for retake's limitations. This RWS system is not fully the same as other RWS system,s it has a few differences: When the player disconnects, the plugin will calculate their RWS by how many rounds they have played. The RWS system doesn't count the PLANTING BOMB or DEFUSING BOMB as a validate RWS action. The RWS system only counts the damage that done by the player. Requirements: A MySQL DatabaseHow to use: 1.Download the plugin 2.Create a new table in your MySQL database with the following SQL: PHP Code: CREATE TABLE IF NOT EXISTS `rws` ( `id` int(11) NOT NULL AUTO_INCREMENT, `steam` char(255) CHARACTER SET latin1 NOT NULL, `rws` float UNSIGNED NOT NULL DEFAULT '0', `rwscount` int(10) UNSIGNED NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; 3.Configure your /addons/sourcemod/configs/database.cfg and create a Database Entry for the plugin PHP Code: "RRWS" { "driver" "default" "host" "<host of your database>" "database" "<name of the database" "user" "<username of the database>" "pass" "<password of the database>" } How to compile: This plugin uses a color library called <kento_csgocolors> by Kento His profile: rogeraabbccdd You need to have <kento_csgocolors> in order to compile this plugin. if you do not have the library, just change the PPrintToChat, PPrintToChatAll, CPrintToChat and CPrintToChatAll to PrintToChat and PrintToChatAll.Notice: Since this is my very first plugin, the plugin is poorly-written, which may contain bugs. Leave all your problems in the GitHub Repository GitHub:https://github.com/dickylau20/Retakes-RWS Quote: Attachment 171767Attachment 171768 Attached Files Get Plugin or Get Source (retakes_rws.sp - 11.6 KB) retakes_rws.smx (12.7 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się