Raised This Month: $ Target: $400
 0% 

Seeing through smoke


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-26-2012 , 19:02   Re: Seeing through smoke
Reply With Quote #8

Here some code from cssdk :

Spoiler


PLAYBACK_EVENT_FULL is just a macro for pfnPlaybackEvent ; so you can hook/call with FM_PlaybackEvent/EngFunc_PlaybackEvent.

All you need to do, is to hook the function at the right time, supercede it, and calling PlayBackEvent for all players except the one you want. First and second params are for flags/invoker. Guess you have to use FEV_HOSTONLY. (hlds_sdk.inc)

Well, test & see.
__________________

Last edited by Arkshine; 08-26-2012 at 19:02.
Arkshine 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 05:44.


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