Raised This Month: $51 Target: $400
 12% 

[TF2] Killing a timer in a handle


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Michalplyoutube
Veteran Member
Join Date: Jan 2013
Location: Tank Carrier in Mannhatt
Old 02-28-2015 , 10:35   [TF2] Killing a timer in a handle
Reply With Quote #1

So the problem is how I can kill a handle that a chosen client is in?
__________________
The plugin developer of TF2BWR Reborn
And a TF2 Player
Michalplyoutube is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 02-28-2015 , 11:19   Re: [TF2] Killing a timer in a handle
Reply With Quote #2

KillTimer(hHandle)
__________________
Chdata is offline
Michalplyoutube
Veteran Member
Join Date: Jan 2013
Location: Tank Carrier in Mannhatt
Old 02-28-2015 , 16:06   Re: [TF2] Killing a timer in a handle
Reply With Quote #3

Quote:
Originally Posted by Michalplyoutube View Post
So the problem is how I can kill a handle that a chosen client is in?
I want to kill timer in handle with client in it.
__________________
The plugin developer of TF2BWR Reborn
And a TF2 Player
Michalplyoutube is offline
Darkness_
Veteran Member
Join Date: Nov 2014
Old 02-28-2015 , 16:15   Re: [TF2] Killing a timer in a handle
Reply With Quote #4

Quote:
Originally Posted by Michalplyoutube View Post
I want to kill timer in handle with client in it.
KillTimer(g_timerHandle[client]);

If that's not what you mean then just post your code.

Last edited by Darkness_; 02-28-2015 at 16:15.
Darkness_ is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 02-28-2015 , 16:41   Re: [TF2] Killing a timer in a handle
Reply With Quote #5

You pass the handle to the timer through KillTimer(). That's it. If you are having problems, then you are doing something else wrong, and you need to post your code before you can get any more help.
__________________
ddhoward is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 02-28-2015 , 18:34   Re: [TF2] Killing a timer in a handle
Reply With Quote #6

g_hHandle[iClient] = INVALID_HANDLE;
return Plugin_Stop;
__________________
Chdata is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode