Woopi
2
// GetEntitySpeed
float GET_ENTITY_SPEED(Entity entity);
result is in meters per second
So would the conversion to mph and km/h, be along the lines of this.
float speed = GET_ENTITY_SPEED(veh);
float kmh = (speed * 3.6);
float mph = (speed * 2.236936);
1 Like