|
|
|
|
|
Re: Question to old renegade HUD [message #371309 is a reply to message #371291] |
Mon, 09 February 2009 16:00 |
|
saberhawk
Messages: 1068 Registered: January 2006 Location: ::1
Karma: 0
|
General (1 Star) |
|
|
RoShamBo wrote on Mon, 09 February 2009 16:16 |
cAmpa wrote on Mon, 09 February 2009 20:17 | Is there a way to disable this weapon list?
|
Ofcourse there is!
You need to find the code that draws it and block it.
A good way is to backup the original instruction at the beginning of the function and just ret. When you want to restore it just write your backed up stuff back onto it.
|
A very *bad* way is to overwrite the first instruction in the function with ret as it can unbalance the stack.
|
|
|
|
|
|