Jump to content
  • 0

GUI Not Updating


tallboy2k7

Question

Not sure why, but the GUI wont update/refresh upon taking damage or for food/thirst ect. More specifically it WILL update ONCE per log-in. Not sure why this is happening as Im not sure what file deals with that sort of thing. If you're not sure why its happening maybe someone can atleast point me to the file that would control that. 

 

I've already tried a different GUI  via player_updateUI and that doesnt seem to help ...something is pointing to the wrong place somewhere... I can feel it !

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

I believe my compiles is fine, any idea which file is called to refresh the players status?

 

Touche salesman you win, for some reason my compiles was missing a SMALL block of code...

 

player_guiControlFlash = {
private["_control"];
_control = _this;
if (ctrlShown _control) then {
 
_control ctrlShow false;
} else {
 
_control ctrlShow true;
};
};
 
not sure why , but its fixed now.
 
Thanks for forcing me to double check it, I never thought it would be that.
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...