Raised This Month: $ Target: $400
 0% 

Using SourceHook


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
BeetleFart
SourceMod Donor
Join Date: Apr 2004
Old 10-08-2008 , 08:32   Using SourceHook
Reply With Quote #1

Ive seen some sourcecode I believe it was for sdktools...used for hooking into IVoiceServer.

Ive tried taking the source and hooking into the IVoiceServer myself In my plugin...but I cant get it to work.
As soon as I try to do the hook..it crashs
I call
SH_ADD_HOOK_MEMFUNC(IVoiceServer, SetClientListening, g_pVoiceServer, &g_EmtpyServerPlugin,&CEmptyServerPlugin::OnS etClientListening, false);
but am having trouble.
Can anyone help me out to be able to hook into the setclientlistening functions so I can set up a proper mute function?
__________________
CSource Server:
69.90.34.10:27015 Beetlesmod.com And CS-Addicts{US}



http://www.clanuseast.com
BeetleFart is offline
 



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 22:52.


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