function cmd_knifekill(arg)
if tonumber(arg) ~= nil then
result, ped = sampGetCharHandleBySampPlayerId(tonumber(arg))
result1, oX, oY, oZ = getCharCoordinates(ped)
result2, x2, y2, z2 = getCharCoordinates(PLAYER_PED)
distance = getDistanceBetweenCoords3d(oX,oY,oZ,x2,y2,z2)
if distance > 150 then
sampAddChatMessage("[{FFFFFF}Информация{FF0000}]: {FFFFFF}Не дальше 150 метров!", color_blue)
else
sampAddChatMessage("[{FFFFFF}Информация{FF0000}]: {FFFFFF}+", color_blue)
end
else
sampAddChatMessage("[{FFFFFF}Информация{FF0000}]: {FFFFFF}Вы не ввели ID!", color_blue)
end
end