From a21e688c96e593ce3ca431bcccb51a2f5f2e118a Mon Sep 17 00:00:00 2001 From: Liam Date: Mon, 29 Dec 2008 23:38:28 -0500 Subject: [PATCH] Modified the ProcessRename function to use SetClientInfo instead of ClientCommand (Bug 2150 r=DS) --- plugins/playercommands/rename.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/playercommands/rename.sp b/plugins/playercommands/rename.sp index b4c2b19e..285444fb 100644 --- a/plugins/playercommands/rename.sp +++ b/plugins/playercommands/rename.sp @@ -36,7 +36,7 @@ new String:g_NewName[MAXPLAYERS+1][MAX_NAME_LENGTH]; PerformRename(client, target) { LogAction(client, target, "\"%L\" renamed \"%L\" to \"%s\")", client, target, g_NewName[target]); - ClientCommand(target, "name \"%s\"", g_NewName[target]); + SetClientInfo(target, "name", g_NewName[target]); } public AdminMenu_Rename(Handle:topmenu,