Thread Contributor: Derp46Perfecthook/Godlike Cursor Fix [Tutorial]
#1
This tutorial is pretty straight forward.

1) Go to IDirect3DDevice9.h.
2) Scroll down and replace:


Code:
change:
g_Engine->ClientCmd_Unrestricted("cl_mouseenable 0");

to:
g_CVar->FindVar("cl_mouseenable")->SetValue(0);

change:
g_Engine->ClientCmd_Unrestricted("cl_mouseenable 1");

to:
g_CVar->FindVar("cl_mouseenable")->SetValue(1);

That's it.  Enjoy your mouse working again.

EDIT: Fixed a capitalization error in the replacement code.
  Reply
Thanks given by:
#2
Fullfixed phook will be better
  Reply
Thanks given by:
#3
  Reply
Thanks given by:
#4
(07-13-2018, 01:39 AM)lkscheatsops Wrote: HELP ME
http://prntscr.com/k5uwnc

Capitalize the "v" in g_CVar
  Reply
Thanks given by:
#5
Will that work with panorama?
  Reply
Thanks given by:
#6
(07-13-2018, 02:37 AM)memo Wrote: Will that work with panorama?

Haven't tested it on -panorama. Try it and post back if it works or not.
  Reply
Thanks given by:
#7
(07-13-2018, 02:35 AM)Derp46 Wrote:
(07-13-2018, 01:39 AM)lkscheatsops Wrote: HELP ME
http://prntscr.com/k5uwnc

Capitalize the "v" in g_CVar

PRINT
PLEASE
  Reply
Thanks given by:
#8
(07-13-2018, 06:35 AM)lkscheatsops Wrote:
(07-13-2018, 02:35 AM)Derp46 Wrote:
(07-13-2018, 01:39 AM)lkscheatsops Wrote: HELP ME
http://prntscr.com/k5uwnc

Capitalize the "v" in g_CVar

PRINT
PLEASE

I updated the post.
  Reply
Thanks given by:
#9
Derp how to update phook skin changer?

And I don't see the weapon once dropped on ground I cannot see it on the right hand side while switching in between of the guns phook source
  Reply
Thanks given by:
#10
Right bottom icon of of the weapons when dropped and picked up don't show you on the right hand side small weapon icons after injecting phook what to do?
  Reply
Thanks given by:


Forum Jump:


Users browsing this thread: 1 Guest(s)