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

A question about two events in SDKHooks


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hkkelvin1995
Senior Member
Join Date: Jun 2009
Location: Hong Kong
Old 03-08-2014 , 11:34   A question about two events in SDKHooks
Reply With Quote #1

Hi there,
I just wanna ask what is the difference between these events???
SDKHook_TraceAttack
SDKHook_TraceAttackPost
thx
hkkelvin1995 is offline
CoolJosh3k
AlliedModders Donor
Join Date: Mar 2010
Old 03-08-2014 , 11:55   Re: A question about two events in SDKHooks
Reply With Quote #2

It is my understanding that:

Pre: always execute before start of the gameframe
Post: always execute after the gameframe
unspecified: execute normally during the same gameframe

I could be wrong, but this is what I have come to think makes sense.
CoolJosh3k is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 03-08-2014 , 17:36   Re: A question about two events in SDKHooks
Reply With Quote #3

Quote:
Originally Posted by CoolJosh3k View Post
It is my understanding that:

Pre: always execute before start of the gameframe
Post: always execute after the gameframe
unspecified: execute normally during the same gameframe

I could be wrong, but this is what I have come to think makes sense.
Pre, Post, PostNoCopy. Post is technically what you call 'unspecified' and by default is what most hooked events use.
Drixevel 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 22:33.


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