Re: [Hud] Simple Hud [message #414102 is a reply to message #414048] |
Tue, 15 December 2009 15:02 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) |
![](http://renegadeforums.com/images/avatars/Sedan.jpg) |
Distrbd21
Messages: 743 Registered: September 2008
Karma:
|
Colonel |
![Distrbd21](/theme/Renegade_Forums/images/yahoo.png)
|
|
Tunaman wrote on Mon, 14 December 2009 22:46 | You can add one line of code to shaderhud.cpp to make custom HUDs made by HUD.ini work properly with hud toggling commands.
if(!(*(bool *)0x8124b4)) return; //return if IsHudShown == false
You can just add this at the top of the UpdateHUD2() function.
What this does is check if the value at 0x8124b4(the address of IsHudShown) is 0, if it is 0 then it just exits the function. ^^
|
can you put that in there and give me a copy of the scripts.dll i no longer have the tools to do it, reformated pc.
Live Your Life Not Some one Else's.| Sharing Is Caring
Cookie Jar<glome> Who stole the cookie from the cookie jar?!
<content> glome stole the cookie from the cookie jar!
<glome> Who me?!
<content> Yes you!
<glome> Couldn't be!
<content> Then WHO?!!
<glome> Woody stole the cookie from the cookie jar!
*** glome has been kicked by DrWoody (fuck you i didn't touch the motherfucking cookie, bitch
Suicide<TB> I was depressed last night so I called the Suicide Life Line.
<TB> I reached a call center in Pakistan.
<TB> I told them I was suicidal.
<TB> They got all excited and asked if I could drive a truck
|
|
|