Advertisement
JademusSreg

UI Settings

Apr 24th, 2011
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.37 KB | None | 0 0
  1. void UISettings_Init () {
  2.     playergroup g = PlayerGroupActive();
  3.     int i = c_syncFrameTypeFirst;
  4.     // Set Fullscreen Mode for active players.
  5.     UISetMode(g, c_uiModeFullscreen, c_transitionDurationImmediate);
  6.     // Disable each UI frame for active players.
  7.     while (i <= c_syncFrameTypeLast) {
  8.         UISetFrameVisible(g, i, false);
  9.         i+=1;
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement