diff --git a/plugins/include/engine.inc b/plugins/include/engine.inc index c076f0b0..a0c570db 100755 --- a/plugins/include/engine.inc +++ b/plugins/include/engine.inc @@ -133,9 +133,6 @@ native DispatchSpawn(iIndex); /* Hurts/Kills players in a sphere, like an explosion, Multiplier determines damage. */ native radius_damage(Float:fExplodeAt[3], iDamageMultiplier, iRadiusMultiplier); -/* Gives you a velocity in the direction a player is looking, iVelocity is the multiplier. */ -native velocity_by_aim(iIndex, iVelocity, Float:vRetValue[3]); - /* Will return the contents of a point (inside map? in sky? outside map? etc.). */ native point_contents(Float:fCheckAt[3]); diff --git a/plugins/include/vector.inc b/plugins/include/vector.inc index 9b927a97..a63243f9 100644 --- a/plugins/include/vector.inc +++ b/plugins/include/vector.inc @@ -21,6 +21,9 @@ native get_distance(origin1[3],origin2[3]); /* Gets distance between two origins (float). */ native Float:get_distance_f(Float:Origin1[3], Float:Origin2[3]); +/* Gives you a velocity in the direction a player is looking, iVelocity is the multiplier. */ +native velocity_by_aim(iIndex, iVelocity, Float:vRetValue[3]); + /* Changes a vector into an angle vector. */ native vector_to_angle(Float:fVector[3], Float:vReturn[3]);