Raised This Month: $32 Target: $400
 8% 

[TF2] Give Powerups [2.0.0, 15/05/2020]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Mayor Gamer
Senior Member
Join Date: Nov 2012
Location: GetLocationOfUser(me);
Plugin ID:
5273
Plugin Version:
2.0.0
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    Allows admins to give players a powerup from Mannpower.
    Old 07-05-2016 , 12:58   [TF2] Give Powerups [2.0.0, 15/05/2020]
    Reply With Quote #1

    [TF2] Give Powerups
    Version 2.0.0


    Description:
    This plugin gives admins the capability of giving players a powerup from Mannpower.
    It has a menu implemented for simplicity and individual commands for each powerup in case you want to give it to the whole server or something.

    This plugin requires the convar tf_powerup_mode to be 1, or else the powerups WILL be given but won't have any effect.
    Commands:

    All commands available (Admin Flag required: Generic)
    1. sm_givepower [Power Name] [Player] - Gives a Mannpower rune to a player.
    2. sm_removepower [Player] - Removes all runes from a player.
    3. sm_powerups - Prints out a list of all available Powerup Names to use with sm_givepower
    4. sm_powermenu - Opens up a Powerup menu.
    Credits:
    FlaminSarge: Looked his code from the Give Weapon plugin for player targeting. Thank you <3
    Changelog:

    Spoiler

    Attached Files
    File Type: sp Get Plugin or Get Source (give-powerups.sp - 187 views - 7.7 KB)
    File Type: smx give-powerups.smx (7.1 KB, 213 views)
    __________________

    Last edited by Mayor Gamer; 05-15-2020 at 12:21. Reason: Full code rewrite
    Mayor Gamer is offline
    Mayor Gamer
    Senior Member
    Join Date: Nov 2012
    Location: GetLocationOfUser(me);
    Old 07-05-2016 , 13:01   Re: [TF2] Give Powerups [1.0.0, 07/05/16]
    Reply With Quote #2

    Reserved-
    __________________
    Mayor Gamer is offline
    awesome144
    Senior Member
    Join Date: Jul 2014
    Location: In lala land
    Old 07-05-2016 , 19:38   Re: [TF2] Give Powerups [1.0.0, 07/05/16]
    Reply With Quote #3

    Conflicting plugins?
    __________________
    ⎛⎝Officer Spy⎠⎞


    awesome144 is offline
    Mayor Gamer
    Senior Member
    Join Date: Nov 2012
    Location: GetLocationOfUser(me);
    Old 07-05-2016 , 20:18   Re: [TF2] Give Powerups [1.0.0, 07/05/16]
    Reply With Quote #4

    Quote:
    Originally Posted by awesome144 View Post
    That plugin is able to BUY the powerups trough a point system. This one gives them to a player on admin command. Completely different plugins.
    __________________
    Mayor Gamer is offline
    whiteskypony
    Member
    Join Date: Jun 2015
    Location: vsh_crevice_b5
    Old 07-05-2016 , 22:16   Re: [TF2] Give Powerups [1.0.0, 07/05/16]
    Reply With Quote #5

    Quote:
    Originally Posted by Mayor Gamer View Post
    That plugin is able to BUY the powerups trough a point system. This one gives them to a player on admin command. Completely different plugins.
    He mean, that you cant have this plugin and that other at the same time, since both commands are the same sm_powerups. Thats why it conflict.

    Is what i pointed you early today on steam.
    __________________
    Steam | Vidya Servers | Discord: Maximo#5396 / kitsumy.


    whiteskypony is offline
    Mayor Gamer
    Senior Member
    Join Date: Nov 2012
    Location: GetLocationOfUser(me);
    Old 07-06-2016 , 11:54   Re: [TF2] Give Powerups [1.0.0, 07/05/16]
    Reply With Quote #6

    Quote:
    Originally Posted by whiteskypony View Post
    He mean, that you cant have this plugin and that other at the same time, since both commands are the same sm_powerups. Thats why it conflict.

    Is what i pointed you early today on steam.
    Ah, tought he meant the other way around . Sorry for misunderstanding, changed the powerup menu command from sm_powerups to sm_powermenu.
    __________________

    Last edited by Mayor Gamer; 07-06-2016 at 11:56.
    Mayor Gamer is offline
    Mayor Gamer
    Senior Member
    Join Date: Nov 2012
    Location: GetLocationOfUser(me);
    Old 05-15-2020 , 12:24   Re: [TF2] Give Powerups [2.0.0, 15/05/2020]
    Reply With Quote #7

    Plugin has been updated.
    Quote:
    Version 2.0.0 (15/05/2020)
    Code:
    - Full code rewrite.
    - Compressed all powerup commands into one.
    - Fixed not all powerups working as intended (check red text at the top of the post for info.)
    __________________
    Mayor Gamer is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 01:41.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode