No, this should stay a private function.
Something like that :
PHP Code:
#include <amxmodx>
#include <fakemeta>
const m_flFlashedUntil = 514
public plugin_init()
{
// blabla
}
public /* or not public */ your_function( id )
{
if( !is_user_flashed( id ) )
{
message_begin(MSG_ONE, get_user_msgid("ScreenFade"), {0,0,0}, nKiller)
write_short(1<<10)
write_short(1<<10)
write_short(0x0000)
write_byte(0)
write_byte(0)
write_byte(200)
write_byte(75)
message_end()
}
}
is_user_flashed( id )
{
return get_gametime() < get_pdata_float(id, m_flFlashedUntil)
}
__________________