View Single Post
retsam
Veteran Member
Join Date: Aug 2008
Location: so-cal
Old 05-20-2010 , 04:47   Re: [TF2] Smoke Weed Every Day
Reply With Quote #9

Ya. I recoded a handful of things myself.

this: new String:input[512]; should be PLATFORM_MAX_PATH as far as I know.

I also added TIMER_FLAG_NO_MAPCHANGE to the timer(not that big of a deal but itll make sure the timer callback isnt run if its in the middle of changing maps).

Also, I moved some stuff around. Your taunt_timer, youre getting the clientweapon before checking if the clients are valid or alive. I thought that might cause errors.

Anyways, the plugin is exploitable. Youll need to use some method to make sure they cant spam it. Small little flaw I noticed, if you jump off a ledge hitting the taunt key, itll exec many timers and spam(since the player isnt actually taunting while falling/jumping, so it bypasses the check). Should be a fairly easy fix though. I used a bool and check to fix this myself.

Last edited by retsam; 05-20-2010 at 05:17.
retsam is offline