Thread
:
To hook or not to hook, that is the question.
View Single Post
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
02-10-2019 , 13:33 Re: To hook or not to hook, that is the question.
#
6
Quote:
Originally Posted by
PatriotGames
So, when and why would we use:
PHP Code:
g_cvMyCvar
.
AddChangeHook
(
MyCallback
);
PG
When you need instantly execute some method, e.g. change player color when cvarColor is changed.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (
Bloody Witch
&
FreeZone
)
[
My plugins
] [
My tools
] [
GitHub
] [
Articles
] [
HiJackThis+
] [
Donate
]
Last edited by Dragokas; 02-10-2019 at
13:35
.
Dragokas
View Public Profile
Send a private message to Dragokas
Visit Dragokas's homepage!
Find More Posts by Dragokas