View Single Post
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 12-29-2014 , 18:36   Re: [TF2] Conga Time Limit 0x01 (Last updated *Today* 12/29/2014 | 12:37PM CDT)
Reply With Quote #2

Because LOBSTERS


You don't need to check if a player is in a cond before removing it, you can just remove it with the native.
public OnEntityCreated(iEnt, const String:szClassname[]) << don't use this
use OnConditionAdded > check for taunting, and then you can check the taunt index. This would work 100% of the time, everytime. You could then use a global float to save their last start/cancellation and block the conga using requestframe or w/e from OnConditionAdded, so they can't start it again until your delay. If they arn't on cooldown, fire a timer to kill it and set the cd.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.

Last edited by friagram; 12-29-2014 at 18:38.
friagram is offline