Switched from When you would do _AddProgress(id, 0); it would crash.
PHP Code:
public _AddProgress( const id, const duration )
{
message_begin( MSG_ONE, gmsgBarTime, _, id )
write_short( duration )
message_end()
}
switch to the below code and Create_BarTime(id, 0, 0) works just fine no crashes
PHP Code:
stock Create_BarTime(id, duration, flag)
{
if( is_user_connected(id) && !is_user_bot(id))
{
message_begin( MSG_ONE, gmsgBarTime, {0,0,0}, id )
write_byte( duration ) // duration
write_byte( flag )
message_end()
}
}
and works fine.