AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Resetting HUD (https://forums.alliedmods.net/showthread.php?t=223420)

devWaleed 08-13-2013 10:53

Resetting HUD
 
How do I ResetHUD? If I join my server and goto spectate, then goto a team. My HUD is messed up. Timer is shown on top, no crosshair, no health and armor showing on screen. :\ I have searched for crosshair problems but nothing came up.

http://i.minus.com/ib2zahcdgdpu1r.bmp

wickedd 08-13-2013 11:16

Re: Resetting HUD
 
Does it happens to everyone or just you?

Shooting King 08-13-2013 11:29

Re: Resetting HUD
 
PHP Code:

register_clcmd"say /resethud""ResetHud" );
..................

public 
ResetHud(id)
{
     
message_beginMSG_ONE_UNRELIABLEget_user_msg_id("ResetHUD"), _id )
     
message_end( );


lol

devWaleed 08-13-2013 11:45

Re: Resetting HUD
 
Quote:

Originally Posted by Shooting King (Post 2012180)
PHP Code:

register_clcmd"say /resethud""ResetHud" );
..................

public 
ResetHud(id)
{
     
message_beginMSG_ONE_UNRELIABLEget_user_msg_id("ResetHUD"), _id )
     
message_end( );


lol

And I get this:

Error: Undefined symbol "get_user_msg_id" on line 152


get_user_msg_id -> get_user_msgid :wink:

EDIT: not working :/

ANTICHRISTUS 08-13-2013 11:52

Re: Resetting HUD
 
Bug while transferring to teams

devWaleed 08-13-2013 12:14

Re: Resetting HUD
 
Can we do it with amx?

YamiKaitou 08-13-2013 12:16

Re: Resetting HUD
 
Quote:

Originally Posted by devWaleed (Post 2012203)
Can we do it with amx?

Do what? The bug was fixed by Valve in one of their (possibly beta) updates

connoisseur 08-16-2013 12:33

Re: Resetting HUD
 
Quote:

Originally Posted by YamiKaitou (Post 2012205)
Do what? The bug was fixed by Valve in one of their (possibly beta) updates

I'm using an updated dedicated server but still clients are getting this problem.

YamiKaitou 08-16-2013 13:02

Re: Resetting HUD
 
Quote:

Originally Posted by connoisseur (Post 2014683)
I'm using an updated dedicated server but still clients are getting this problem.

6027 or 6132?

How about the client? Did they opt into the beta?

connoisseur 08-17-2013 09:06

Re: Resetting HUD
 
Quote:

Originally Posted by YamiKaitou (Post 2014697)
6027 or 6132?

Don't know about that, but its the latest Half Life Dedicated server from steam.
Quote:

Originally Posted by YamiKaitou (Post 2014697)
How about the client? Did they opt into the beta?

My client isn't opted for any beta and I'm getting the problem.


All times are GMT -4. The time now is 15:46.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.