#include <xs>#include <fakemeta>
new Float:velocity[3];pev(entityIndex, pev_velocity, velocity);if(xs_vec_len(velocity) < 0.01) { // The entity isn't moving}