RSSy MYGO.pl Opublikowano Kwiecień 29, 2021 o 00:28 RSSy Udostępnij Opublikowano Kwiecień 29, 2021 o 00:28 Descptions: Well, it is a plugin updated from [L4D2] Item buying System v1.36 I re-coded the source and updated more functions. Features:Save functions (Using SQLite Database) More useful information for clients Collected all items into the shop Special Functions (Trial / Permanent) Special Bag (Enable/Disable Special Functions) Points Transfer Handling Fee (for Points Transfer only) Admin Menu (Reward, Confiscate, Set) Log actions to the log file Multiple Languages New code style etc. How to use?Type !buy in the game to open Shop menu. type !admin and find 'Shop Commands' to open the shop admin menu type !kill to suicide Edit an item cost in the cfg to -1 to disable the item You can copy others plugin functions to make your own special functions. When will save points? To avoid making the server lag, I just added two triggers for it.Round end Player disconnected Some cfg: Code: // Will server save points? 0=OFF, 1=On db_on "1" // Will clear points every round? 0=OFF, 1=On (works with db_on=0 only) cvar_round_clear_on "0" // Will notify all players when a player buy an item? 0=OFF, 1=On cvar_buy_notify_all_on "1" // How many points a flamethrower costs. -1=Disabled cvar_cost_flamethrower "-1" Notice: I have just tested on Coop, versus is not tested. If you use it on versus, and found some bugs, please feel free to let me know. Pre-Installation: Nope. Installation: Just unzip it to the sourcemod directory. Translations: Only en, zho, chi Attached Files Get Plugin or Get Source (l4d2_shop.sp - 106.3 KB) l4d2_shop.zip (82.3 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi