View Single Post
Author Message
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 05-16-2011 , 05:57   [Any] Ninja Leap
Reply With Quote #1

[Any] Ninja Leap
Version 1.0.2



Description:
Leap around through the air like a Ninja! Or maybe a Hunter!
... Or a Ninja Hunter!

Video:
http://www.youtube.com/watch?v=1CgqWlwzleM

Commands:
  • ninjaleap [Power] [Angle] - Leap through the air!
    Power and Angle are optional, and will use the default values that can be set in a cvar below.
  • leap - Same as above
Examples:
  • leap 1500 -45
    Would launch the player upwards at a 45 degree angle with 1500 force.
  • ninjaleap 1000 -90
    Would launch the player straight up at 1000 force.


Cvars:
  • sm_ninjaleap_version - Plugin Version
  • sm_ninjaleap_enable "1" - Enable/Disable the plugin
  • sm_ninjaleap_power "1000" -The default force to use if the player doesn't specify.
  • sm_ninjaleap_angle "-30" - The default angle to use if the player doesn't specify.
  • sm_ninjaleap_log "0" - Whether or not to log leap actions.
  • sm_ninjaleap_admin "0" - Set to 1 to make the plugin admin-only.

Override:
Use sm_ninjaleap_override in your overrides config to change the flag needed for admins when in admin-only mode.
Default flag is Slay.

Install Instructions:

  1. Drag and drop.

Notes:
-

Version History:
  • V1.0.0
    • Initial Release
  • V1.0.1
    • Stupid typo with CheckCommandAccess
  • V1.0.2
Total downloads as prior to last edit: 284
Attached Files
File Type: sp Get Plugin or Get Source (NinjaLeap.sp - 1507 views - 3.1 KB)
__________________

Last edited by DarthNinja; 08-11-2013 at 12:19.
DarthNinja is offline