Raised This Month: $32 Target: $400
 8% 

Help With Timer


Post New Thread Reply   
 
Thread Tools Display Modes
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 01-16-2009 , 00:50   Re: Help With Timer
Reply With Quote #11

Still doesnt work I dont know how to put in closehandle either.
__________________

DontWannaName is offline
RM_Hamster
SourceMod Donor
Join Date: Jul 2008
Location: MA
Old 01-16-2009 , 10:50   Re: Help With Timer
Reply With Quote #12

http://pastebin.com/d1a61d00c

Try this with the CloseHandle() included. If you get an error saying that it couldn't close the handle, then you should be able to take CloseHandle() out.

All you have to do for CloseHandle() is assign the timer to a handle and then use CloseHandle on it.

Last edited by RM_Hamster; 01-16-2009 at 10:53.
RM_Hamster is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 01-16-2009 , 23:51   Re: Help With Timer
Reply With Quote #13

Still didnt work

Edit: Ok, Crimson told me to change timer to something else and it works now! Except it doesnt hide the sm_cvar change or an sv_tags change. But thats not a big deal.
__________________


Last edited by DontWannaName; 01-17-2009 at 01:44.
DontWannaName is offline
RM_Hamster
SourceMod Donor
Join Date: Jul 2008
Location: MA
Old 01-17-2009 , 10:37   Re: Help With Timer
Reply With Quote #14

Glad to hear you've got it working

After a quick search, you could try something like this to suppress the sv_tags change.
RM_Hamster is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 01-17-2009 , 14:44   Re: Help With Timer
Reply With Quote #15

Im getting this error tho. L 01/17/2009 - 11:41:03: [SM] Native "CloseHandle" reported: Handle 74006a is invalid (error 3)
L 01/17/2009 - 11:41:03: [SM] Displaying call stack trace for plugin "pregamemayhem(2).smx":
L 01/17/2009 - 11:41:03: [SM] [0] Line 96, /home/groups/sourcemod/upload_tmp/phpkkbqlC.sp:isplay_Ad()


nvm, fixed it. Thanks SM IRC!

Now its working perfectly and hides all those convars.
__________________


Last edited by DontWannaName; 01-17-2009 at 15:35.
DontWannaName is offline
RM_Hamster
SourceMod Donor
Join Date: Jul 2008
Location: MA
Old 01-17-2009 , 16:42   Re: Help With Timer
Reply With Quote #16

Ahh, wasn't sure if you had to close it explicitly or not (not). Glad you got it working
RM_Hamster is offline
Reply


Thread Tools
Display Modes

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 15:13.


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