GLOBALELITE.PL GLOBALELITE.pl 83 Napisano 3 Czerwca 2016 Share Napisano 3 Czerwca 2016 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 "...addonssourcemod" folder.ConfigurationWhen you run the plugin for the first time, a .cfg named "plugin.powerups_shop" will be generated in your "...cfgsourcemod" folder. Modify that file to customize the plugin settings.All players informations are stored in "...addonssourcemoddata" folder, as a text file named "ps_players".All powerups settings are stored in "...addonssourcemodconfigs" 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 powerupsCheck #template.sp in "...addonssourcemodscriptingincludepower ups" folder to a tutorial on how to create custom powerups.If you get warning in the compilation, don't worry about that, these warning 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 odpowiedzi Udostępnij na innych stronach
Rekomendowane odpowiedzi