CMD:sharpening(playerid, params[])
{
if(PI[playerid][pFullDostup] < 2) return SCM(playerid, COLOR_RED, NO_DOSTUP_TEXT);
if(!ADuty{playerid}) return SCM(playerid,COLOR_GREY,NO_DUTY_TEXT);
if(sscanf(params,"ddd", params[0], params[1], params[2])) return SCM(playerid, COLOR_LIGHTRED, !"[Ошибка] {FFFFFF}Используй: /sharpening [id игрока] [slot] [amount]");
if(params[0] == INVALID_PLAYER_ID || !PI[params[0]][pInvItem][params[1]] || params[1] > PI[playerid][pInvCell]-1) return SCM(playerid, COLOR_LIGHTRED, !"[Ошибка] {FFFFFF}Используй: /removeitem [id игрока] [slot]");
PI[params[0]][pSharpening][params[1]] = params[2];
return InvSlotUpdate(params[0], params[1]);
}