Post: ui_hud_hardcore is cheat protected.
11-01-2015, 02:12 PM #1
BullyWiiPlaza
Climbing up the ladder
(adsbygoogle = window.adsbygoogle || []).push({}); Lol, so I tried using the script
    self setclienthudhardcore(true);

to enable hardcore hud and it crashed my game saying
    ui_hud_hardcore is cheat protected.

That's funny because all other scripts/dvars worked fine and none said that they were cheat-protected or something.

So, how do you disable this? Kryptus

EDIT:

Calling the following code in init() fixes it but nothing happened so this was quite pointless but still good to know:
    
// level thread enableServerCheats();
enableServerCheats()
{
while(true)
{
setDvar("sv_cheats", 1);
setDvar("allClientDvarsEnabled", 1);

wait 0.1;
}
}
(adsbygoogle = window.adsbygoogle || []).push({});
11-01-2015, 07:37 PM #2
HiddenHour
I defeated!
Originally posted by BullyWiiPlaza View Post
Lol, so I tried using the script
    self setclienthudhardcore(true);

to enable hardcore hud and it crashed my game saying
    ui_hud_hardcore is cheat protected.

That's funny because all other scripts/dvars worked fine and none said that they were cheat-protected or something.

So, how do you disable this? Kryptus

EDIT:

Calling the following code in init() fixes it but nothing happened so this was quite pointless but still good to know:
    
// level thread enableServerCheats();
enableServerCheats()
{
while(true)
{
setDvar("sv_cheats", 1);
setDvar("allClientDvarsEnabled", 1);

wait 0.1;
}
}


If you want to disable the HUD, then try setclientuivisibilityflag( "hud_visible", 0 ). As for the cheat protection I got no clue.
11-01-2015, 07:51 PM #3
xPlayer420
Bounty hunter
Im excited to see what your making of course if your going to release it Kryptus
11-01-2015, 08:34 PM #4
BullyWiiPlaza
Climbing up the ladder
Originally posted by TheHiddenHour View Post
If you want to disable the HUD, then try setclientuivisibilityflag( "hud_visible", 0 ). As for the cheat protection I got no clue.

Yeah, my menu base already uses that. It works Smile
11-01-2015, 08:37 PM #5
EternalHabit
Former Staff
Originally posted by BullyWiiPlaza View Post

EDIT:

Calling the following code in init() fixes it but nothing happened so this was quite pointless but still good to know:
    
// level thread enableServerCheats();
enableServerCheats()
{
while(true)
{
setDvar("sv_cheats", 1);
setDvar("allClientDvarsEnabled", 1);

wait 0.1;
}
}


why is it looped?
11-01-2015, 08:57 PM #6
BullyWiiPlaza
Climbing up the ladder
Originally posted by xTurntUpLobbies View Post
why is it looped?

To make sure it's not overwritten by something for timing purposes. For testing I always do that for maximum reliability.
11-02-2015, 01:38 PM #7
Adrian
Adrian is back!
Originally posted by BullyWiiPlaza View Post
To make sure it's not overwritten by something for timing purposes. For testing I always do that for maximum reliability.


Have you gotten the issue solved? Let me know so I can further assist you.
11-02-2015, 01:52 PM #8
BullyWiiPlaza
Climbing up the ladder
Originally posted by Adrian View Post
Have you gotten the issue solved? Let me know so I can further assist you.

Yes, it can be closed
11-02-2015, 01:57 PM #9
Adrian
Adrian is back!
Originally posted by BullyWiiPlaza View Post
Yes, it can be closed


Good to hear. If you have any other questions feel free to make another thread.

-Thread Closed.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo