ScreenResolutionChanged

From Nutscript Developer Wiki
Jump to navigation Jump to search
   GM:ScreenResolutionChanged(oldW, oldH)

Description[edit]

This function is called when the player's screen resolution is changed. If your plugin/schema is heavily using Dermas then we suggest you to use this function to make your dermas fit into the client's screen. without the adjustment, derma usually fucks up with client's screen when the screen resolution is changed.

Arguments[edit]

  • Integer oldW
  • Integer oldH

Return Values[edit]

return none

Examples[edit]

none.