View Single Post
Author Message
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 12-23-2010 , 18:00   [TF2] Power Play
Reply With Quote #1

[TF2] Power Play
Version 1.5.3




Description:
Gives you unlimited crits + uber without needing a medic. (Aka, the Robin Walker Uber).

I wrote this ages ago when TF2_SetPlayerPowerPlay was added [to replace my version that used offsets].
Mecha released his version first so I never posted mine. Now that his is unapproved I figured I might as well release my version.

Commands:

  • sm_powerup <client> <1/0>
  • sm_powerplay - same as above
  • sm_pp - same as above
Examples:
sm_powerplay - Toggles powerplay on the admin running the command
sm_powerplay @all 1 - Turns on powerplay for all players
sm_powerplay @all 0 - Turns off powerplay for all players
Cvars:
sm_powerplay_version - Plugin Version

Note: The default admin level for the commands is "slay", but the admin level for targeting other players is "ban" (or whatever you set with the override).
This is for if you want all admins to have sm_powerup access, but only higher level admins to be able to target other players.

To change the group targeting admin flag, just add sm_powerplay_override to your override config with the new admin flag.


Install Instructions:
  1. Place PowerPlay.smx into your addons/sourcemod/plugins/ folder.
ToDo:
  • ~
Version History:
  • V1.5.0
    • Initial release
  • V1.5.1
    • Now uses CheckCommandAccess
  • V1.5.2
    • Removed unused admin flag cvar left from V1.5.0/1.5.1 update
  • V1.5.3
    • Changed to use SM1.4 compiler
    • Added common.phrases


Total Downloads prior to last update: 888
Attached Files
File Type: sp Get Plugin or Get Source (PowerPlay.sp - 7093 views - 3.5 KB)
__________________

Last edited by DarthNinja; 07-07-2012 at 17:48.
DarthNinja is offline