Monthly Target: $400 Donations: $147
 36% 

Admin Powers: Set Uber Charge Amount


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Zuko
SourceMod Donor
Join Date: Sep 2006
Location: Poland
Plugin ID:
1066
Plugin Version:
1.3
Plugin Category:
Admin Commands
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    16 
    Plugin Description:
    Plugin allows admins to set uber charge amount
    Old 08-04-2009 , 20:45   Admin Powers: Set Uber Charge Amount
    Reply With Quote #1

    Admin Powers: Set Uber Charge Amount 1.3

    Description:
    This plugin allows admins with kick flag to set über charge amount.
    Flag can be changed on line 47.

    Commands:
    • sm_setuber
      Usage: <#userid|name> <amount>
      Gives über amount to indicated player
    • sm_sume
      Usage: <amount>
      Gives über amount to you
    • sm_autouber
      Usage: <#userid|name> <amount>
      Gives über amount to indicated player on spawn
      (if he still is a medic)

    ConVars:
    • sm_setuber_enable - Enable/Disable Plugin
      0 = Disable | 1 = Enable
      Default: "1" - Enable
    • sm_setuber_chat_notify - Chat Notifications
      (0 = Off | 1 = Target | 2 = All)
      Default: "1" - Target
    • sm_autouber_chat_notify - Chat Notifications for Auto-Über
      (0 = Off | 1 = Target | 2 = All)
      Default: "1" - Target

    Changelog:
    • Version 1.0 (05.08.09)
      • Initial Release
    • Version 1.1 (27.08.2009)
      • Fixed sm_setuber command (ups )
      • Added sm_sume command
      • Minor changes in translations
    • Version 1.2 (14.09.2009)
      • Added sm_autouber
      • Added colors to translations
      • Minor fixes
      • Minor changes in translations
    • Version 1.3 (08.01.2010)
      • Targeting bug fix
    Installation:
    Precompiled version:
    • Put setuber.smx to sourcemod/plugins
    • Put setuber.phrases.txt to sourcemod/translations
    Source (to compile locally)
    • Put setuber.sp to sourcemod/scripting
    • Put colors.inc to sourcemod/scripting/include
    • Put setuber.phrases.txt to sourcemod/translations
    Known bugs:
    • None
    Another Admin Powers plugins:

    If you like this plugin give me karma.
    Attached Files
    File Type: txt setuber.phrases.txt (4.1 KB, 1859 views)
    File Type: inc colors.inc (11.0 KB, 1043 views)
    File Type: sp Get Plugin or Get Source (setuber.sp - 937 views - 10.3 KB)
    File Type: smx setuber.smx (8.9 KB, 1808 views)
    __________________

    Last edited by Zuko; 01-08-2010 at 06:45. Reason: update to 1.3
    Zuko is offline
    Send a message via ICQ to Zuko
    Sexual Harassment Panda
    Veteran Member
    Join Date: Dec 2008
    Location: San Diego, CA
    Old 08-05-2009 , 03:54   Re: [TF2] Set Uber Charge Amount 1.0
    Reply With Quote #2

    cool idea zuko.
    __________________
    Sexual Harassment Panda is offline
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 08-28-2009 , 15:21   Re: [TF2] Set Uber Charge Amount 1.0
    Reply With Quote #3

    updated, but not tested completely. (new version soon)
    __________________
    Zuko is offline
    Send a message via ICQ to Zuko
    berni
    SourceMod Plugin Approver
    Join Date: May 2007
    Location: Austria
    Old 09-11-2009 , 10:45   Re: [TF2] Set Uber Charge Amount 1.1
    Reply With Quote #4

    Waiting for the update to approve this.

    You should add the ConVar Flag FCVAR_DONTRECORD to your ConVar setuber_version.
    __________________
    Why reinvent the wheel ? Download smlib with over 350 useful functions.

    When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
    powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0

    Last edited by berni; 09-11-2009 at 12:46.
    berni is offline
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 09-11-2009 , 12:43   Re: [TF2] Set Uber Charge Amount 1.1
    Reply With Quote #5

    ok, i will add this soon (with new version), could you look at my other 'new' plugins ;-)
    __________________
    Zuko is offline
    Send a message via ICQ to Zuko
    ChoclatePancake
    Junior Member
    Join Date: Sep 2009
    Old 09-13-2009 , 14:12   Re: [TF2] Set Uber Charge Amount 1.1
    Reply With Quote #6

    Whenever I try it, it says "sm_setuber <#3 | {GCN} ChoclatePancake> <100>
    [SM] No matching client was found."
    ChoclatePancake is offline
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 09-13-2009 , 15:03   Re: [TF2] Set Uber Charge Amount 1.1
    Reply With Quote #7

    on you: sm_setuber @me 100
    on someone else: sm_setuber "nick with space" 100
    __________________
    Zuko is offline
    Send a message via ICQ to Zuko
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 09-14-2009 , 14:10   Re: Admin Powers: Set Uber Charge Amount
    Reply With Quote #8

    updated to ver. 1.2
    __________________
    Zuko is offline
    Send a message via ICQ to Zuko
    Finest
    Member
    Join Date: Dec 2006
    Location: New York
    Old 11-17-2009 , 21:07   Re: Admin Powers: Set Uber Charge Amount
    Reply With Quote #9

    Hey, I'm just wondering can this be used to give Donators like +15% Uber already on spawn, with out and admin giving it to them? If not is there a plugin that does that? Thanks.
    __________________
    Finest is offline
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 01-08-2010 , 06:49   Re: Admin Powers: Set Uber Charge Amount
    Reply With Quote #10

    updated to version 1.3
    __________________
    Zuko is offline
    Send a message via ICQ to Zuko
    Reply


    Thread Tools
    Display Modes

    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 12:52.


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