owner_2019 Opublikowano Czerwiec 3, 2016 o 01:16 Udostępnij Opublikowano Czerwiec 3, 2016 o 01:16 Complete rewrite of my old Powerups plugin, with some ideas from RTD Revamped!DescriptionThis plugin allows players to buy powerups using points that they get by playing on your server.How does it works?While a player is on your server, he will get points for: - Playing (Time) - Doing map objectives (Incoming in future releases) - Killing other players (Incoming in future releases) When the player have enough points, he will be able to buy powerups by accessing the shop menu (!powerups).Commandssm_powerups or !powerups in the chat to open the shop menu.sm_addpoints <player name/steam id> <quantity> - Adds points to a given player account.sm_removepoints <player name/steam id> <quantity> - Removes points from a given player account.sm_forcepowerup <player name> <powerup> - Forces a powerup to some player. (<powerup> parameter is the powerup number in "ps_powerups.txt").Install InstructionsDownload the .zip and extract into "...\addons\sourcemod" folder.ConfigurationWhen you run the plugin for the first time, a .cfg named "plugin.powerups_shop" will be generated in your "...\cfg\sourcemod" folder. Modify that file to customize the plugin settings. All players informations are stored in "...\addons\sourcemod\data" folder, as a text file named "ps_players". All powerups settings are stored in "...\addons\sourcemod\configs" folder as a text file named "ps_powerups".Changelog Spoiler 0.8 - Beta Release Credits Spoiler Thanks! for these cool people:ddhoward Advanced users: Compilation and custom powerups Check #template.sp in "...\addons\sourcemod\scripting\include\power ups" folder to a tutorial on how to create custom powerups. If you get warnings in the compilation, don't worry about that, these warnings are for the unused hook interfaces for powerups that users creates or for future updates powerups. Thanks for choosing my plugin! Attached Files powerups_shop.zip (29.6 KB) Get Plugin or Get Source (powerups_shop.sp - 21.0 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ę