View Single Post
Author Message
retsam
Veteran Member
Join Date: Aug 2008
Location: so-cal
Old 07-27-2010 , 22:17   [TF2] Fire Arrows (0.2)
Reply With Quote #1

[TF2] Fire Arrows (0.2)


This plugin was done to fulfill a request....

Description:

Pretty simple. Makes all huntsman arrows fire arrows......


Requirements/Install:

- SDKHooks version requires SDKHooks(obviously)
- Place .smx into the plugins folder.(duh!)
- Place the below cvars into -> cfg/sourcemod.cfg

Note: I have included 2 copies. One version uses SDKhooks. The only real reason for this is, some people might have crits disabled, so you would want the sdkhooks version instead. The non-sdkhooks version uses the crits function to flame the arrows.


Cvars:
sm_firearrows_enabled "1" //Enable firearrows plugin?(1/0 = yes/no)
sm_firearrows_adminonly "0" //Enable firearrows for admins only? (1/0 = yes/no)
sm_firearrows_adminflag "b" //Admin flag to use if adminonly is enabled (only one). Must be a in char format.



Changelog:

Code:
8/16/10 - v0.2 - Added root flag check.
7/27/10 - v0.1 - Initial release.


*Credits: Thanks to psychonic for SDKHooks suggestion*
Attached Files
File Type: sp Get Plugin or Get Source (firearrows.sp - 2644 views - 3.0 KB)
File Type: sp Get Plugin or Get Source (firearrows_sdkhooks.sp - 778 views - 6.0 KB)
File Type: smx firearrows_sdkhooks.smx (3.8 KB, 11657 views)
__________________

Last edited by retsam; 08-16-2010 at 14:33.
retsam is offline