Update entWatch-tools.sp

This commit is contained in:
zaCade 2019-04-22 18:06:13 +02:00
parent 31d52b533b
commit 4c8bfeeee6

View File

@ -93,11 +93,13 @@ public Action Command_TransferItem(int client, int args)
}
}
if (bTransfered)
if (!bTransfered)
{
CPrintToChatAll("\x07%s[entWatch] \x07%s%N\x07%s transfered all items from \x07%s%N\x07%s to \x07%s%N\x07%s.", "E01B5D", "EDEDED", client, "F16767", "EDEDED", target1, "F16767", "EDEDED", target2, "F16767");
LogAction(client, target1, "%L transfered all items from %L to %L.", client, target1, target2);
CReplyToCommand(client, "\x07[entWatch] \x07%sError: no transferable items found!", "E01B5D", "F16767");
return Plugin_Handled;
}
CPrintToChatAll("\x07%s[entWatch] \x07%s%N\x07%s transfered all items from \x07%s%N\x07%s to \x07%s%N\x07%s.", "E01B5D", "EDEDED", client, "F16767", "EDEDED", target1, "F16767", "EDEDED", target2, "F16767");
LogAction(client, target1, "%L transfered all items from %L to %L.", client, target1, target2);
return Plugin_Handled;
}