Summary

Methods

Draws the notice as a title in the upper part of the screen, centered horizontally.

Methods

fade_style:draw(display, alpha, scrw, scrh, offset)

client plugins/areadisplay/plugin/lib/sh_styles.lua:145

Draws the notice as a title in the upper part of the screen, centered horizontally.

Parameters

  • display Map the notice
  • alpha Number opacity of the notice, from 0 to 255
  • scrw Number screen width
  • scrh Number screen height
  • offset Number height taken by the notices of this style drawn before this one

Returns

  • Number height the notice took

Defined in