g_flashed_until[id] = read_data(2)/4096.0 + get_gametime();
You should float read_data value
Also i think you could use instead : g_flashed_until[id] = get_pdata_float(id, 514, 5)
Just make some comparison of bith values
Those following offsets were founded by VEN, and arkshine recently confirm, after having decompiled the .dll that it seems to be right.
Code:
514 - fGametime flashed until ?
515 - fGametime flashed at ?
516 - fHoldTimeInSeconds of ScreenFade
517 - fDurationInSeconds of ScreenFade
518 - iAlpha of ScreenFade
Last, you should cache maximum of things that are checked in addtofulpack such as bot, alive, plugin on/off so you can save some native calls.
__________________