RSSy MYGO.pl Opublikowano Luty 19, 2018 o 07:07 RSSy Udostępnij Opublikowano Luty 19, 2018 o 07:07 Description: This plugin allows each player in the game/server to view all of the attributes/stats (such as damage, maximum ammo, functions, maximum clip, etc.) of each weapon in the game.WARNING! The one here I posted is the BETA version while the other two (versions 1.1 and 1.2) are still being finalized by me. Don't expect other features yet because for now, it only displays the stats of other weapons (specifically gascans, propane and oxygen tanks, and firework crates). ConVars: "weapon_stats-l4d2_version" - "1.0" (Version of this plugin) "ws-l4d2_warnings" - "1" (Enable/Disable warnings this plugin makes) Commands: "sm_weapon_stats" \ "sm_wstats" > Displays all weapons' statistics "sm_weapons" / Error Codes: PHP Code: /* * [L4D2] Weapon Stats plugin - Error Codes * * In here, all of the errors reported by the plug-in itself are found. * If you don't know what these errors are exactly, you can use this * for reference. * * Feel free to copy this as I am giving you the right to do so. * This can also be useful if you are not the one running your * server as this can serve as a guide for your server host to know * if in case the plug-in starts reporting these errors. * * These error codes may change in every update, so don't hesitate to * update the previous one you've copied or check again in this plug-in's * thread found in the forums. * * Without any further ado, please familiarize yourself with the * error codes below whilst sitting back, watching as your server * goes smoothly and the plug-in performs its duty, and (probably) * helping yourself with a warm cup of tea. :) */ : WSP-EC-00 = Left 4 Downtown 2 extension cannot be found or is not installed. : WSP-EC-01 = (*A) "weapon_stats-l4d2.cfg" was not found in SM's data folder. = (*B) "weapon_stats.phrases.txt" was not found in SM's translations folder. : WSP-EC-02 = Another config file of the plug-in was found in [your L4D2 dir]/cfg/sourcemod folder. Please delete it if you recompiled/updated the plug-in. : WSP-EC-03 = A client (server console or not in game) tried to access the command. : WSP-EC-04 = A malfunction has occurred while translating the text for a client's menu. It could be that [1] the menu was no longer valid, [2] the text used for translation was left blank, or [3] the client was no longer in the server. : WSP-EC-05 = Displaying other weapons' stats was incomplete. Only reason is client not in the server anymore. = (*A) Occurred during displaying the stats for gascans. {Sub} >[1] "gasoline_cans" was incorrectly placed or missing in the data file. As a result, the plug-in will default back to English language. >[2] "function" had another string besides "WS_GC_Function". Probably set to another language that this plug-in hasn't supported yet. >[3] same as [2] but this time, it's from the "special" key value having another string besides "WS_OW_Special". >[4] same as [2] but this time, it's from the "problem" key value having another string besides "WS_OW_Problem". = (*B) Occurred during displaying the stats for propane tanks. {Sub} >[1] "propane_tanks" was incorrectly placed or missing in the data file. As a result, the plug-in will default back to English language. >[2] "function" had another string besides "WS_PT_OT_Function". Probably set to another language that this plug-in hasn't supported yet. >[3] same as [2] but this time, it's from the "special" key value having another string besides "WS_OW_Special". >[4] same as [2] but this time, it's from the "problem" key value having another string besides "WS_OW_Problem". = (*C) Occurred during displaying the stats for oxygen tanks. {Sub} >[1] "oxygen_tanks" was incorrectly placed or missing in the data file. As a result, the plug-in will default back to English language. >[2] "function" had another string besides "WS_PT_OT_Function". Probably set to another language that this plug-in hasn't supported yet. >[3] same as [2] but this time, it's from the "special" key value having another string besides "WS_OW_Special". >[4] same as [2] but this time, it's from the "problem" key value having another string besides "WS_OW_Problem". = (*D) Occurred during displaying the stats for firework crates. {Sub} >[1] "firework_crates" was incorrectly placed or missing in the data file. As a result, the plug-in will default back to English language. >[2] "function" had another string besides "WS_PT_OT_Function". Probably set to another language that this plug-in hasn't supported yet. >[3] same as [2] but this time, it's from the "special" key value having another string besides "WS_OW_Special". >[4] same as [2] but this time, it's from the "problem" key value having another string besides "WS_OW_Problem". Bugs: None, hopefully. It is in beta, after all. :) Installation: Click "Get Plugin" and place the compiled .smx file to your SM's plugin folder. Download and place the .cfg file in your SM's data folder. Download and place the .txt file in your SM's translations folder. Start up server and see if it works. If not, repeat. :) Notes: Should I put this up in GitHub? Remember that this is still in beta version. Other features which can be found in newest versions (that are still being fixed) are not included. Screenshots will be posted soon about the other versions. Current languages supported are English, Chinese, and Japanese. You can share the translations in your dialect and of course, be given with credits. Changelog: 02-19-2016: First release. Attached Files Get Plugin or Get Source (weapon_stats-l4d2.sp - 33.0 KB) weapon_stats-l4d2.cfg (499 Bytes) weapon_stats.phrases.txt (6.6 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ę