View Single Post
Matthias Vance
Senior Member
Join Date: Jan 2009
Old 08-22-2010 , 05:26   Re: [ANY] FoV (Field of View)
Reply With Quote #3

  • Your IsValidClient() can be replaced by IsClientInGame().
  • In your OnGameFrame() hook, you check for IsValidClient(), do a lot of stuff, and then check if it's alive. You should do the alive check sooner.
  • You are setting "g_CVof" only once, and then checking against it, while it will never change.
Matthias Vance is offline