is_user_moving( id ) { new Float:velocity[3]; pev(id, pev_velocity, velocity); if( vector_length(velocity) ) { return 1; } if( pev(id, pev_flags) & FL_BASEVELOCITY ) { pev(id, pev_basevelocity, velocity); if( vector_length(velocity) ) { return 1; } } return 0; }