Added get_distance_f, at15992

This commit is contained in:
David Anderson 2005-07-13 22:16:30 +00:00
parent 4631311905
commit ef908ff4f5

View File

@ -516,6 +516,9 @@ native emit_sound(index, channel, sample[], Float:vol, Float:att,flags, pitch);
/* Returns distance between two vectors. */ /* Returns distance between two vectors. */
native get_distance(origin1[3],origin2[3]); native get_distance(origin1[3],origin2[3]);
/* Floating point version */
native Float:get_distance_f(Float:origin1[3], Float:origin2[3]);
/* Registers new cvar for HL engine. */ /* Registers new cvar for HL engine. */
native register_cvar(const name[],const string[],flags = 0,Float:fvalue = 0.0); native register_cvar(const name[],const string[],flags = 0,Float:fvalue = 0.0);