- updated basecommands and basefuncommands to use ProcessTargetString() and ShowActivity2()
- moved a bunch of translation phrases around - ShowActivity2() no longer prints to console - fixed a memory corruption bug in the translation parser --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401630
This commit is contained in:
@@ -77,7 +77,7 @@ public MenuHandler_Kick(Handle:menu, MenuAction:action, param1, param2)
|
||||
{
|
||||
decl String:name[MAX_NAME_LENGTH];
|
||||
GetClientName(target, name, sizeof(name));
|
||||
ShowActivity2(param1, "[SM] ", "%t", "Kicked target", "_S", name);
|
||||
ShowActivity2(param1, "[SM] ", "%t", "Kicked target", "_s", name);
|
||||
PerformKick(param1, target, "");
|
||||
}
|
||||
|
||||
@@ -129,7 +129,7 @@ public Action:Command_Kick(client, args)
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowActivity2(client, "[SM] ", "%t", "Kicked target", "_S", target_name);
|
||||
ShowActivity2(client, "[SM] ", "%t", "Kicked target", "_s", target_name);
|
||||
}
|
||||
|
||||
new kick_self = 0;
|
||||
|
||||
Reference in New Issue
Block a user