View Single Post
Author Message
Zuko
SourceMod Donor
Join Date: Sep 2006
Location: Poland
Old 08-04-2009 , 19: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, 2644 views)
File Type: inc colors.inc (11.0 KB, 1639 views)
File Type: sp Get Plugin or Get Source (setuber.sp - 1609 views - 10.3 KB)
File Type: smx setuber.smx (8.9 KB, 2613 views)
__________________

Last edited by Zuko; 01-08-2010 at 05:45. Reason: update to 1.3
Zuko is offline
Send a message via ICQ to Zuko