Fixed teleport location text to display float values instead of decimal values.

This commit is contained in:
richard 2009-01-17 21:54:35 +01:00
parent 72cb683278
commit e3f4b4e400
3 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
2009.01.17 - 2.5.1.23
* Fixed teleport location text to display as float values instead of decimal.
2009.01.16 - 2.5.1.22 2009.01.16 - 2.5.1.22
* Changed hardcoded antistick force into a CVAR. * Changed hardcoded antistick force into a CVAR.

View File

@ -15,7 +15,7 @@
#undef REQUIRE_PLUGIN #undef REQUIRE_PLUGIN
#include <market> #include <market>
#define VERSION "2.5.1.22" #define VERSION "2.5.1.23"
#include "zr/zombiereloaded" #include "zr/zombiereloaded"
#include "zr/global" #include "zr/global"

View File

@ -209,7 +209,7 @@ public Action:Command_TeleSaveLocation(client, argc)
GetClientAbsOrigin(target_client, bufferLoc[client]); GetClientAbsOrigin(target_client, bufferLoc[client]);
bufferLocSaved[client] = true; bufferLocSaved[client] = true;
GetClientName(target_client, target_name, sizeof(target_name)); GetClientName(target_client, target_name, sizeof(target_name));
ReplyToCommand(client, "Saved location to %s (%d, %d, %d).", target_name, bufferLoc[client][0], bufferLoc[client][1], bufferLoc[client][2]); ReplyToCommand(client, "Saved location to %s (x:%f, y:%f, z:%f).", target_name, bufferLoc[client][0], bufferLoc[client][1], bufferLoc[client][2]);
} }
else else
{ {