View Single Post
dirka_dirka
Veteran Member
Join Date: Nov 2009
Old 08-24-2010 , 23:15   Re: [L4D & L4D2] Achievement Trophy [24-Aug-2010 - v1.1.1]
Reply With Quote #10

yes one time in onpluginstart works.

but since you have an enable cvar.. you could also toggle the hook when the plugin is enabled/disabled
make a function Enabled() { // hook } and a function Disabled() { // unhook }
then call those functions as the enabled cvar is changed
dirka_dirka is offline