Gammix / fader.inc

Simple (Player)TextDraw color fader with box color support.
3 stars 4 forks source link

Fade out #1

Open khalidahmedshalabi opened 8 years ago

khalidahmedshalabi commented 8 years ago

Wouldn't it be better to have this code fade a textdraw out instead of returning an error? https://github.com/Gammix/fader.inc/blob/master/pawno/include/fader.inc#L29

if (color == 0 && boxcolor == 0)
{
    // fade out code
}
Gammix commented 8 years ago

Are you saying to fade the textdraw from 256 opacity to 0 (from visible to invisible) ?

khalidahmedshalabi commented 8 years ago

Yeah, from whatever state to completely hidden (TextDrawHideForPlayer/All...etc)