From ac4014ff5a5fc011eb2a11f11ffdb8ee4300d5c1 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 5 Sep 2005 21:59:44 +0000 Subject: [PATCH] Fixed bug at18473 (Greenberet). --- plugins/include/amxmodx.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/include/amxmodx.inc b/plugins/include/amxmodx.inc index f81b4e5e..03aef144 100755 --- a/plugins/include/amxmodx.inc +++ b/plugins/include/amxmodx.inc @@ -782,3 +782,6 @@ native menu_item_getinfo(menu, item, &access, command[], cmdlen, name[]="", name native menu_item_setname(menu, item, name[]); native menu_item_setcmd(menu, item, cmd[]); native menu_item_setcall(menu, item, callback=-1); + +// Gets distance between two origins (float) +native Float:get_distance_f( Float:Origin1[3], Float:Origin2[3] );